2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
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.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
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
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_DFB_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
943 COND_TOOLKIT_MGL_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
966 COND_TOOLKIT_X11_USE_GUI_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1036 WXCONFIG_LDFLAGS_GUI
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1059 ac_precious_vars='build_alias
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1096 ac_subdirs_all='src/tiff
1099 # Initialize some variables set by options.
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1111 program_transform_name=s,x,x,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val=\$$ac_var
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1518 test "$silent" = yes && exec 6>/dev/null
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets 2.6 compatibility
1710 --disable-compat28 disable wxWidgets 2.8 compatibility
1711 --disable-rpath disable use of rpath for uninstalled builds
1712 --enable-objc_uniquifying enable Objective-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x-locale support (requires wxLocale)
1717 --enable-config use wxConfig (and derived) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP (requires wxProtocol
1720 --enable-http use wxHTTP (requires wxProtocol
1721 --enable-fileproto use wxFileProto class (requires wxProtocol
1722 --enable-sockets use socket/network classes
1723 --enable-ipv6 enable IPv6 support in wxSocket
1724 --enable-ole use OLE classes (Win32 only)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication (wxSocket etc.)
1727 --enable-baseevtloop use event loop in console programs too
1728 --enable-epollloop use wxEpollDispatcher class (Linux only)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding/decoding functions
1734 --enable-backtrace use wxStackWalker class for getting backtraces
1735 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class for DLL loading
1741 --enable-dynamicloader use (new) wxDynamicLibrary class
1742 --enable-exceptions build exception-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support in wxProtocol
1773 --enable-protocol-ftp FTP support in wxProtocol
1774 --enable-protocol-file FILE support in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig (Win32 only)
1777 --enable-regkey use wxRegKey class (Win32 only)
1778 --enable-docview use document view architecture
1779 --enable-help use help subsystem
1780 --enable-mshtmlhelp use MS HTML Help (win32)
1781 --enable-html use wxHTML sub-library
1782 --enable-htmlhelp use wxHTML-based help
1783 --enable-xrc use XRC resources sub-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl (Mac)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context 2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-commandlinkbutton use wxCommmandLinkButton class
1822 --enable-dataviewctrl use wxDataViewCtrl class
1823 --enable-datepick use wxDatePickerCtrl class
1824 --enable-detect_sm use code to detect X11 session manager
1825 --enable-dirpicker use wxDirPickerCtrl class
1826 --enable-display use wxDisplay class
1827 --enable-editablebox use wxEditableListBox class
1828 --enable-filectrl use wxFileCtrl class
1829 --enable-filepicker use wxFilePickerCtrl class
1830 --enable-fontpicker use wxFontPickerCtrl class
1831 --enable-gauge use wxGauge class
1832 --enable-grid use wxGrid class
1833 --enable-headerctrl use wxHeaderCtrl class
1834 --enable-hyperlink use wxHyperlinkCtrl class
1835 --enable-imaglist use wxImageList class
1836 --enable-infobar use wxInfoBar class
1837 --enable-listbook use wxListbook class
1838 --enable-listbox use wxListBox class
1839 --enable-listctrl use wxListCtrl class
1840 --enable-notebook use wxNotebook class
1841 --enable-notifmsg use wxNotificationMessage class
1842 --enable-odcombobox use wxOwnerDrawnComboBox class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-radiobox use wxRadioBox class
1845 --enable-radiobtn use wxRadioButton class
1846 --enable-richmsgdlg use wxRichMessageDialog class
1847 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1848 --enable-sash use wxSashWindow class
1849 --enable-scrollbar use wxScrollBar class and scrollable windows
1850 --enable-searchctrl use wxSearchCtrl class
1851 --enable-slider use wxSlider class
1852 --enable-spinbtn use wxSpinButton class
1853 --enable-spinctrl use wxSpinCtrl class
1854 --enable-splitter use wxSplitterWindow class
1855 --enable-statbmp use wxStaticBitmap class
1856 --enable-statbox use wxStaticBox class
1857 --enable-statline use wxStaticLine class
1858 --enable-stattext use wxStaticText class
1859 --enable-statusbar use wxStatusBar class
1860 --enable-taskbaricon use wxTaskBarIcon class
1861 --enable-tbarnative use native wxToolBar class
1862 --enable-textctrl use wxTextCtrl class
1863 --enable-tipwindow use wxTipWindow class
1864 --enable-togglebtn use wxToggleButton class
1865 --enable-toolbar use wxToolBar class
1866 --enable-toolbook use wxToolbook class
1867 --enable-treebook use wxTreebook class
1868 --enable-treectrl use wxTreeCtrl class
1869 --enable-commondlg use all common dialogs
1870 --enable-aboutdlg use wxAboutBox
1871 --enable-choicedlg use wxChoiceDialog
1872 --enable-coldlg use wxColourDialog
1873 --enable-filedlg use wxFileDialog
1874 --enable-finddlg use wxFindReplaceDialog
1875 --enable-fontdlg use wxFontDialog
1876 --enable-dirdlg use wxDirDialog
1877 --enable-msgdlg use wxMessageDialog
1878 --enable-numberdlg use wxNumberEntryDialog
1879 --enable-splash use wxSplashScreen
1880 --enable-textdlg use wxTextDialog
1881 --enable-tipdlg use startup tips
1882 --enable-progressdlg use wxProgressDialog
1883 --enable-wizarddlg use wxWizard
1884 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1885 --enable-miniframe use wxMiniFrame class
1886 --enable-tooltips use wxToolTip class
1887 --enable-splines use spline drawing code
1888 --enable-mousewheel use mousewheel
1889 --enable-validators use wxValidator and derived classes
1890 --enable-busyinfo use wxBusyInfo
1891 --enable-joystick use wxJoystick
1892 --enable-metafiles use wxMetaFile (Win32 only)
1893 --enable-dragimage use wxDragImage
1894 --enable-accessibility enable accessibility support
1895 --enable-uiactionsim use wxUIActionSimulator (experimental)
1896 --enable-palette use wxPalette class
1897 --enable-image use wxImage class
1898 --enable-gif use gif images (GIF file format)
1899 --enable-pcx use pcx images (PCX file format)
1900 --enable-tga use tga images (TGA file format)
1901 --enable-iff use iff images (IFF file format)
1902 --enable-pnm use pnm images (PNM file format)
1903 --enable-xpm use xpm images (XPM file format)
1904 --enable-ico_cur use Windows ICO and CUR formats
1905 --enable-dccache cache temporary wxDC objects (Win32 only)
1906 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1907 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1908 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1909 --enable-wxdib use wxDIB class (Win32 only)
1910 --enable-autoidman use automatic ids management
1911 --disable-largefile omit support for large files
1912 --disable-gtktest do not try to compile and run a test GTK+ program
1913 --disable-gtktest Do not try to compile and run a test GTK program
1914 --disable-sdltest Do not try to compile and run a test SDL program
1915 --enable-omf use OMF object format (OS/2)
1916 --disable-dependency-tracking
1917 don't use dependency tracking even if the compiler
1919 --disable-precomp-headers
1920 don't use precompiled headers even if compiler can
1923 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1924 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1925 --without-subdirs don't generate makefiles for samples/demos/...
1926 --with-flavour=NAME specify a name to identify this build
1927 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1928 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1929 --with-motif use Motif/Lesstif
1930 --with-osx_carbon use Mac OS X (Carbon)
1931 --with-osx_cocoa use Mac OS X (Cocoa)
1932 --with-osx_iphone use iPhone OS X port
1933 --with-osx use Mac OS X (default port, currently Carbon)
1934 --with-carbon same as --with-osx_carbon
1935 --with-cocoa same as --with-osx_cocoa
1936 --with-iphone same as --with-osx_iphone
1937 --with-mac same as --with-osx
1938 --with-old_cocoa use old, deprecated, Cocoa port
1939 --with-wine use Wine
1940 --with-msw use MS-Windows
1941 --with-pm use OS/2 Presentation Manager
1942 --with-mgl use SciTech MGL
1943 --with-directfb use DirectFB
1944 --with-microwin use MicroWindows
1946 --with-libpng use libpng (PNG image format)
1947 --with-libjpeg use libjpeg (JPEG file format)
1948 --with-libtiff use libtiff (TIFF file format)
1949 --with-libxpm use libxpm (XPM file format)
1950 --with-libiconv use libiconv (character conversion)
1951 --with-libmspack use libmspack (CHM help files loading)
1952 --without-gtkprint don't use GTK printing support
1953 --without-gnomeprint don't use GNOME printing libraries
1954 --with-gnomevfs use GNOME VFS for associating MIME types
1955 --with-hildon use Hildon framework for Nokia 770/800/810
1956 --with-opengl use OpenGL (or Mesa)
1957 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1958 --with-sdl use SDL for audio on Unix
1959 --with-regex enable support for wxRegEx class
1960 --with-zlib use zlib for LZW compression
1961 --with-expat enable XML support using expat parser
1962 --with-macosx-sdk=PATH use an OS X SDK at PATH
1963 --with-macosx-version-min=VER build binaries which require at least this OS X version
1964 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1965 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1966 --with-x use the X Window System
1967 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1968 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1969 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1970 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1971 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1973 Some influential environment variables:
1974 CC C compiler command
1975 CFLAGS C compiler flags
1976 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1977 nonstandard directory <lib dir>
1978 LIBS libraries to pass to the linker, e.g. -l<library>
1979 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1980 you have headers in a nonstandard directory <include dir>
1982 CXX C++ compiler command
1983 CXXFLAGS C++ compiler flags
1984 CXXCPP C++ preprocessor
1985 PKG_CONFIG path to pkg-config utility
1987 C compiler flags for DIRECTFB, overriding pkg-config
1989 linker flags for DIRECTFB, overriding pkg-config
1990 XMKMF Path to xmkmf, Makefile generator for X Window System
1992 C compiler flags for PANGOX, overriding pkg-config
1993 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1995 C compiler flags for PANGOFT2, overriding pkg-config
1997 linker flags for PANGOFT2, overriding pkg-config
1999 C compiler flags for PANGOXFT, overriding pkg-config
2001 linker flags for PANGOXFT, overriding pkg-config
2003 C compiler flags for GTKPRINT, overriding pkg-config
2005 linker flags for GTKPRINT, overriding pkg-config
2006 LIBGNOMEPRINTUI_CFLAGS
2007 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2008 LIBGNOMEPRINTUI_LIBS
2009 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2011 C compiler flags for GNOMEVFS, overriding pkg-config
2013 linker flags for GNOMEVFS, overriding pkg-config
2015 C compiler flags for HILDON, overriding pkg-config
2016 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2018 C compiler flags for HILDON2, overriding pkg-config
2020 linker flags for HILDON2, overriding pkg-config
2022 C compiler flags for CAIRO, overriding pkg-config
2023 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2024 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2025 GST_LIBS linker flags for GST, overriding pkg-config
2027 Use these variables to override the choices made by `configure' or to help
2028 it to find libraries and programs with nonstandard names/locations.
2030 Report bugs to <wx-dev@lists.wxwidgets.org>.
2035 if test "$ac_init_help" = "recursive"; then
2036 # If there are subdirs, report their specific --help.
2037 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2038 test -d "$ac_dir" || continue
2042 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2045 # A ".." for each directory in $ac_dir_suffix.
2046 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2047 case $ac_top_builddir_sub in
2048 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2049 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2052 ac_abs_top_builddir=$ac_pwd
2053 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2054 # for backward compatibility:
2055 ac_top_builddir=$ac_top_build_prefix
2058 .) # We are building in place.
2060 ac_top_srcdir=$ac_top_builddir_sub
2061 ac_abs_top_srcdir=$ac_pwd ;;
2062 [\\/]* | ?:[\\/]* ) # Absolute name.
2063 ac_srcdir=$srcdir$ac_dir_suffix;
2064 ac_top_srcdir=$srcdir
2065 ac_abs_top_srcdir=$srcdir ;;
2067 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2068 ac_top_srcdir=$ac_top_build_prefix$srcdir
2069 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2071 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2073 cd "$ac_dir" || { ac_status=$?; continue; }
2074 # Check for guested configure.
2075 if test -f "$ac_srcdir/configure.gnu"; then
2077 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2078 elif test -f "$ac_srcdir/configure"; then
2080 $SHELL "$ac_srcdir/configure" --help=recursive
2082 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2084 cd "$ac_pwd" || { ac_status=$?; break; }
2088 test -n "$ac_init_help" && exit $ac_status
2089 if $ac_init_version; then
2091 wxWidgets configure 2.9.2
2092 generated by GNU Autoconf 2.61
2094 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2095 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2096 This configure script is free software; the Free Software Foundation
2097 gives unlimited permission to copy, distribute and modify it.
2101 cat >config.log <<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2105 It was created by wxWidgets $as_me 2.9.2, which was
2106 generated by GNU Autoconf 2.61. Invocation command line was
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 echo "PATH: $as_dir"
2158 # Keep a trace of the command line.
2159 # Strip out --no-create and --no-recursion so they do not pile up.
2160 # Strip out --silent because we don't want to record it for future runs.
2161 # Also quote any args containing shell meta-characters.
2162 # Make two passes to allow for proper duplicate-argument suppression.
2166 ac_must_keep_next=false
2172 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2174 | -silent | --silent | --silen | --sile | --sil)
2177 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2182 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2183 if test $ac_must_keep_next = true; then
2184 ac_must_keep_next=false # Got value, back to normal.
2187 *=* | --config-cache | -C | -disable-* | --disable-* \
2188 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2189 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2190 | -with-* | --with-* | -without-* | --without-* | --x)
2191 case "$ac_configure_args0 " in
2192 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2195 -* ) ac_must_keep_next=true ;;
2198 ac_configure_args="$ac_configure_args '$ac_arg'"
2203 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2204 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2206 # When interrupted or exit'd, cleanup temporary files, and complete
2207 # config.log. We remove comments because anyway the quotes in there
2208 # would cause problems or look ugly.
2209 # WARNING: Use '\'' to represent an apostrophe within the trap.
2210 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2211 trap 'exit_status=$?
2212 # Save into config.log some information that might help in debugging.
2217 ## ---------------- ##
2218 ## Cache variables. ##
2219 ## ---------------- ##
2222 # The following way of writing the cache mishandles newlines in values,
2224 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2225 eval ac_val=\$$ac_var
2229 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2233 _ | IFS | as_nl) ;; #(
2234 *) $as_unset $ac_var ;;
2239 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2240 *${as_nl}ac_space=\ *)
2242 "s/'\''/'\''\\\\'\'''\''/g;
2243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2254 ## ----------------- ##
2255 ## Output variables. ##
2256 ## ----------------- ##
2259 for ac_var in $ac_subst_vars
2261 eval ac_val=\$$ac_var
2263 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 echo "$ac_var='\''$ac_val'\''"
2269 if test -n "$ac_subst_files"; then
2271 ## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##
2276 for ac_var in $ac_subst_files
2278 eval ac_val=\$$ac_var
2280 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 echo "$ac_var='\''$ac_val'\''"
2287 if test -s confdefs.h; then
2297 test "$ac_signal" != 0 &&
2298 echo "$as_me: caught signal $ac_signal"
2299 echo "$as_me: exit $exit_status"
2301 rm -f core *.core core.conftest.* &&
2302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2305 for ac_signal in 1 2 13 15; do
2306 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest* confdefs.h
2313 # Predefined preprocessor variables.
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 set x "$CONFIG_SITE"
2344 elif test "x$prefix" != xNONE; then
2345 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2347 set x "$ac_default_prefix/share/config.site" \
2348 "$ac_default_prefix/etc/config.site"
2353 if test -r "$ac_site_file"; then
2354 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2355 echo "$as_me: loading site script $ac_site_file" >&6;}
2356 sed 's/^/| /' "$ac_site_file" >&5
2361 if test -r "$cache_file"; then
2362 # Some versions of bash will fail to source /dev/null (special
2363 # files actually), so we avoid doing that.
2364 if test -f "$cache_file"; then
2365 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2366 echo "$as_me: loading cache $cache_file" >&6;}
2368 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2369 *) . "./$cache_file";;
2373 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2374 echo "$as_me: creating cache $cache_file" >&6;}
2378 # Check that the precious variables saved in the cache have kept the same
2380 ac_cache_corrupted=false
2381 for ac_var in $ac_precious_vars; do
2382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2383 eval ac_new_set=\$ac_env_${ac_var}_set
2384 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2385 eval ac_new_val=\$ac_env_${ac_var}_value
2386 case $ac_old_set,$ac_new_set in
2388 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2389 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2390 ac_cache_corrupted=: ;;
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2397 if test "x$ac_old_val" != "x$ac_new_val"; then
2398 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2399 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2401 echo "$as_me: former value: $ac_old_val" >&2;}
2402 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2403 echo "$as_me: current value: $ac_new_val" >&2;}
2404 ac_cache_corrupted=:
2407 # Pass precious variables to config.status.
2408 if test "$ac_new_set" = set; then
2410 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 *) ac_arg=$ac_var=$ac_new_val ;;
2413 case " $ac_configure_args " in
2414 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2415 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2419 if $ac_cache_corrupted; then
2420 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2421 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2423 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2424 { (exit 1); exit 1; }; }
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2462 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2463 if test -f "$ac_dir/install-sh"; then
2465 ac_install_sh="$ac_aux_dir/install-sh -c"
2467 elif test -f "$ac_dir/install.sh"; then
2469 ac_install_sh="$ac_aux_dir/install.sh -c"
2471 elif test -f "$ac_dir/shtool"; then
2473 ac_install_sh="$ac_aux_dir/shtool install -c"
2477 if test -z "$ac_aux_dir"; then
2478 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2479 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2480 { (exit 1); exit 1; }; }
2483 # These three variables are undocumented and unsupported,
2484 # and are intended to be withdrawn in a future Autoconf release.
2485 # They can cause serious problems if a builder's source tree is in a directory
2486 # whose full name contains unusual characters.
2487 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2488 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2489 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2492 # Make sure we can run config.sub.
2493 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2494 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2495 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2496 { (exit 1); exit 1; }; }
2498 { echo "$as_me:$LINENO: checking build system type" >&5
2499 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_build+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 ac_build_alias=$build_alias
2504 test "x$ac_build_alias" = x &&
2505 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2506 test "x$ac_build_alias" = x &&
2507 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2508 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2509 { (exit 1); exit 1; }; }
2510 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2516 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2517 echo "${ECHO_T}$ac_cv_build" >&6; }
2518 case $ac_cv_build in
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2521 echo "$as_me: error: invalid value of canonical build" >&2;}
2522 { (exit 1); exit 1; }; };;
2525 ac_save_IFS=$IFS; IFS='-'
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2535 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2538 { echo "$as_me:$LINENO: checking host system type" >&5
2539 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2540 if test "${ac_cv_host+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 if test "x$host_alias" = x; then
2544 ac_cv_host=$ac_cv_build
2546 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2547 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2548 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2549 { (exit 1); exit 1; }; }
2553 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2554 echo "${ECHO_T}$ac_cv_host" >&6; }
2557 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2558 echo "$as_me: error: invalid value of canonical host" >&2;}
2559 { (exit 1); exit 1; }; };;
2562 ac_save_IFS=$IFS; IFS='-'
2568 # Remember, the first character of IFS is used to create $*,
2569 # except with old shells:
2572 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2576 if test "$cross_compiling" != "no"; then
2577 HOST_PREFIX="${host_alias}-"
2578 HOST_SUFFIX="-$host_alias"
2585 wx_major_version_number=2
2586 wx_minor_version_number=9
2588 wx_subrelease_number=0
2590 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2591 WX_VERSION=$WX_RELEASE.$wx_release_number
2592 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2594 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2597 wx_top_builddir="`pwd`"
2610 USE_BSD= USE_DARWIN= USE_FREEBSD=
2616 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2624 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2626 DEFAULT_wxUSE_OLD_COCOA=0
2628 DEFAULT_wxUSE_OSX_CARBON=0
2629 DEFAULT_wxUSE_OSX_COCOA=0
2630 DEFAULT_wxUSE_OSX_IPHONE=0
2632 DEFAULT_wxUSE_MICROWIN=0
2633 DEFAULT_wxUSE_MOTIF=0
2639 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_GTK=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2644 DEFAULT_DEFAULT_wxUSE_MGL=0
2645 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2646 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2647 DEFAULT_DEFAULT_wxUSE_MSW=0
2648 DEFAULT_DEFAULT_wxUSE_PM=0
2649 DEFAULT_DEFAULT_wxUSE_X11=0
2650 DEFAULT_DEFAULT_wxUSE_DFB=0
2654 DYLIB_RPATH_INSTALL=
2655 DYLIB_RPATH_POSTLINK=
2657 DEFAULT_STD_FLAG=yes
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2664 cat >>confdefs.h <<\_ACEOF
2669 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2673 cat >>confdefs.h <<\_ACEOF
2678 if test "x$TMP" = "xalpha"; then
2680 cat >>confdefs.h <<\_ACEOF
2685 DEFAULT_DEFAULT_wxUSE_GTK=1
2687 *-*-gnu* | *-*-k*bsd*-gnu )
2690 if test "x$TMP" = "xalpha"; then
2692 cat >>confdefs.h <<\_ACEOF
2697 DEFAULT_DEFAULT_wxUSE_GTK=1
2699 *-*-irix5* | *-*-irix6* )
2702 cat >>confdefs.h <<\_ACEOF
2706 cat >>confdefs.h <<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2714 cat >>confdefs.h <<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_X11=1
2724 cat >>confdefs.h <<\_ACEOF
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __SOLARIS__ 1
2732 cat >>confdefs.h <<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2743 cat >>confdefs.h <<\_ACEOF
2747 cat >>confdefs.h <<\_ACEOF
2751 cat >>confdefs.h <<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __FREEBSD__ 1
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_GTK=1
2770 *-*-openbsd*|*-*-mirbsd*)
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __OPENBSD__ 1
2777 cat >>confdefs.h <<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_GTK=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __NETBSD__ 1
2790 cat >>confdefs.h <<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_GTK=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2797 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2802 cat >>confdefs.h <<\_ACEOF
2806 cat >>confdefs.h <<\_ACEOF
2810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2816 cat >>confdefs.h <<\_ACEOF
2820 cat >>confdefs.h <<\_ACEOF
2824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2829 cat >>confdefs.h <<\_ACEOF
2833 cat >>confdefs.h <<\_ACEOF
2837 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2843 cat >>confdefs.h <<\_ACEOF
2847 cat >>confdefs.h <<\_ACEOF
2851 cat >>confdefs.h <<\_ACEOF
2855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2862 cat >>confdefs.h <<\_ACEOF
2863 #define __UNIXWARE__ 1
2868 *-*-cygwin* | *-*-mingw32* )
2870 DEFAULT_DEFAULT_wxUSE_MSW=1
2876 cat >>confdefs.h <<\_ACEOF
2881 DEFAULT_DEFAULT_wxUSE_MGL=1
2884 *-pc-os2_emx | *-pc-os2-emx )
2885 cat >>confdefs.h <<\_ACEOF
2890 cat >>confdefs.h <<\_ACEOF
2895 DEFAULT_DEFAULT_wxUSE_PM=1
2897 LDFLAGS="$LDFLAGS -Zcrtdll"
2898 ac_executable_extensions=".exe"
2899 export ac_executable_extensions
2903 for ac_dir in $PATH; do
2905 if test -z "$ac_TEMP_PATH"; then
2906 ac_TEMP_PATH="$ac_dir"
2908 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2911 export PATH="$ac_TEMP_PATH"
2919 cat >>confdefs.h <<\_ACEOF
2923 cat >>confdefs.h <<\_ACEOF
2924 #define __DARWIN__ 1
2927 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2933 cat >>confdefs.h <<\_ACEOF
2937 cat >>confdefs.h <<\_ACEOF
2938 #define __DARWIN__ 1
2941 cat >>confdefs.h <<\_ACEOF
2942 #define TARGET_CARBON 1
2945 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2950 cat >>confdefs.h <<\_ACEOF
2957 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2958 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2959 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2960 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2962 DEFAULT_DEFAULT_wxUSE_X11=1
2963 DEFAULT_wxUSE_SHARED=no
2968 DEFAULT_wxUSE_ALL_FEATURES=yes
2970 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2971 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2973 DEFAULT_wxUSE_DMALLOC=no
2974 DEFAULT_wxUSE_LIBGNOMEVFS=no
2975 DEFAULT_wxUSE_LIBHILDON=no
2976 DEFAULT_wxUSE_LIBHILDON2=no
2977 DEFAULT_wxUSE_LIBMSPACK=no
2978 DEFAULT_wxUSE_LIBSDL=no
2980 DEFAULT_wxUSE_ACCESSIBILITY=no
2981 DEFAULT_wxUSE_IPV6=no
2982 DEFAULT_wxUSE_GSTREAMER8=no
2984 DEFAULT_wxUSE_UNICODE_UTF8=auto
2985 DEFAULT_wxUSE_OPENGL=auto
2986 DEFAULT_wxUSE_MEDIACTRL=auto
2987 DEFAULT_wxUSE_COMPILER_TLS=auto
2989 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2991 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2993 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2995 DEFAULT_wxUSE_GTK2=yes
2997 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3003 enablestring=disable
3005 if test -z "$defaultval"; then
3006 if test x"$enablestring" = xdisable; then
3013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3014 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3015 # Check whether --enable-gui was given.
3016 if test "${enable_gui+set}" = set; then
3017 enableval=$enable_gui;
3018 if test "$enableval" = yes; then
3019 wx_cv_use_gui='wxUSE_GUI=yes'
3021 wx_cv_use_gui='wxUSE_GUI=no'
3026 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3031 eval "$wx_cv_use_gui"
3033 if test x"$enablestring" = xdisable; then
3034 if test $wxUSE_GUI = no; then
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}-monolithic" >&5
3058 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3059 # Check whether --enable-monolithic was given.
3060 if test "${enable_monolithic+set}" = set; then
3061 enableval=$enable_monolithic;
3062 if test "$enableval" = yes; then
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3065 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3075 eval "$wx_cv_use_monolithic"
3077 if test x"$enablestring" = xdisable; then
3078 if test $wxUSE_MONOLITHIC = no; then
3084 result=$wxUSE_MONOLITHIC
3087 { echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6; }
3093 if test -z "$defaultval"; then
3094 if test x"$enablestring" = xdisable; then
3101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3102 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3103 # Check whether --enable-plugins was given.
3104 if test "${enable_plugins+set}" = set; then
3105 enableval=$enable_plugins;
3106 if test "$enableval" = yes; then
3107 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3109 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3114 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3119 eval "$wx_cv_use_plugins"
3121 if test x"$enablestring" = xdisable; then
3122 if test $wxUSE_PLUGINS = no; then
3128 result=$wxUSE_PLUGINS
3131 { echo "$as_me:$LINENO: result: $result" >&5
3132 echo "${ECHO_T}$result" >&6; }
3136 defaultval=$wxUSE_ALL_FEATURES
3137 if test -z "$defaultval"; then
3138 if test x"$withstring" = xwithout; then
3144 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3145 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3147 # Check whether --with-subdirs was given.
3148 if test "${with_subdirs+set}" = set; then
3149 withval=$with_subdirs;
3150 if test "$withval" = yes; then
3151 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3153 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3158 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3163 eval "$wx_cv_use_subdirs"
3165 if test x"$withstring" = xwithout; then
3166 if test $wxWITH_SUBDIRS = yes; then
3172 result=$wxWITH_SUBDIRS
3175 { echo "$as_me:$LINENO: result: $result" >&5
3176 echo "${ECHO_T}$result" >&6; }
3179 # Check whether --with-flavour was given.
3180 if test "${with_flavour+set}" = set; then
3181 withval=$with_flavour; WX_FLAVOUR="$withval"
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3197 # Check whether --enable-official_build was given.
3198 if test "${enable_official_build+set}" = set; then
3199 enableval=$enable_official_build;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3213 eval "$wx_cv_use_official_build"
3215 if test x"$enablestring" = xdisable; then
3216 if test $wxUSE_OFFICIAL_BUILD = no; then
3222 result=$wxUSE_OFFICIAL_BUILD
3225 { echo "$as_me:$LINENO: result: $result" >&5
3226 echo "${ECHO_T}$result" >&6; }
3228 # Check whether --enable-vendor was given.
3229 if test "${enable_vendor+set}" = set; then
3230 enableval=$enable_vendor; VENDOR="$enableval"
3233 if test "x$VENDOR" = "x"; then
3238 enablestring=disable
3240 if test -z "$defaultval"; then
3241 if test x"$enablestring" = xdisable; then
3248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3249 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3250 # Check whether --enable-all-features was given.
3251 if test "${enable_all_features+set}" = set; then
3252 enableval=$enable_all_features;
3253 if test "$enableval" = yes; then
3254 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3256 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3266 eval "$wx_cv_use_all_features"
3268 if test x"$enablestring" = xdisable; then
3269 if test $wxUSE_ALL_FEATURES = no; then
3275 result=$wxUSE_ALL_FEATURES
3278 { echo "$as_me:$LINENO: result: $result" >&5
3279 echo "${ECHO_T}$result" >&6; }
3282 if test "$wxUSE_ALL_FEATURES" = "no"; then
3283 DEFAULT_wxUSE_MEDIACTRL=no
3287 if test "$wxUSE_GUI" = "yes"; then
3292 if test -z "$defaultval"; then
3293 if test x"$enablestring" = xdisable; then
3300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3302 # Check whether --enable-universal was given.
3303 if test "${enable_universal+set}" = set; then
3304 enableval=$enable_universal;
3305 if test "$enableval" = yes; then
3306 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3308 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3313 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3318 eval "$wx_cv_use_universal"
3320 if test x"$enablestring" = xdisable; then
3321 if test $wxUSE_UNIVERSAL = no; then
3327 result=$wxUSE_UNIVERSAL
3330 { echo "$as_me:$LINENO: result: $result" >&5
3331 echo "${ECHO_T}$result" >&6; }
3333 if test "$wxUSE_UNIVERSAL" = "yes"; then
3335 # Check whether --with-themes was given.
3336 if test "${with_themes+set}" = set; then
3337 withval=$with_themes; wxUNIV_THEMES="$withval"
3343 # Check whether --with-gtk was given.
3344 if test "${with_gtk+set}" = set; then
3345 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3349 # Check whether --with-motif was given.
3350 if test "${with_motif+set}" = set; then
3351 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3355 # Check whether --with-osx_carbon was given.
3356 if test "${with_osx_carbon+set}" = set; then
3357 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3361 # Check whether --with-osx_cocoa was given.
3362 if test "${with_osx_cocoa+set}" = set; then
3363 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3367 # Check whether --with-osx_iphone was given.
3368 if test "${with_osx_iphone+set}" = set; then
3369 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3373 # Check whether --with-osx was given.
3374 if test "${with_osx+set}" = set; then
3375 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3379 # Check whether --with-carbon was given.
3380 if test "${with_carbon+set}" = set; then
3381 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3385 # Check whether --with-cocoa was given.
3386 if test "${with_cocoa+set}" = set; then
3387 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3391 # Check whether --with-iphone was given.
3392 if test "${with_iphone+set}" = set; then
3393 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3397 # Check whether --with-mac was given.
3398 if test "${with_mac+set}" = set; then
3399 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3403 # Check whether --with-old_cocoa was given.
3404 if test "${with_old_cocoa+set}" = set; then
3405 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3409 # Check whether --with-wine was given.
3410 if test "${with_wine+set}" = set; then
3411 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3415 # Check whether --with-msw was given.
3416 if test "${with_msw+set}" = set; then
3417 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3421 # Check whether --with-pm was given.
3422 if test "${with_pm+set}" = set; then
3423 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3427 # Check whether --with-mgl was given.
3428 if test "${with_mgl+set}" = set; then
3429 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3433 # Check whether --with-directfb was given.
3434 if test "${with_directfb+set}" = set; then
3435 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3439 # Check whether --with-microwin was given.
3440 if test "${with_microwin+set}" = set; then
3441 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3445 # Check whether --with-x11 was given.
3446 if test "${with_x11+set}" = set; then
3447 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3453 if test -z "$defaultval"; then
3454 if test x"$enablestring" = xdisable; then
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3463 # Check whether --enable-nanox was given.
3464 if test "${enable_nanox+set}" = set; then
3465 enableval=$enable_nanox;
3466 if test "$enableval" = yes; then
3467 wx_cv_use_nanox='wxUSE_NANOX=yes'
3469 wx_cv_use_nanox='wxUSE_NANOX=no'
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3479 eval "$wx_cv_use_nanox"
3481 if test x"$enablestring" = xdisable; then
3482 if test $wxUSE_NANOX = no; then
3491 { echo "$as_me:$LINENO: result: $result" >&5
3492 echo "${ECHO_T}$result" >&6; }
3495 # Check whether --enable-gtk2 was given.
3496 if test "${enable_gtk2+set}" = set; then
3497 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3503 if test -z "$defaultval"; then
3504 if test x"$enablestring" = xdisable; then
3511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3513 # Check whether --enable-gpe was given.
3514 if test "${enable_gpe+set}" = set; then
3515 enableval=$enable_gpe;
3516 if test "$enableval" = yes; then
3517 wx_cv_use_gpe='wxUSE_GPE=yes'
3519 wx_cv_use_gpe='wxUSE_GPE=no'
3524 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3529 eval "$wx_cv_use_gpe"
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_GPE = no; then
3541 { echo "$as_me:$LINENO: result: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3546 { echo "$as_me:$LINENO: checking for toolkit" >&5
3547 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3551 # In Wine, we need to default to MSW, not GTK or MOTIF
3552 if test "$wxUSE_WINE" = "yes"; then
3553 DEFAULT_DEFAULT_wxUSE_GTK=0
3554 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3555 DEFAULT_DEFAULT_wxUSE_MSW=1
3562 if test "$wxUSE_GUI" = "yes"; then
3564 if test "$USE_BEOS" = 1; then
3565 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3566 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3567 { (exit 1); exit 1; }; }
3570 if test "$TOOLKIT_GIVEN" = 1; then
3571 for toolkit in $ALL_TOOLKITS; do
3573 eval "value=\$${var}"
3574 if test "x$value" = "xno"; then
3576 elif test "x$value" != "x"; then
3580 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3581 eval "wx${toolkit}_VERSION=$value"
3585 for toolkit in $ALL_TOOLKITS; do
3586 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3587 eval "wxUSE_$toolkit=\$${var}"
3591 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3592 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3593 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3596 *-pc-os2_emx | *-pc-os2-emx )
3597 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3600 case "$NUM_TOOLKITS" in
3604 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3605 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3606 { (exit 1); exit 1; }; }
3609 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3610 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3611 { (exit 1); exit 1; }; }
3614 # to be removed when --disable-gtk2 isn't needed
3615 if test "x$wxUSE_GTK2" = "xyes"; then
3618 elif test "x$wxUSE_GTK2" = "xno"; then
3623 for toolkit in $ALL_TOOLKITS; do
3625 eval "value=\$${var}"
3626 if test "$value" = 1; then
3627 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3628 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3629 echo "${ECHO_T}$toolkit_echo" >&6; }
3633 if test "x$host_alias" != "x"; then
3634 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3635 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3637 { echo "$as_me:$LINENO: result: base only" >&5
3638 echo "${ECHO_T}base only" >&6; }
3643 if test "$wxUSE_OSX_CARBON" = 1 \
3644 -o "$wxUSE_OSX_COCOA" = 1 \
3645 -o "$wxUSE_OSX_IPHONE" = 1; then
3651 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3652 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3654 # Check whether --with-libpng was given.
3655 if test "${with_libpng+set}" = set; then
3656 withval=$with_libpng;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3659 elif test "$withval" = no; then
3660 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3661 elif test "$withval" = sys; then
3662 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3663 elif test "$withval" = builtin; then
3664 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3673 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3678 eval "$wx_cv_use_libpng"
3680 if test "$wxUSE_LIBPNG" = yes; then
3681 { echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6; }
3683 elif test "$wxUSE_LIBPNG" = no; then
3684 { echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6; }
3686 elif test "$wxUSE_LIBPNG" = sys; then
3687 { echo "$as_me:$LINENO: result: system version" >&5
3688 echo "${ECHO_T}system version" >&6; }
3689 elif test "$wxUSE_LIBPNG" = builtin; then
3690 { echo "$as_me:$LINENO: result: builtin version" >&5
3691 echo "${ECHO_T}builtin version" >&6; }
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3699 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3700 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3702 # Check whether --with-libjpeg was given.
3703 if test "${with_libjpeg+set}" = set; then
3704 withval=$with_libjpeg;
3705 if test "$withval" = yes; then
3706 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3707 elif test "$withval" = no; then
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3709 elif test "$withval" = sys; then
3710 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3711 elif test "$withval" = builtin; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3726 eval "$wx_cv_use_libjpeg"
3728 if test "$wxUSE_LIBJPEG" = yes; then
3729 { echo "$as_me:$LINENO: result: yes" >&5
3730 echo "${ECHO_T}yes" >&6; }
3731 elif test "$wxUSE_LIBJPEG" = no; then
3732 { echo "$as_me:$LINENO: result: no" >&5
3733 echo "${ECHO_T}no" >&6; }
3734 elif test "$wxUSE_LIBJPEG" = sys; then
3735 { echo "$as_me:$LINENO: result: system version" >&5
3736 echo "${ECHO_T}system version" >&6; }
3737 elif test "$wxUSE_LIBJPEG" = builtin; then
3738 { echo "$as_me:$LINENO: result: builtin version" >&5
3739 echo "${ECHO_T}builtin version" >&6; }
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3747 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3748 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3750 # Check whether --with-libtiff was given.
3751 if test "${with_libtiff+set}" = set; then
3752 withval=$with_libtiff;
3753 if test "$withval" = yes; then
3754 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3755 elif test "$withval" = no; then
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3757 elif test "$withval" = sys; then
3758 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3759 elif test "$withval" = builtin; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3774 eval "$wx_cv_use_libtiff"
3776 if test "$wxUSE_LIBTIFF" = yes; then
3777 { echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6; }
3779 elif test "$wxUSE_LIBTIFF" = no; then
3780 { echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6; }
3782 elif test "$wxUSE_LIBTIFF" = sys; then
3783 { echo "$as_me:$LINENO: result: system version" >&5
3784 echo "${ECHO_T}system version" >&6; }
3785 elif test "$wxUSE_LIBTIFF" = builtin; then
3786 { echo "$as_me:$LINENO: result: builtin version" >&5
3787 echo "${ECHO_T}builtin version" >&6; }
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3795 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3796 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3798 # Check whether --with-libxpm was given.
3799 if test "${with_libxpm+set}" = set; then
3800 withval=$with_libxpm;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3803 elif test "$withval" = no; then
3804 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3805 elif test "$withval" = sys; then
3806 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3807 elif test "$withval" = builtin; then
3808 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3822 eval "$wx_cv_use_libxpm"
3824 if test "$wxUSE_LIBXPM" = yes; then
3825 { echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6; }
3827 elif test "$wxUSE_LIBXPM" = no; then
3828 { echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6; }
3830 elif test "$wxUSE_LIBXPM" = sys; then
3831 { echo "$as_me:$LINENO: result: system version" >&5
3832 echo "${ECHO_T}system version" >&6; }
3833 elif test "$wxUSE_LIBXPM" = builtin; then
3834 { echo "$as_me:$LINENO: result: builtin version" >&5
3835 echo "${ECHO_T}builtin version" >&6; }
3837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3838 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3839 { (exit 1); exit 1; }; }
3844 defaultval=$wxUSE_ALL_FEATURES
3845 if test -z "$defaultval"; then
3846 if test x"$withstring" = xwithout; then
3852 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3853 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3855 # Check whether --with-libiconv was given.
3856 if test "${with_libiconv+set}" = set; then
3857 withval=$with_libiconv;
3858 if test "$withval" = yes; then
3859 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3861 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3866 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3871 eval "$wx_cv_use_libiconv"
3873 if test x"$withstring" = xwithout; then
3874 if test $wxUSE_LIBICONV = yes; then
3880 result=$wxUSE_LIBICONV
3883 { echo "$as_me:$LINENO: result: $result" >&5
3884 echo "${ECHO_T}$result" >&6; }
3888 defaultval=$wxUSE_ALL_FEATURES
3889 if test -z "$defaultval"; then
3890 if test x"$withstring" = xwithout; then
3896 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3897 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3899 # Check whether --with-libmspack was given.
3900 if test "${with_libmspack+set}" = set; then
3901 withval=$with_libmspack;
3902 if test "$withval" = yes; then
3903 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3905 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3915 eval "$wx_cv_use_libmspack"
3917 if test x"$withstring" = xwithout; then
3918 if test $wxUSE_LIBMSPACK = yes; then
3924 result=$wxUSE_LIBMSPACK
3927 { echo "$as_me:$LINENO: result: $result" >&5
3928 echo "${ECHO_T}$result" >&6; }
3932 defaultval=$wxUSE_ALL_FEATURES
3933 if test -z "$defaultval"; then
3934 if test x"$withstring" = xwithout; then
3940 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3941 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3943 # Check whether --with-gtkprint was given.
3944 if test "${with_gtkprint+set}" = set; then
3945 withval=$with_gtkprint;
3946 if test "$withval" = yes; then
3947 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3949 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3954 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3959 eval "$wx_cv_use_gtkprint"
3961 if test x"$withstring" = xwithout; then
3962 if test $wxUSE_GTKPRINT = yes; then
3968 result=$wxUSE_GTKPRINT
3971 { echo "$as_me:$LINENO: result: $result" >&5
3972 echo "${ECHO_T}$result" >&6; }
3976 defaultval=$wxUSE_ALL_FEATURES
3977 if test -z "$defaultval"; then
3978 if test x"$withstring" = xwithout; then
3984 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3985 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3987 # Check whether --with-gnomeprint was given.
3988 if test "${with_gnomeprint+set}" = set; then
3989 withval=$with_gnomeprint;
3990 if test "$withval" = yes; then
3991 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3993 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4003 eval "$wx_cv_use_gnomeprint"
4005 if test x"$withstring" = xwithout; then
4006 if test $wxUSE_LIBGNOMEPRINT = yes; then
4012 result=$wxUSE_LIBGNOMEPRINT
4015 { echo "$as_me:$LINENO: result: $result" >&5
4016 echo "${ECHO_T}$result" >&6; }
4020 defaultval=$wxUSE_ALL_FEATURES
4021 if test -z "$defaultval"; then
4022 if test x"$withstring" = xwithout; then
4028 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4029 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4031 # Check whether --with-gnomevfs was given.
4032 if test "${with_gnomevfs+set}" = set; then
4033 withval=$with_gnomevfs;
4034 if test "$withval" = yes; then
4035 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4037 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4047 eval "$wx_cv_use_gnomevfs"
4049 if test x"$withstring" = xwithout; then
4050 if test $wxUSE_LIBGNOMEVFS = yes; then
4056 result=$wxUSE_LIBGNOMEVFS
4059 { echo "$as_me:$LINENO: result: $result" >&5
4060 echo "${ECHO_T}$result" >&6; }
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4075 # Check whether --with-hildon was given.
4076 if test "${with_hildon+set}" = set; then
4077 withval=$with_hildon;
4078 if test "$withval" = yes; then
4079 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4081 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4086 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4091 eval "$wx_cv_use_hildon"
4093 if test x"$withstring" = xwithout; then
4094 if test $wxUSE_LIBHILDON = yes; then
4100 result=$wxUSE_LIBHILDON
4103 { echo "$as_me:$LINENO: result: $result" >&5
4104 echo "${ECHO_T}$result" >&6; }
4108 defaultval=$wxUSE_ALL_FEATURES
4109 if test -z "$defaultval"; then
4110 if test x"$withstring" = xwithout; then
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4119 # Check whether --with-opengl was given.
4120 if test "${with_opengl+set}" = set; then
4121 withval=$with_opengl;
4122 if test "$withval" = yes; then
4123 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4125 wx_cv_use_opengl='wxUSE_OPENGL=no'
4130 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4135 eval "$wx_cv_use_opengl"
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_OPENGL = yes; then
4144 result=$wxUSE_OPENGL
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4155 defaultval=$wxUSE_ALL_FEATURES
4156 if test -z "$defaultval"; then
4157 if test x"$withstring" = xwithout; then
4163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4164 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4166 # Check whether --with-dmalloc was given.
4167 if test "${with_dmalloc+set}" = set; then
4168 withval=$with_dmalloc;
4169 if test "$withval" = yes; then
4170 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4182 eval "$wx_cv_use_dmalloc"
4184 if test x"$withstring" = xwithout; then
4185 if test $wxUSE_DMALLOC = yes; then
4191 result=$wxUSE_DMALLOC
4194 { echo "$as_me:$LINENO: result: $result" >&5
4195 echo "${ECHO_T}$result" >&6; }
4199 defaultval=$wxUSE_ALL_FEATURES
4200 if test -z "$defaultval"; then
4201 if test x"$withstring" = xwithout; then
4207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4208 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4210 # Check whether --with-sdl was given.
4211 if test "${with_sdl+set}" = set; then
4213 if test "$withval" = yes; then
4214 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4216 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4221 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4226 eval "$wx_cv_use_sdl"
4228 if test x"$withstring" = xwithout; then
4229 if test $wxUSE_LIBSDL = yes; then
4235 result=$wxUSE_LIBSDL
4238 { echo "$as_me:$LINENO: result: $result" >&5
4239 echo "${ECHO_T}$result" >&6; }
4242 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4243 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4245 # Check whether --with-regex was given.
4246 if test "${with_regex+set}" = set; then
4247 withval=$with_regex;
4248 if test "$withval" = yes; then
4249 wx_cv_use_regex='wxUSE_REGEX=yes'
4250 elif test "$withval" = no; then
4251 wx_cv_use_regex='wxUSE_REGEX=no'
4252 elif test "$withval" = sys; then
4253 wx_cv_use_regex='wxUSE_REGEX=sys'
4254 elif test "$withval" = builtin; then
4255 wx_cv_use_regex='wxUSE_REGEX=builtin'
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4264 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4269 eval "$wx_cv_use_regex"
4271 if test "$wxUSE_REGEX" = yes; then
4272 { echo "$as_me:$LINENO: result: yes" >&5
4273 echo "${ECHO_T}yes" >&6; }
4274 elif test "$wxUSE_REGEX" = no; then
4275 { echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6; }
4277 elif test "$wxUSE_REGEX" = sys; then
4278 { echo "$as_me:$LINENO: result: system version" >&5
4279 echo "${ECHO_T}system version" >&6; }
4280 elif test "$wxUSE_REGEX" = builtin; then
4281 { echo "$as_me:$LINENO: result: builtin version" >&5
4282 echo "${ECHO_T}builtin version" >&6; }
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4290 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4291 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4293 # Check whether --with-zlib was given.
4294 if test "${with_zlib+set}" = set; then
4296 if test "$withval" = yes; then
4297 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4298 elif test "$withval" = no; then
4299 wx_cv_use_zlib='wxUSE_ZLIB=no'
4300 elif test "$withval" = sys; then
4301 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4302 elif test "$withval" = builtin; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4312 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4317 eval "$wx_cv_use_zlib"
4319 if test "$wxUSE_ZLIB" = yes; then
4320 { echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6; }
4322 elif test "$wxUSE_ZLIB" = no; then
4323 { echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6; }
4325 elif test "$wxUSE_ZLIB" = sys; then
4326 { echo "$as_me:$LINENO: result: system version" >&5
4327 echo "${ECHO_T}system version" >&6; }
4328 elif test "$wxUSE_ZLIB" = builtin; then
4329 { echo "$as_me:$LINENO: result: builtin version" >&5
4330 echo "${ECHO_T}builtin version" >&6; }
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4338 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4341 # Check whether --with-expat was given.
4342 if test "${with_expat+set}" = set; then
4343 withval=$with_expat;
4344 if test "$withval" = yes; then
4345 wx_cv_use_expat='wxUSE_EXPAT=yes'
4346 elif test "$withval" = no; then
4347 wx_cv_use_expat='wxUSE_EXPAT=no'
4348 elif test "$withval" = sys; then
4349 wx_cv_use_expat='wxUSE_EXPAT=sys'
4350 elif test "$withval" = builtin; then
4351 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4353 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4354 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4355 { (exit 1); exit 1; }; }
4360 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4365 eval "$wx_cv_use_expat"
4367 if test "$wxUSE_EXPAT" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_EXPAT" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_EXPAT" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_EXPAT" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4386 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4387 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4389 # Check whether --with-macosx-sdk was given.
4390 if test "${with_macosx_sdk+set}" = set; then
4391 withval=$with_macosx_sdk;
4392 wxUSE_MACOSX_SDK=$withval
4393 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4397 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4398 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4400 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4401 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4403 # Check whether --with-macosx-version-min was given.
4404 if test "${with_macosx_version_min+set}" = set; then
4405 withval=$with_macosx_version_min;
4406 wxUSE_MACOSX_VERSION_MIN=$withval
4407 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4411 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4412 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4415 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4416 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4417 # Check whether --enable-debug was given.
4418 if test "${enable_debug+set}" = set; then
4419 enableval=$enable_debug;
4420 if test "$enableval" = yes; then
4422 elif test "$enableval" = no; then
4424 elif test "$enableval" = max; then
4426 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4428 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4429 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4430 { (exit 1); exit 1; }; }
4439 case "$wxUSE_DEBUG" in
4441 DEFAULT_wxUSE_DEBUG_FLAG=yes
4442 DEFAULT_wxUSE_DEBUG_INFO=yes
4444 DEFAULT_wxUSE_OPTIMISE=no
4448 DEFAULT_wxUSE_DEBUG_FLAG=no
4449 DEFAULT_wxUSE_DEBUG_INFO=no
4453 DEFAULT_wxUSE_DEBUG_FLAG=yes
4454 DEFAULT_wxUSE_DEBUG_INFO=no
4459 enablestring=disable
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4471 # Check whether --enable-debug_flag was given.
4472 if test "${enable_debug_flag+set}" = set; then
4473 enableval=$enable_debug_flag;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4477 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4487 eval "$wx_cv_use_debug_flag"
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_DEBUG_FLAG = no; then
4496 result=$wxUSE_DEBUG_FLAG
4499 { echo "$as_me:$LINENO: result: $result" >&5
4500 echo "${ECHO_T}$result" >&6; }
4505 if test -z "$defaultval"; then
4506 if test x"$enablestring" = xdisable; then
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4515 # Check whether --enable-debug_info was given.
4516 if test "${enable_debug_info+set}" = set; then
4517 enableval=$enable_debug_info;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4521 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4531 eval "$wx_cv_use_debug_info"
4533 if test x"$enablestring" = xdisable; then
4534 if test $wxUSE_DEBUG_INFO = no; then
4540 result=$wxUSE_DEBUG_INFO
4543 { echo "$as_me:$LINENO: result: $result" >&5
4544 echo "${ECHO_T}$result" >&6; }
4551 if test -z "$defaultval"; then
4552 if test x"$enablestring" = xdisable; then
4559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4561 # Check whether --enable-debug_gdb was given.
4562 if test "${enable_debug_gdb+set}" = set; then
4563 enableval=$enable_debug_gdb;
4564 if test "$enableval" = yes; then
4565 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4567 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4572 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4577 eval "$wx_cv_use_debug_gdb"
4579 if test x"$enablestring" = xdisable; then
4580 if test $wxUSE_DEBUG_GDB = no; then
4586 result=$wxUSE_DEBUG_GDB
4589 { echo "$as_me:$LINENO: result: $result" >&5
4590 echo "${ECHO_T}$result" >&6; }
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4605 # Check whether --enable-debug_cntxt was given.
4606 if test "${enable_debug_cntxt+set}" = set; then
4607 enableval=$enable_debug_cntxt;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4611 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4621 eval "$wx_cv_use_debug_cntxt"
4623 if test x"$enablestring" = xdisable; then
4624 if test $wxUSE_DEBUG_CONTEXT = no; then
4630 result=$wxUSE_DEBUG_CONTEXT
4633 { echo "$as_me:$LINENO: result: $result" >&5
4634 echo "${ECHO_T}$result" >&6; }
4639 if test -z "$defaultval"; then
4640 if test x"$enablestring" = xdisable; then
4647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4649 # Check whether --enable-mem_tracing was given.
4650 if test "${enable_mem_tracing+set}" = set; then
4651 enableval=$enable_mem_tracing;
4652 if test "$enableval" = yes; then
4653 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4655 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4665 eval "$wx_cv_use_mem_tracing"
4667 if test x"$enablestring" = xdisable; then
4668 if test $wxUSE_MEM_TRACING = no; then
4674 result=$wxUSE_MEM_TRACING
4677 { echo "$as_me:$LINENO: result: $result" >&5
4678 echo "${ECHO_T}$result" >&6; }
4683 enablestring=disable
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4695 # Check whether --enable-shared was given.
4696 if test "${enable_shared+set}" = set; then
4697 enableval=$enable_shared;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_shared='wxUSE_SHARED=yes'
4701 wx_cv_use_shared='wxUSE_SHARED=no'
4706 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4711 eval "$wx_cv_use_shared"
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_SHARED = no; then
4720 result=$wxUSE_SHARED
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4729 if test -z "$defaultval"; then
4730 if test x"$enablestring" = xdisable; then
4737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4739 # Check whether --enable-stl was given.
4740 if test "${enable_stl+set}" = set; then
4741 enableval=$enable_stl;
4742 if test "$enableval" = yes; then
4743 wx_cv_use_stl='wxUSE_STL=yes'
4745 wx_cv_use_stl='wxUSE_STL=no'
4750 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4755 eval "$wx_cv_use_stl"
4757 if test x"$enablestring" = xdisable; then
4758 if test $wxUSE_STL = no; then
4767 { echo "$as_me:$LINENO: result: $result" >&5
4768 echo "${ECHO_T}$result" >&6; }
4773 if test -z "$defaultval"; then
4774 if test x"$enablestring" = xdisable; then
4781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4783 # Check whether --enable-std_iostreams was given.
4784 if test "${enable_std_iostreams+set}" = set; then
4785 enableval=$enable_std_iostreams;
4786 if test "$enableval" = yes; then
4787 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4789 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4799 eval "$wx_cv_use_std_iostreams"
4801 if test x"$enablestring" = xdisable; then
4802 if test $wxUSE_STD_IOSTREAM = no; then
4808 result=$wxUSE_STD_IOSTREAM
4811 { echo "$as_me:$LINENO: result: $result" >&5
4812 echo "${ECHO_T}$result" >&6; }
4817 if test -z "$defaultval"; then
4818 if test x"$enablestring" = xdisable; then
4825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4827 # Check whether --enable-std_string was given.
4828 if test "${enable_std_string+set}" = set; then
4829 enableval=$enable_std_string;
4830 if test "$enableval" = yes; then
4831 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4833 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4838 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4843 eval "$wx_cv_use_std_string"
4845 if test x"$enablestring" = xdisable; then
4846 if test $wxUSE_STD_STRING = no; then
4852 result=$wxUSE_STD_STRING
4855 { echo "$as_me:$LINENO: result: $result" >&5
4856 echo "${ECHO_T}$result" >&6; }
4859 enablestring=disable
4861 if test -z "$defaultval"; then
4862 if test x"$enablestring" = xdisable; then
4869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4871 # Check whether --enable-unicode was given.
4872 if test "${enable_unicode+set}" = set; then
4873 enableval=$enable_unicode;
4874 if test "$enableval" = yes; then
4875 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4877 wx_cv_use_unicode='wxUSE_UNICODE=no'
4882 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4887 eval "$wx_cv_use_unicode"
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = no; then
4896 result=$wxUSE_UNICODE
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4931 eval "$wx_cv_use_mslu"
4933 if test x"$enablestring" = xdisable; then
4934 if test $wxUSE_UNICODE_MSLU = no; then
4940 result=$wxUSE_UNICODE_MSLU
4943 { echo "$as_me:$LINENO: result: $result" >&5
4944 echo "${ECHO_T}$result" >&6; }
4948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4950 # Check whether --enable-utf8 was given.
4951 if test "${enable_utf8+set}" = set; then
4952 enableval=$enable_utf8;
4953 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4957 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4962 eval "$wx_cv_use_utf8"
4964 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4965 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4970 if test -z "$defaultval"; then
4971 if test x"$enablestring" = xdisable; then
4978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4980 # Check whether --enable-utf8only was given.
4981 if test "${enable_utf8only+set}" = set; then
4982 enableval=$enable_utf8only;
4983 if test "$enableval" = yes; then
4984 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4986 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4991 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4996 eval "$wx_cv_use_utf8only"
4998 if test x"$enablestring" = xdisable; then
4999 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5005 result=$wxUSE_UNICODE_UTF8_LOCALE
5008 { echo "$as_me:$LINENO: result: $result" >&5
5009 echo "${ECHO_T}$result" >&6; }
5014 if test -z "$defaultval"; then
5015 if test x"$enablestring" = xdisable; then
5022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5024 # Check whether --enable-extended_rtti was given.
5025 if test "${enable_extended_rtti+set}" = set; then
5026 enableval=$enable_extended_rtti;
5027 if test "$enableval" = yes; then
5028 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5030 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5040 eval "$wx_cv_use_extended_rtti"
5042 if test x"$enablestring" = xdisable; then
5043 if test $wxUSE_EXTENDED_RTTI = no; then
5049 result=$wxUSE_EXTENDED_RTTI
5052 { echo "$as_me:$LINENO: result: $result" >&5
5053 echo "${ECHO_T}$result" >&6; }
5055 if test "$USE_OS2" = 1; then
5056 DEFAULT_wxUSE_OMF=no
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5070 # Check whether --enable-omf was given.
5071 if test "${enable_omf+set}" = set; then
5072 enableval=$enable_omf;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_omf='wxUSE_OMF=yes'
5076 wx_cv_use_omf='wxUSE_OMF=no'
5081 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5086 eval "$wx_cv_use_omf"
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_OMF = no; then
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5104 enablestring=disable
5106 if test -z "$defaultval"; then
5107 if test x"$enablestring" = xdisable; then
5114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5115 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5116 # Check whether --enable-optimise was given.
5117 if test "${enable_optimise+set}" = set; then
5118 enableval=$enable_optimise;
5119 if test "$enableval" = yes; then
5120 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5122 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5127 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5132 eval "$wx_cv_use_optimise"
5134 if test x"$enablestring" = xdisable; then
5135 if test $wxUSE_OPTIMISE = no; then
5141 result=$wxUSE_OPTIMISE
5144 { echo "$as_me:$LINENO: result: $result" >&5
5145 echo "${ECHO_T}$result" >&6; }
5151 if test -z "$defaultval"; then
5152 if test x"$enablestring" = xdisable; then
5159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5161 # Check whether --enable-profile was given.
5162 if test "${enable_profile+set}" = set; then
5163 enableval=$enable_profile;
5164 if test "$enableval" = yes; then
5165 wx_cv_use_profile='wxUSE_PROFILE=yes'
5167 wx_cv_use_profile='wxUSE_PROFILE=no'
5172 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5177 eval "$wx_cv_use_profile"
5179 if test x"$enablestring" = xdisable; then
5180 if test $wxUSE_PROFILE = no; then
5186 result=$wxUSE_PROFILE
5189 { echo "$as_me:$LINENO: result: $result" >&5
5190 echo "${ECHO_T}$result" >&6; }
5195 if test -z "$defaultval"; then
5196 if test x"$enablestring" = xdisable; then
5203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5205 # Check whether --enable-no_rtti was given.
5206 if test "${enable_no_rtti+set}" = set; then
5207 enableval=$enable_no_rtti;
5208 if test "$enableval" = yes; then
5209 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5211 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5221 eval "$wx_cv_use_no_rtti"
5223 if test x"$enablestring" = xdisable; then
5224 if test $wxUSE_NO_RTTI = no; then
5230 result=$wxUSE_NO_RTTI
5233 { echo "$as_me:$LINENO: result: $result" >&5
5234 echo "${ECHO_T}$result" >&6; }
5239 if test -z "$defaultval"; then
5240 if test x"$enablestring" = xdisable; then
5247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5249 # Check whether --enable-no_exceptions was given.
5250 if test "${enable_no_exceptions+set}" = set; then
5251 enableval=$enable_no_exceptions;
5252 if test "$enableval" = yes; then
5253 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5255 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5260 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5265 eval "$wx_cv_use_no_exceptions"
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_NO_EXCEPTIONS = no; then
5274 result=$wxUSE_NO_EXCEPTIONS
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5293 # Check whether --enable-permissive was given.
5294 if test "${enable_permissive+set}" = set; then
5295 enableval=$enable_permissive;
5296 if test "$enableval" = yes; then
5297 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5299 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5309 eval "$wx_cv_use_permissive"
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_PERMISSIVE = no; then
5318 result=$wxUSE_PERMISSIVE
5321 { echo "$as_me:$LINENO: result: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5327 if test -z "$defaultval"; then
5328 if test x"$enablestring" = xdisable; then
5335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5337 # Check whether --enable-no_deps was given.
5338 if test "${enable_no_deps+set}" = set; then
5339 enableval=$enable_no_deps;
5340 if test "$enableval" = yes; then
5341 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5343 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5353 eval "$wx_cv_use_no_deps"
5355 if test x"$enablestring" = xdisable; then
5356 if test $wxUSE_NO_DEPS = no; then
5362 result=$wxUSE_NO_DEPS
5365 { echo "$as_me:$LINENO: result: $result" >&5
5366 echo "${ECHO_T}$result" >&6; }
5369 enablestring=disable
5371 if test -z "$defaultval"; then
5372 if test x"$enablestring" = xdisable; then
5379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5381 # Check whether --enable-vararg_macros was given.
5382 if test "${enable_vararg_macros+set}" = set; then
5383 enableval=$enable_vararg_macros;
5384 if test "$enableval" = yes; then
5385 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5387 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5392 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5397 eval "$wx_cv_use_vararg_macros"
5399 if test x"$enablestring" = xdisable; then
5400 if test $wxUSE_VARARG_MACROS = no; then
5406 result=$wxUSE_VARARG_MACROS
5409 { echo "$as_me:$LINENO: result: $result" >&5
5410 echo "${ECHO_T}$result" >&6; }
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5416 # Check whether --enable-universal_binary was given.
5417 if test "${enable_universal_binary+set}" = set; then
5418 enableval=$enable_universal_binary;
5419 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5423 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5428 eval "$wx_cv_use_universal_binary"
5430 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5431 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5437 if test -z "$defaultval"; then
5438 if test x"$enablestring" = xdisable; then
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5447 # Check whether --enable-compat26 was given.
5448 if test "${enable_compat26+set}" = set; then
5449 enableval=$enable_compat26;
5450 if test "$enableval" = yes; then
5451 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5453 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5458 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5463 eval "$wx_cv_use_compat26"
5465 if test x"$enablestring" = xdisable; then
5466 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5472 result=$WXWIN_COMPATIBILITY_2_6
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5479 enablestring=disable
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5491 # Check whether --enable-compat28 was given.
5492 if test "${enable_compat28+set}" = set; then
5493 enableval=$enable_compat28;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5497 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5502 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5507 eval "$wx_cv_use_compat28"
5509 if test x"$enablestring" = xdisable; then
5510 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5516 result=$WXWIN_COMPATIBILITY_2_8
5519 { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5524 enablestring=disable
5526 if test -z "$defaultval"; then
5527 if test x"$enablestring" = xdisable; then
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5536 # Check whether --enable-rpath was given.
5537 if test "${enable_rpath+set}" = set; then
5538 enableval=$enable_rpath;
5539 if test "$enableval" = yes; then
5540 wx_cv_use_rpath='wxUSE_RPATH=yes'
5542 wx_cv_use_rpath='wxUSE_RPATH=no'
5547 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5552 eval "$wx_cv_use_rpath"
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_RPATH = no; then
5564 { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5581 # Check whether --enable-objc_uniquifying was given.
5582 if test "${enable_objc_uniquifying+set}" = set; then
5583 enableval=$enable_objc_uniquifying;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5587 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5592 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5597 eval "$wx_cv_use_objc_uniquifying"
5599 if test x"$enablestring" = xdisable; then
5600 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5606 result=$wxUSE_OBJC_UNIQUIFYING
5609 { echo "$as_me:$LINENO: result: $result" >&5
5610 echo "${ECHO_T}$result" >&6; }
5614 enablestring=disable
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5626 # Check whether --enable-visibility was given.
5627 if test "${enable_visibility+set}" = set; then
5628 enableval=$enable_visibility;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5632 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5637 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5642 eval "$wx_cv_use_visibility"
5644 if test x"$enablestring" = xdisable; then
5645 if test $wxUSE_VISIBILITY = no; then
5651 result=$wxUSE_VISIBILITY
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5658 enablestring=disable
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5670 # Check whether --enable-tls was given.
5671 if test "${enable_tls+set}" = set; then
5672 enableval=$enable_tls;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5676 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5681 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5686 eval "$wx_cv_use_tls"
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_COMPILER_TLS = no; then
5695 result=$wxUSE_COMPILER_TLS
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 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}-intl" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5716 # Check whether --enable-intl was given.
5717 if test "${enable_intl+set}" = set; then
5718 enableval=$enable_intl;
5719 if test "$enableval" = yes; then
5720 wx_cv_use_intl='wxUSE_INTL=yes'
5722 wx_cv_use_intl='wxUSE_INTL=no'
5727 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5732 eval "$wx_cv_use_intl"
5734 if test x"$enablestring" = xdisable; then
5735 if test $wxUSE_INTL = no; then
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}-xlocale" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5760 # Check whether --enable-xlocale was given.
5761 if test "${enable_xlocale+set}" = set; then
5762 enableval=$enable_xlocale;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5766 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5771 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5776 eval "$wx_cv_use_xlocale"
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_XLOCALE = no; then
5785 result=$wxUSE_XLOCALE
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}-config" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5804 # Check whether --enable-config was given.
5805 if test "${enable_config+set}" = set; then
5806 enableval=$enable_config;
5807 if test "$enableval" = yes; then
5808 wx_cv_use_config='wxUSE_CONFIG=yes'
5810 wx_cv_use_config='wxUSE_CONFIG=no'
5815 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5820 eval "$wx_cv_use_config"
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_CONFIG = no; then
5829 result=$wxUSE_CONFIG
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5838 defaultval=$wxUSE_ALL_FEATURES
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5849 # Check whether --enable-protocols was given.
5850 if test "${enable_protocols+set}" = set; then
5851 enableval=$enable_protocols;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5855 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5860 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5865 eval "$wx_cv_use_protocols"
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_PROTOCOL = no; then
5874 result=$wxUSE_PROTOCOL
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5882 defaultval=$wxUSE_ALL_FEATURES
5883 if test -z "$defaultval"; then
5884 if test x"$enablestring" = xdisable; then
5891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5893 # Check whether --enable-ftp was given.
5894 if test "${enable_ftp+set}" = set; then
5895 enableval=$enable_ftp;
5896 if test "$enableval" = yes; then
5897 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5899 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5904 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5909 eval "$wx_cv_use_ftp"
5911 if test x"$enablestring" = xdisable; then
5912 if test $wxUSE_PROTOCOL_FTP = no; then
5918 result=$wxUSE_PROTOCOL_FTP
5921 { echo "$as_me:$LINENO: result: $result" >&5
5922 echo "${ECHO_T}$result" >&6; }
5926 defaultval=$wxUSE_ALL_FEATURES
5927 if test -z "$defaultval"; then
5928 if test x"$enablestring" = xdisable; then
5935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5937 # Check whether --enable-http was given.
5938 if test "${enable_http+set}" = set; then
5939 enableval=$enable_http;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5943 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5948 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5953 eval "$wx_cv_use_http"
5955 if test x"$enablestring" = xdisable; then
5956 if test $wxUSE_PROTOCOL_HTTP = no; then
5962 result=$wxUSE_PROTOCOL_HTTP
5965 { echo "$as_me:$LINENO: result: $result" >&5
5966 echo "${ECHO_T}$result" >&6; }
5970 defaultval=$wxUSE_ALL_FEATURES
5971 if test -z "$defaultval"; then
5972 if test x"$enablestring" = xdisable; then
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5981 # Check whether --enable-fileproto was given.
5982 if test "${enable_fileproto+set}" = set; then
5983 enableval=$enable_fileproto;
5984 if test "$enableval" = yes; then
5985 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5987 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5992 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5997 eval "$wx_cv_use_fileproto"
5999 if test x"$enablestring" = xdisable; then
6000 if test $wxUSE_PROTOCOL_FILE = no; then
6006 result=$wxUSE_PROTOCOL_FILE
6009 { echo "$as_me:$LINENO: result: $result" >&5
6010 echo "${ECHO_T}$result" >&6; }
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6025 # Check whether --enable-sockets was given.
6026 if test "${enable_sockets+set}" = set; then
6027 enableval=$enable_sockets;
6028 if test "$enableval" = yes; then
6029 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6031 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6036 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6041 eval "$wx_cv_use_sockets"
6043 if test x"$enablestring" = xdisable; then
6044 if test $wxUSE_SOCKETS = no; then
6050 result=$wxUSE_SOCKETS
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 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}-ipv6" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6069 # Check whether --enable-ipv6 was given.
6070 if test "${enable_ipv6+set}" = set; then
6071 enableval=$enable_ipv6;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6075 wx_cv_use_ipv6='wxUSE_IPV6=no'
6080 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6085 eval "$wx_cv_use_ipv6"
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_IPV6 = no; then
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6113 # Check whether --enable-ole was given.
6114 if test "${enable_ole+set}" = set; then
6115 enableval=$enable_ole;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_ole='wxUSE_OLE=yes'
6119 wx_cv_use_ole='wxUSE_OLE=no'
6124 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6129 eval "$wx_cv_use_ole"
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_OLE = no; then
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6157 # Check whether --enable-dataobj was given.
6158 if test "${enable_dataobj+set}" = set; then
6159 enableval=$enable_dataobj;
6160 if test "$enableval" = yes; then
6161 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6163 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6168 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6173 eval "$wx_cv_use_dataobj"
6175 if test x"$enablestring" = xdisable; then
6176 if test $wxUSE_DATAOBJ = no; then
6182 result=$wxUSE_DATAOBJ
6185 { echo "$as_me:$LINENO: result: $result" >&5
6186 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}-ipc" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6202 # Check whether --enable-ipc was given.
6203 if test "${enable_ipc+set}" = set; then
6204 enableval=$enable_ipc;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_ipc='wxUSE_IPC=yes'
6208 wx_cv_use_ipc='wxUSE_IPC=no'
6213 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6218 eval "$wx_cv_use_ipc"
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_IPC = no; then
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}-baseevtloop" >&5
6246 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6247 # Check whether --enable-baseevtloop was given.
6248 if test "${enable_baseevtloop+set}" = set; then
6249 enableval=$enable_baseevtloop;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6253 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6258 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6263 eval "$wx_cv_use_baseevtloop"
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6272 result=$wxUSE_CONSOLE_EVENTLOOP
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}-epollloop" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6291 # Check whether --enable-epollloop was given.
6292 if test "${enable_epollloop+set}" = set; then
6293 enableval=$enable_epollloop;
6294 if test "$enableval" = yes; then
6295 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6297 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6302 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6307 eval "$wx_cv_use_epollloop"
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_EPOLL_DISPATCHER = no; then
6316 result=$wxUSE_EPOLL_DISPATCHER
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}-selectloop" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6335 # Check whether --enable-selectloop was given.
6336 if test "${enable_selectloop+set}" = set; then
6337 enableval=$enable_selectloop;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6341 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6346 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6351 eval "$wx_cv_use_selectloop"
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_SELECT_DISPATCHER = no; then
6360 result=$wxUSE_SELECT_DISPATCHER
6363 { echo "$as_me:$LINENO: result: $result" >&5
6364 echo "${ECHO_T}$result" >&6; }
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6380 # Check whether --enable-any was given.
6381 if test "${enable_any+set}" = set; then
6382 enableval=$enable_any;
6383 if test "$enableval" = yes; then
6384 wx_cv_use_any='wxUSE_ANY=yes'
6386 wx_cv_use_any='wxUSE_ANY=no'
6391 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6396 eval "$wx_cv_use_any"
6398 if test x"$enablestring" = xdisable; then
6399 if test $wxUSE_ANY = no; then
6408 { echo "$as_me:$LINENO: result: $result" >&5
6409 echo "${ECHO_T}$result" >&6; }
6413 defaultval=$wxUSE_ALL_FEATURES
6414 if test -z "$defaultval"; then
6415 if test x"$enablestring" = xdisable; then
6422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6424 # Check whether --enable-apple_ieee was given.
6425 if test "${enable_apple_ieee+set}" = set; then
6426 enableval=$enable_apple_ieee;
6427 if test "$enableval" = yes; then
6428 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6430 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6435 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6440 eval "$wx_cv_use_apple_ieee"
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_APPLE_IEEE = no; then
6449 result=$wxUSE_APPLE_IEEE
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6457 defaultval=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6468 # Check whether --enable-arcstream was given.
6469 if test "${enable_arcstream+set}" = set; then
6470 enableval=$enable_arcstream;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6474 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6479 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6484 eval "$wx_cv_use_arcstream"
6486 if test x"$enablestring" = xdisable; then
6487 if test $wxUSE_ARCHIVE_STREAMS = no; then
6493 result=$wxUSE_ARCHIVE_STREAMS
6496 { echo "$as_me:$LINENO: result: $result" >&5
6497 echo "${ECHO_T}$result" >&6; }
6501 defaultval=$wxUSE_ALL_FEATURES
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6512 # Check whether --enable-base64 was given.
6513 if test "${enable_base64+set}" = set; then
6514 enableval=$enable_base64;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_base64='wxUSE_BASE64=yes'
6518 wx_cv_use_base64='wxUSE_BASE64=no'
6523 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6528 eval "$wx_cv_use_base64"
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_BASE64 = no; then
6537 result=$wxUSE_BASE64
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6556 # Check whether --enable-backtrace was given.
6557 if test "${enable_backtrace+set}" = set; then
6558 enableval=$enable_backtrace;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6562 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6567 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6572 eval "$wx_cv_use_backtrace"
6574 if test x"$enablestring" = xdisable; then
6575 if test $wxUSE_STACKWALKER = no; then
6581 result=$wxUSE_STACKWALKER
6584 { echo "$as_me:$LINENO: result: $result" >&5
6585 echo "${ECHO_T}$result" >&6; }
6589 defaultval=$wxUSE_ALL_FEATURES
6590 if test -z "$defaultval"; then
6591 if test x"$enablestring" = xdisable; then
6598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6599 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6600 # Check whether --enable-catch_segvs was given.
6601 if test "${enable_catch_segvs+set}" = set; then
6602 enableval=$enable_catch_segvs;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6606 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6611 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6616 eval "$wx_cv_use_catch_segvs"
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6625 result=$wxUSE_ON_FATAL_EXCEPTION
6628 { echo "$as_me:$LINENO: result: $result" >&5
6629 echo "${ECHO_T}$result" >&6; }
6633 defaultval=$wxUSE_ALL_FEATURES
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6643 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6644 # Check whether --enable-cmdline was given.
6645 if test "${enable_cmdline+set}" = set; then
6646 enableval=$enable_cmdline;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6650 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6655 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6660 eval "$wx_cv_use_cmdline"
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_CMDLINE_PARSER = no; then
6669 result=$wxUSE_CMDLINE_PARSER
6672 { echo "$as_me:$LINENO: result: $result" >&5
6673 echo "${ECHO_T}$result" >&6; }
6677 defaultval=$wxUSE_ALL_FEATURES
6678 if test -z "$defaultval"; then
6679 if test x"$enablestring" = xdisable; then
6686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6687 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6688 # Check whether --enable-datetime was given.
6689 if test "${enable_datetime+set}" = set; then
6690 enableval=$enable_datetime;
6691 if test "$enableval" = yes; then
6692 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6694 wx_cv_use_datetime='wxUSE_DATETIME=no'
6699 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6704 eval "$wx_cv_use_datetime"
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_DATETIME = no; then
6713 result=$wxUSE_DATETIME
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6732 # Check whether --enable-debugreport was given.
6733 if test "${enable_debugreport+set}" = set; then
6734 enableval=$enable_debugreport;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6738 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6743 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6748 eval "$wx_cv_use_debugreport"
6750 if test x"$enablestring" = xdisable; then
6751 if test $wxUSE_DEBUGREPORT = no; then
6757 result=$wxUSE_DEBUGREPORT
6760 { echo "$as_me:$LINENO: result: $result" >&5
6761 echo "${ECHO_T}$result" >&6; }
6765 defaultval=$wxUSE_ALL_FEATURES
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6776 # Check whether --enable-dialupman was given.
6777 if test "${enable_dialupman+set}" = set; then
6778 enableval=$enable_dialupman;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6782 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6787 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6792 eval "$wx_cv_use_dialupman"
6794 if test x"$enablestring" = xdisable; then
6795 if test $wxUSE_DIALUP_MANAGER = no; then
6801 result=$wxUSE_DIALUP_MANAGER
6804 { echo "$as_me:$LINENO: result: $result" >&5
6805 echo "${ECHO_T}$result" >&6; }
6809 defaultval=$wxUSE_ALL_FEATURES
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6820 # Check whether --enable-dynlib was given.
6821 if test "${enable_dynlib+set}" = set; then
6822 enableval=$enable_dynlib;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6826 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6831 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6836 eval "$wx_cv_use_dynlib"
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_DYNLIB_CLASS = no; then
6845 result=$wxUSE_DYNLIB_CLASS
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6853 defaultval=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6864 # Check whether --enable-dynamicloader was given.
6865 if test "${enable_dynamicloader+set}" = set; then
6866 enableval=$enable_dynamicloader;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6870 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6875 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6880 eval "$wx_cv_use_dynamicloader"
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_DYNAMIC_LOADER = no; then
6889 result=$wxUSE_DYNAMIC_LOADER
6892 { echo "$as_me:$LINENO: result: $result" >&5
6893 echo "${ECHO_T}$result" >&6; }
6897 defaultval=$wxUSE_ALL_FEATURES
6898 if test -z "$defaultval"; then
6899 if test x"$enablestring" = xdisable; then
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6908 # Check whether --enable-exceptions was given.
6909 if test "${enable_exceptions+set}" = set; then
6910 enableval=$enable_exceptions;
6911 if test "$enableval" = yes; then
6912 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6914 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6919 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6924 eval "$wx_cv_use_exceptions"
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_EXCEPTIONS = no; then
6933 result=$wxUSE_EXCEPTIONS
6936 { echo "$as_me:$LINENO: result: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6952 # Check whether --enable-ffile was given.
6953 if test "${enable_ffile+set}" = set; then
6954 enableval=$enable_ffile;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_ffile='wxUSE_FFILE=yes'
6958 wx_cv_use_ffile='wxUSE_FFILE=no'
6963 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6968 eval "$wx_cv_use_ffile"
6970 if test x"$enablestring" = xdisable; then
6971 if test $wxUSE_FFILE = no; then
6980 { echo "$as_me:$LINENO: result: $result" >&5
6981 echo "${ECHO_T}$result" >&6; }
6985 defaultval=$wxUSE_ALL_FEATURES
6986 if test -z "$defaultval"; then
6987 if test x"$enablestring" = xdisable; then
6994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6996 # Check whether --enable-file was given.
6997 if test "${enable_file+set}" = set; then
6998 enableval=$enable_file;
6999 if test "$enableval" = yes; then
7000 wx_cv_use_file='wxUSE_FILE=yes'
7002 wx_cv_use_file='wxUSE_FILE=no'
7007 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7012 eval "$wx_cv_use_file"
7014 if test x"$enablestring" = xdisable; then
7015 if test $wxUSE_FILE = no; then
7024 { echo "$as_me:$LINENO: result: $result" >&5
7025 echo "${ECHO_T}$result" >&6; }
7029 defaultval=$wxUSE_ALL_FEATURES
7030 if test -z "$defaultval"; then
7031 if test x"$enablestring" = xdisable; then
7038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7039 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7040 # Check whether --enable-filehistory was given.
7041 if test "${enable_filehistory+set}" = set; then
7042 enableval=$enable_filehistory;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7046 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7051 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7056 eval "$wx_cv_use_filehistory"
7058 if test x"$enablestring" = xdisable; then
7059 if test $wxUSE_FILE_HISTORY = no; then
7065 result=$wxUSE_FILE_HISTORY
7068 { echo "$as_me:$LINENO: result: $result" >&5
7069 echo "${ECHO_T}$result" >&6; }
7073 defaultval=$wxUSE_ALL_FEATURES
7074 if test -z "$defaultval"; then
7075 if test x"$enablestring" = xdisable; then
7082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7084 # Check whether --enable-filesystem was given.
7085 if test "${enable_filesystem+set}" = set; then
7086 enableval=$enable_filesystem;
7087 if test "$enableval" = yes; then
7088 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7090 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7095 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7100 eval "$wx_cv_use_filesystem"
7102 if test x"$enablestring" = xdisable; then
7103 if test $wxUSE_FILESYSTEM = no; then
7109 result=$wxUSE_FILESYSTEM
7112 { echo "$as_me:$LINENO: result: $result" >&5
7113 echo "${ECHO_T}$result" >&6; }
7117 defaultval=$wxUSE_ALL_FEATURES
7118 if test -z "$defaultval"; then
7119 if test x"$enablestring" = xdisable; then
7126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7128 # Check whether --enable-fontenum was given.
7129 if test "${enable_fontenum+set}" = set; then
7130 enableval=$enable_fontenum;
7131 if test "$enableval" = yes; then
7132 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7134 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7139 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7144 eval "$wx_cv_use_fontenum"
7146 if test x"$enablestring" = xdisable; then
7147 if test $wxUSE_FONTENUM = no; then
7153 result=$wxUSE_FONTENUM
7156 { echo "$as_me:$LINENO: result: $result" >&5
7157 echo "${ECHO_T}$result" >&6; }
7161 defaultval=$wxUSE_ALL_FEATURES
7162 if test -z "$defaultval"; then
7163 if test x"$enablestring" = xdisable; then
7170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7172 # Check whether --enable-fontmap was given.
7173 if test "${enable_fontmap+set}" = set; then
7174 enableval=$enable_fontmap;
7175 if test "$enableval" = yes; then
7176 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7178 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7183 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7188 eval "$wx_cv_use_fontmap"
7190 if test x"$enablestring" = xdisable; then
7191 if test $wxUSE_FONTMAP = no; then
7197 result=$wxUSE_FONTMAP
7200 { echo "$as_me:$LINENO: result: $result" >&5
7201 echo "${ECHO_T}$result" >&6; }
7205 defaultval=$wxUSE_ALL_FEATURES
7206 if test -z "$defaultval"; then
7207 if test x"$enablestring" = xdisable; then
7214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7216 # Check whether --enable-fs_archive was given.
7217 if test "${enable_fs_archive+set}" = set; then
7218 enableval=$enable_fs_archive;
7219 if test "$enableval" = yes; then
7220 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7222 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7227 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7232 eval "$wx_cv_use_fs_archive"
7234 if test x"$enablestring" = xdisable; then
7235 if test $wxUSE_FS_ARCHIVE = no; then
7241 result=$wxUSE_FS_ARCHIVE
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7249 defaultval=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x"$enablestring" = xdisable; then
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7260 # Check whether --enable-fs_inet was given.
7261 if test "${enable_fs_inet+set}" = set; then
7262 enableval=$enable_fs_inet;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7266 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7271 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7276 eval "$wx_cv_use_fs_inet"
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_FS_INET = no; then
7285 result=$wxUSE_FS_INET
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7304 # Check whether --enable-fs_zip was given.
7305 if test "${enable_fs_zip+set}" = set; then
7306 enableval=$enable_fs_zip;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7310 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7315 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7320 eval "$wx_cv_use_fs_zip"
7322 if test x"$enablestring" = xdisable; then
7323 if test $wxUSE_FS_ZIP = no; then
7329 result=$wxUSE_FS_ZIP
7332 { echo "$as_me:$LINENO: result: $result" >&5
7333 echo "${ECHO_T}$result" >&6; }
7337 defaultval=$wxUSE_ALL_FEATURES
7338 if test -z "$defaultval"; then
7339 if test x"$enablestring" = xdisable; then
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7348 # Check whether --enable-fswatcher was given.
7349 if test "${enable_fswatcher+set}" = set; then
7350 enableval=$enable_fswatcher;
7351 if test "$enableval" = yes; then
7352 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7354 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7359 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7364 eval "$wx_cv_use_fswatcher"
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_FSWATCHER = no; then
7373 result=$wxUSE_FSWATCHER
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7392 # Check whether --enable-geometry was given.
7393 if test "${enable_geometry+set}" = set; then
7394 enableval=$enable_geometry;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7398 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7403 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7408 eval "$wx_cv_use_geometry"
7410 if test x"$enablestring" = xdisable; then
7411 if test $wxUSE_GEOMETRY = no; then
7417 result=$wxUSE_GEOMETRY
7420 { echo "$as_me:$LINENO: result: $result" >&5
7421 echo "${ECHO_T}$result" >&6; }
7425 defaultval=$wxUSE_ALL_FEATURES
7426 if test -z "$defaultval"; then
7427 if test x"$enablestring" = xdisable; then
7434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7436 # Check whether --enable-log was given.
7437 if test "${enable_log+set}" = set; then
7438 enableval=$enable_log;
7439 if test "$enableval" = yes; then
7440 wx_cv_use_log='wxUSE_LOG=yes'
7442 wx_cv_use_log='wxUSE_LOG=no'
7447 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7452 eval "$wx_cv_use_log"
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_LOG = no; then
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7480 # Check whether --enable-longlong was given.
7481 if test "${enable_longlong+set}" = set; then
7482 enableval=$enable_longlong;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7486 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7491 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7496 eval "$wx_cv_use_longlong"
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_LONGLONG = no; then
7505 result=$wxUSE_LONGLONG
7508 { echo "$as_me:$LINENO: result: $result" >&5
7509 echo "${ECHO_T}$result" >&6; }
7513 defaultval=$wxUSE_ALL_FEATURES
7514 if test -z "$defaultval"; then
7515 if test x"$enablestring" = xdisable; then
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7524 # Check whether --enable-mimetype was given.
7525 if test "${enable_mimetype+set}" = set; then
7526 enableval=$enable_mimetype;
7527 if test "$enableval" = yes; then
7528 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7530 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7535 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7540 eval "$wx_cv_use_mimetype"
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_MIMETYPE = no; then
7549 result=$wxUSE_MIMETYPE
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7568 # Check whether --enable-printfposparam was given.
7569 if test "${enable_printfposparam+set}" = set; then
7570 enableval=$enable_printfposparam;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7574 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7579 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7584 eval "$wx_cv_use_printfposparam"
7586 if test x"$enablestring" = xdisable; then
7587 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7593 result=$wxUSE_PRINTF_POS_PARAMS
7596 { echo "$as_me:$LINENO: result: $result" >&5
7597 echo "${ECHO_T}$result" >&6; }
7601 defaultval=$wxUSE_ALL_FEATURES
7602 if test -z "$defaultval"; then
7603 if test x"$enablestring" = xdisable; then
7610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7611 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7612 # Check whether --enable-snglinst was given.
7613 if test "${enable_snglinst+set}" = set; then
7614 enableval=$enable_snglinst;
7615 if test "$enableval" = yes; then
7616 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7618 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7623 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7628 eval "$wx_cv_use_snglinst"
7630 if test x"$enablestring" = xdisable; then
7631 if test $wxUSE_SNGLINST_CHECKER = no; then
7637 result=$wxUSE_SNGLINST_CHECKER
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7645 defaultval=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x"$enablestring" = xdisable; then
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7656 # Check whether --enable-sound was given.
7657 if test "${enable_sound+set}" = set; then
7658 enableval=$enable_sound;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_sound='wxUSE_SOUND=yes'
7662 wx_cv_use_sound='wxUSE_SOUND=no'
7667 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7672 eval "$wx_cv_use_sound"
7674 if test x"$enablestring" = xdisable; then
7675 if test $wxUSE_SOUND = no; then
7684 { echo "$as_me:$LINENO: result: $result" >&5
7685 echo "${ECHO_T}$result" >&6; }
7689 defaultval=$wxUSE_ALL_FEATURES
7690 if test -z "$defaultval"; then
7691 if test x"$enablestring" = xdisable; then
7698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7700 # Check whether --enable-stdpaths was given.
7701 if test "${enable_stdpaths+set}" = set; then
7702 enableval=$enable_stdpaths;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7706 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7711 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7716 eval "$wx_cv_use_stdpaths"
7718 if test x"$enablestring" = xdisable; then
7719 if test $wxUSE_STDPATHS = no; then
7725 result=$wxUSE_STDPATHS
7728 { echo "$as_me:$LINENO: result: $result" >&5
7729 echo "${ECHO_T}$result" >&6; }
7733 defaultval=$wxUSE_ALL_FEATURES
7734 if test -z "$defaultval"; then
7735 if test x"$enablestring" = xdisable; then
7742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7744 # Check whether --enable-stopwatch was given.
7745 if test "${enable_stopwatch+set}" = set; then
7746 enableval=$enable_stopwatch;
7747 if test "$enableval" = yes; then
7748 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7750 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7755 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7760 eval "$wx_cv_use_stopwatch"
7762 if test x"$enablestring" = xdisable; then
7763 if test $wxUSE_STOPWATCH = no; then
7769 result=$wxUSE_STOPWATCH
7772 { echo "$as_me:$LINENO: result: $result" >&5
7773 echo "${ECHO_T}$result" >&6; }
7777 defaultval=$wxUSE_ALL_FEATURES
7778 if test -z "$defaultval"; then
7779 if test x"$enablestring" = xdisable; then
7786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7788 # Check whether --enable-streams was given.
7789 if test "${enable_streams+set}" = set; then
7790 enableval=$enable_streams;
7791 if test "$enableval" = yes; then
7792 wx_cv_use_streams='wxUSE_STREAMS=yes'
7794 wx_cv_use_streams='wxUSE_STREAMS=no'
7799 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7804 eval "$wx_cv_use_streams"
7806 if test x"$enablestring" = xdisable; then
7807 if test $wxUSE_STREAMS = no; then
7813 result=$wxUSE_STREAMS
7816 { echo "$as_me:$LINENO: result: $result" >&5
7817 echo "${ECHO_T}$result" >&6; }
7821 defaultval=$wxUSE_ALL_FEATURES
7822 if test -z "$defaultval"; then
7823 if test x"$enablestring" = xdisable; then
7830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7832 # Check whether --enable-sysoptions was given.
7833 if test "${enable_sysoptions+set}" = set; then
7834 enableval=$enable_sysoptions;
7835 if test "$enableval" = yes; then
7836 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7838 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7843 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7848 eval "$wx_cv_use_sysoptions"
7850 if test x"$enablestring" = xdisable; then
7851 if test $wxUSE_SYSTEM_OPTIONS = no; then
7857 result=$wxUSE_SYSTEM_OPTIONS
7860 { echo "$as_me:$LINENO: result: $result" >&5
7861 echo "${ECHO_T}$result" >&6; }
7865 defaultval=$wxUSE_ALL_FEATURES
7866 if test -z "$defaultval"; then
7867 if test x"$enablestring" = xdisable; then
7874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7876 # Check whether --enable-tarstream was given.
7877 if test "${enable_tarstream+set}" = set; then
7878 enableval=$enable_tarstream;
7879 if test "$enableval" = yes; then
7880 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7882 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7887 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7892 eval "$wx_cv_use_tarstream"
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_TARSTREAM = no; then
7901 result=$wxUSE_TARSTREAM
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 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}-textbuf" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7920 # Check whether --enable-textbuf was given.
7921 if test "${enable_textbuf+set}" = set; then
7922 enableval=$enable_textbuf;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7926 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7931 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7936 eval "$wx_cv_use_textbuf"
7938 if test x"$enablestring" = xdisable; then
7939 if test $wxUSE_TEXTBUFFER = no; then
7945 result=$wxUSE_TEXTBUFFER
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}-textfile" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7964 # Check whether --enable-textfile was given.
7965 if test "${enable_textfile+set}" = set; then
7966 enableval=$enable_textfile;
7967 if test "$enableval" = yes; then
7968 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7970 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7975 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7980 eval "$wx_cv_use_textfile"
7982 if test x"$enablestring" = xdisable; then
7983 if test $wxUSE_TEXTFILE = no; then
7989 result=$wxUSE_TEXTFILE
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}-timer" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8008 # Check whether --enable-timer was given.
8009 if test "${enable_timer+set}" = set; then
8010 enableval=$enable_timer;
8011 if test "$enableval" = yes; then
8012 wx_cv_use_timer='wxUSE_TIMER=yes'
8014 wx_cv_use_timer='wxUSE_TIMER=no'
8019 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8024 eval "$wx_cv_use_timer"
8026 if test x"$enablestring" = xdisable; then
8027 if test $wxUSE_TIMER = no; then
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}-variant" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8052 # Check whether --enable-variant was given.
8053 if test "${enable_variant+set}" = set; then
8054 enableval=$enable_variant;
8055 if test "$enableval" = yes; then
8056 wx_cv_use_variant='wxUSE_VARIANT=yes'
8058 wx_cv_use_variant='wxUSE_VARIANT=no'
8063 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8068 eval "$wx_cv_use_variant"
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_VARIANT = no; then
8077 result=$wxUSE_VARIANT
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}-zipstream" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8096 # Check whether --enable-zipstream was given.
8097 if test "${enable_zipstream+set}" = set; then
8098 enableval=$enable_zipstream;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8102 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8107 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8112 eval "$wx_cv_use_zipstream"
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_ZIPSTREAM = no; then
8121 result=$wxUSE_ZIPSTREAM
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}-url" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8141 # Check whether --enable-url was given.
8142 if test "${enable_url+set}" = set; then
8143 enableval=$enable_url;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_url='wxUSE_URL=yes'
8147 wx_cv_use_url='wxUSE_URL=no'
8152 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8157 eval "$wx_cv_use_url"
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_URL = no; then
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8185 # Check whether --enable-protocol was given.
8186 if test "${enable_protocol+set}" = set; then
8187 enableval=$enable_protocol;
8188 if test "$enableval" = yes; then
8189 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8191 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8196 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8201 eval "$wx_cv_use_protocol"
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_PROTOCOL = no; then
8210 result=$wxUSE_PROTOCOL
8213 { echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6; }
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8229 # Check whether --enable-protocol_http was given.
8230 if test "${enable_protocol_http+set}" = set; then
8231 enableval=$enable_protocol_http;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8235 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8240 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8245 eval "$wx_cv_use_protocol_http"
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_PROTOCOL_HTTP = no; then
8254 result=$wxUSE_PROTOCOL_HTTP
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8273 # Check whether --enable-protocol_ftp was given.
8274 if test "${enable_protocol_ftp+set}" = set; then
8275 enableval=$enable_protocol_ftp;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8284 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8289 eval "$wx_cv_use_protocol_ftp"
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_PROTOCOL_FTP = no; then
8298 result=$wxUSE_PROTOCOL_FTP
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8317 # Check whether --enable-protocol_file was given.
8318 if test "${enable_protocol_file+set}" = set; then
8319 enableval=$enable_protocol_file;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8323 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8328 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8333 eval "$wx_cv_use_protocol_file"
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_PROTOCOL_FILE = no; then
8342 result=$wxUSE_PROTOCOL_FILE
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8351 defaultval=$wxUSE_ALL_FEATURES
8352 if test -z "$defaultval"; then
8353 if test x"$enablestring" = xdisable; then
8360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8362 # Check whether --enable-threads was given.
8363 if test "${enable_threads+set}" = set; then
8364 enableval=$enable_threads;
8365 if test "$enableval" = yes; then
8366 wx_cv_use_threads='wxUSE_THREADS=yes'
8368 wx_cv_use_threads='wxUSE_THREADS=no'
8373 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8378 eval "$wx_cv_use_threads"
8380 if test x"$enablestring" = xdisable; then
8381 if test $wxUSE_THREADS = no; then
8387 result=$wxUSE_THREADS
8390 { echo "$as_me:$LINENO: result: $result" >&5
8391 echo "${ECHO_T}$result" >&6; }
8397 if test -z "$defaultval"; then
8398 if test x"$enablestring" = xdisable; then
8405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8407 # Check whether --enable-iniconf was given.
8408 if test "${enable_iniconf+set}" = set; then
8409 enableval=$enable_iniconf;
8410 if test "$enableval" = yes; then
8411 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8413 wx_cv_use_iniconf='wxUSE_INICONF=no'
8418 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8423 eval "$wx_cv_use_iniconf"
8425 if test x"$enablestring" = xdisable; then
8426 if test $wxUSE_INICONF = no; then
8432 result=$wxUSE_INICONF
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8440 defaultval=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x"$enablestring" = xdisable; then
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8451 # Check whether --enable-regkey was given.
8452 if test "${enable_regkey+set}" = set; then
8453 enableval=$enable_regkey;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8457 wx_cv_use_regkey='wxUSE_REGKEY=no'
8462 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8467 eval "$wx_cv_use_regkey"
8469 if test x"$enablestring" = xdisable; then
8470 if test $wxUSE_REGKEY = no; then
8476 result=$wxUSE_REGKEY
8479 { echo "$as_me:$LINENO: result: $result" >&5
8480 echo "${ECHO_T}$result" >&6; }
8483 if test "$wxUSE_GUI" = "yes"; then
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8499 # Check whether --enable-docview was given.
8500 if test "${enable_docview+set}" = set; then
8501 enableval=$enable_docview;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8505 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8510 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8515 eval "$wx_cv_use_docview"
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8524 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8543 # Check whether --enable-help was given.
8544 if test "${enable_help+set}" = set; then
8545 enableval=$enable_help;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_help='wxUSE_HELP=yes'
8549 wx_cv_use_help='wxUSE_HELP=no'
8554 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8559 eval "$wx_cv_use_help"
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_HELP = no; then
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8576 defaultval=$wxUSE_ALL_FEATURES
8577 if test -z "$defaultval"; then
8578 if test x"$enablestring" = xdisable; then
8585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8587 # Check whether --enable-mshtmlhelp was given.
8588 if test "${enable_mshtmlhelp+set}" = set; then
8589 enableval=$enable_mshtmlhelp;
8590 if test "$enableval" = yes; then
8591 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8593 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8598 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8603 eval "$wx_cv_use_mshtmlhelp"
8605 if test x"$enablestring" = xdisable; then
8606 if test $wxUSE_MS_HTML_HELP = no; then
8612 result=$wxUSE_MS_HTML_HELP
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8620 defaultval=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x"$enablestring" = xdisable; then
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8631 # Check whether --enable-html was given.
8632 if test "${enable_html+set}" = set; then
8633 enableval=$enable_html;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_html='wxUSE_HTML=yes'
8637 wx_cv_use_html='wxUSE_HTML=no'
8642 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8647 eval "$wx_cv_use_html"
8649 if test x"$enablestring" = xdisable; then
8650 if test $wxUSE_HTML = no; then
8659 { echo "$as_me:$LINENO: result: $result" >&5
8660 echo "${ECHO_T}$result" >&6; }
8664 defaultval=$wxUSE_ALL_FEATURES
8665 if test -z "$defaultval"; then
8666 if test x"$enablestring" = xdisable; then
8673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8675 # Check whether --enable-htmlhelp was given.
8676 if test "${enable_htmlhelp+set}" = set; then
8677 enableval=$enable_htmlhelp;
8678 if test "$enableval" = yes; then
8679 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8681 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8686 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8691 eval "$wx_cv_use_htmlhelp"
8693 if test x"$enablestring" = xdisable; then
8694 if test $wxUSE_WXHTML_HELP = no; then
8700 result=$wxUSE_WXHTML_HELP
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8708 defaultval=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x"$enablestring" = xdisable; then
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8719 # Check whether --enable-xrc was given.
8720 if test "${enable_xrc+set}" = set; then
8721 enableval=$enable_xrc;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_xrc='wxUSE_XRC=yes'
8725 wx_cv_use_xrc='wxUSE_XRC=no'
8730 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8735 eval "$wx_cv_use_xrc"
8737 if test x"$enablestring" = xdisable; then
8738 if test $wxUSE_XRC = no; then
8747 { echo "$as_me:$LINENO: result: $result" >&5
8748 echo "${ECHO_T}$result" >&6; }
8752 defaultval=$wxUSE_ALL_FEATURES
8753 if test -z "$defaultval"; then
8754 if test x"$enablestring" = xdisable; then
8761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8763 # Check whether --enable-aui was given.
8764 if test "${enable_aui+set}" = set; then
8765 enableval=$enable_aui;
8766 if test "$enableval" = yes; then
8767 wx_cv_use_aui='wxUSE_AUI=yes'
8769 wx_cv_use_aui='wxUSE_AUI=no'
8774 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8779 eval "$wx_cv_use_aui"
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_AUI = no; then
8791 { echo "$as_me:$LINENO: result: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8807 # Check whether --enable-propgrid was given.
8808 if test "${enable_propgrid+set}" = set; then
8809 enableval=$enable_propgrid;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8813 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8818 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8823 eval "$wx_cv_use_propgrid"
8825 if test x"$enablestring" = xdisable; then
8826 if test $wxUSE_PROPGRID = no; then
8832 result=$wxUSE_PROPGRID
8835 { echo "$as_me:$LINENO: result: $result" >&5
8836 echo "${ECHO_T}$result" >&6; }
8840 defaultval=$wxUSE_ALL_FEATURES
8841 if test -z "$defaultval"; then
8842 if test x"$enablestring" = xdisable; then
8849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8851 # Check whether --enable-ribbon was given.
8852 if test "${enable_ribbon+set}" = set; then
8853 enableval=$enable_ribbon;
8854 if test "$enableval" = yes; then
8855 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8857 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8862 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8867 eval "$wx_cv_use_ribbon"
8869 if test x"$enablestring" = xdisable; then
8870 if test $wxUSE_RIBBON = no; then
8876 result=$wxUSE_RIBBON
8879 { echo "$as_me:$LINENO: result: $result" >&5
8880 echo "${ECHO_T}$result" >&6; }
8884 defaultval=$wxUSE_ALL_FEATURES
8885 if test -z "$defaultval"; then
8886 if test x"$enablestring" = xdisable; then
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8895 # Check whether --enable-stc was given.
8896 if test "${enable_stc+set}" = set; then
8897 enableval=$enable_stc;
8898 if test "$enableval" = yes; then
8899 wx_cv_use_stc='wxUSE_STC=yes'
8901 wx_cv_use_stc='wxUSE_STC=no'
8906 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8911 eval "$wx_cv_use_stc"
8913 if test x"$enablestring" = xdisable; then
8914 if test $wxUSE_STC = no; then
8923 { echo "$as_me:$LINENO: result: $result" >&5
8924 echo "${ECHO_T}$result" >&6; }
8928 defaultval=$wxUSE_ALL_FEATURES
8929 if test -z "$defaultval"; then
8930 if test x"$enablestring" = xdisable; then
8937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8939 # Check whether --enable-constraints was given.
8940 if test "${enable_constraints+set}" = set; then
8941 enableval=$enable_constraints;
8942 if test "$enableval" = yes; then
8943 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8945 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8950 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8955 eval "$wx_cv_use_constraints"
8957 if test x"$enablestring" = xdisable; then
8958 if test $wxUSE_CONSTRAINTS = no; then
8964 result=$wxUSE_CONSTRAINTS
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8972 defaultval=$wxUSE_ALL_FEATURES
8973 if test -z "$defaultval"; then
8974 if test x"$enablestring" = xdisable; then
8981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8983 # Check whether --enable-loggui was given.
8984 if test "${enable_loggui+set}" = set; then
8985 enableval=$enable_loggui;
8986 if test "$enableval" = yes; then
8987 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8989 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8994 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8999 eval "$wx_cv_use_loggui"
9001 if test x"$enablestring" = xdisable; then
9002 if test $wxUSE_LOGGUI = no; then
9008 result=$wxUSE_LOGGUI
9011 { echo "$as_me:$LINENO: result: $result" >&5
9012 echo "${ECHO_T}$result" >&6; }
9016 defaultval=$wxUSE_ALL_FEATURES
9017 if test -z "$defaultval"; then
9018 if test x"$enablestring" = xdisable; then
9025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9027 # Check whether --enable-logwin was given.
9028 if test "${enable_logwin+set}" = set; then
9029 enableval=$enable_logwin;
9030 if test "$enableval" = yes; then
9031 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9033 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9038 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9043 eval "$wx_cv_use_logwin"
9045 if test x"$enablestring" = xdisable; then
9046 if test $wxUSE_LOGWINDOW = no; then
9052 result=$wxUSE_LOGWINDOW
9055 { echo "$as_me:$LINENO: result: $result" >&5
9056 echo "${ECHO_T}$result" >&6; }
9060 defaultval=$wxUSE_ALL_FEATURES
9061 if test -z "$defaultval"; then
9062 if test x"$enablestring" = xdisable; then
9069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9071 # Check whether --enable-logdialog was given.
9072 if test "${enable_logdialog+set}" = set; then
9073 enableval=$enable_logdialog;
9074 if test "$enableval" = yes; then
9075 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9077 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9082 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9087 eval "$wx_cv_use_logdialog"
9089 if test x"$enablestring" = xdisable; then
9090 if test $wxUSE_LOGDIALOG = no; then
9096 result=$wxUSE_LOGDIALOG
9099 { echo "$as_me:$LINENO: result: $result" >&5
9100 echo "${ECHO_T}$result" >&6; }
9104 defaultval=$wxUSE_ALL_FEATURES
9105 if test -z "$defaultval"; then
9106 if test x"$enablestring" = xdisable; then
9113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9115 # Check whether --enable-mdi was given.
9116 if test "${enable_mdi+set}" = set; then
9117 enableval=$enable_mdi;
9118 if test "$enableval" = yes; then
9119 wx_cv_use_mdi='wxUSE_MDI=yes'
9121 wx_cv_use_mdi='wxUSE_MDI=no'
9126 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9131 eval "$wx_cv_use_mdi"
9133 if test x"$enablestring" = xdisable; then
9134 if test $wxUSE_MDI = no; then
9143 { echo "$as_me:$LINENO: result: $result" >&5
9144 echo "${ECHO_T}$result" >&6; }
9148 defaultval=$wxUSE_ALL_FEATURES
9149 if test -z "$defaultval"; then
9150 if test x"$enablestring" = xdisable; then
9157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9159 # Check whether --enable-mdidoc was given.
9160 if test "${enable_mdidoc+set}" = set; then
9161 enableval=$enable_mdidoc;
9162 if test "$enableval" = yes; then
9163 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9165 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9170 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9175 eval "$wx_cv_use_mdidoc"
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_MDI_ARCHITECTURE = no; then
9184 result=$wxUSE_MDI_ARCHITECTURE
9187 { echo "$as_me:$LINENO: result: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9192 defaultval=$wxUSE_ALL_FEATURES
9193 if test -z "$defaultval"; then
9194 if test x"$enablestring" = xdisable; then
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9203 # Check whether --enable-mediactrl was given.
9204 if test "${enable_mediactrl+set}" = set; then
9205 enableval=$enable_mediactrl;
9206 if test "$enableval" = yes; then
9207 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9209 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9214 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9219 eval "$wx_cv_use_mediactrl"
9221 if test x"$enablestring" = xdisable; then
9222 if test $wxUSE_MEDIACTRL = no; then
9228 result=$wxUSE_MEDIACTRL
9231 { echo "$as_me:$LINENO: result: $result" >&5
9232 echo "${ECHO_T}$result" >&6; }
9236 defaultval=$wxUSE_ALL_FEATURES
9237 if test -z "$defaultval"; then
9238 if test x"$enablestring" = xdisable; then
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9247 # Check whether --enable-gstreamer8 was given.
9248 if test "${enable_gstreamer8+set}" = set; then
9249 enableval=$enable_gstreamer8;
9250 if test "$enableval" = yes; then
9251 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9253 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9258 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9263 eval "$wx_cv_use_gstreamer8"
9265 if test x"$enablestring" = xdisable; then
9266 if test $wxUSE_GSTREAMER8 = no; then
9272 result=$wxUSE_GSTREAMER8
9275 { echo "$as_me:$LINENO: result: $result" >&5
9276 echo "${ECHO_T}$result" >&6; }
9280 defaultval=$wxUSE_ALL_FEATURES
9281 if test -z "$defaultval"; then
9282 if test x"$enablestring" = xdisable; then
9289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9290 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9291 # Check whether --enable-webkit was given.
9292 if test "${enable_webkit+set}" = set; then
9293 enableval=$enable_webkit;
9294 if test "$enableval" = yes; then
9295 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9297 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9302 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9307 eval "$wx_cv_use_webkit"
9309 if test x"$enablestring" = xdisable; then
9310 if test $wxUSE_WEBKIT = no; then
9316 result=$wxUSE_WEBKIT
9319 { echo "$as_me:$LINENO: result: $result" >&5
9320 echo "${ECHO_T}$result" >&6; }
9324 defaultval=$wxUSE_ALL_FEATURES
9325 if test -z "$defaultval"; then
9326 if test x"$enablestring" = xdisable; then
9333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9335 # Check whether --enable-richtext was given.
9336 if test "${enable_richtext+set}" = set; then
9337 enableval=$enable_richtext;
9338 if test "$enableval" = yes; then
9339 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9341 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9346 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9351 eval "$wx_cv_use_richtext"
9353 if test x"$enablestring" = xdisable; then
9354 if test $wxUSE_RICHTEXT = no; then
9360 result=$wxUSE_RICHTEXT
9363 { echo "$as_me:$LINENO: result: $result" >&5
9364 echo "${ECHO_T}$result" >&6; }
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9379 # Check whether --enable-postscript was given.
9380 if test "${enable_postscript+set}" = set; then
9381 enableval=$enable_postscript;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9385 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9390 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9395 eval "$wx_cv_use_postscript"
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_POSTSCRIPT = no; then
9404 result=$wxUSE_POSTSCRIPT
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9423 # Check whether --enable-printarch was given.
9424 if test "${enable_printarch+set}" = set; then
9425 enableval=$enable_printarch;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9429 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9434 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9439 eval "$wx_cv_use_printarch"
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9448 result=$wxUSE_PRINTING_ARCHITECTURE
9451 { echo "$as_me:$LINENO: result: $result" >&5
9452 echo "${ECHO_T}$result" >&6; }
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9467 # Check whether --enable-svg was given.
9468 if test "${enable_svg+set}" = set; then
9469 enableval=$enable_svg;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_svg='wxUSE_SVG=yes'
9473 wx_cv_use_svg='wxUSE_SVG=no'
9478 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9483 eval "$wx_cv_use_svg"
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_SVG = no; then
9495 { echo "$as_me:$LINENO: result: $result" >&5
9496 echo "${ECHO_T}$result" >&6; }
9499 if test "$wxUSE_MAC" != 1; then
9502 defaultval=$wxUSE_ALL_FEATURES
9503 if test -z "$defaultval"; then
9504 if test x"$enablestring" = xdisable; then
9511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9513 # Check whether --enable-graphics_ctx was given.
9514 if test "${enable_graphics_ctx+set}" = set; then
9515 enableval=$enable_graphics_ctx;
9516 if test "$enableval" = yes; then
9517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9519 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9524 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9529 eval "$wx_cv_use_graphics_ctx"
9531 if test x"$enablestring" = xdisable; then
9532 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9538 result=$wxUSE_GRAPHICS_CONTEXT
9541 { echo "$as_me:$LINENO: result: $result" >&5
9542 echo "${ECHO_T}$result" >&6; }
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9560 # Check whether --enable-clipboard was given.
9561 if test "${enable_clipboard+set}" = set; then
9562 enableval=$enable_clipboard;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9566 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9571 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9576 eval "$wx_cv_use_clipboard"
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_CLIPBOARD = no; then
9585 result=$wxUSE_CLIPBOARD
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9604 # Check whether --enable-dnd was given.
9605 if test "${enable_dnd+set}" = set; then
9606 enableval=$enable_dnd;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9610 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9615 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9620 eval "$wx_cv_use_dnd"
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_DRAG_AND_DROP = no; then
9629 result=$wxUSE_DRAG_AND_DROP
9632 { echo "$as_me:$LINENO: result: $result" >&5
9633 echo "${ECHO_T}$result" >&6; }
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9647 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9648 # Check whether --enable-metafile was given.
9649 if test "${enable_metafile+set}" = set; then
9650 enableval=$enable_metafile;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9654 wx_cv_use_metafile='wxUSE_METAFILE=no'
9659 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9664 eval "$wx_cv_use_metafile"
9666 if test x"$enablestring" = xdisable; then
9667 if test $wxUSE_METAFILE = no; then
9673 result=$wxUSE_METAFILE
9676 { echo "$as_me:$LINENO: result: $result" >&5
9677 echo "${ECHO_T}$result" >&6; }
9681 DEFAULT_wxUSE_CONTROLS=none
9683 enablestring=disable
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9695 # Check whether --enable-controls was given.
9696 if test "${enable_controls+set}" = set; then
9697 enableval=$enable_controls;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9701 wx_cv_use_controls='wxUSE_CONTROLS=no'
9706 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9711 eval "$wx_cv_use_controls"
9713 if test x"$enablestring" = xdisable; then
9714 if test $wxUSE_CONTROLS = no; then
9720 result=$wxUSE_CONTROLS
9723 { echo "$as_me:$LINENO: result: $result" >&5
9724 echo "${ECHO_T}$result" >&6; }
9727 if test "$wxUSE_CONTROLS" = "no"; then
9728 DEFAULT_wxUSE_ACCEL=no
9729 DEFAULT_wxUSE_ANIMATIONCTRL=no
9730 DEFAULT_wxUSE_BMPBUTTON=no
9731 DEFAULT_wxUSE_BUTTON=no
9732 DEFAULT_wxUSE_CALCTRL=no
9733 DEFAULT_wxUSE_CARET=no
9734 DEFAULT_wxUSE_CHECKBOX=no
9735 DEFAULT_wxUSE_CHECKLISTBOX=no
9736 DEFAULT_wxUSE_CHOICE=no
9737 DEFAULT_wxUSE_CHOICEBOOK=no
9738 DEFAULT_wxUSE_COLLPANE=no
9739 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9740 DEFAULT_wxUSE_COMBOBOX=no
9741 DEFAULT_wxUSE_COMBOBOX=no
9742 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9743 DEFAULT_wxUSE_DATAVIEWCTRL=no
9744 DEFAULT_wxUSE_DATEPICKCTRL=no
9745 DEFAULT_wxUSE_DETECT_SM=no
9746 DEFAULT_wxUSE_DIRPICKERCTRL=no
9747 DEFAULT_wxUSE_DISPLAY=no
9748 DEFAULT_wxUSE_FILECTRL=no
9749 DEFAULT_wxUSE_FILEPICKERCTRL=no
9750 DEFAULT_wxUSE_FONTPICKERCTRL=no
9751 DEFAULT_wxUSE_GAUGE=no
9752 DEFAULT_wxUSE_GRID=no
9753 DEFAULT_wxUSE_HEADERCTRL=no
9754 DEFAULT_wxUSE_HYPERLINKCTRL=no
9755 DEFAULT_wxUSE_IMAGLIST=no
9756 DEFAULT_wxUSE_LISTBOOK=no
9757 DEFAULT_wxUSE_LISTBOX=no
9758 DEFAULT_wxUSE_LISTCTRL=no
9759 DEFAULT_wxUSE_NOTEBOOK=no
9760 DEFAULT_wxUSE_POPUPWIN=no
9761 DEFAULT_wxUSE_RADIOBOX=no
9762 DEFAULT_wxUSE_RADIOBTN=no
9763 DEFAULT_wxUSE_RICHMSGDLG=no
9764 DEFAULT_wxUSE_REARRANGECTRL=no
9765 DEFAULT_wxUSE_SASH=no
9766 DEFAULT_wxUSE_SCROLLBAR=no
9767 DEFAULT_wxUSE_SEARCHCTRL=no
9768 DEFAULT_wxUSE_SLIDER=no
9769 DEFAULT_wxUSE_SPINBTN=no
9770 DEFAULT_wxUSE_SPINCTRL=no
9771 DEFAULT_wxUSE_SPLITTER=no
9772 DEFAULT_wxUSE_STATBMP=no
9773 DEFAULT_wxUSE_STATBOX=no
9774 DEFAULT_wxUSE_STATLINE=no
9775 DEFAULT_wxUSE_STATUSBAR=no
9776 DEFAULT_wxUSE_TIPWINDOW=no
9777 DEFAULT_wxUSE_TOGGLEBTN=no
9778 DEFAULT_wxUSE_TOOLBAR=no
9779 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9780 DEFAULT_wxUSE_TOOLBOOK=no
9781 DEFAULT_wxUSE_TOOLTIPS=no
9782 DEFAULT_wxUSE_TREEBOOK=no
9783 DEFAULT_wxUSE_TREECTRL=no
9788 defaultval=$wxUSE_ALL_FEATURES
9789 if test -z "$defaultval"; then
9790 if test x"$enablestring" = xdisable; then
9797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9798 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9799 # Check whether --enable-accel was given.
9800 if test "${enable_accel+set}" = set; then
9801 enableval=$enable_accel;
9802 if test "$enableval" = yes; then
9803 wx_cv_use_accel='wxUSE_ACCEL=yes'
9805 wx_cv_use_accel='wxUSE_ACCEL=no'
9810 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9815 eval "$wx_cv_use_accel"
9817 if test x"$enablestring" = xdisable; then
9818 if test $wxUSE_ACCEL = no; then
9827 { echo "$as_me:$LINENO: result: $result" >&5
9828 echo "${ECHO_T}$result" >&6; }
9832 defaultval=$wxUSE_ALL_FEATURES
9833 if test -z "$defaultval"; then
9834 if test x"$enablestring" = xdisable; then
9841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9843 # Check whether --enable-animatectrl was given.
9844 if test "${enable_animatectrl+set}" = set; then
9845 enableval=$enable_animatectrl;
9846 if test "$enableval" = yes; then
9847 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9849 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9854 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9859 eval "$wx_cv_use_animatectrl"
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_ANIMATIONCTRL = no; then
9868 result=$wxUSE_ANIMATIONCTRL
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9887 # Check whether --enable-bmpbutton was given.
9888 if test "${enable_bmpbutton+set}" = set; then
9889 enableval=$enable_bmpbutton;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9893 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9898 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9903 eval "$wx_cv_use_bmpbutton"
9905 if test x"$enablestring" = xdisable; then
9906 if test $wxUSE_BMPBUTTON = no; then
9912 result=$wxUSE_BMPBUTTON
9915 { echo "$as_me:$LINENO: result: $result" >&5
9916 echo "${ECHO_T}$result" >&6; }
9920 defaultval=$wxUSE_ALL_FEATURES
9921 if test -z "$defaultval"; then
9922 if test x"$enablestring" = xdisable; then
9929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9931 # Check whether --enable-bmpcombobox was given.
9932 if test "${enable_bmpcombobox+set}" = set; then
9933 enableval=$enable_bmpcombobox;
9934 if test "$enableval" = yes; then
9935 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9937 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9942 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9947 eval "$wx_cv_use_bmpcombobox"
9949 if test x"$enablestring" = xdisable; then
9950 if test $wxUSE_BITMAPCOMBOBOX = no; then
9956 result=$wxUSE_BITMAPCOMBOBOX
9959 { echo "$as_me:$LINENO: result: $result" >&5
9960 echo "${ECHO_T}$result" >&6; }
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9975 # Check whether --enable-button was given.
9976 if test "${enable_button+set}" = set; then
9977 enableval=$enable_button;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_button='wxUSE_BUTTON=yes'
9981 wx_cv_use_button='wxUSE_BUTTON=no'
9986 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9991 eval "$wx_cv_use_button"
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_BUTTON = no; then
10000 result=$wxUSE_BUTTON
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10019 # Check whether --enable-calendar was given.
10020 if test "${enable_calendar+set}" = set; then
10021 enableval=$enable_calendar;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10025 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10030 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10035 eval "$wx_cv_use_calendar"
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_CALCTRL = no; then
10044 result=$wxUSE_CALCTRL
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10063 # Check whether --enable-caret was given.
10064 if test "${enable_caret+set}" = set; then
10065 enableval=$enable_caret;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_caret='wxUSE_CARET=yes'
10069 wx_cv_use_caret='wxUSE_CARET=no'
10074 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10079 eval "$wx_cv_use_caret"
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_CARET = no; then
10088 result=$wxUSE_CARET
10091 { echo "$as_me:$LINENO: result: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10107 # Check whether --enable-checkbox was given.
10108 if test "${enable_checkbox+set}" = set; then
10109 enableval=$enable_checkbox;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10113 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10118 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10123 eval "$wx_cv_use_checkbox"
10125 if test x"$enablestring" = xdisable; then
10126 if test $wxUSE_CHECKBOX = no; then
10132 result=$wxUSE_CHECKBOX
10135 { echo "$as_me:$LINENO: result: $result" >&5
10136 echo "${ECHO_T}$result" >&6; }
10140 defaultval=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x"$enablestring" = xdisable; then
10149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10151 # Check whether --enable-checklst was given.
10152 if test "${enable_checklst+set}" = set; then
10153 enableval=$enable_checklst;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10157 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10162 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10167 eval "$wx_cv_use_checklst"
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_CHECKLST = no; then
10176 result=$wxUSE_CHECKLST
10179 { echo "$as_me:$LINENO: result: $result" >&5
10180 echo "${ECHO_T}$result" >&6; }
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10195 # Check whether --enable-choice was given.
10196 if test "${enable_choice+set}" = set; then
10197 enableval=$enable_choice;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_choice='wxUSE_CHOICE=yes'
10201 wx_cv_use_choice='wxUSE_CHOICE=no'
10206 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10211 eval "$wx_cv_use_choice"
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_CHOICE = no; then
10220 result=$wxUSE_CHOICE
10223 { echo "$as_me:$LINENO: result: $result" >&5
10224 echo "${ECHO_T}$result" >&6; }
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10239 # Check whether --enable-choicebook was given.
10240 if test "${enable_choicebook+set}" = set; then
10241 enableval=$enable_choicebook;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10245 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10250 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10255 eval "$wx_cv_use_choicebook"
10257 if test x"$enablestring" = xdisable; then
10258 if test $wxUSE_CHOICEBOOK = no; then
10264 result=$wxUSE_CHOICEBOOK
10267 { echo "$as_me:$LINENO: result: $result" >&5
10268 echo "${ECHO_T}$result" >&6; }
10272 defaultval=$wxUSE_ALL_FEATURES
10273 if test -z "$defaultval"; then
10274 if test x"$enablestring" = xdisable; then
10281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10282 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10283 # Check whether --enable-collpane was given.
10284 if test "${enable_collpane+set}" = set; then
10285 enableval=$enable_collpane;
10286 if test "$enableval" = yes; then
10287 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10289 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10294 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10299 eval "$wx_cv_use_collpane"
10301 if test x"$enablestring" = xdisable; then
10302 if test $wxUSE_COLLPANE = no; then
10308 result=$wxUSE_COLLPANE
10311 { echo "$as_me:$LINENO: result: $result" >&5
10312 echo "${ECHO_T}$result" >&6; }
10316 defaultval=$wxUSE_ALL_FEATURES
10317 if test -z "$defaultval"; then
10318 if test x"$enablestring" = xdisable; then
10325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10327 # Check whether --enable-colourpicker was given.
10328 if test "${enable_colourpicker+set}" = set; then
10329 enableval=$enable_colourpicker;
10330 if test "$enableval" = yes; then
10331 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10333 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10338 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10343 eval "$wx_cv_use_colourpicker"
10345 if test x"$enablestring" = xdisable; then
10346 if test $wxUSE_COLOURPICKERCTRL = no; then
10352 result=$wxUSE_COLOURPICKERCTRL
10355 { echo "$as_me:$LINENO: result: $result" >&5
10356 echo "${ECHO_T}$result" >&6; }
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10371 # Check whether --enable-combobox was given.
10372 if test "${enable_combobox+set}" = set; then
10373 enableval=$enable_combobox;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10377 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10382 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10387 eval "$wx_cv_use_combobox"
10389 if test x"$enablestring" = xdisable; then
10390 if test $wxUSE_COMBOBOX = no; then
10396 result=$wxUSE_COMBOBOX
10399 { echo "$as_me:$LINENO: result: $result" >&5
10400 echo "${ECHO_T}$result" >&6; }
10404 defaultval=$wxUSE_ALL_FEATURES
10405 if test -z "$defaultval"; then
10406 if test x"$enablestring" = xdisable; then
10413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10415 # Check whether --enable-comboctrl was given.
10416 if test "${enable_comboctrl+set}" = set; then
10417 enableval=$enable_comboctrl;
10418 if test "$enableval" = yes; then
10419 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10421 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10426 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10431 eval "$wx_cv_use_comboctrl"
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_COMBOCTRL = no; then
10440 result=$wxUSE_COMBOCTRL
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10459 # Check whether --enable-commandlinkbutton was given.
10460 if test "${enable_commandlinkbutton+set}" = set; then
10461 enableval=$enable_commandlinkbutton;
10462 if test "$enableval" = yes; then
10463 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10465 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10470 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10475 eval "$wx_cv_use_commandlinkbutton"
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_COMMANDLINKBUTTON = no; then
10484 result=$wxUSE_COMMANDLINKBUTTON
10487 { echo "$as_me:$LINENO: result: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10503 # Check whether --enable-dataviewctrl was given.
10504 if test "${enable_dataviewctrl+set}" = set; then
10505 enableval=$enable_dataviewctrl;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10509 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10514 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10519 eval "$wx_cv_use_dataviewctrl"
10521 if test x"$enablestring" = xdisable; then
10522 if test $wxUSE_DATAVIEWCTRL = no; then
10528 result=$wxUSE_DATAVIEWCTRL
10531 { echo "$as_me:$LINENO: result: $result" >&5
10532 echo "${ECHO_T}$result" >&6; }
10536 defaultval=$wxUSE_ALL_FEATURES
10537 if test -z "$defaultval"; then
10538 if test x"$enablestring" = xdisable; then
10545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10547 # Check whether --enable-datepick was given.
10548 if test "${enable_datepick+set}" = set; then
10549 enableval=$enable_datepick;
10550 if test "$enableval" = yes; then
10551 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10553 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10558 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10563 eval "$wx_cv_use_datepick"
10565 if test x"$enablestring" = xdisable; then
10566 if test $wxUSE_DATEPICKCTRL = no; then
10572 result=$wxUSE_DATEPICKCTRL
10575 { echo "$as_me:$LINENO: result: $result" >&5
10576 echo "${ECHO_T}$result" >&6; }
10580 defaultval=$wxUSE_ALL_FEATURES
10581 if test -z "$defaultval"; then
10582 if test x"$enablestring" = xdisable; then
10589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10590 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10591 # Check whether --enable-detect_sm was given.
10592 if test "${enable_detect_sm+set}" = set; then
10593 enableval=$enable_detect_sm;
10594 if test "$enableval" = yes; then
10595 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10597 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10602 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10607 eval "$wx_cv_use_detect_sm"
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_DETECT_SM = no; then
10616 result=$wxUSE_DETECT_SM
10619 { echo "$as_me:$LINENO: result: $result" >&5
10620 echo "${ECHO_T}$result" >&6; }
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10635 # Check whether --enable-dirpicker was given.
10636 if test "${enable_dirpicker+set}" = set; then
10637 enableval=$enable_dirpicker;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10641 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10646 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10651 eval "$wx_cv_use_dirpicker"
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_DIRPICKERCTRL = no; then
10660 result=$wxUSE_DIRPICKERCTRL
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10668 defaultval=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x"$enablestring" = xdisable; then
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10679 # Check whether --enable-display was given.
10680 if test "${enable_display+set}" = set; then
10681 enableval=$enable_display;
10682 if test "$enableval" = yes; then
10683 wx_cv_use_display='wxUSE_DISPLAY=yes'
10685 wx_cv_use_display='wxUSE_DISPLAY=no'
10690 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10695 eval "$wx_cv_use_display"
10697 if test x"$enablestring" = xdisable; then
10698 if test $wxUSE_DISPLAY = no; then
10704 result=$wxUSE_DISPLAY
10707 { echo "$as_me:$LINENO: result: $result" >&5
10708 echo "${ECHO_T}$result" >&6; }
10712 defaultval=$wxUSE_ALL_FEATURES
10713 if test -z "$defaultval"; then
10714 if test x"$enablestring" = xdisable; then
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10723 # Check whether --enable-editablebox was given.
10724 if test "${enable_editablebox+set}" = set; then
10725 enableval=$enable_editablebox;
10726 if test "$enableval" = yes; then
10727 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10729 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10734 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10739 eval "$wx_cv_use_editablebox"
10741 if test x"$enablestring" = xdisable; then
10742 if test $wxUSE_EDITABLELISTBOX = no; then
10748 result=$wxUSE_EDITABLELISTBOX
10751 { echo "$as_me:$LINENO: result: $result" >&5
10752 echo "${ECHO_T}$result" >&6; }
10756 defaultval=$wxUSE_ALL_FEATURES
10757 if test -z "$defaultval"; then
10758 if test x"$enablestring" = xdisable; then
10765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10766 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10767 # Check whether --enable-filectrl was given.
10768 if test "${enable_filectrl+set}" = set; then
10769 enableval=$enable_filectrl;
10770 if test "$enableval" = yes; then
10771 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10773 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10778 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10783 eval "$wx_cv_use_filectrl"
10785 if test x"$enablestring" = xdisable; then
10786 if test $wxUSE_FILECTRL = no; then
10792 result=$wxUSE_FILECTRL
10795 { echo "$as_me:$LINENO: result: $result" >&5
10796 echo "${ECHO_T}$result" >&6; }
10800 defaultval=$wxUSE_ALL_FEATURES
10801 if test -z "$defaultval"; then
10802 if test x"$enablestring" = xdisable; then
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10811 # Check whether --enable-filepicker was given.
10812 if test "${enable_filepicker+set}" = set; then
10813 enableval=$enable_filepicker;
10814 if test "$enableval" = yes; then
10815 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10817 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10822 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10827 eval "$wx_cv_use_filepicker"
10829 if test x"$enablestring" = xdisable; then
10830 if test $wxUSE_FILEPICKERCTRL = no; then
10836 result=$wxUSE_FILEPICKERCTRL
10839 { echo "$as_me:$LINENO: result: $result" >&5
10840 echo "${ECHO_T}$result" >&6; }
10844 defaultval=$wxUSE_ALL_FEATURES
10845 if test -z "$defaultval"; then
10846 if test x"$enablestring" = xdisable; then
10853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10855 # Check whether --enable-fontpicker was given.
10856 if test "${enable_fontpicker+set}" = set; then
10857 enableval=$enable_fontpicker;
10858 if test "$enableval" = yes; then
10859 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10861 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10866 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10871 eval "$wx_cv_use_fontpicker"
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_FONTPICKERCTRL = no; then
10880 result=$wxUSE_FONTPICKERCTRL
10883 { echo "$as_me:$LINENO: result: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10899 # Check whether --enable-gauge was given.
10900 if test "${enable_gauge+set}" = set; then
10901 enableval=$enable_gauge;
10902 if test "$enableval" = yes; then
10903 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10905 wx_cv_use_gauge='wxUSE_GAUGE=no'
10910 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10915 eval "$wx_cv_use_gauge"
10917 if test x"$enablestring" = xdisable; then
10918 if test $wxUSE_GAUGE = no; then
10924 result=$wxUSE_GAUGE
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10932 defaultval=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x"$enablestring" = xdisable; then
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10943 # Check whether --enable-grid was given.
10944 if test "${enable_grid+set}" = set; then
10945 enableval=$enable_grid;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_grid='wxUSE_GRID=yes'
10949 wx_cv_use_grid='wxUSE_GRID=no'
10954 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10959 eval "$wx_cv_use_grid"
10961 if test x"$enablestring" = xdisable; then
10962 if test $wxUSE_GRID = no; then
10971 { echo "$as_me:$LINENO: result: $result" >&5
10972 echo "${ECHO_T}$result" >&6; }
10976 defaultval=$wxUSE_ALL_FEATURES
10977 if test -z "$defaultval"; then
10978 if test x"$enablestring" = xdisable; then
10985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10986 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10987 # Check whether --enable-headerctrl was given.
10988 if test "${enable_headerctrl+set}" = set; then
10989 enableval=$enable_headerctrl;
10990 if test "$enableval" = yes; then
10991 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10993 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10998 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11003 eval "$wx_cv_use_headerctrl"
11005 if test x"$enablestring" = xdisable; then
11006 if test $wxUSE_HEADERCTRL = no; then
11012 result=$wxUSE_HEADERCTRL
11015 { echo "$as_me:$LINENO: result: $result" >&5
11016 echo "${ECHO_T}$result" >&6; }
11020 defaultval=$wxUSE_ALL_FEATURES
11021 if test -z "$defaultval"; then
11022 if test x"$enablestring" = xdisable; then
11029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11030 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11031 # Check whether --enable-hyperlink was given.
11032 if test "${enable_hyperlink+set}" = set; then
11033 enableval=$enable_hyperlink;
11034 if test "$enableval" = yes; then
11035 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11037 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11042 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11047 eval "$wx_cv_use_hyperlink"
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_HYPERLINKCTRL = no; then
11056 result=$wxUSE_HYPERLINKCTRL
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11075 # Check whether --enable-imaglist was given.
11076 if test "${enable_imaglist+set}" = set; then
11077 enableval=$enable_imaglist;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11081 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11086 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11091 eval "$wx_cv_use_imaglist"
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_IMAGLIST = no; then
11100 result=$wxUSE_IMAGLIST
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11119 # Check whether --enable-infobar was given.
11120 if test "${enable_infobar+set}" = set; then
11121 enableval=$enable_infobar;
11122 if test "$enableval" = yes; then
11123 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11125 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11130 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11135 eval "$wx_cv_use_infobar"
11137 if test x"$enablestring" = xdisable; then
11138 if test $wxUSE_INFOBAR = no; then
11144 result=$wxUSE_INFOBAR
11147 { echo "$as_me:$LINENO: result: $result" >&5
11148 echo "${ECHO_T}$result" >&6; }
11152 defaultval=$wxUSE_ALL_FEATURES
11153 if test -z "$defaultval"; then
11154 if test x"$enablestring" = xdisable; then
11161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11162 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11163 # Check whether --enable-listbook was given.
11164 if test "${enable_listbook+set}" = set; then
11165 enableval=$enable_listbook;
11166 if test "$enableval" = yes; then
11167 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11169 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11174 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11179 eval "$wx_cv_use_listbook"
11181 if test x"$enablestring" = xdisable; then
11182 if test $wxUSE_LISTBOOK = no; then
11188 result=$wxUSE_LISTBOOK
11191 { echo "$as_me:$LINENO: result: $result" >&5
11192 echo "${ECHO_T}$result" >&6; }
11196 defaultval=$wxUSE_ALL_FEATURES
11197 if test -z "$defaultval"; then
11198 if test x"$enablestring" = xdisable; then
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11207 # Check whether --enable-listbox was given.
11208 if test "${enable_listbox+set}" = set; then
11209 enableval=$enable_listbox;
11210 if test "$enableval" = yes; then
11211 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11213 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11218 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11223 eval "$wx_cv_use_listbox"
11225 if test x"$enablestring" = xdisable; then
11226 if test $wxUSE_LISTBOX = no; then
11232 result=$wxUSE_LISTBOX
11235 { echo "$as_me:$LINENO: result: $result" >&5
11236 echo "${ECHO_T}$result" >&6; }
11240 defaultval=$wxUSE_ALL_FEATURES
11241 if test -z "$defaultval"; then
11242 if test x"$enablestring" = xdisable; then
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11251 # Check whether --enable-listctrl was given.
11252 if test "${enable_listctrl+set}" = set; then
11253 enableval=$enable_listctrl;
11254 if test "$enableval" = yes; then
11255 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11257 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11262 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11267 eval "$wx_cv_use_listctrl"
11269 if test x"$enablestring" = xdisable; then
11270 if test $wxUSE_LISTCTRL = no; then
11276 result=$wxUSE_LISTCTRL
11279 { echo "$as_me:$LINENO: result: $result" >&5
11280 echo "${ECHO_T}$result" >&6; }
11284 defaultval=$wxUSE_ALL_FEATURES
11285 if test -z "$defaultval"; then
11286 if test x"$enablestring" = xdisable; then
11293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11294 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11295 # Check whether --enable-notebook was given.
11296 if test "${enable_notebook+set}" = set; then
11297 enableval=$enable_notebook;
11298 if test "$enableval" = yes; then
11299 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11301 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11306 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11311 eval "$wx_cv_use_notebook"
11313 if test x"$enablestring" = xdisable; then
11314 if test $wxUSE_NOTEBOOK = no; then
11320 result=$wxUSE_NOTEBOOK
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11328 defaultval=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x"$enablestring" = xdisable; then
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11339 # Check whether --enable-notifmsg was given.
11340 if test "${enable_notifmsg+set}" = set; then
11341 enableval=$enable_notifmsg;
11342 if test "$enableval" = yes; then
11343 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11345 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11350 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11355 eval "$wx_cv_use_notifmsg"
11357 if test x"$enablestring" = xdisable; then
11358 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11364 result=$wxUSE_NOTIFICATION_MESSAGE
11367 { echo "$as_me:$LINENO: result: $result" >&5
11368 echo "${ECHO_T}$result" >&6; }
11372 defaultval=$wxUSE_ALL_FEATURES
11373 if test -z "$defaultval"; then
11374 if test x"$enablestring" = xdisable; then
11381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11383 # Check whether --enable-odcombobox was given.
11384 if test "${enable_odcombobox+set}" = set; then
11385 enableval=$enable_odcombobox;
11386 if test "$enableval" = yes; then
11387 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11389 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11394 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11399 eval "$wx_cv_use_odcombobox"
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_ODCOMBOBOX = no; then
11408 result=$wxUSE_ODCOMBOBOX
11411 { echo "$as_me:$LINENO: result: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11426 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11427 # Check whether --enable-popupwin was given.
11428 if test "${enable_popupwin+set}" = set; then
11429 enableval=$enable_popupwin;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11433 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11438 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11443 eval "$wx_cv_use_popupwin"
11445 if test x"$enablestring" = xdisable; then
11446 if test $wxUSE_POPUPWIN = no; then
11452 result=$wxUSE_POPUPWIN
11455 { echo "$as_me:$LINENO: result: $result" >&5
11456 echo "${ECHO_T}$result" >&6; }
11460 defaultval=$wxUSE_ALL_FEATURES
11461 if test -z "$defaultval"; then
11462 if test x"$enablestring" = xdisable; then
11469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11470 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11471 # Check whether --enable-radiobox was given.
11472 if test "${enable_radiobox+set}" = set; then
11473 enableval=$enable_radiobox;
11474 if test "$enableval" = yes; then
11475 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11477 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11482 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11487 eval "$wx_cv_use_radiobox"
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_RADIOBOX = no; then
11496 result=$wxUSE_RADIOBOX
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11515 # Check whether --enable-radiobtn was given.
11516 if test "${enable_radiobtn+set}" = set; then
11517 enableval=$enable_radiobtn;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11521 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11526 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11531 eval "$wx_cv_use_radiobtn"
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_RADIOBTN = no; then
11540 result=$wxUSE_RADIOBTN
11543 { echo "$as_me:$LINENO: result: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11558 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11559 # Check whether --enable-richmsgdlg was given.
11560 if test "${enable_richmsgdlg+set}" = set; then
11561 enableval=$enable_richmsgdlg;
11562 if test "$enableval" = yes; then
11563 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11565 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11570 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11575 eval "$wx_cv_use_richmsgdlg"
11577 if test x"$enablestring" = xdisable; then
11578 if test $wxUSE_RICHMSGDLG = no; then
11584 result=$wxUSE_RICHMSGDLG
11587 { echo "$as_me:$LINENO: result: $result" >&5
11588 echo "${ECHO_T}$result" >&6; }
11592 defaultval=$wxUSE_ALL_FEATURES
11593 if test -z "$defaultval"; then
11594 if test x"$enablestring" = xdisable; then
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11603 # Check whether --enable-rearrangectrl was given.
11604 if test "${enable_rearrangectrl+set}" = set; then
11605 enableval=$enable_rearrangectrl;
11606 if test "$enableval" = yes; then
11607 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11609 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11614 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11619 eval "$wx_cv_use_rearrangectrl"
11621 if test x"$enablestring" = xdisable; then
11622 if test $wxUSE_REARRANGECTRL = no; then
11628 result=$wxUSE_REARRANGECTRL
11631 { echo "$as_me:$LINENO: result: $result" >&5
11632 echo "${ECHO_T}$result" >&6; }
11636 defaultval=$wxUSE_ALL_FEATURES
11637 if test -z "$defaultval"; then
11638 if test x"$enablestring" = xdisable; then
11645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11646 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11647 # Check whether --enable-sash was given.
11648 if test "${enable_sash+set}" = set; then
11649 enableval=$enable_sash;
11650 if test "$enableval" = yes; then
11651 wx_cv_use_sash='wxUSE_SASH=yes'
11653 wx_cv_use_sash='wxUSE_SASH=no'
11658 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11663 eval "$wx_cv_use_sash"
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_SASH = no; then
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11691 # Check whether --enable-scrollbar was given.
11692 if test "${enable_scrollbar+set}" = set; then
11693 enableval=$enable_scrollbar;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11697 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11702 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11707 eval "$wx_cv_use_scrollbar"
11709 if test x"$enablestring" = xdisable; then
11710 if test $wxUSE_SCROLLBAR = no; then
11716 result=$wxUSE_SCROLLBAR
11719 { echo "$as_me:$LINENO: result: $result" >&5
11720 echo "${ECHO_T}$result" >&6; }
11724 defaultval=$wxUSE_ALL_FEATURES
11725 if test -z "$defaultval"; then
11726 if test x"$enablestring" = xdisable; then
11733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11734 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11735 # Check whether --enable-searchctrl was given.
11736 if test "${enable_searchctrl+set}" = set; then
11737 enableval=$enable_searchctrl;
11738 if test "$enableval" = yes; then
11739 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11741 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11746 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11751 eval "$wx_cv_use_searchctrl"
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_SEARCHCTRL = no; then
11760 result=$wxUSE_SEARCHCTRL
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11779 # Check whether --enable-slider was given.
11780 if test "${enable_slider+set}" = set; then
11781 enableval=$enable_slider;
11782 if test "$enableval" = yes; then
11783 wx_cv_use_slider='wxUSE_SLIDER=yes'
11785 wx_cv_use_slider='wxUSE_SLIDER=no'
11790 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11795 eval "$wx_cv_use_slider"
11797 if test x"$enablestring" = xdisable; then
11798 if test $wxUSE_SLIDER = no; then
11804 result=$wxUSE_SLIDER
11807 { echo "$as_me:$LINENO: result: $result" >&5
11808 echo "${ECHO_T}$result" >&6; }
11812 defaultval=$wxUSE_ALL_FEATURES
11813 if test -z "$defaultval"; then
11814 if test x"$enablestring" = xdisable; then
11821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11822 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11823 # Check whether --enable-spinbtn was given.
11824 if test "${enable_spinbtn+set}" = set; then
11825 enableval=$enable_spinbtn;
11826 if test "$enableval" = yes; then
11827 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11829 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11834 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11839 eval "$wx_cv_use_spinbtn"
11841 if test x"$enablestring" = xdisable; then
11842 if test $wxUSE_SPINBTN = no; then
11848 result=$wxUSE_SPINBTN
11851 { echo "$as_me:$LINENO: result: $result" >&5
11852 echo "${ECHO_T}$result" >&6; }
11856 defaultval=$wxUSE_ALL_FEATURES
11857 if test -z "$defaultval"; then
11858 if test x"$enablestring" = xdisable; then
11865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11866 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11867 # Check whether --enable-spinctrl was given.
11868 if test "${enable_spinctrl+set}" = set; then
11869 enableval=$enable_spinctrl;
11870 if test "$enableval" = yes; then
11871 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11873 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11878 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11883 eval "$wx_cv_use_spinctrl"
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_SPINCTRL = no; then
11892 result=$wxUSE_SPINCTRL
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11911 # Check whether --enable-splitter was given.
11912 if test "${enable_splitter+set}" = set; then
11913 enableval=$enable_splitter;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11917 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11922 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11927 eval "$wx_cv_use_splitter"
11929 if test x"$enablestring" = xdisable; then
11930 if test $wxUSE_SPLITTER = no; then
11936 result=$wxUSE_SPLITTER
11939 { echo "$as_me:$LINENO: result: $result" >&5
11940 echo "${ECHO_T}$result" >&6; }
11944 defaultval=$wxUSE_ALL_FEATURES
11945 if test -z "$defaultval"; then
11946 if test x"$enablestring" = xdisable; then
11953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11954 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11955 # Check whether --enable-statbmp was given.
11956 if test "${enable_statbmp+set}" = set; then
11957 enableval=$enable_statbmp;
11958 if test "$enableval" = yes; then
11959 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11961 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11966 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11971 eval "$wx_cv_use_statbmp"
11973 if test x"$enablestring" = xdisable; then
11974 if test $wxUSE_STATBMP = no; then
11980 result=$wxUSE_STATBMP
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11999 # Check whether --enable-statbox was given.
12000 if test "${enable_statbox+set}" = set; then
12001 enableval=$enable_statbox;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12005 wx_cv_use_statbox='wxUSE_STATBOX=no'
12010 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12015 eval "$wx_cv_use_statbox"
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_STATBOX = no; then
12024 result=$wxUSE_STATBOX
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12043 # Check whether --enable-statline was given.
12044 if test "${enable_statline+set}" = set; then
12045 enableval=$enable_statline;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_statline='wxUSE_STATLINE=yes'
12049 wx_cv_use_statline='wxUSE_STATLINE=no'
12054 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12059 eval "$wx_cv_use_statline"
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_STATLINE = no; then
12068 result=$wxUSE_STATLINE
12071 { echo "$as_me:$LINENO: result: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12087 # Check whether --enable-stattext was given.
12088 if test "${enable_stattext+set}" = set; then
12089 enableval=$enable_stattext;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12093 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12098 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12103 eval "$wx_cv_use_stattext"
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_STATTEXT = no; then
12112 result=$wxUSE_STATTEXT
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12131 # Check whether --enable-statusbar was given.
12132 if test "${enable_statusbar+set}" = set; then
12133 enableval=$enable_statusbar;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12137 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12142 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12147 eval "$wx_cv_use_statusbar"
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_STATUSBAR = no; then
12156 result=$wxUSE_STATUSBAR
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12175 # Check whether --enable-taskbaricon was given.
12176 if test "${enable_taskbaricon+set}" = set; then
12177 enableval=$enable_taskbaricon;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12181 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12186 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12191 eval "$wx_cv_use_taskbaricon"
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_TASKBARICON = no; then
12200 result=$wxUSE_TASKBARICON
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12219 # Check whether --enable-tbarnative was given.
12220 if test "${enable_tbarnative+set}" = set; then
12221 enableval=$enable_tbarnative;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12225 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12230 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12235 eval "$wx_cv_use_tbarnative"
12237 if test x"$enablestring" = xdisable; then
12238 if test $wxUSE_TOOLBAR_NATIVE = no; then
12244 result=$wxUSE_TOOLBAR_NATIVE
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12252 defaultval=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x"$enablestring" = xdisable; then
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12263 # Check whether --enable-textctrl was given.
12264 if test "${enable_textctrl+set}" = set; then
12265 enableval=$enable_textctrl;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12269 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12274 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12279 eval "$wx_cv_use_textctrl"
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_TEXTCTRL = no; then
12288 result=$wxUSE_TEXTCTRL
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12307 # Check whether --enable-tipwindow was given.
12308 if test "${enable_tipwindow+set}" = set; then
12309 enableval=$enable_tipwindow;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12313 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12318 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12323 eval "$wx_cv_use_tipwindow"
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_TIPWINDOW = no; then
12332 result=$wxUSE_TIPWINDOW
12335 { echo "$as_me:$LINENO: result: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12350 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12351 # Check whether --enable-togglebtn was given.
12352 if test "${enable_togglebtn+set}" = set; then
12353 enableval=$enable_togglebtn;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12357 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12362 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12367 eval "$wx_cv_use_togglebtn"
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_TOGGLEBTN = no; then
12376 result=$wxUSE_TOGGLEBTN
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12395 # Check whether --enable-toolbar was given.
12396 if test "${enable_toolbar+set}" = set; then
12397 enableval=$enable_toolbar;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12401 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12406 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12411 eval "$wx_cv_use_toolbar"
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_TOOLBAR = no; then
12420 result=$wxUSE_TOOLBAR
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12439 # Check whether --enable-toolbook was given.
12440 if test "${enable_toolbook+set}" = set; then
12441 enableval=$enable_toolbook;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12445 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12450 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12455 eval "$wx_cv_use_toolbook"
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_TOOLBOOK = no; then
12464 result=$wxUSE_TOOLBOOK
12467 { echo "$as_me:$LINENO: result: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12482 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12483 # Check whether --enable-treebook was given.
12484 if test "${enable_treebook+set}" = set; then
12485 enableval=$enable_treebook;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12489 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12494 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12499 eval "$wx_cv_use_treebook"
12501 if test x"$enablestring" = xdisable; then
12502 if test $wxUSE_TREEBOOK = no; then
12508 result=$wxUSE_TREEBOOK
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12516 defaultval=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x"$enablestring" = xdisable; then
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12527 # Check whether --enable-treectrl was given.
12528 if test "${enable_treectrl+set}" = set; then
12529 enableval=$enable_treectrl;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12533 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12538 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12543 eval "$wx_cv_use_treectrl"
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_TREECTRL = no; then
12552 result=$wxUSE_TREECTRL
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12573 # Check whether --enable-commondlg was given.
12574 if test "${enable_commondlg+set}" = set; then
12575 enableval=$enable_commondlg;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12579 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12584 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12589 eval "$wx_cv_use_commondlg"
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_COMMONDLGS = no; then
12598 result=$wxUSE_COMMONDLGS
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12617 # Check whether --enable-aboutdlg was given.
12618 if test "${enable_aboutdlg+set}" = set; then
12619 enableval=$enable_aboutdlg;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12623 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12628 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12633 eval "$wx_cv_use_aboutdlg"
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_ABOUTDLG = no; then
12642 result=$wxUSE_ABOUTDLG
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12661 # Check whether --enable-choicedlg was given.
12662 if test "${enable_choicedlg+set}" = set; then
12663 enableval=$enable_choicedlg;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12667 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12672 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12677 eval "$wx_cv_use_choicedlg"
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_CHOICEDLG = no; then
12686 result=$wxUSE_CHOICEDLG
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12705 # Check whether --enable-coldlg was given.
12706 if test "${enable_coldlg+set}" = set; then
12707 enableval=$enable_coldlg;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12711 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12716 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12721 eval "$wx_cv_use_coldlg"
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_COLOURDLG = no; then
12730 result=$wxUSE_COLOURDLG
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12749 # Check whether --enable-filedlg was given.
12750 if test "${enable_filedlg+set}" = set; then
12751 enableval=$enable_filedlg;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12755 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12760 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12765 eval "$wx_cv_use_filedlg"
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_FILEDLG = no; then
12774 result=$wxUSE_FILEDLG
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12793 # Check whether --enable-finddlg was given.
12794 if test "${enable_finddlg+set}" = set; then
12795 enableval=$enable_finddlg;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12799 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12804 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12809 eval "$wx_cv_use_finddlg"
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_FINDREPLDLG = no; then
12818 result=$wxUSE_FINDREPLDLG
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12837 # Check whether --enable-fontdlg was given.
12838 if test "${enable_fontdlg+set}" = set; then
12839 enableval=$enable_fontdlg;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12843 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12848 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12853 eval "$wx_cv_use_fontdlg"
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_FONTDLG = no; then
12862 result=$wxUSE_FONTDLG
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12881 # Check whether --enable-dirdlg was given.
12882 if test "${enable_dirdlg+set}" = set; then
12883 enableval=$enable_dirdlg;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12887 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12892 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12897 eval "$wx_cv_use_dirdlg"
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_DIRDLG = no; then
12906 result=$wxUSE_DIRDLG
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12925 # Check whether --enable-msgdlg was given.
12926 if test "${enable_msgdlg+set}" = set; then
12927 enableval=$enable_msgdlg;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12931 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12936 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12941 eval "$wx_cv_use_msgdlg"
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_MSGDLG = no; then
12950 result=$wxUSE_MSGDLG
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12969 # Check whether --enable-numberdlg was given.
12970 if test "${enable_numberdlg+set}" = set; then
12971 enableval=$enable_numberdlg;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12975 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12980 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12985 eval "$wx_cv_use_numberdlg"
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_NUMBERDLG = no; then
12994 result=$wxUSE_NUMBERDLG
12997 { echo "$as_me:$LINENO: result: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13012 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13013 # Check whether --enable-splash was given.
13014 if test "${enable_splash+set}" = set; then
13015 enableval=$enable_splash;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_splash='wxUSE_SPLASH=yes'
13019 wx_cv_use_splash='wxUSE_SPLASH=no'
13024 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13029 eval "$wx_cv_use_splash"
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_SPLASH = no; then
13038 result=$wxUSE_SPLASH
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13057 # Check whether --enable-textdlg was given.
13058 if test "${enable_textdlg+set}" = set; then
13059 enableval=$enable_textdlg;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13063 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13068 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13073 eval "$wx_cv_use_textdlg"
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_TEXTDLG = no; then
13082 result=$wxUSE_TEXTDLG
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13101 # Check whether --enable-tipdlg was given.
13102 if test "${enable_tipdlg+set}" = set; then
13103 enableval=$enable_tipdlg;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13107 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13112 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13117 eval "$wx_cv_use_tipdlg"
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_STARTUP_TIPS = no; then
13126 result=$wxUSE_STARTUP_TIPS
13129 { echo "$as_me:$LINENO: result: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13134 defaultval=$wxUSE_ALL_FEATURES
13135 if test -z "$defaultval"; then
13136 if test x"$enablestring" = xdisable; then
13143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13144 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13145 # Check whether --enable-progressdlg was given.
13146 if test "${enable_progressdlg+set}" = set; then
13147 enableval=$enable_progressdlg;
13148 if test "$enableval" = yes; then
13149 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13151 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13156 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13161 eval "$wx_cv_use_progressdlg"
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_PROGRESSDLG = no; then
13170 result=$wxUSE_PROGRESSDLG
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13189 # Check whether --enable-wizarddlg was given.
13190 if test "${enable_wizarddlg+set}" = set; then
13191 enableval=$enable_wizarddlg;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13195 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13200 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13205 eval "$wx_cv_use_wizarddlg"
13207 if test x"$enablestring" = xdisable; then
13208 if test $wxUSE_WIZARDDLG = no; then
13214 result=$wxUSE_WIZARDDLG
13217 { echo "$as_me:$LINENO: result: $result" >&5
13218 echo "${ECHO_T}$result" >&6; }
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13235 # Check whether --enable-menus was given.
13236 if test "${enable_menus+set}" = set; then
13237 enableval=$enable_menus;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_menus='wxUSE_MENUS=yes'
13241 wx_cv_use_menus='wxUSE_MENUS=no'
13246 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13251 eval "$wx_cv_use_menus"
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_MENUS = no; then
13260 result=$wxUSE_MENUS
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13279 # Check whether --enable-miniframe was given.
13280 if test "${enable_miniframe+set}" = set; then
13281 enableval=$enable_miniframe;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13285 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13290 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13295 eval "$wx_cv_use_miniframe"
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_MINIFRAME = no; then
13304 result=$wxUSE_MINIFRAME
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13323 # Check whether --enable-tooltips was given.
13324 if test "${enable_tooltips+set}" = set; then
13325 enableval=$enable_tooltips;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13329 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13334 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13339 eval "$wx_cv_use_tooltips"
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_TOOLTIPS = no; then
13348 result=$wxUSE_TOOLTIPS
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13367 # Check whether --enable-splines was given.
13368 if test "${enable_splines+set}" = set; then
13369 enableval=$enable_splines;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_splines='wxUSE_SPLINES=yes'
13373 wx_cv_use_splines='wxUSE_SPLINES=no'
13378 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13383 eval "$wx_cv_use_splines"
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_SPLINES = no; then
13392 result=$wxUSE_SPLINES
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13411 # Check whether --enable-mousewheel was given.
13412 if test "${enable_mousewheel+set}" = set; then
13413 enableval=$enable_mousewheel;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13417 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13422 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13427 eval "$wx_cv_use_mousewheel"
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_MOUSEWHEEL = no; then
13436 result=$wxUSE_MOUSEWHEEL
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13455 # Check whether --enable-validators was given.
13456 if test "${enable_validators+set}" = set; then
13457 enableval=$enable_validators;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13461 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13466 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13471 eval "$wx_cv_use_validators"
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_VALIDATORS = no; then
13480 result=$wxUSE_VALIDATORS
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13499 # Check whether --enable-busyinfo was given.
13500 if test "${enable_busyinfo+set}" = set; then
13501 enableval=$enable_busyinfo;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13505 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13510 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13515 eval "$wx_cv_use_busyinfo"
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_BUSYINFO = no; then
13524 result=$wxUSE_BUSYINFO
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13532 defaultval=$wxUSE_ALL_FEATURES
13533 if test -z "$defaultval"; then
13534 if test x"$enablestring" = xdisable; then
13541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13542 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13543 # Check whether --enable-joystick was given.
13544 if test "${enable_joystick+set}" = set; then
13545 enableval=$enable_joystick;
13546 if test "$enableval" = yes; then
13547 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13549 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13554 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13559 eval "$wx_cv_use_joystick"
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_JOYSTICK = no; then
13568 result=$wxUSE_JOYSTICK
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13576 defaultval=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x"$enablestring" = xdisable; then
13585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13586 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13587 # Check whether --enable-metafile was given.
13588 if test "${enable_metafile+set}" = set; then
13589 enableval=$enable_metafile;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13593 wx_cv_use_metafile='wxUSE_METAFILE=no'
13598 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13603 eval "$wx_cv_use_metafile"
13605 if test x"$enablestring" = xdisable; then
13606 if test $wxUSE_METAFILE = no; then
13612 result=$wxUSE_METAFILE
13615 { echo "$as_me:$LINENO: result: $result" >&5
13616 echo "${ECHO_T}$result" >&6; }
13620 defaultval=$wxUSE_ALL_FEATURES
13621 if test -z "$defaultval"; then
13622 if test x"$enablestring" = xdisable; then
13629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13630 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13631 # Check whether --enable-dragimage was given.
13632 if test "${enable_dragimage+set}" = set; then
13633 enableval=$enable_dragimage;
13634 if test "$enableval" = yes; then
13635 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13637 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13642 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13647 eval "$wx_cv_use_dragimage"
13649 if test x"$enablestring" = xdisable; then
13650 if test $wxUSE_DRAGIMAGE = no; then
13656 result=$wxUSE_DRAGIMAGE
13659 { echo "$as_me:$LINENO: result: $result" >&5
13660 echo "${ECHO_T}$result" >&6; }
13664 defaultval=$wxUSE_ALL_FEATURES
13665 if test -z "$defaultval"; then
13666 if test x"$enablestring" = xdisable; then
13673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13674 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13675 # Check whether --enable-accessibility was given.
13676 if test "${enable_accessibility+set}" = set; then
13677 enableval=$enable_accessibility;
13678 if test "$enableval" = yes; then
13679 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13681 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13686 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13691 eval "$wx_cv_use_accessibility"
13693 if test x"$enablestring" = xdisable; then
13694 if test $wxUSE_ACCESSIBILITY = no; then
13700 result=$wxUSE_ACCESSIBILITY
13703 { echo "$as_me:$LINENO: result: $result" >&5
13704 echo "${ECHO_T}$result" >&6; }
13708 defaultval=$wxUSE_ALL_FEATURES
13709 if test -z "$defaultval"; then
13710 if test x"$enablestring" = xdisable; then
13717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13718 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13719 # Check whether --enable-uiactionsim was given.
13720 if test "${enable_uiactionsim+set}" = set; then
13721 enableval=$enable_uiactionsim;
13722 if test "$enableval" = yes; then
13723 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13725 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13730 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13735 eval "$wx_cv_use_uiactionsim"
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_UIACTIONSIMULATOR = no; then
13744 result=$wxUSE_UIACTIONSIMULATOR
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13765 # Check whether --enable-palette was given.
13766 if test "${enable_palette+set}" = set; then
13767 enableval=$enable_palette;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_palette='wxUSE_PALETTE=yes'
13771 wx_cv_use_palette='wxUSE_PALETTE=no'
13776 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13781 eval "$wx_cv_use_palette"
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_PALETTE = no; then
13790 result=$wxUSE_PALETTE
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13809 # Check whether --enable-image was given.
13810 if test "${enable_image+set}" = set; then
13811 enableval=$enable_image;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_image='wxUSE_IMAGE=yes'
13815 wx_cv_use_image='wxUSE_IMAGE=no'
13820 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13825 eval "$wx_cv_use_image"
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_IMAGE = no; then
13834 result=$wxUSE_IMAGE
13837 { echo "$as_me:$LINENO: result: $result" >&5
13838 echo "${ECHO_T}$result" >&6; }
13842 defaultval=$wxUSE_ALL_FEATURES
13843 if test -z "$defaultval"; then
13844 if test x"$enablestring" = xdisable; then
13851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13853 # Check whether --enable-gif was given.
13854 if test "${enable_gif+set}" = set; then
13855 enableval=$enable_gif;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_gif='wxUSE_GIF=yes'
13859 wx_cv_use_gif='wxUSE_GIF=no'
13864 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13869 eval "$wx_cv_use_gif"
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_GIF = no; then
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13886 defaultval=$wxUSE_ALL_FEATURES
13887 if test -z "$defaultval"; then
13888 if test x"$enablestring" = xdisable; then
13895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13897 # Check whether --enable-pcx was given.
13898 if test "${enable_pcx+set}" = set; then
13899 enableval=$enable_pcx;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_pcx='wxUSE_PCX=yes'
13903 wx_cv_use_pcx='wxUSE_PCX=no'
13908 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13913 eval "$wx_cv_use_pcx"
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_PCX = no; then
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13941 # Check whether --enable-tga was given.
13942 if test "${enable_tga+set}" = set; then
13943 enableval=$enable_tga;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_tga='wxUSE_TGA=yes'
13947 wx_cv_use_tga='wxUSE_TGA=no'
13952 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13957 eval "$wx_cv_use_tga"
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_TGA = no; then
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13985 # Check whether --enable-iff was given.
13986 if test "${enable_iff+set}" = set; then
13987 enableval=$enable_iff;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_iff='wxUSE_IFF=yes'
13991 wx_cv_use_iff='wxUSE_IFF=no'
13996 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14001 eval "$wx_cv_use_iff"
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_IFF = no; then
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14029 # Check whether --enable-pnm was given.
14030 if test "${enable_pnm+set}" = set; then
14031 enableval=$enable_pnm;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_pnm='wxUSE_PNM=yes'
14035 wx_cv_use_pnm='wxUSE_PNM=no'
14040 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14045 eval "$wx_cv_use_pnm"
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_PNM = no; then
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14062 defaultval=$wxUSE_ALL_FEATURES
14063 if test -z "$defaultval"; then
14064 if test x"$enablestring" = xdisable; then
14071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14073 # Check whether --enable-xpm was given.
14074 if test "${enable_xpm+set}" = set; then
14075 enableval=$enable_xpm;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_xpm='wxUSE_XPM=yes'
14079 wx_cv_use_xpm='wxUSE_XPM=no'
14084 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14089 eval "$wx_cv_use_xpm"
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_XPM = no; then
14101 { echo "$as_me:$LINENO: result: $result" >&5
14102 echo "${ECHO_T}$result" >&6; }
14106 defaultval=$wxUSE_ALL_FEATURES
14107 if test -z "$defaultval"; then
14108 if test x"$enablestring" = xdisable; then
14115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14117 # Check whether --enable-ico_cur was given.
14118 if test "${enable_ico_cur+set}" = set; then
14119 enableval=$enable_ico_cur;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14123 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14128 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14133 eval "$wx_cv_use_ico_cur"
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_ICO_CUR = no; then
14142 result=$wxUSE_ICO_CUR
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14163 # Check whether --enable-dccache was given.
14164 if test "${enable_dccache+set}" = set; then
14165 enableval=$enable_dccache;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14169 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14174 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14179 eval "$wx_cv_use_dccache"
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_DC_CACHEING = no; then
14188 result=$wxUSE_DC_CACHEING
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14207 # Check whether --enable-ps-in-msw was given.
14208 if test "${enable_ps_in_msw+set}" = set; then
14209 enableval=$enable_ps_in_msw;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14213 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14218 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14223 eval "$wx_cv_use_ps_in_msw"
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14232 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14251 # Check whether --enable-ownerdrawn was given.
14252 if test "${enable_ownerdrawn+set}" = set; then
14253 enableval=$enable_ownerdrawn;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14257 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14262 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14267 eval "$wx_cv_use_ownerdrawn"
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_OWNER_DRAWN = no; then
14276 result=$wxUSE_OWNER_DRAWN
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14295 # Check whether --enable-uxtheme was given.
14296 if test "${enable_uxtheme+set}" = set; then
14297 enableval=$enable_uxtheme;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14301 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14306 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14311 eval "$wx_cv_use_uxtheme"
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_UXTHEME = no; then
14320 result=$wxUSE_UXTHEME
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14339 # Check whether --enable-wxdib was given.
14340 if test "${enable_wxdib+set}" = set; then
14341 enableval=$enable_wxdib;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_wxdib='wxUSE_DIB=yes'
14345 wx_cv_use_wxdib='wxUSE_DIB=no'
14350 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14355 eval "$wx_cv_use_wxdib"
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_DIB = no; then
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14371 if test "$wxUSE_MSW" != 1; then
14372 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14377 defaultval=$wxUSE_ALL_FEATURES
14378 if test -z "$defaultval"; then
14379 if test x"$enablestring" = xdisable; then
14386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14387 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14388 # Check whether --enable-autoidman was given.
14389 if test "${enable_autoidman+set}" = set; then
14390 enableval=$enable_autoidman;
14391 if test "$enableval" = yes; then
14392 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14394 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14399 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14404 eval "$wx_cv_use_autoidman"
14406 if test x"$enablestring" = xdisable; then
14407 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14413 result=$wxUSE_AUTOID_MANAGEMENT
14416 { echo "$as_me:$LINENO: result: $result" >&5
14417 echo "${ECHO_T}$result" >&6; }
14423 cat >confcache <<\_ACEOF
14424 # This file is a shell script that caches the results of configure
14425 # tests run on this system so they can be shared between configure
14426 # scripts and configure runs, see configure's option --config-cache.
14427 # It is not useful on other systems. If it contains results you don't
14428 # want to keep, you may remove or edit it.
14430 # config.status only pays attention to the cache file if you give it
14431 # the --recheck option to rerun configure.
14433 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14434 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14435 # following values.
14439 # The following way of writing the cache mishandles newlines in values,
14440 # but we know of no workaround that is simple, portable, and efficient.
14441 # So, we kill variables containing newlines.
14442 # Ultrix sh set writes to stderr and can't be redirected directly,
14443 # and sets the high bit in the cache file unless we assign to the vars.
14445 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14446 eval ac_val=\$$ac_var
14450 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14451 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14454 _ | IFS | as_nl) ;; #(
14455 *) $as_unset $ac_var ;;
14461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14462 *${as_nl}ac_space=\ *)
14463 # `set' does not quote correctly, so add quotes (double-quote
14464 # substitution turns \\\\ into \\, and sed turns \\ into \).
14467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14470 # `set' quotes correctly as required by POSIX, so do not add quotes.
14471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14484 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14485 if test -w "$cache_file"; then
14486 test "x$cache_file" != "x/dev/null" &&
14487 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14488 echo "$as_me: updating cache $cache_file" >&6;}
14489 cat confcache >$cache_file
14491 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14492 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14499 ac_cpp='$CPP $CPPFLAGS'
14500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14503 if test -n "$ac_tool_prefix"; then
14504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC="$CC" # Let the user override the test.
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14542 if test -z "$ac_cv_prog_CC"; then
14544 # Extract the first word of "gcc", so it can be a program name with args.
14545 set dummy gcc; ac_word=$2
14546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 if test -n "$ac_ct_CC"; then
14552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14555 for as_dir in $PATH
14558 test -z "$as_dir" && as_dir=.
14559 for ac_exec_ext in '' $ac_executable_extensions; do
14560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14561 ac_cv_prog_ac_ct_CC="gcc"
14562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14572 if test -n "$ac_ct_CC"; then
14573 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14574 echo "${ECHO_T}$ac_ct_CC" >&6; }
14576 { echo "$as_me:$LINENO: result: no" >&5
14577 echo "${ECHO_T}no" >&6; }
14580 if test "x$ac_ct_CC" = x; then
14583 case $cross_compiling:$ac_tool_warned in
14585 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14586 whose name does not start with the host triplet. If you think this
14587 configuration is useful to you, please write to autoconf@gnu.org." >&5
14588 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14589 whose name does not start with the host triplet. If you think this
14590 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14591 ac_tool_warned=yes ;;
14596 CC="$ac_cv_prog_CC"
14599 if test -z "$CC"; then
14600 if test -n "$ac_tool_prefix"; then
14601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14602 set dummy ${ac_tool_prefix}cc; ac_word=$2
14603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14605 if test "${ac_cv_prog_CC+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 if test -n "$CC"; then
14609 ac_cv_prog_CC="$CC" # Let the user override the test.
14611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14612 for as_dir in $PATH
14615 test -z "$as_dir" && as_dir=.
14616 for ac_exec_ext in '' $ac_executable_extensions; do
14617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14618 ac_cv_prog_CC="${ac_tool_prefix}cc"
14619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14629 if test -n "$CC"; then
14630 { echo "$as_me:$LINENO: result: $CC" >&5
14631 echo "${ECHO_T}$CC" >&6; }
14633 { echo "$as_me:$LINENO: result: no" >&5
14634 echo "${ECHO_T}no" >&6; }
14640 if test -z "$CC"; then
14641 # Extract the first word of "cc", so it can be a program name with args.
14642 set dummy cc; ac_word=$2
14643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14645 if test "${ac_cv_prog_CC+set}" = set; then
14646 echo $ECHO_N "(cached) $ECHO_C" >&6
14648 if test -n "$CC"; then
14649 ac_cv_prog_CC="$CC" # Let the user override the test.
14651 ac_prog_rejected=no
14652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14653 for as_dir in $PATH
14656 test -z "$as_dir" && as_dir=.
14657 for ac_exec_ext in '' $ac_executable_extensions; do
14658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14659 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14660 ac_prog_rejected=yes
14664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14671 if test $ac_prog_rejected = yes; then
14672 # We found a bogon in the path, so make sure we never use it.
14673 set dummy $ac_cv_prog_CC
14675 if test $# != 0; then
14676 # We chose a different compiler from the bogus one.
14677 # However, it has the same basename, so the bogon will be chosen
14678 # first if we set CC to just the basename; use the full file name.
14680 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14686 if test -n "$CC"; then
14687 { echo "$as_me:$LINENO: result: $CC" >&5
14688 echo "${ECHO_T}$CC" >&6; }
14690 { echo "$as_me:$LINENO: result: no" >&5
14691 echo "${ECHO_T}no" >&6; }
14696 if test -z "$CC"; then
14697 if test -n "$ac_tool_prefix"; then
14698 for ac_prog in cl.exe
14700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14704 if test "${ac_cv_prog_CC+set}" = set; then
14705 echo $ECHO_N "(cached) $ECHO_C" >&6
14707 if test -n "$CC"; then
14708 ac_cv_prog_CC="$CC" # Let the user override the test.
14710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14711 for as_dir in $PATH
14714 test -z "$as_dir" && as_dir=.
14715 for ac_exec_ext in '' $ac_executable_extensions; do
14716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14717 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14728 if test -n "$CC"; then
14729 { echo "$as_me:$LINENO: result: $CC" >&5
14730 echo "${ECHO_T}$CC" >&6; }
14732 { echo "$as_me:$LINENO: result: no" >&5
14733 echo "${ECHO_T}no" >&6; }
14737 test -n "$CC" && break
14740 if test -z "$CC"; then
14742 for ac_prog in cl.exe
14744 # Extract the first word of "$ac_prog", so it can be a program name with args.
14745 set dummy $ac_prog; ac_word=$2
14746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 if test -n "$ac_ct_CC"; then
14752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14755 for as_dir in $PATH
14758 test -z "$as_dir" && as_dir=.
14759 for ac_exec_ext in '' $ac_executable_extensions; do
14760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14761 ac_cv_prog_ac_ct_CC="$ac_prog"
14762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14772 if test -n "$ac_ct_CC"; then
14773 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14774 echo "${ECHO_T}$ac_ct_CC" >&6; }
14776 { echo "$as_me:$LINENO: result: no" >&5
14777 echo "${ECHO_T}no" >&6; }
14781 test -n "$ac_ct_CC" && break
14784 if test "x$ac_ct_CC" = x; then
14787 case $cross_compiling:$ac_tool_warned in
14789 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14790 whose name does not start with the host triplet. If you think this
14791 configuration is useful to you, please write to autoconf@gnu.org." >&5
14792 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14793 whose name does not start with the host triplet. If you think this
14794 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14795 ac_tool_warned=yes ;;
14804 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14805 See \`config.log' for more details." >&5
14806 echo "$as_me: error: no acceptable C compiler found in \$PATH
14807 See \`config.log' for more details." >&2;}
14808 { (exit 1); exit 1; }; }
14810 # Provide some information about the compiler.
14811 echo "$as_me:$LINENO: checking for C compiler version" >&5
14812 ac_compiler=`set X $ac_compile; echo $2`
14813 { (ac_try="$ac_compiler --version >&5"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_compiler --version >&5") 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }
14823 { (ac_try="$ac_compiler -v >&5"
14824 case "(($ac_try" in
14825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14826 *) ac_try_echo=$ac_try;;
14828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14829 (eval "$ac_compiler -v >&5") 2>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }
14833 { (ac_try="$ac_compiler -V >&5"
14834 case "(($ac_try" in
14835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;;
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839 (eval "$ac_compiler -V >&5") 2>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }
14844 cat >conftest.$ac_ext <<_ACEOF
14847 cat confdefs.h >>conftest.$ac_ext
14848 cat >>conftest.$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14859 ac_clean_files_save=$ac_clean_files
14860 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14861 # Try to create an executable without -o first, disregard a.out.
14862 # It will help us diagnose broken compilers, and finding out an intuition
14864 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14865 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14866 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14868 # List of possible output files, starting from the most likely.
14869 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14870 # only as a last resort. b.out is created by i960 compilers.
14871 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14873 # The IRIX 6 linker writes into existing files which may not be
14874 # executable, retaining their permissions. Remove them first so a
14875 # subsequent execution test works.
14877 for ac_file in $ac_files
14880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14881 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14886 if { (ac_try="$ac_link_default"
14887 case "(($ac_try" in
14888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14889 *) ac_try_echo=$ac_try;;
14891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14892 (eval "$ac_link_default") 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; then
14896 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14897 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14898 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14899 # so that the user can short-circuit this test for compilers unknown to
14901 for ac_file in $ac_files ''
14903 test -f "$ac_file" || continue
14905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14908 # We found the default executable, but exeext='' is most
14912 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14914 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14916 # We set ac_cv_exeext here because the later test for it is not
14917 # safe: cross compilers may not add the suffix if given an `-o'
14918 # argument, so we may need to know it at that point already.
14919 # Even if this section looks crufty: it has the advantage of
14920 # actually working.
14926 test "$ac_cv_exeext" = no && ac_cv_exeext=
14932 { echo "$as_me:$LINENO: result: $ac_file" >&5
14933 echo "${ECHO_T}$ac_file" >&6; }
14934 if test -z "$ac_file"; then
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14938 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14939 See \`config.log' for more details." >&5
14940 echo "$as_me: error: C compiler cannot create executables
14941 See \`config.log' for more details." >&2;}
14942 { (exit 77); exit 77; }; }
14945 ac_exeext=$ac_cv_exeext
14947 # Check that the compiler produces executables we can run. If not, either
14948 # the compiler is broken, or we cross compile.
14949 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14950 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14951 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14952 # If not cross compiling, check that we can run a simple program.
14953 if test "$cross_compiling" != yes; then
14954 if { ac_try='./$ac_file'
14955 { (case "(($ac_try" in
14956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14957 *) ac_try_echo=$ac_try;;
14959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14960 (eval "$ac_try") 2>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14966 if test "$cross_compiling" = maybe; then
14967 cross_compiling=yes
14969 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14970 If you meant to cross compile, use \`--host'.
14971 See \`config.log' for more details." >&5
14972 echo "$as_me: error: cannot run C compiled programs.
14973 If you meant to cross compile, use \`--host'.
14974 See \`config.log' for more details." >&2;}
14975 { (exit 1); exit 1; }; }
14979 { echo "$as_me:$LINENO: result: yes" >&5
14980 echo "${ECHO_T}yes" >&6; }
14982 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14983 ac_clean_files=$ac_clean_files_save
14984 # Check that the compiler produces executables we can run. If not, either
14985 # the compiler is broken, or we cross compile.
14986 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14987 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14988 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14989 echo "${ECHO_T}$cross_compiling" >&6; }
14991 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14992 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14993 if { (ac_try="$ac_link"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; then
15003 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15004 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15005 # work properly (i.e., refer to `conftest.exe'), while it won't with
15007 for ac_file in conftest.exe conftest conftest.*; do
15008 test -f "$ac_file" || continue
15010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15011 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15017 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15018 See \`config.log' for more details." >&5
15019 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15020 See \`config.log' for more details." >&2;}
15021 { (exit 1); exit 1; }; }
15024 rm -f conftest$ac_cv_exeext
15025 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15026 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15028 rm -f conftest.$ac_ext
15029 EXEEXT=$ac_cv_exeext
15031 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15032 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15033 if test "${ac_cv_objext+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 cat >conftest.$ac_ext <<_ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15051 rm -f conftest.o conftest.obj
15052 if { (ac_try="$ac_compile"
15053 case "(($ac_try" in
15054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15055 *) ac_try_echo=$ac_try;;
15057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15058 (eval "$ac_compile") 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; then
15062 for ac_file in conftest.o conftest.obj conftest.*; do
15063 test -f "$ac_file" || continue;
15065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15066 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15074 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15075 See \`config.log' for more details." >&5
15076 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15077 See \`config.log' for more details." >&2;}
15078 { (exit 1); exit 1; }; }
15081 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15083 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15084 echo "${ECHO_T}$ac_cv_objext" >&6; }
15085 OBJEXT=$ac_cv_objext
15087 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15088 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15089 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 cat >conftest.$ac_ext <<_ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15110 rm -f conftest.$ac_objext
15111 if { (ac_try="$ac_compile"
15112 case "(($ac_try" in
15113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15114 *) ac_try_echo=$ac_try;;
15116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15117 (eval "$ac_compile") 2>conftest.er1
15119 grep -v '^ *+' conftest.er1 >conftest.err
15121 cat conftest.err >&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } && {
15124 test -z "$ac_c_werror_flag" ||
15125 test ! -s conftest.err
15126 } && test -s conftest.$ac_objext; then
15127 ac_compiler_gnu=yes
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.$ac_ext >&5
15135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15139 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15140 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15141 GCC=`test $ac_compiler_gnu = yes && echo yes`
15142 ac_test_CFLAGS=${CFLAGS+set}
15143 ac_save_CFLAGS=$CFLAGS
15144 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15145 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_cc_g+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 ac_save_c_werror_flag=$ac_c_werror_flag
15150 ac_c_werror_flag=yes
15153 cat >conftest.$ac_ext <<_ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15168 rm -f conftest.$ac_objext
15169 if { (ac_try="$ac_compile"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compile") 2>conftest.er1
15177 grep -v '^ *+' conftest.er1 >conftest.err
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest.$ac_objext; then
15185 ac_cv_prog_cc_g=yes
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15191 cat >conftest.$ac_ext <<_ACEOF
15194 cat confdefs.h >>conftest.$ac_ext
15195 cat >>conftest.$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15206 rm -f conftest.$ac_objext
15207 if { (ac_try="$ac_compile"
15208 case "(($ac_try" in
15209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_compile") 2>conftest.er1
15215 grep -v '^ *+' conftest.er1 >conftest.err
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } && {
15220 test -z "$ac_c_werror_flag" ||
15221 test ! -s conftest.err
15222 } && test -s conftest.$ac_objext; then
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15228 ac_c_werror_flag=$ac_save_c_werror_flag
15230 cat >conftest.$ac_ext <<_ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15245 rm -f conftest.$ac_objext
15246 if { (ac_try="$ac_compile"
15247 case "(($ac_try" in
15248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15249 *) ac_try_echo=$ac_try;;
15251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15252 (eval "$ac_compile") 2>conftest.er1
15254 grep -v '^ *+' conftest.er1 >conftest.err
15256 cat conftest.err >&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } && {
15259 test -z "$ac_c_werror_flag" ||
15260 test ! -s conftest.err
15261 } && test -s conftest.$ac_objext; then
15262 ac_cv_prog_cc_g=yes
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15277 ac_c_werror_flag=$ac_save_c_werror_flag
15279 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15280 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15281 if test "$ac_test_CFLAGS" = set; then
15282 CFLAGS=$ac_save_CFLAGS
15283 elif test $ac_cv_prog_cc_g = yes; then
15284 if test "$GCC" = yes; then
15290 if test "$GCC" = yes; then
15296 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15297 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15298 if test "${ac_cv_prog_cc_c89+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 ac_cv_prog_cc_c89=no
15303 cat >conftest.$ac_ext <<_ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 #include <stdarg.h>
15311 #include <sys/types.h>
15312 #include <sys/stat.h>
15313 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15314 struct buf { int x; };
15315 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15316 static char *e (p, i)
15322 static char *f (char * (*g) (char **, int), char **p, ...)
15327 s = g (p, va_arg (v,int));
15332 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15333 function prototypes and stuff, but not '\xHH' hex character constants.
15334 These don't provoke an error unfortunately, instead are silently treated
15335 as 'x'. The following induces an error, until -std is added to get
15336 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15337 array size at least. It's necessary to write '\x00'==0 to get something
15338 that's true only with -std. */
15339 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15341 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15342 inside strings and character constants. */
15344 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15346 int test (int i, double x);
15347 struct s1 {int (*f) (int a);};
15348 struct s2 {int (*f) (double a);};
15349 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15355 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15360 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15361 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15363 CC="$ac_save_CC $ac_arg"
15364 rm -f conftest.$ac_objext
15365 if { (ac_try="$ac_compile"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_compile") 2>conftest.er1
15373 grep -v '^ *+' conftest.er1 >conftest.err
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest.$ac_objext; then
15381 ac_cv_prog_cc_c89=$ac_arg
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15389 rm -f core conftest.err conftest.$ac_objext
15390 test "x$ac_cv_prog_cc_c89" != "xno" && break
15392 rm -f conftest.$ac_ext
15397 case "x$ac_cv_prog_cc_c89" in
15399 { echo "$as_me:$LINENO: result: none needed" >&5
15400 echo "${ECHO_T}none needed" >&6; } ;;
15402 { echo "$as_me:$LINENO: result: unsupported" >&5
15403 echo "${ECHO_T}unsupported" >&6; } ;;
15405 CC="$CC $ac_cv_prog_cc_c89"
15406 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15407 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15412 ac_cpp='$CPP $CPPFLAGS'
15413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15425 ac_cpp='$CPP $CPPFLAGS'
15426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15430 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15431 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15432 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 cat >conftest.$ac_ext <<_ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15446 #ifndef __INTEL_COMPILER
15454 rm -f conftest.$ac_objext
15455 if { (ac_try="$ac_compile"
15456 case "(($ac_try" in
15457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_compile") 2>conftest.er1
15463 grep -v '^ *+' conftest.er1 >conftest.err
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } && {
15468 test -z "$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15470 } && test -s conftest.$ac_objext; then
15471 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.$ac_ext >&5
15476 bakefile_cv_c_compiler___INTEL_COMPILER=no
15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15485 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15486 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15492 ac_cpp='$CPP $CPPFLAGS'
15493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15500 if test "$INTELCC" = "yes"; then
15504 ac_cpp='$CPP $CPPFLAGS'
15505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15509 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15510 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15511 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 cat >conftest.$ac_ext <<_ACEOF
15517 cat confdefs.h >>conftest.$ac_ext
15518 cat >>conftest.$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15525 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15533 rm -f conftest.$ac_objext
15534 if { (ac_try="$ac_compile"
15535 case "(($ac_try" in
15536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15537 *) ac_try_echo=$ac_try;;
15539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15540 (eval "$ac_compile") 2>conftest.er1
15542 grep -v '^ *+' conftest.er1 >conftest.err
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } && {
15547 test -z "$ac_c_werror_flag" ||
15548 test ! -s conftest.err
15549 } && test -s conftest.$ac_objext; then
15550 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.$ac_ext >&5
15555 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15563 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15564 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15565 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15571 ac_cpp='$CPP $CPPFLAGS'
15572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15581 ac_cpp='$CPP $CPPFLAGS'
15582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15586 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15587 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15588 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 cat >conftest.$ac_ext <<_ACEOF
15594 cat confdefs.h >>conftest.$ac_ext
15595 cat >>conftest.$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15602 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15619 grep -v '^ *+' conftest.er1 >conftest.err
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && {
15624 test -z "$ac_c_werror_flag" ||
15625 test ! -s conftest.err
15626 } && test -s conftest.$ac_objext; then
15627 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15632 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15640 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15641 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15642 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15648 ac_cpp='$CPP $CPPFLAGS'
15649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15657 if test "x$GCC" != "xyes"; then
15658 if test "xCC" = "xC"; then
15659 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15660 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15661 if test "${bakefile_cv_c_exto+set}" = set; then
15662 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 cat >conftest.$ac_ext <<_ACEOF
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15679 rm -f conftest.$ac_objext conftest.$ac_ext.o
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; then
15685 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15687 conftest.$ac_ext.o)
15688 bakefile_cv_c_exto="-ext o"
15695 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15696 See \`config.log' for more details." >&5
15697 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15698 See \`config.log' for more details." >&2;}
15699 { (exit 1); exit 1; }; }
15703 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15706 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15707 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15708 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15709 if test "c" = "c"; then
15710 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15712 if test "c" = "cxx"; then
15713 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15717 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15718 unset ac_cv_prog_cc_g
15719 ac_test_CFLAGS=${CFLAGS+set}
15720 ac_save_CFLAGS=$CFLAGS
15721 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15722 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15723 if test "${ac_cv_prog_cc_g+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 ac_save_c_werror_flag=$ac_c_werror_flag
15727 ac_c_werror_flag=yes
15730 cat >conftest.$ac_ext <<_ACEOF
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15745 rm -f conftest.$ac_objext
15746 if { (ac_try="$ac_compile"
15747 case "(($ac_try" in
15748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15749 *) ac_try_echo=$ac_try;;
15751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15752 (eval "$ac_compile") 2>conftest.er1
15754 grep -v '^ *+' conftest.er1 >conftest.err
15756 cat conftest.err >&5
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } && {
15759 test -z "$ac_c_werror_flag" ||
15760 test ! -s conftest.err
15761 } && test -s conftest.$ac_objext; then
15762 ac_cv_prog_cc_g=yes
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.$ac_ext >&5
15768 cat >conftest.$ac_ext <<_ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15783 rm -f conftest.$ac_objext
15784 if { (ac_try="$ac_compile"
15785 case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_compile") 2>conftest.er1
15792 grep -v '^ *+' conftest.er1 >conftest.err
15794 cat conftest.err >&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } && {
15797 test -z "$ac_c_werror_flag" ||
15798 test ! -s conftest.err
15799 } && test -s conftest.$ac_objext; then
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15805 ac_c_werror_flag=$ac_save_c_werror_flag
15807 cat >conftest.$ac_ext <<_ACEOF
15810 cat confdefs.h >>conftest.$ac_ext
15811 cat >>conftest.$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15822 rm -f conftest.$ac_objext
15823 if { (ac_try="$ac_compile"
15824 case "(($ac_try" in
15825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15826 *) ac_try_echo=$ac_try;;
15828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15829 (eval "$ac_compile") 2>conftest.er1
15831 grep -v '^ *+' conftest.er1 >conftest.err
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } && {
15836 test -z "$ac_c_werror_flag" ||
15837 test ! -s conftest.err
15838 } && test -s conftest.$ac_objext; then
15839 ac_cv_prog_cc_g=yes
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854 ac_c_werror_flag=$ac_save_c_werror_flag
15856 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15857 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15858 if test "$ac_test_CFLAGS" = set; then
15859 CFLAGS=$ac_save_CFLAGS
15860 elif test $ac_cv_prog_cc_g = yes; then
15861 if test "$GCC" = yes; then
15867 if test "$GCC" = yes; then
15881 ac_cpp='$CPP $CPPFLAGS'
15882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15886 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15887 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15888 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15889 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 cat >conftest.$ac_ext <<_ACEOF
15894 cat confdefs.h >>conftest.$ac_ext
15895 cat >>conftest.$ac_ext <<_ACEOF
15896 /* end confdefs.h. */
15910 rm -f conftest.$ac_objext
15911 if { (ac_try="$ac_compile"
15912 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_compile") 2>conftest.er1
15919 grep -v '^ *+' conftest.er1 >conftest.err
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } && {
15924 test -z "$ac_c_werror_flag" ||
15925 test ! -s conftest.err
15926 } && test -s conftest.$ac_objext; then
15927 bakefile_cv_c_compiler___xlC__=yes
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.$ac_ext >&5
15932 bakefile_cv_c_compiler___xlC__=no
15936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15941 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15942 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15948 ac_cpp='$CPP $CPPFLAGS'
15949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15961 ac_cpp='$CPP $CPPFLAGS'
15962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15967 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15968 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 cat >conftest.$ac_ext <<_ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15990 rm -f conftest.$ac_objext
15991 if { (ac_try="$ac_compile"
15992 case "(($ac_try" in
15993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_compile") 2>conftest.er1
15999 grep -v '^ *+' conftest.er1 >conftest.err
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } && {
16004 test -z "$ac_c_werror_flag" ||
16005 test ! -s conftest.err
16006 } && test -s conftest.$ac_objext; then
16007 bakefile_cv_c_compiler___MWERKS__=yes
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.$ac_ext >&5
16012 bakefile_cv_c_compiler___MWERKS__=no
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16020 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16021 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16022 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16035 if test "$MWCC" != "yes"; then
16039 ac_cpp='$CPP $CPPFLAGS'
16040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16044 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16045 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16046 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16049 cat >conftest.$ac_ext <<_ACEOF
16052 cat confdefs.h >>conftest.$ac_ext
16053 cat >>conftest.$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16068 rm -f conftest.$ac_objext
16069 if { (ac_try="$ac_compile"
16070 case "(($ac_try" in
16071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16072 *) ac_try_echo=$ac_try;;
16074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16075 (eval "$ac_compile") 2>conftest.er1
16077 grep -v '^ *+' conftest.er1 >conftest.err
16079 cat conftest.err >&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } && {
16082 test -z "$ac_c_werror_flag" ||
16083 test ! -s conftest.err
16084 } && test -s conftest.$ac_objext; then
16085 bakefile_cv_c_compiler___xlC__=yes
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16090 bakefile_cv_c_compiler___xlC__=no
16094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16098 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16099 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16100 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16120 ac_cpp='$CPP $CPPFLAGS'
16121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16125 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16126 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16127 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 cat >conftest.$ac_ext <<_ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16141 #ifndef _SGI_COMPILER_VERSION
16149 rm -f conftest.$ac_objext
16150 if { (ac_try="$ac_compile"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_compile") 2>conftest.er1
16158 grep -v '^ *+' conftest.er1 >conftest.err
16160 cat conftest.err >&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } && {
16163 test -z "$ac_c_werror_flag" ||
16164 test ! -s conftest.err
16165 } && test -s conftest.$ac_objext; then
16166 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.$ac_ext >&5
16171 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16179 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16180 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16181 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16187 ac_cpp='$CPP $CPPFLAGS'
16188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16197 if test "$INTELCC" != "yes"; then
16201 ac_cpp='$CPP $CPPFLAGS'
16202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16207 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16208 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 cat >conftest.$ac_ext <<_ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16230 rm -f conftest.$ac_objext
16231 if { (ac_try="$ac_compile"
16232 case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_compile") 2>conftest.er1
16239 grep -v '^ *+' conftest.er1 >conftest.err
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && {
16244 test -z "$ac_c_werror_flag" ||
16245 test ! -s conftest.err
16246 } && test -s conftest.$ac_objext; then
16247 bakefile_cv_c_compiler___SUNPRO_C=yes
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.$ac_ext >&5
16252 bakefile_cv_c_compiler___SUNPRO_C=no
16256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16260 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16261 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16262 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16268 ac_cpp='$CPP $CPPFLAGS'
16269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16287 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16288 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16289 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 cat >conftest.$ac_ext <<_ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16311 rm -f conftest.$ac_objext
16312 if { (ac_try="$ac_compile"
16313 case "(($ac_try" in
16314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16315 *) ac_try_echo=$ac_try;;
16317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16318 (eval "$ac_compile") 2>conftest.er1
16320 grep -v '^ *+' conftest.er1 >conftest.err
16322 cat conftest.err >&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } && {
16325 test -z "$ac_c_werror_flag" ||
16326 test ! -s conftest.err
16327 } && test -s conftest.$ac_objext; then
16328 bakefile_cv_c_compiler___HP_cc=yes
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.$ac_ext >&5
16333 bakefile_cv_c_compiler___HP_cc=no
16337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16341 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16342 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16343 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16349 ac_cpp='$CPP $CPPFLAGS'
16350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16362 ac_cpp='$CPP $CPPFLAGS'
16363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16367 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16368 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16369 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16370 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 cat >conftest.$ac_ext <<_ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16391 rm -f conftest.$ac_objext
16392 if { (ac_try="$ac_compile"
16393 case "(($ac_try" in
16394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16395 *) ac_try_echo=$ac_try;;
16397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16398 (eval "$ac_compile") 2>conftest.er1
16400 grep -v '^ *+' conftest.er1 >conftest.err
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } && {
16405 test -z "$ac_c_werror_flag" ||
16406 test ! -s conftest.err
16407 } && test -s conftest.$ac_objext; then
16408 bakefile_cv_c_compiler___DECC=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16413 bakefile_cv_c_compiler___DECC=no
16417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16421 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16422 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16423 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16429 ac_cpp='$CPP $CPPFLAGS'
16430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16442 ac_cpp='$CPP $CPPFLAGS'
16443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16447 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16448 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16449 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 cat >conftest.$ac_ext <<_ACEOF
16455 cat confdefs.h >>conftest.$ac_ext
16456 cat >>conftest.$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16471 rm -f conftest.$ac_objext
16472 if { (ac_try="$ac_compile"
16473 case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_compile") 2>conftest.er1
16480 grep -v '^ *+' conftest.er1 >conftest.err
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest.$ac_objext; then
16488 bakefile_cv_c_compiler___SUNPRO_C=yes
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16493 bakefile_cv_c_compiler___SUNPRO_C=no
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16502 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16503 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16527 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16528 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16529 # On Suns, sometimes $CPP names a directory.
16530 if test -n "$CPP" && test -d "$CPP"; then
16533 if test -z "$CPP"; then
16534 if test "${ac_cv_prog_CPP+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 # Double quotes because CPP needs to be expanded
16538 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16540 ac_preproc_ok=false
16541 for ac_c_preproc_warn_flag in '' yes
16543 # Use a header file that comes with gcc, so configuring glibc
16544 # with a fresh cross-compiler works.
16545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16546 # <limits.h> exists even on freestanding compilers.
16547 # On the NeXT, cc -E runs the code through the compiler's parser,
16548 # not just through cpp. "Syntax error" is here to catch this case.
16549 cat >conftest.$ac_ext <<_ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16556 # include <limits.h>
16558 # include <assert.h>
16562 if { (ac_try="$ac_cpp conftest.$ac_ext"
16563 case "(($ac_try" in
16564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16570 grep -v '^ *+' conftest.er1 >conftest.err
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } >/dev/null && {
16575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16583 # Broken: fails on valid input.
16587 rm -f conftest.err conftest.$ac_ext
16589 # OK, works on sane cases. Now check whether nonexistent headers
16590 # can be detected and how.
16591 cat >conftest.$ac_ext <<_ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 #include <ac_nonexistent.h>
16599 if { (ac_try="$ac_cpp conftest.$ac_ext"
16600 case "(($ac_try" in
16601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16602 *) ac_try_echo=$ac_try;;
16604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16607 grep -v '^ *+' conftest.er1 >conftest.err
16609 cat conftest.err >&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } >/dev/null && {
16612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16613 test ! -s conftest.err
16615 # Broken: success on invalid input.
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16621 # Passes both tests.
16626 rm -f conftest.err conftest.$ac_ext
16629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16630 rm -f conftest.err conftest.$ac_ext
16631 if $ac_preproc_ok; then
16636 ac_cv_prog_CPP=$CPP
16639 CPP=$ac_cv_prog_CPP
16641 ac_cv_prog_CPP=$CPP
16643 { echo "$as_me:$LINENO: result: $CPP" >&5
16644 echo "${ECHO_T}$CPP" >&6; }
16645 ac_preproc_ok=false
16646 for ac_c_preproc_warn_flag in '' yes
16648 # Use a header file that comes with gcc, so configuring glibc
16649 # with a fresh cross-compiler works.
16650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16651 # <limits.h> exists even on freestanding compilers.
16652 # On the NeXT, cc -E runs the code through the compiler's parser,
16653 # not just through cpp. "Syntax error" is here to catch this case.
16654 cat >conftest.$ac_ext <<_ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16661 # include <limits.h>
16663 # include <assert.h>
16667 if { (ac_try="$ac_cpp conftest.$ac_ext"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16675 grep -v '^ *+' conftest.er1 >conftest.err
16677 cat conftest.err >&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } >/dev/null && {
16680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16681 test ! -s conftest.err
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16688 # Broken: fails on valid input.
16692 rm -f conftest.err conftest.$ac_ext
16694 # OK, works on sane cases. Now check whether nonexistent headers
16695 # can be detected and how.
16696 cat >conftest.$ac_ext <<_ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 #include <ac_nonexistent.h>
16704 if { (ac_try="$ac_cpp conftest.$ac_ext"
16705 case "(($ac_try" in
16706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16707 *) ac_try_echo=$ac_try;;
16709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16712 grep -v '^ *+' conftest.er1 >conftest.err
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } >/dev/null && {
16717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16718 test ! -s conftest.err
16720 # Broken: success on invalid input.
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16726 # Passes both tests.
16731 rm -f conftest.err conftest.$ac_ext
16734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16735 rm -f conftest.err conftest.$ac_ext
16736 if $ac_preproc_ok; then
16739 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16740 See \`config.log' for more details." >&5
16741 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16742 See \`config.log' for more details." >&2;}
16743 { (exit 1); exit 1; }; }
16747 ac_cpp='$CPP $CPPFLAGS'
16748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16753 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16754 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16755 if test "${ac_cv_path_GREP+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 # Extract the first word of "grep ggrep" to use in msg output
16759 if test -z "$GREP"; then
16760 set dummy grep ggrep; ac_prog_name=$2
16761 if test "${ac_cv_path_GREP+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 ac_path_GREP_found=false
16765 # Loop through the user's path and test for each of PROGNAME-LIST
16766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16767 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16770 test -z "$as_dir" && as_dir=.
16771 for ac_prog in grep ggrep; do
16772 for ac_exec_ext in '' $ac_executable_extensions; do
16773 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16774 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16775 # Check for GNU ac_path_GREP and select it if it is found.
16776 # Check for GNU $ac_path_GREP
16777 case `"$ac_path_GREP" --version 2>&1` in
16779 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16782 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16785 cat "conftest.in" "conftest.in" >"conftest.tmp"
16786 mv "conftest.tmp" "conftest.in"
16787 cp "conftest.in" "conftest.nl"
16788 echo 'GREP' >> "conftest.nl"
16789 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16790 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16791 ac_count=`expr $ac_count + 1`
16792 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16793 # Best one so far, save it but keep looking for a better one
16794 ac_cv_path_GREP="$ac_path_GREP"
16795 ac_path_GREP_max=$ac_count
16797 # 10*(2^10) chars as input seems more than enough
16798 test $ac_count -gt 10 && break
16800 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16804 $ac_path_GREP_found && break 3
16814 GREP="$ac_cv_path_GREP"
16815 if test -z "$GREP"; then
16816 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16817 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16818 { (exit 1); exit 1; }; }
16822 ac_cv_path_GREP=$GREP
16827 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16828 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16829 GREP="$ac_cv_path_GREP"
16832 { echo "$as_me:$LINENO: checking for egrep" >&5
16833 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16834 if test "${ac_cv_path_EGREP+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16838 then ac_cv_path_EGREP="$GREP -E"
16840 # Extract the first word of "egrep" to use in msg output
16841 if test -z "$EGREP"; then
16842 set dummy egrep; ac_prog_name=$2
16843 if test "${ac_cv_path_EGREP+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 ac_path_EGREP_found=false
16847 # Loop through the user's path and test for each of PROGNAME-LIST
16848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16849 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16852 test -z "$as_dir" && as_dir=.
16853 for ac_prog in egrep; do
16854 for ac_exec_ext in '' $ac_executable_extensions; do
16855 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16856 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16857 # Check for GNU ac_path_EGREP and select it if it is found.
16858 # Check for GNU $ac_path_EGREP
16859 case `"$ac_path_EGREP" --version 2>&1` in
16861 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16864 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16867 cat "conftest.in" "conftest.in" >"conftest.tmp"
16868 mv "conftest.tmp" "conftest.in"
16869 cp "conftest.in" "conftest.nl"
16870 echo 'EGREP' >> "conftest.nl"
16871 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16872 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16873 ac_count=`expr $ac_count + 1`
16874 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16875 # Best one so far, save it but keep looking for a better one
16876 ac_cv_path_EGREP="$ac_path_EGREP"
16877 ac_path_EGREP_max=$ac_count
16879 # 10*(2^10) chars as input seems more than enough
16880 test $ac_count -gt 10 && break
16882 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16886 $ac_path_EGREP_found && break 3
16896 EGREP="$ac_cv_path_EGREP"
16897 if test -z "$EGREP"; then
16898 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16899 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16900 { (exit 1); exit 1; }; }
16904 ac_cv_path_EGREP=$EGREP
16910 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16911 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16912 EGREP="$ac_cv_path_EGREP"
16915 if test $ac_cv_c_compiler_gnu = yes; then
16916 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 ac_pattern="Autoconf.*'x'"
16922 cat >conftest.$ac_ext <<_ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16933 ac_cv_prog_gcc_traditional=yes
16935 ac_cv_prog_gcc_traditional=no
16940 if test $ac_cv_prog_gcc_traditional = no; then
16941 cat >conftest.$ac_ext <<_ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 #include <termio.h>
16950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16952 ac_cv_prog_gcc_traditional=yes
16958 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16960 if test $ac_cv_prog_gcc_traditional = yes; then
16961 CC="$CC -traditional"
16966 CXXFLAGS=${CXXFLAGS:=}
16968 ac_cpp='$CXXCPP $CPPFLAGS'
16969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16972 if test -z "$CXX"; then
16973 if test -n "$CCC"; then
16976 if test -n "$ac_tool_prefix"; then
16977 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16983 if test "${ac_cv_prog_CXX+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 if test -n "$CXX"; then
16987 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16990 for as_dir in $PATH
16993 test -z "$as_dir" && as_dir=.
16994 for ac_exec_ext in '' $ac_executable_extensions; do
16995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16996 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17006 CXX=$ac_cv_prog_CXX
17007 if test -n "$CXX"; then
17008 { echo "$as_me:$LINENO: result: $CXX" >&5
17009 echo "${ECHO_T}$CXX" >&6; }
17011 { echo "$as_me:$LINENO: result: no" >&5
17012 echo "${ECHO_T}no" >&6; }
17016 test -n "$CXX" && break
17019 if test -z "$CXX"; then
17021 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17023 # Extract the first word of "$ac_prog", so it can be a program name with args.
17024 set dummy $ac_prog; ac_word=$2
17025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17027 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 if test -n "$ac_ct_CXX"; then
17031 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17034 for as_dir in $PATH
17037 test -z "$as_dir" && as_dir=.
17038 for ac_exec_ext in '' $ac_executable_extensions; do
17039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17040 ac_cv_prog_ac_ct_CXX="$ac_prog"
17041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17050 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17051 if test -n "$ac_ct_CXX"; then
17052 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17053 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17055 { echo "$as_me:$LINENO: result: no" >&5
17056 echo "${ECHO_T}no" >&6; }
17060 test -n "$ac_ct_CXX" && break
17063 if test "x$ac_ct_CXX" = x; then
17066 case $cross_compiling:$ac_tool_warned in
17068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17069 whose name does not start with the host triplet. If you think this
17070 configuration is useful to you, please write to autoconf@gnu.org." >&5
17071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17072 whose name does not start with the host triplet. If you think this
17073 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17074 ac_tool_warned=yes ;;
17082 # Provide some information about the compiler.
17083 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17084 ac_compiler=`set X $ac_compile; echo $2`
17085 { (ac_try="$ac_compiler --version >&5"
17086 case "(($ac_try" in
17087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17088 *) ac_try_echo=$ac_try;;
17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17091 (eval "$ac_compiler --version >&5") 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }
17095 { (ac_try="$ac_compiler -v >&5"
17096 case "(($ac_try" in
17097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17098 *) ac_try_echo=$ac_try;;
17100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 (eval "$ac_compiler -v >&5") 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }
17105 { (ac_try="$ac_compiler -V >&5"
17106 case "(($ac_try" in
17107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17108 *) ac_try_echo=$ac_try;;
17110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17111 (eval "$ac_compiler -V >&5") 2>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }
17116 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17117 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17118 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 cat >conftest.$ac_ext <<_ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17148 grep -v '^ *+' conftest.er1 >conftest.err
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_cxx_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.$ac_objext; then
17156 ac_compiler_gnu=yes
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17168 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17169 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17170 GXX=`test $ac_compiler_gnu = yes && echo yes`
17171 ac_test_CXXFLAGS=${CXXFLAGS+set}
17172 ac_save_CXXFLAGS=$CXXFLAGS
17173 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17174 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17175 if test "${ac_cv_prog_cxx_g+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17179 ac_cxx_werror_flag=yes
17180 ac_cv_prog_cxx_g=no
17182 cat >conftest.$ac_ext <<_ACEOF
17185 cat confdefs.h >>conftest.$ac_ext
17186 cat >>conftest.$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17197 rm -f conftest.$ac_objext
17198 if { (ac_try="$ac_compile"
17199 case "(($ac_try" in
17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_compile") 2>conftest.er1
17206 grep -v '^ *+' conftest.er1 >conftest.err
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } && {
17211 test -z "$ac_cxx_werror_flag" ||
17212 test ! -s conftest.err
17213 } && test -s conftest.$ac_objext; then
17214 ac_cv_prog_cxx_g=yes
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17220 cat >conftest.$ac_ext <<_ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17235 rm -f conftest.$ac_objext
17236 if { (ac_try="$ac_compile"
17237 case "(($ac_try" in
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17239 *) ac_try_echo=$ac_try;;
17241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17242 (eval "$ac_compile") 2>conftest.er1
17244 grep -v '^ *+' conftest.er1 >conftest.err
17246 cat conftest.err >&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } && {
17249 test -z "$ac_cxx_werror_flag" ||
17250 test ! -s conftest.err
17251 } && test -s conftest.$ac_objext; then
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.$ac_ext >&5
17257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17259 cat >conftest.$ac_ext <<_ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17274 rm -f conftest.$ac_objext
17275 if { (ac_try="$ac_compile"
17276 case "(($ac_try" in
17277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17278 *) ac_try_echo=$ac_try;;
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17281 (eval "$ac_compile") 2>conftest.er1
17283 grep -v '^ *+' conftest.er1 >conftest.err
17285 cat conftest.err >&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } && {
17288 test -z "$ac_cxx_werror_flag" ||
17289 test ! -s conftest.err
17290 } && test -s conftest.$ac_objext; then
17291 ac_cv_prog_cxx_g=yes
17293 echo "$as_me: failed program was:" >&5
17294 sed 's/^/| /' conftest.$ac_ext >&5
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17306 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17308 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17309 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17310 if test "$ac_test_CXXFLAGS" = set; then
17311 CXXFLAGS=$ac_save_CXXFLAGS
17312 elif test $ac_cv_prog_cxx_g = yes; then
17313 if test "$GXX" = yes; then
17319 if test "$GXX" = yes; then
17326 ac_cpp='$CPP $CPPFLAGS'
17327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17339 ac_cpp='$CXXCPP $CPPFLAGS'
17340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17344 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17345 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17346 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17347 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 cat >conftest.$ac_ext <<_ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17360 #ifndef __INTEL_COMPILER
17368 rm -f conftest.$ac_objext
17369 if { (ac_try="$ac_compile"
17370 case "(($ac_try" in
17371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17372 *) ac_try_echo=$ac_try;;
17374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17375 (eval "$ac_compile") 2>conftest.er1
17377 grep -v '^ *+' conftest.er1 >conftest.err
17379 cat conftest.err >&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } && {
17382 test -z "$ac_cxx_werror_flag" ||
17383 test ! -s conftest.err
17384 } && test -s conftest.$ac_objext; then
17385 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17390 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17398 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17399 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17400 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17406 ac_cpp='$CPP $CPPFLAGS'
17407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17414 if test "$INTELCXX" = "yes"; then
17418 ac_cpp='$CXXCPP $CPPFLAGS'
17419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17423 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17424 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17425 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 cat >conftest.$ac_ext <<_ACEOF
17431 cat confdefs.h >>conftest.$ac_ext
17432 cat >>conftest.$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17439 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17447 rm -f conftest.$ac_objext
17448 if { (ac_try="$ac_compile"
17449 case "(($ac_try" in
17450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17451 *) ac_try_echo=$ac_try;;
17453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17454 (eval "$ac_compile") 2>conftest.er1
17456 grep -v '^ *+' conftest.er1 >conftest.err
17458 cat conftest.err >&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } && {
17461 test -z "$ac_cxx_werror_flag" ||
17462 test ! -s conftest.err
17463 } && test -s conftest.$ac_objext; then
17464 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17469 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17477 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17478 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17479 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17485 ac_cpp='$CPP $CPPFLAGS'
17486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17495 ac_cpp='$CXXCPP $CPPFLAGS'
17496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17500 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17501 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17502 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 cat >conftest.$ac_ext <<_ACEOF
17508 cat confdefs.h >>conftest.$ac_ext
17509 cat >>conftest.$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17516 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17524 rm -f conftest.$ac_objext
17525 if { (ac_try="$ac_compile"
17526 case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_compile") 2>conftest.er1
17533 grep -v '^ *+' conftest.er1 >conftest.err
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } && {
17538 test -z "$ac_cxx_werror_flag" ||
17539 test ! -s conftest.err
17540 } && test -s conftest.$ac_objext; then
17541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.$ac_ext >&5
17546 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17556 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17562 ac_cpp='$CPP $CPPFLAGS'
17563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17571 if test "x$GCXX" != "xyes"; then
17572 if test "xCXX" = "xC"; then
17573 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17574 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17575 if test "${bakefile_cv_c_exto+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17578 cat >conftest.$ac_ext <<_ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17593 rm -f conftest.$ac_objext conftest.$ac_ext.o
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; then
17599 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17601 conftest.$ac_ext.o)
17602 bakefile_cv_c_exto="-ext o"
17609 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17610 See \`config.log' for more details." >&5
17611 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17612 See \`config.log' for more details." >&2;}
17613 { (exit 1); exit 1; }; }
17617 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17621 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17623 if test "c" = "c"; then
17624 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17626 if test "c" = "cxx"; then
17627 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17631 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17632 unset ac_cv_prog_cc_g
17633 ac_test_CFLAGS=${CFLAGS+set}
17634 ac_save_CFLAGS=$CFLAGS
17635 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17636 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17637 if test "${ac_cv_prog_cc_g+set}" = set; then
17638 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 ac_save_c_werror_flag=$ac_c_werror_flag
17641 ac_c_werror_flag=yes
17644 cat >conftest.$ac_ext <<_ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17659 rm -f conftest.$ac_objext
17660 if { (ac_try="$ac_compile"
17661 case "(($ac_try" in
17662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17663 *) ac_try_echo=$ac_try;;
17665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17666 (eval "$ac_compile") 2>conftest.er1
17668 grep -v '^ *+' conftest.er1 >conftest.err
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } && {
17673 test -z "$ac_c_werror_flag" ||
17674 test ! -s conftest.err
17675 } && test -s conftest.$ac_objext; then
17676 ac_cv_prog_cc_g=yes
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17682 cat >conftest.$ac_ext <<_ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17697 rm -f conftest.$ac_objext
17698 if { (ac_try="$ac_compile"
17699 case "(($ac_try" in
17700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17701 *) ac_try_echo=$ac_try;;
17703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17704 (eval "$ac_compile") 2>conftest.er1
17706 grep -v '^ *+' conftest.er1 >conftest.err
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } && {
17711 test -z "$ac_c_werror_flag" ||
17712 test ! -s conftest.err
17713 } && test -s conftest.$ac_objext; then
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17719 ac_c_werror_flag=$ac_save_c_werror_flag
17721 cat >conftest.$ac_ext <<_ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17745 grep -v '^ *+' conftest.er1 >conftest.err
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_prog_cc_g=yes
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 ac_c_werror_flag=$ac_save_c_werror_flag
17770 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17771 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17772 if test "$ac_test_CFLAGS" = set; then
17773 CFLAGS=$ac_save_CFLAGS
17774 elif test $ac_cv_prog_cc_g = yes; then
17775 if test "$GCC" = yes; then
17781 if test "$GCC" = yes; then
17795 ac_cpp='$CXXCPP $CPPFLAGS'
17796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17800 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17801 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17802 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17805 cat >conftest.$ac_ext <<_ACEOF
17808 cat confdefs.h >>conftest.$ac_ext
17809 cat >>conftest.$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17824 rm -f conftest.$ac_objext
17825 if { (ac_try="$ac_compile"
17826 case "(($ac_try" in
17827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17828 *) ac_try_echo=$ac_try;;
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_compile") 2>conftest.er1
17833 grep -v '^ *+' conftest.er1 >conftest.err
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } && {
17838 test -z "$ac_cxx_werror_flag" ||
17839 test ! -s conftest.err
17840 } && test -s conftest.$ac_objext; then
17841 bakefile_cv_cxx_compiler___xlC__=yes
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17846 bakefile_cv_cxx_compiler___xlC__=no
17850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17855 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17856 if test "x$bakefile_cv_cxx_compiler___xlC__" = "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
17875 ac_cpp='$CXXCPP $CPPFLAGS'
17876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17880 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17881 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17882 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 cat >conftest.$ac_ext <<_ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17913 grep -v '^ *+' conftest.er1 >conftest.err
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17921 bakefile_cv_cxx_compiler___MWERKS__=yes
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17926 bakefile_cv_cxx_compiler___MWERKS__=no
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17935 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17936 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17942 ac_cpp='$CPP $CPPFLAGS'
17943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17949 if test "$MWCXX" != "yes"; then
17953 ac_cpp='$CXXCPP $CPPFLAGS'
17954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17958 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17959 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17960 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17963 cat >conftest.$ac_ext <<_ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17982 rm -f conftest.$ac_objext
17983 if { (ac_try="$ac_compile"
17984 case "(($ac_try" in
17985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17986 *) ac_try_echo=$ac_try;;
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_compile") 2>conftest.er1
17991 grep -v '^ *+' conftest.er1 >conftest.err
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_cxx_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest.$ac_objext; then
17999 bakefile_cv_cxx_compiler___xlC__=yes
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18004 bakefile_cv_cxx_compiler___xlC__=no
18008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18013 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18014 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18020 ac_cpp='$CPP $CPPFLAGS'
18021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18034 ac_cpp='$CXXCPP $CPPFLAGS'
18035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18039 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18040 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18041 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 cat >conftest.$ac_ext <<_ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18055 #ifndef _SGI_COMPILER_VERSION
18063 rm -f conftest.$ac_objext
18064 if { (ac_try="$ac_compile"
18065 case "(($ac_try" in
18066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_compile") 2>conftest.er1
18072 grep -v '^ *+' conftest.er1 >conftest.err
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && {
18077 test -z "$ac_cxx_werror_flag" ||
18078 test ! -s conftest.err
18079 } && test -s conftest.$ac_objext; then
18080 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18085 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18093 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18094 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18095 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18101 ac_cpp='$CPP $CPPFLAGS'
18102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18111 if test "$INTELCXX" != "yes"; then
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18120 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18121 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18122 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 cat >conftest.$ac_ext <<_ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18136 #ifndef __SUNPRO_CC
18144 rm -f conftest.$ac_objext
18145 if { (ac_try="$ac_compile"
18146 case "(($ac_try" in
18147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18148 *) ac_try_echo=$ac_try;;
18150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18151 (eval "$ac_compile") 2>conftest.er1
18153 grep -v '^ *+' conftest.er1 >conftest.err
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } && {
18158 test -z "$ac_cxx_werror_flag" ||
18159 test ! -s conftest.err
18160 } && test -s conftest.$ac_objext; then
18161 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18166 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18175 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18176 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18196 ac_cpp='$CXXCPP $CPPFLAGS'
18197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18201 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18202 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 cat >conftest.$ac_ext <<_ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18234 grep -v '^ *+' conftest.er1 >conftest.err
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_cxx_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 bakefile_cv_cxx_compiler___HP_aCC=yes
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18247 bakefile_cv_cxx_compiler___HP_aCC=no
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18255 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18256 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18257 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18263 ac_cpp='$CPP $CPPFLAGS'
18264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18276 ac_cpp='$CXXCPP $CPPFLAGS'
18277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18281 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 cat >conftest.$ac_ext <<_ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18314 grep -v '^ *+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_cxx_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_cxx_compiler___DECCXX=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 bakefile_cv_cxx_compiler___DECCXX=no
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18336 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18337 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18356 ac_cpp='$CXXCPP $CPPFLAGS'
18357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18361 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18362 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18363 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 cat >conftest.$ac_ext <<_ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18377 #ifndef __SUNPRO_CC
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18394 grep -v '^ *+' conftest.er1 >conftest.err
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_cxx_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18407 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18416 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18417 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18423 ac_cpp='$CPP $CPPFLAGS'
18424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18437 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18438 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18439 { (exit 1); exit 1; }; }
18442 if test "x$SUNCXX" != xyes; then
18443 if test -n "$ac_tool_prefix"; then
18444 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18445 set dummy ${ac_tool_prefix}ar; ac_word=$2
18446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18448 if test "${ac_cv_prog_AR+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 if test -n "$AR"; then
18452 ac_cv_prog_AR="$AR" # Let the user override the test.
18454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18455 for as_dir in $PATH
18458 test -z "$as_dir" && as_dir=.
18459 for ac_exec_ext in '' $ac_executable_extensions; do
18460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18461 ac_cv_prog_AR="${ac_tool_prefix}ar"
18462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18472 if test -n "$AR"; then
18473 { echo "$as_me:$LINENO: result: $AR" >&5
18474 echo "${ECHO_T}$AR" >&6; }
18476 { echo "$as_me:$LINENO: result: no" >&5
18477 echo "${ECHO_T}no" >&6; }
18482 if test -z "$ac_cv_prog_AR"; then
18484 # Extract the first word of "ar", so it can be a program name with args.
18485 set dummy ar; ac_word=$2
18486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18488 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 if test -n "$ac_ct_AR"; then
18492 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18495 for as_dir in $PATH
18498 test -z "$as_dir" && as_dir=.
18499 for ac_exec_ext in '' $ac_executable_extensions; do
18500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18501 ac_cv_prog_ac_ct_AR="ar"
18502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18511 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18512 if test -n "$ac_ct_AR"; then
18513 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18514 echo "${ECHO_T}$ac_ct_AR" >&6; }
18516 { echo "$as_me:$LINENO: result: no" >&5
18517 echo "${ECHO_T}no" >&6; }
18520 if test "x$ac_ct_AR" = x; then
18523 case $cross_compiling:$ac_tool_warned in
18525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18526 whose name does not start with the host triplet. If you think this
18527 configuration is useful to you, please write to autoconf@gnu.org." >&5
18528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18529 whose name does not start with the host triplet. If you think this
18530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18531 ac_tool_warned=yes ;;
18536 AR="$ac_cv_prog_AR"
18539 if test "x$AR" = "x" ; then
18540 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18541 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18542 { (exit 1); exit 1; }; }
18547 if test "$wxUSE_MAC" = 1; then
18549 retest_macosx_linking=no
18551 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18552 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18553 # Implicitly turn on the new --with-macosx-sdk using the default
18554 # SDK which provides the behavior this option has always had.
18555 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18556 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18557 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18558 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18559 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18560 wxUSE_MACOSX_SDK=yes
18563 # Complain to user if he specified an argument to --enable-universal_binary
18564 # and also 1) specified --with-macosx-sdk using the default (yes) or
18565 # 2) specified --with-macosx-sdk using a path or 3) specified
18566 # --without-macosx-sdk (no).
18567 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18568 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18569 See \`config.log' for more details." >&5
18570 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18571 See \`config.log' for more details." >&2;}
18572 { (exit 1); exit 1; }; }
18574 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18575 # special-case the empty string because the below test simply
18576 # converts "no" to the empty string anyway.
18577 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18578 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18579 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18582 OSX_UNIV_OPTS="-arch ppc -arch i386"
18583 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18584 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18585 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18586 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18587 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18588 retest_macosx_linking=yes
18590 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18591 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18595 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18597 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18598 # TODO: Search for most recent SDK and use it.
18599 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18603 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18604 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18605 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18606 if ! test -d "$wxUSE_MACOSX_SDK"; then
18607 { { echo "$as_me:$LINENO: error: not found
18608 See \`config.log' for more details." >&5
18609 echo "$as_me: error: not found
18610 See \`config.log' for more details." >&2;}
18611 { (exit 1); exit 1; }; }
18613 { echo "$as_me:$LINENO: result: exists" >&5
18614 echo "${ECHO_T}exists" >&6; }
18616 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18617 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18618 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18619 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18620 retest_macosx_linking=yes
18623 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18624 wxUSE_MACOSX_VERSION_MIN=
18625 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18626 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18627 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18628 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18630 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/'`
18632 # If that failed, try again with the new key
18633 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18635 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/'`
18639 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18640 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18641 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18642 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18644 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18645 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18646 wxUSE_MACOSX_VERSION_MIN=
18649 wxUSE_MACOSX_VERSION_MIN=
18651 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18652 for ac_prog in sw_vers
18654 # Extract the first word of "$ac_prog", so it can be a program name with args.
18655 set dummy $ac_prog; ac_word=$2
18656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18658 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 if test -n "$OSX_SW_VERS"; then
18662 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18665 for as_dir in $PATH
18668 test -z "$as_dir" && as_dir=.
18669 for ac_exec_ext in '' $ac_executable_extensions; do
18670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18671 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18681 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18682 if test -n "$OSX_SW_VERS"; then
18683 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18684 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18686 { echo "$as_me:$LINENO: result: no" >&5
18687 echo "${ECHO_T}no" >&6; }
18691 test -n "$OSX_SW_VERS" && break
18694 if test "$OSX_SW_VERS" != ""; then
18695 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18697 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18698 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18702 case "$OSX_VERSION" in
18704 wxUSE_MACOSX_VERSION_MIN=10.4
18708 if test "$wxUSE_OSX_CARBON" = 1; then
18709 # otherwise configure stops on leopard for universal_binary
18710 wxUSE_MACOSX_VERSION_MIN=10.4
18712 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18713 wxUSE_MACOSX_VERSION_MIN=10.5
18720 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18724 if test "$wxUSE_OSX_CARBON" = 1; then
18728 if test "x$NEEDS_GCC40" == "xyes"; then
18729 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18730 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18731 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18732 if test "x$CC" = "xgcc"; then
18733 CCVERSION=`$CC --version | grep 4.[2-9].`
18734 if test "x$CCVERSION" != "x"; then
18735 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18736 CC="/usr/bin/gcc-4.0"
18740 if test "x$CXX" = "xg++"; then
18741 CCVERSION=`$CXX --version | grep 4.[2-9].`
18742 if test "x$CCVERSION" != "x"; then
18743 CXX="/usr/bin/g++-4.0"
18748 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18749 if test "$wxUSE_OSX_IPHONE" = 1; then
18750 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18752 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18754 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18755 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18756 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18757 retest_macosx_linking=yes
18760 if test "x$retest_macosx_linking" = "xyes"; then
18762 ac_cpp='$CPP $CPPFLAGS'
18763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18767 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18768 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18769 cat >conftest.$ac_ext <<_ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18784 rm -f conftest.$ac_objext conftest$ac_exeext
18785 if { (ac_try="$ac_link"
18786 case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_link") 2>conftest.er1
18793 grep -v '^ *+' conftest.er1 >conftest.err
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } && {
18798 test -z "$ac_c_werror_flag" ||
18799 test ! -s conftest.err
18800 } && test -s conftest$ac_exeext &&
18801 $as_test_x conftest$ac_exeext; then
18802 { echo "$as_me:$LINENO: result: yes" >&5
18803 echo "${ECHO_T}yes" >&6; }
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18808 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18809 See \`config.log' for more details." >&5
18810 echo "$as_me: error: no. Try a different SDK
18811 See \`config.log' for more details." >&2;}
18812 { (exit 1); exit 1; }; }; exit 1
18815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18816 conftest$ac_exeext conftest.$ac_ext
18818 ac_cpp='$CPP $CPPFLAGS'
18819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18825 ac_cpp='$CXXCPP $CPPFLAGS'
18826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18830 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18831 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18832 cat >conftest.$ac_ext <<_ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18847 rm -f conftest.$ac_objext conftest$ac_exeext
18848 if { (ac_try="$ac_link"
18849 case "(($ac_try" in
18850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18851 *) ac_try_echo=$ac_try;;
18853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18854 (eval "$ac_link") 2>conftest.er1
18856 grep -v '^ *+' conftest.er1 >conftest.err
18858 cat conftest.err >&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } && {
18861 test -z "$ac_cxx_werror_flag" ||
18862 test ! -s conftest.err
18863 } && test -s conftest$ac_exeext &&
18864 $as_test_x conftest$ac_exeext; then
18865 { echo "$as_me:$LINENO: result: yes" >&5
18866 echo "${ECHO_T}yes" >&6; }
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18871 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18872 See \`config.log' for more details." >&5
18873 echo "$as_me: error: no. Try a different SDK
18874 See \`config.log' for more details." >&2;}
18875 { (exit 1); exit 1; }; }; exit 1
18878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18879 conftest$ac_exeext conftest.$ac_ext
18881 ac_cpp='$CPP $CPPFLAGS'
18882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18892 INSTALL_PROGRAM="cp -fp"
18893 INSTALL_DATA="cp -fp"
18900 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18901 CXXFLAGS="-qunique $CXXFLAGS"
18905 powerpc-*-darwin* )
18906 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18907 echo $ECHO_N "checking if __POWERPC__ is already defined... $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. */
18918 #ifndef __POWERPC__
18919 choke me for lack of PowerPC
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 { echo "$as_me:$LINENO: result: yes" >&5
18944 echo "${ECHO_T}yes" >&6; }
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.$ac_ext >&5
18949 { echo "$as_me:$LINENO: result: no" >&5
18950 echo "${ECHO_T}no" >&6; }
18951 cat >>confdefs.h <<\_ACEOF
18952 #define __POWERPC__ 1
18958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18965 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18966 cat >conftest.$ac_ext <<_ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 #include <CoreFoundation/CFBase.h>
18982 rm -f conftest.$ac_objext
18983 if { (ac_try="$ac_compile"
18984 case "(($ac_try" in
18985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_compile") 2>conftest.er1
18991 grep -v '^ *+' conftest.er1 >conftest.err
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } && {
18996 test -z "$ac_c_werror_flag" ||
18997 test ! -s conftest.err
18998 } && test -s conftest.$ac_objext; then
18999 { echo "$as_me:$LINENO: result: yes" >&5
19000 echo "${ECHO_T}yes" >&6; }
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 { echo "$as_me:$LINENO: result: no" >&5
19006 echo "${ECHO_T}no" >&6; }
19007 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19008 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19009 cat >conftest.$ac_ext <<_ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 #define __CF_USE_FRAMEWORK_INCLUDES__
19016 #include <CoreFoundation/CFBase.h>
19026 rm -f conftest.$ac_objext
19027 if { (ac_try="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_compile") 2>conftest.er1
19035 grep -v '^ *+' conftest.er1 >conftest.err
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && {
19040 test -z "$ac_c_werror_flag" ||
19041 test ! -s conftest.err
19042 } && test -s conftest.$ac_objext; then
19043 { echo "$as_me:$LINENO: result: yes" >&5
19044 echo "${ECHO_T}yes" >&6; }
19045 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.$ac_ext >&5
19050 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19051 See \`config.log' for more details." >&5
19052 echo "$as_me: error: no. CoreFoundation not available.
19053 See \`config.log' for more details." >&2;}
19054 { (exit 1); exit 1; }; }
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19068 doesnt_want_win32=0
19071 if test "$wxUSE_MSW" = 1 ; then
19074 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19075 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19076 if test "${wx_cv_nocygwin+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 cat >conftest.$ac_ext <<_ACEOF
19083 cat confdefs.h >>conftest.$ac_ext
19084 cat >>conftest.$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19108 grep -v '^ *+' conftest.er1 >conftest.err
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest.$ac_objext; then
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19130 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19132 if test "$wx_cv_nocygwin" = "yes"; then
19135 doesnt_want_win32=1
19138 if test "$wants_win32" = 1 ; then
19139 BAKEFILE_FORCE_PLATFORM=win32
19147 if test "$wxUSE_WINE" = "yes"; then
19149 LDFLAGS_GUI="-mwindows"
19152 if test "$wants_win32" = 1 ; then
19155 cat >>confdefs.h <<\_ACEOF
19156 #define __WIN32__ 1
19159 cat >>confdefs.h <<\_ACEOF
19160 #define __WIN95__ 1
19163 cat >>confdefs.h <<\_ACEOF
19164 #define __WINDOWS__ 1
19167 cat >>confdefs.h <<\_ACEOF
19168 #define __GNUWIN32__ 1
19171 cat >>confdefs.h <<\_ACEOF
19176 if test "$doesnt_want_win32" = 1 ; then
19181 if test "$USE_UNIX" = 1 ; then
19183 cat >>confdefs.h <<\_ACEOF
19190 *-pc-os2_emx | *-pc-os2-emx )
19191 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19192 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19193 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19194 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 ac_check_lib_save_LIBS=$LIBS
19198 LIBS="-lcExt $LIBS"
19199 cat >conftest.$ac_ext <<_ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19221 rm -f conftest.$ac_objext conftest$ac_exeext
19222 if { (ac_try="$ac_link"
19223 case "(($ac_try" in
19224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19225 *) ac_try_echo=$ac_try;;
19227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19228 (eval "$ac_link") 2>conftest.er1
19230 grep -v '^ *+' conftest.er1 >conftest.err
19232 cat conftest.err >&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } && {
19235 test -z "$ac_c_werror_flag" ||
19236 test ! -s conftest.err
19237 } && test -s conftest$ac_exeext &&
19238 $as_test_x conftest$ac_exeext; then
19239 ac_cv_lib_cExt_drand48=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19244 ac_cv_lib_cExt_drand48=no
19247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19248 conftest$ac_exeext conftest.$ac_ext
19249 LIBS=$ac_check_lib_save_LIBS
19251 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19252 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19253 if test $ac_cv_lib_cExt_drand48 = yes; then
19254 LIBS="$LIBS -lcExt"
19258 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19260 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19261 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19262 if test "${wx_cv_gccversion+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 if test "$cross_compiling" = yes; then
19267 wx_cv_gccversion="EMX2"
19270 cat >conftest.$ac_ext <<_ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19281 FILE *f=fopen("conftestval", "w");
19286 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19288 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19298 rm -f conftest$ac_exeext
19299 if { (ac_try="$ac_link"
19300 case "(($ac_try" in
19301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19302 *) ac_try_echo=$ac_try;;
19304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19305 (eval "$ac_link") 2>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19309 { (case "(($ac_try" in
19310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19311 *) ac_try_echo=$ac_try;;
19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19314 (eval "$ac_try") 2>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 wx_cv_gccversion=`cat conftestval`
19320 echo "$as_me: program exited with status $ac_status" >&5
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19324 ( exit $ac_status )
19325 wx_cv_gccversion="EMX2"
19327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19333 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19334 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19335 if test "$wx_cv_gccversion" = "EMX2"; then
19336 LIBS="$LIBS -lstdcpp"
19337 LDFLAGS="$LDFLAGS -Zsysv-signals"
19339 if test "$wx_cv_gccversion" = "EMX3"; then
19340 LIBS="$LIBS -lstdcxx -lgcc"
19341 LDFLAGS="$LDFLAGS -Zsysv-signals"
19343 LIBS="$LIBS -lstdc++"
19346 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19347 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19348 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19355 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19356 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19357 if test "${ac_cv_string_strcasecmp+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19361 cat >conftest.$ac_ext <<_ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19368 #include <string.h>
19374 strcasecmp("foo", "bar");
19380 rm -f conftest.$ac_objext conftest$ac_exeext
19381 if { (ac_try="$ac_link"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_link") 2>conftest.er1
19389 grep -v '^ *+' conftest.er1 >conftest.err
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest$ac_exeext &&
19397 $as_test_x conftest$ac_exeext; then
19398 ac_cv_string_strcasecmp=yes
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 ac_cv_string_strcasecmp=no
19407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19408 conftest$ac_exeext conftest.$ac_ext
19411 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19412 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19414 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19415 cat >>confdefs.h <<\_ACEOF
19416 #define HAVE_STRCASECMP_IN_STRING_H 1
19420 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19421 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19422 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 cat >conftest.$ac_ext <<_ACEOF
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19433 #include <strings.h>
19439 strcasecmp("foo", "bar");
19445 rm -f conftest.$ac_objext conftest$ac_exeext
19446 if { (ac_try="$ac_link"
19447 case "(($ac_try" in
19448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19449 *) ac_try_echo=$ac_try;;
19451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19452 (eval "$ac_link") 2>conftest.er1
19454 grep -v '^ *+' conftest.er1 >conftest.err
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } && {
19459 test -z "$ac_c_werror_flag" ||
19460 test ! -s conftest.err
19461 } && test -s conftest$ac_exeext &&
19462 $as_test_x conftest$ac_exeext; then
19463 ac_cv_strings_strcasecmp=yes
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19468 ac_cv_strings_strcasecmp=no
19472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19473 conftest$ac_exeext conftest.$ac_ext
19476 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19477 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19479 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19480 cat >>confdefs.h <<\_ACEOF
19481 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19485 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19486 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19487 { (exit 1); exit 1; }; }
19495 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19496 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19497 if test "${ac_cv_header_stdc+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 cat >conftest.$ac_ext <<_ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 #include <stdlib.h>
19507 #include <stdarg.h>
19508 #include <string.h>
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19528 grep -v '^ *+' conftest.er1 >conftest.err
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 ac_cv_header_stdc=yes
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19541 ac_cv_header_stdc=no
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19546 if test $ac_cv_header_stdc = yes; then
19547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19548 cat >conftest.$ac_ext <<_ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #include <string.h>
19557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19558 $EGREP "memchr" >/dev/null 2>&1; then
19561 ac_cv_header_stdc=no
19567 if test $ac_cv_header_stdc = yes; then
19568 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19569 cat >conftest.$ac_ext <<_ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 #include <stdlib.h>
19578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19579 $EGREP "free" >/dev/null 2>&1; then
19582 ac_cv_header_stdc=no
19588 if test $ac_cv_header_stdc = yes; then
19589 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19590 if test "$cross_compiling" = yes; then
19593 cat >conftest.$ac_ext <<_ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19600 #include <stdlib.h>
19601 #if ((' ' & 0x0FF) == 0x020)
19602 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19603 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19605 # define ISLOWER(c) \
19606 (('a' <= (c) && (c) <= 'i') \
19607 || ('j' <= (c) && (c) <= 'r') \
19608 || ('s' <= (c) && (c) <= 'z'))
19609 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19612 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19617 for (i = 0; i < 256; i++)
19618 if (XOR (islower (i), ISLOWER (i))
19619 || toupper (i) != TOUPPER (i))
19624 rm -f conftest$ac_exeext
19625 if { (ac_try="$ac_link"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_link") 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19635 { (case "(($ac_try" in
19636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19637 *) ac_try_echo=$ac_try;;
19639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19640 (eval "$ac_try") 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19646 echo "$as_me: program exited with status $ac_status" >&5
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19650 ( exit $ac_status )
19651 ac_cv_header_stdc=no
19653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19659 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19660 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19661 if test $ac_cv_header_stdc = yes; then
19663 cat >>confdefs.h <<\_ACEOF
19664 #define STDC_HEADERS 1
19669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19679 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19680 inttypes.h stdint.h unistd.h
19682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19688 cat >conftest.$ac_ext <<_ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 $ac_includes_default
19696 #include <$ac_header>
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19705 (eval "$ac_compile") 2>conftest.er1
19707 grep -v '^ *+' conftest.er1 >conftest.err
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } && {
19712 test -z "$ac_c_werror_flag" ||
19713 test ! -s conftest.err
19714 } && test -s conftest.$ac_objext; then
19715 eval "$as_ac_Header=yes"
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19720 eval "$as_ac_Header=no"
19723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19725 ac_res=`eval echo '${'$as_ac_Header'}'`
19726 { echo "$as_me:$LINENO: result: $ac_res" >&5
19727 echo "${ECHO_T}$ac_res" >&6; }
19728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19729 cat >>confdefs.h <<_ACEOF
19730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19740 for ac_header in langinfo.h wchar.h
19742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 cat >conftest.$ac_ext <<_ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19756 #include <$ac_header>
19758 rm -f conftest.$ac_objext
19759 if { (ac_try="$ac_compile"
19760 case "(($ac_try" in
19761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_compile") 2>conftest.er1
19767 grep -v '^ *+' conftest.er1 >conftest.err
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } && {
19772 test -z "$ac_c_werror_flag" ||
19773 test ! -s conftest.err
19774 } && test -s conftest.$ac_objext; then
19775 eval "$as_ac_Header=yes"
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19780 eval "$as_ac_Header=no"
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 ac_res=`eval echo '${'$as_ac_Header'}'`
19786 { echo "$as_me:$LINENO: result: $ac_res" >&5
19787 echo "${ECHO_T}$ac_res" >&6; }
19788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19789 cat >>confdefs.h <<_ACEOF
19790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19798 if test "$ac_cv_header_wchar_h" != "yes"; then
19800 for ac_header in wcstr.h
19802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 cat >conftest.$ac_ext <<_ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19816 #include <$ac_header>
19818 rm -f conftest.$ac_objext
19819 if { (ac_try="$ac_compile"
19820 case "(($ac_try" in
19821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19822 *) ac_try_echo=$ac_try;;
19824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19825 (eval "$ac_compile") 2>conftest.er1
19827 grep -v '^ *+' conftest.er1 >conftest.err
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } && {
19832 test -z "$ac_c_werror_flag" ||
19833 test ! -s conftest.err
19834 } && test -s conftest.$ac_objext; then
19835 eval "$as_ac_Header=yes"
19837 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.$ac_ext >&5
19840 eval "$as_ac_Header=no"
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19845 ac_res=`eval echo '${'$as_ac_Header'}'`
19846 { echo "$as_me:$LINENO: result: $ac_res" >&5
19847 echo "${ECHO_T}$ac_res" >&6; }
19848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19849 cat >>confdefs.h <<_ACEOF
19850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19860 *-pc-os2_emx | *-pc-os2-emx )
19861 if test $ac_cv_header_langinfo_h = "yes" \
19862 -a \( "$wx_cv_gccversion" = "EMX2" \
19863 -o "$wx_cv_gccversion" = "EMX3" \
19864 -o "$wx_cv_gccversion" = "Innotek5" \); then
19865 LIBS="$LIBS -lintl"
19870 if test "$USE_UNIX" = 1 ; then
19872 for ac_header in sys/select.h
19874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 cat >conftest.$ac_ext <<_ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886 $ac_includes_default
19888 #include <$ac_header>
19890 rm -f conftest.$ac_objext
19891 if { (ac_try="$ac_compile"
19892 case "(($ac_try" in
19893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_compile") 2>conftest.er1
19899 grep -v '^ *+' conftest.er1 >conftest.err
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest.$ac_objext; then
19907 eval "$as_ac_Header=yes"
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19912 eval "$as_ac_Header=no"
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 ac_res=`eval echo '${'$as_ac_Header'}'`
19918 { echo "$as_me:$LINENO: result: $ac_res" >&5
19919 echo "${ECHO_T}$ac_res" >&6; }
19920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19921 cat >>confdefs.h <<_ACEOF
19922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19932 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19933 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19934 if test "${ac_cv_c_const+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 cat >conftest.$ac_ext <<_ACEOF
19940 cat confdefs.h >>conftest.$ac_ext
19941 cat >>conftest.$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19947 /* FIXME: Include the comments suggested by Paul. */
19948 #ifndef __cplusplus
19949 /* Ultrix mips cc rejects this. */
19950 typedef int charset[2];
19952 /* SunOS 4.1.1 cc rejects this. */
19953 char const *const *pcpcc;
19955 /* NEC SVR4.0.2 mips cc rejects this. */
19956 struct point {int x, y;};
19957 static struct point const zero = {0,0};
19958 /* AIX XL C 1.02.0.0 rejects this.
19959 It does not let you subtract one const X* pointer from another in
19960 an arm of an if-expression whose if-part is not a constant
19962 const char *g = "string";
19963 pcpcc = &g + (g ? g-g : 0);
19964 /* HPUX 7.0 cc rejects these. */
19966 ppc = (char**) pcpcc;
19967 pcpcc = (char const *const *) ppc;
19968 { /* SCO 3.2v4 cc rejects this. */
19970 char const *s = 0 ? (char *) 0 : (char const *) 0;
19975 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19976 int x[] = {25, 17};
19977 const int *foo = &x[0];
19980 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19981 typedef const int *iptr;
19985 { /* AIX XL C 1.02.0.0 rejects this saying
19986 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19987 struct s { int j; const int *ap[3]; };
19988 struct s *b; b->j = 5;
19990 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19991 const int foo = 10;
19992 if (!foo) return 0;
19994 return !cs[0] && !zero.x;
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20010 grep -v '^ *+' conftest.er1 >conftest.err
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20028 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20029 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20030 if test $ac_cv_c_const = no; then
20032 cat >>confdefs.h <<\_ACEOF
20038 { echo "$as_me:$LINENO: checking for inline" >&5
20039 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20040 if test "${ac_cv_c_inline+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 for ac_kw in inline __inline__ __inline; do
20045 cat >conftest.$ac_ext <<_ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 #ifndef __cplusplus
20053 static $ac_kw foo_t static_foo () {return 0; }
20054 $ac_kw foo_t foo () {return 0; }
20058 rm -f conftest.$ac_objext
20059 if { (ac_try="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20067 grep -v '^ *+' conftest.er1 >conftest.err
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.$ac_objext; then
20075 ac_cv_c_inline=$ac_kw
20077 echo "$as_me: failed program was:" >&5
20078 sed 's/^/| /' conftest.$ac_ext >&5
20083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20084 test "$ac_cv_c_inline" != no && break
20088 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20089 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20092 case $ac_cv_c_inline in
20095 case $ac_cv_c_inline in
20097 *) ac_val=$ac_cv_c_inline;;
20099 cat >>confdefs.h <<_ACEOF
20100 #ifndef __cplusplus
20101 #define inline $ac_val
20108 { echo "$as_me:$LINENO: checking for short" >&5
20109 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20110 if test "${ac_cv_type_short+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 cat >conftest.$ac_ext <<_ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20120 typedef short ac__type_new_;
20124 if ((ac__type_new_ *) 0)
20126 if (sizeof (ac__type_new_))
20132 rm -f conftest.$ac_objext
20133 if { (ac_try="$ac_compile"
20134 case "(($ac_try" in
20135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20136 *) ac_try_echo=$ac_try;;
20138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20139 (eval "$ac_compile") 2>conftest.er1
20141 grep -v '^ *+' conftest.er1 >conftest.err
20143 cat conftest.err >&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } && {
20146 test -z "$ac_c_werror_flag" ||
20147 test ! -s conftest.err
20148 } && test -s conftest.$ac_objext; then
20149 ac_cv_type_short=yes
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20154 ac_cv_type_short=no
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20160 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20162 # The cast to long int works around a bug in the HP C Compiler
20163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20165 # This bug is HP SR number 8606223364.
20166 { echo "$as_me:$LINENO: checking size of short" >&5
20167 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20168 if test "${ac_cv_sizeof_short+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 if test "$cross_compiling" = yes; then
20172 # Depending upon the size, compute the lo and hi bounds.
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef short ac__type_sizeof_;
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20200 grep -v '^ *+' conftest.er1 >conftest.err
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20210 cat >conftest.$ac_ext <<_ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20217 typedef short ac__type_sizeof_;
20221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20228 rm -f conftest.$ac_objext
20229 if { (ac_try="$ac_compile"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_compile") 2>conftest.er1
20237 grep -v '^ *+' conftest.er1 >conftest.err
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } && {
20242 test -z "$ac_c_werror_flag" ||
20243 test ! -s conftest.err
20244 } && test -s conftest.$ac_objext; then
20245 ac_hi=$ac_mid; break
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20250 ac_lo=`expr $ac_mid + 1`
20251 if test $ac_lo -le $ac_mid; then
20255 ac_mid=`expr 2 '*' $ac_mid + 1`
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20264 cat >conftest.$ac_ext <<_ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef short ac__type_sizeof_;
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20291 grep -v '^ *+' conftest.er1 >conftest.err
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20301 cat >conftest.$ac_ext <<_ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 typedef short ac__type_sizeof_;
20312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20328 grep -v '^ *+' conftest.er1 >conftest.err
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.$ac_objext; then
20336 ac_lo=$ac_mid; break
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.$ac_ext >&5
20341 ac_hi=`expr '(' $ac_mid ')' - 1`
20342 if test $ac_mid -le $ac_hi; then
20346 ac_mid=`expr 2 '*' $ac_mid`
20349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362 # Binary search between lo and hi bounds.
20363 while test "x$ac_lo" != "x$ac_hi"; do
20364 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20365 cat >conftest.$ac_ext <<_ACEOF
20368 cat confdefs.h >>conftest.$ac_ext
20369 cat >>conftest.$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20371 $ac_includes_default
20372 typedef short ac__type_sizeof_;
20376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20383 rm -f conftest.$ac_objext
20384 if { (ac_try="$ac_compile"
20385 case "(($ac_try" in
20386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20387 *) ac_try_echo=$ac_try;;
20389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20390 (eval "$ac_compile") 2>conftest.er1
20392 grep -v '^ *+' conftest.er1 >conftest.err
20394 cat conftest.err >&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } && {
20397 test -z "$ac_c_werror_flag" ||
20398 test ! -s conftest.err
20399 } && test -s conftest.$ac_objext; then
20402 echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.$ac_ext >&5
20405 ac_lo=`expr '(' $ac_mid ')' + 1`
20408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20411 ?*) ac_cv_sizeof_short=$ac_lo;;
20412 '') if test "$ac_cv_type_short" = yes; then
20413 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20414 See \`config.log' for more details." >&5
20415 echo "$as_me: error: cannot compute sizeof (short)
20416 See \`config.log' for more details." >&2;}
20417 { (exit 77); exit 77; }; }
20419 ac_cv_sizeof_short=0
20423 cat >conftest.$ac_ext <<_ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 $ac_includes_default
20430 typedef short ac__type_sizeof_;
20431 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20432 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20434 #include <stdlib.h>
20439 FILE *f = fopen ("conftest.val", "w");
20442 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20444 long int i = longval ();
20445 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20447 fprintf (f, "%ld\n", i);
20451 unsigned long int i = ulongval ();
20452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20454 fprintf (f, "%lu\n", i);
20456 return ferror (f) || fclose (f) != 0;
20462 rm -f conftest$ac_exeext
20463 if { (ac_try="$ac_link"
20464 case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_link") 2>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20473 { (case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_try") 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; }; then
20482 ac_cv_sizeof_short=`cat conftest.val`
20484 echo "$as_me: program exited with status $ac_status" >&5
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.$ac_ext >&5
20488 ( exit $ac_status )
20489 if test "$ac_cv_type_short" = yes; then
20490 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20491 See \`config.log' for more details." >&5
20492 echo "$as_me: error: cannot compute sizeof (short)
20493 See \`config.log' for more details." >&2;}
20494 { (exit 77); exit 77; }; }
20496 ac_cv_sizeof_short=0
20499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20503 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20504 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20508 cat >>confdefs.h <<_ACEOF
20509 #define SIZEOF_SHORT $ac_cv_sizeof_short
20513 { echo "$as_me:$LINENO: checking for void *" >&5
20514 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20515 if test "${ac_cv_type_void_p+set}" = set; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 cat >conftest.$ac_ext <<_ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20525 typedef void * ac__type_new_;
20529 if ((ac__type_new_ *) 0)
20531 if (sizeof (ac__type_new_))
20537 rm -f conftest.$ac_objext
20538 if { (ac_try="$ac_compile"
20539 case "(($ac_try" in
20540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_compile") 2>conftest.er1
20546 grep -v '^ *+' conftest.er1 >conftest.err
20548 cat conftest.err >&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_c_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest.$ac_objext; then
20554 ac_cv_type_void_p=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 ac_cv_type_void_p=no
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20564 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20565 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20567 # The cast to long int works around a bug in the HP C Compiler
20568 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20569 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20570 # This bug is HP SR number 8606223364.
20571 { echo "$as_me:$LINENO: checking size of void *" >&5
20572 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20573 if test "${ac_cv_sizeof_void_p+set}" = set; then
20574 echo $ECHO_N "(cached) $ECHO_C" >&6
20576 if test "$cross_compiling" = yes; then
20577 # Depending upon the size, compute the lo and hi bounds.
20578 cat >conftest.$ac_ext <<_ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef void * ac__type_sizeof_;
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20605 grep -v '^ *+' conftest.er1 >conftest.err
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.$ac_objext; then
20615 cat >conftest.$ac_ext <<_ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20622 typedef void * ac__type_sizeof_;
20626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20633 rm -f conftest.$ac_objext
20634 if { (ac_try="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20642 grep -v '^ *+' conftest.er1 >conftest.err
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.$ac_objext; then
20650 ac_hi=$ac_mid; break
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20655 ac_lo=`expr $ac_mid + 1`
20656 if test $ac_lo -le $ac_mid; then
20660 ac_mid=`expr 2 '*' $ac_mid + 1`
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20669 cat >conftest.$ac_ext <<_ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef void * ac__type_sizeof_;
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20696 grep -v '^ *+' conftest.er1 >conftest.err
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20706 cat >conftest.$ac_ext <<_ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef void * ac__type_sizeof_;
20717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20733 grep -v '^ *+' conftest.er1 >conftest.err
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 ac_lo=$ac_mid; break
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20746 ac_hi=`expr '(' $ac_mid ')' - 1`
20747 if test $ac_mid -le $ac_hi; then
20751 ac_mid=`expr 2 '*' $ac_mid`
20754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767 # Binary search between lo and hi bounds.
20768 while test "x$ac_lo" != "x$ac_hi"; do
20769 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20770 cat >conftest.$ac_ext <<_ACEOF
20773 cat confdefs.h >>conftest.$ac_ext
20774 cat >>conftest.$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776 $ac_includes_default
20777 typedef void * ac__type_sizeof_;
20781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20788 rm -f conftest.$ac_objext
20789 if { (ac_try="$ac_compile"
20790 case "(($ac_try" in
20791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20792 *) ac_try_echo=$ac_try;;
20794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20795 (eval "$ac_compile") 2>conftest.er1
20797 grep -v '^ *+' conftest.er1 >conftest.err
20799 cat conftest.err >&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } && {
20802 test -z "$ac_c_werror_flag" ||
20803 test ! -s conftest.err
20804 } && test -s conftest.$ac_objext; then
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20810 ac_lo=`expr '(' $ac_mid ')' + 1`
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20816 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20817 '') if test "$ac_cv_type_void_p" = yes; then
20818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20819 See \`config.log' for more details." >&5
20820 echo "$as_me: error: cannot compute sizeof (void *)
20821 See \`config.log' for more details." >&2;}
20822 { (exit 77); exit 77; }; }
20824 ac_cv_sizeof_void_p=0
20828 cat >conftest.$ac_ext <<_ACEOF
20831 cat confdefs.h >>conftest.$ac_ext
20832 cat >>conftest.$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20834 $ac_includes_default
20835 typedef void * ac__type_sizeof_;
20836 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20837 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20839 #include <stdlib.h>
20844 FILE *f = fopen ("conftest.val", "w");
20847 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20849 long int i = longval ();
20850 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20852 fprintf (f, "%ld\n", i);
20856 unsigned long int i = ulongval ();
20857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20859 fprintf (f, "%lu\n", i);
20861 return ferror (f) || fclose (f) != 0;
20867 rm -f conftest$ac_exeext
20868 if { (ac_try="$ac_link"
20869 case "(($ac_try" in
20870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_link") 2>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20878 { (case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_try") 2>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; }; then
20887 ac_cv_sizeof_void_p=`cat conftest.val`
20889 echo "$as_me: program exited with status $ac_status" >&5
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20893 ( exit $ac_status )
20894 if test "$ac_cv_type_void_p" = yes; then
20895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20896 See \`config.log' for more details." >&5
20897 echo "$as_me: error: cannot compute sizeof (void *)
20898 See \`config.log' for more details." >&2;}
20899 { (exit 77); exit 77; }; }
20901 ac_cv_sizeof_void_p=0
20904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20908 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20909 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20913 cat >>confdefs.h <<_ACEOF
20914 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20918 { echo "$as_me:$LINENO: checking for int" >&5
20919 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20920 if test "${ac_cv_type_int+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20923 cat >conftest.$ac_ext <<_ACEOF
20926 cat confdefs.h >>conftest.$ac_ext
20927 cat >>conftest.$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 $ac_includes_default
20930 typedef int ac__type_new_;
20934 if ((ac__type_new_ *) 0)
20936 if (sizeof (ac__type_new_))
20942 rm -f conftest.$ac_objext
20943 if { (ac_try="$ac_compile"
20944 case "(($ac_try" in
20945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20946 *) ac_try_echo=$ac_try;;
20948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20949 (eval "$ac_compile") 2>conftest.er1
20951 grep -v '^ *+' conftest.er1 >conftest.err
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } && {
20956 test -z "$ac_c_werror_flag" ||
20957 test ! -s conftest.err
20958 } && test -s conftest.$ac_objext; then
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20969 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20970 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20972 # The cast to long int works around a bug in the HP C Compiler
20973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20975 # This bug is HP SR number 8606223364.
20976 { echo "$as_me:$LINENO: checking size of int" >&5
20977 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20978 if test "${ac_cv_sizeof_int+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 if test "$cross_compiling" = yes; then
20982 # Depending upon the size, compute the lo and hi bounds.
20983 cat >conftest.$ac_ext <<_ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef int ac__type_sizeof_;
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21010 grep -v '^ *+' conftest.er1 >conftest.err
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.$ac_objext; then
21020 cat >conftest.$ac_ext <<_ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 typedef int ac__type_sizeof_;
21031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21038 rm -f conftest.$ac_objext
21039 if { (ac_try="$ac_compile"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21042 *) ac_try_echo=$ac_try;;
21044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_compile") 2>conftest.er1
21047 grep -v '^ *+' conftest.er1 >conftest.err
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } && {
21052 test -z "$ac_c_werror_flag" ||
21053 test ! -s conftest.err
21054 } && test -s conftest.$ac_objext; then
21055 ac_hi=$ac_mid; break
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21060 ac_lo=`expr $ac_mid + 1`
21061 if test $ac_lo -le $ac_mid; then
21065 ac_mid=`expr 2 '*' $ac_mid + 1`
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef int ac__type_sizeof_;
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21101 grep -v '^ *+' conftest.er1 >conftest.err
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.$ac_objext; then
21111 cat >conftest.$ac_ext <<_ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef int ac__type_sizeof_;
21122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21129 rm -f conftest.$ac_objext
21130 if { (ac_try="$ac_compile"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21133 *) ac_try_echo=$ac_try;;
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_compile") 2>conftest.er1
21138 grep -v '^ *+' conftest.er1 >conftest.err
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } && {
21143 test -z "$ac_c_werror_flag" ||
21144 test ! -s conftest.err
21145 } && test -s conftest.$ac_objext; then
21146 ac_lo=$ac_mid; break
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5
21151 ac_hi=`expr '(' $ac_mid ')' - 1`
21152 if test $ac_mid -le $ac_hi; then
21156 ac_mid=`expr 2 '*' $ac_mid`
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 # Binary search between lo and hi bounds.
21173 while test "x$ac_lo" != "x$ac_hi"; do
21174 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21175 cat >conftest.$ac_ext <<_ACEOF
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 $ac_includes_default
21182 typedef int ac__type_sizeof_;
21186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21193 rm -f conftest.$ac_objext
21194 if { (ac_try="$ac_compile"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_compile") 2>conftest.er1
21202 grep -v '^ *+' conftest.er1 >conftest.err
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } && {
21207 test -z "$ac_c_werror_flag" ||
21208 test ! -s conftest.err
21209 } && test -s conftest.$ac_objext; then
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21215 ac_lo=`expr '(' $ac_mid ')' + 1`
21218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21221 ?*) ac_cv_sizeof_int=$ac_lo;;
21222 '') if test "$ac_cv_type_int" = yes; then
21223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21224 See \`config.log' for more details." >&5
21225 echo "$as_me: error: cannot compute sizeof (int)
21226 See \`config.log' for more details." >&2;}
21227 { (exit 77); exit 77; }; }
21233 cat >conftest.$ac_ext <<_ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef int ac__type_sizeof_;
21241 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21242 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21244 #include <stdlib.h>
21249 FILE *f = fopen ("conftest.val", "w");
21252 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21254 long int i = longval ();
21255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21257 fprintf (f, "%ld\n", i);
21261 unsigned long int i = ulongval ();
21262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21264 fprintf (f, "%lu\n", i);
21266 return ferror (f) || fclose (f) != 0;
21272 rm -f conftest$ac_exeext
21273 if { (ac_try="$ac_link"
21274 case "(($ac_try" in
21275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21276 *) ac_try_echo=$ac_try;;
21278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21279 (eval "$ac_link") 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21283 { (case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_try") 2>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21292 ac_cv_sizeof_int=`cat conftest.val`
21294 echo "$as_me: program exited with status $ac_status" >&5
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21298 ( exit $ac_status )
21299 if test "$ac_cv_type_int" = yes; then
21300 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21301 See \`config.log' for more details." >&5
21302 echo "$as_me: error: cannot compute sizeof (int)
21303 See \`config.log' for more details." >&2;}
21304 { (exit 77); exit 77; }; }
21309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21313 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21314 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21318 cat >>confdefs.h <<_ACEOF
21319 #define SIZEOF_INT $ac_cv_sizeof_int
21323 { echo "$as_me:$LINENO: checking for long" >&5
21324 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21325 if test "${ac_cv_type_long+set}" = set; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 cat >conftest.$ac_ext <<_ACEOF
21331 cat confdefs.h >>conftest.$ac_ext
21332 cat >>conftest.$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 $ac_includes_default
21335 typedef long ac__type_new_;
21339 if ((ac__type_new_ *) 0)
21341 if (sizeof (ac__type_new_))
21347 rm -f conftest.$ac_objext
21348 if { (ac_try="$ac_compile"
21349 case "(($ac_try" in
21350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21351 *) ac_try_echo=$ac_try;;
21353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21354 (eval "$ac_compile") 2>conftest.er1
21356 grep -v '^ *+' conftest.er1 >conftest.err
21358 cat conftest.err >&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } && {
21361 test -z "$ac_c_werror_flag" ||
21362 test ! -s conftest.err
21363 } && test -s conftest.$ac_objext; then
21364 ac_cv_type_long=yes
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21374 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21375 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21377 # The cast to long int works around a bug in the HP C Compiler
21378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21379 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21380 # This bug is HP SR number 8606223364.
21381 { echo "$as_me:$LINENO: checking size of long" >&5
21382 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21383 if test "${ac_cv_sizeof_long+set}" = set; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 if test "$cross_compiling" = yes; then
21387 # Depending upon the size, compute the lo and hi bounds.
21388 cat >conftest.$ac_ext <<_ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21395 typedef long ac__type_sizeof_;
21399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21406 rm -f conftest.$ac_objext
21407 if { (ac_try="$ac_compile"
21408 case "(($ac_try" in
21409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21410 *) ac_try_echo=$ac_try;;
21412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21413 (eval "$ac_compile") 2>conftest.er1
21415 grep -v '^ *+' conftest.er1 >conftest.err
21417 cat conftest.err >&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } && {
21420 test -z "$ac_c_werror_flag" ||
21421 test ! -s conftest.err
21422 } && test -s conftest.$ac_objext; then
21425 cat >conftest.$ac_ext <<_ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 typedef long ac__type_sizeof_;
21436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21452 grep -v '^ *+' conftest.er1 >conftest.err
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 ac_hi=$ac_mid; break
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21465 ac_lo=`expr $ac_mid + 1`
21466 if test $ac_lo -le $ac_mid; then
21470 ac_mid=`expr 2 '*' $ac_mid + 1`
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21479 cat >conftest.$ac_ext <<_ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef long ac__type_sizeof_;
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21516 cat >conftest.$ac_ext <<_ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef long ac__type_sizeof_;
21527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21543 grep -v '^ *+' conftest.er1 >conftest.err
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 ac_lo=$ac_mid; break
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21556 ac_hi=`expr '(' $ac_mid ')' - 1`
21557 if test $ac_mid -le $ac_hi; then
21561 ac_mid=`expr 2 '*' $ac_mid`
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 # Binary search between lo and hi bounds.
21578 while test "x$ac_lo" != "x$ac_hi"; do
21579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21580 cat >conftest.$ac_ext <<_ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 $ac_includes_default
21587 typedef long ac__type_sizeof_;
21591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21598 rm -f conftest.$ac_objext
21599 if { (ac_try="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21607 grep -v '^ *+' conftest.er1 >conftest.err
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_c_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21620 ac_lo=`expr '(' $ac_mid ')' + 1`
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 ?*) ac_cv_sizeof_long=$ac_lo;;
21627 '') if test "$ac_cv_type_long" = yes; then
21628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21629 See \`config.log' for more details." >&5
21630 echo "$as_me: error: cannot compute sizeof (long)
21631 See \`config.log' for more details." >&2;}
21632 { (exit 77); exit 77; }; }
21634 ac_cv_sizeof_long=0
21638 cat >conftest.$ac_ext <<_ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644 $ac_includes_default
21645 typedef long ac__type_sizeof_;
21646 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21647 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21649 #include <stdlib.h>
21654 FILE *f = fopen ("conftest.val", "w");
21657 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21659 long int i = longval ();
21660 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21662 fprintf (f, "%ld\n", i);
21666 unsigned long int i = ulongval ();
21667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21669 fprintf (f, "%lu\n", i);
21671 return ferror (f) || fclose (f) != 0;
21677 rm -f conftest$ac_exeext
21678 if { (ac_try="$ac_link"
21679 case "(($ac_try" in
21680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21681 *) ac_try_echo=$ac_try;;
21683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21684 (eval "$ac_link") 2>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21688 { (case "(($ac_try" in
21689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21690 *) ac_try_echo=$ac_try;;
21692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21693 (eval "$ac_try") 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 ac_cv_sizeof_long=`cat conftest.val`
21699 echo "$as_me: program exited with status $ac_status" >&5
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21703 ( exit $ac_status )
21704 if test "$ac_cv_type_long" = yes; then
21705 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21706 See \`config.log' for more details." >&5
21707 echo "$as_me: error: cannot compute sizeof (long)
21708 See \`config.log' for more details." >&2;}
21709 { (exit 77); exit 77; }; }
21711 ac_cv_sizeof_long=0
21714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21718 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21719 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21723 cat >>confdefs.h <<_ACEOF
21724 #define SIZEOF_LONG $ac_cv_sizeof_long
21728 { echo "$as_me:$LINENO: checking for size_t" >&5
21729 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21730 if test "${ac_cv_type_size_t+set}" = set; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 cat >conftest.$ac_ext <<_ACEOF
21736 cat confdefs.h >>conftest.$ac_ext
21737 cat >>conftest.$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21739 $ac_includes_default
21740 typedef size_t ac__type_new_;
21744 if ((ac__type_new_ *) 0)
21746 if (sizeof (ac__type_new_))
21752 rm -f conftest.$ac_objext
21753 if { (ac_try="$ac_compile"
21754 case "(($ac_try" in
21755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21756 *) ac_try_echo=$ac_try;;
21758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21759 (eval "$ac_compile") 2>conftest.er1
21761 grep -v '^ *+' conftest.er1 >conftest.err
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } && {
21766 test -z "$ac_c_werror_flag" ||
21767 test ! -s conftest.err
21768 } && test -s conftest.$ac_objext; then
21769 ac_cv_type_size_t=yes
21771 echo "$as_me: failed program was:" >&5
21772 sed 's/^/| /' conftest.$ac_ext >&5
21774 ac_cv_type_size_t=no
21777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21779 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21780 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21782 # The cast to long int works around a bug in the HP C Compiler
21783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21785 # This bug is HP SR number 8606223364.
21786 { echo "$as_me:$LINENO: checking size of size_t" >&5
21787 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21788 if test "${ac_cv_sizeof_size_t+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 if test "$cross_compiling" = yes; then
21792 # Depending upon the size, compute the lo and hi bounds.
21793 cat >conftest.$ac_ext <<_ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 $ac_includes_default
21800 typedef size_t ac__type_sizeof_;
21804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21811 rm -f conftest.$ac_objext
21812 if { (ac_try="$ac_compile"
21813 case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_compile") 2>conftest.er1
21820 grep -v '^ *+' conftest.er1 >conftest.err
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && {
21825 test -z "$ac_c_werror_flag" ||
21826 test ! -s conftest.err
21827 } && test -s conftest.$ac_objext; then
21830 cat >conftest.$ac_ext <<_ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef size_t ac__type_sizeof_;
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21857 grep -v '^ *+' conftest.er1 >conftest.err
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_hi=$ac_mid; break
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21870 ac_lo=`expr $ac_mid + 1`
21871 if test $ac_lo -le $ac_mid; then
21875 ac_mid=`expr 2 '*' $ac_mid + 1`
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21884 cat >conftest.$ac_ext <<_ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef size_t ac__type_sizeof_;
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21911 grep -v '^ *+' conftest.er1 >conftest.err
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21921 cat >conftest.$ac_ext <<_ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef size_t ac__type_sizeof_;
21932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21939 rm -f conftest.$ac_objext
21940 if { (ac_try="$ac_compile"
21941 case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_compile") 2>conftest.er1
21948 grep -v '^ *+' conftest.er1 >conftest.err
21950 cat conftest.err >&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } && {
21953 test -z "$ac_c_werror_flag" ||
21954 test ! -s conftest.err
21955 } && test -s conftest.$ac_objext; then
21956 ac_lo=$ac_mid; break
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21961 ac_hi=`expr '(' $ac_mid ')' - 1`
21962 if test $ac_mid -le $ac_hi; then
21966 ac_mid=`expr 2 '*' $ac_mid`
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21982 # Binary search between lo and hi bounds.
21983 while test "x$ac_lo" != "x$ac_hi"; do
21984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21985 cat >conftest.$ac_ext <<_ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef size_t ac__type_sizeof_;
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22025 ac_lo=`expr '(' $ac_mid ')' + 1`
22028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22031 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22032 '') if test "$ac_cv_type_size_t" = yes; then
22033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22034 See \`config.log' for more details." >&5
22035 echo "$as_me: error: cannot compute sizeof (size_t)
22036 See \`config.log' for more details." >&2;}
22037 { (exit 77); exit 77; }; }
22039 ac_cv_sizeof_size_t=0
22043 cat >conftest.$ac_ext <<_ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 $ac_includes_default
22050 typedef size_t ac__type_sizeof_;
22051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22054 #include <stdlib.h>
22059 FILE *f = fopen ("conftest.val", "w");
22062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22064 long int i = longval ();
22065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22067 fprintf (f, "%ld\n", i);
22071 unsigned long int i = ulongval ();
22072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22074 fprintf (f, "%lu\n", i);
22076 return ferror (f) || fclose (f) != 0;
22082 rm -f conftest$ac_exeext
22083 if { (ac_try="$ac_link"
22084 case "(($ac_try" in
22085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22086 *) ac_try_echo=$ac_try;;
22088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22089 (eval "$ac_link") 2>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22093 { (case "(($ac_try" in
22094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22095 *) ac_try_echo=$ac_try;;
22097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22098 (eval "$ac_try") 2>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; }; then
22102 ac_cv_sizeof_size_t=`cat conftest.val`
22104 echo "$as_me: program exited with status $ac_status" >&5
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.$ac_ext >&5
22108 ( exit $ac_status )
22109 if test "$ac_cv_type_size_t" = yes; then
22110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22111 See \`config.log' for more details." >&5
22112 echo "$as_me: error: cannot compute sizeof (size_t)
22113 See \`config.log' for more details." >&2;}
22114 { (exit 77); exit 77; }; }
22116 ac_cv_sizeof_size_t=0
22119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22124 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22128 cat >>confdefs.h <<_ACEOF
22129 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22136 { echo "$as_me:$LINENO: checking for long long" >&5
22137 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22138 if test "${ac_cv_type_long_long+set}" = set; then
22139 echo $ECHO_N "(cached) $ECHO_C" >&6
22141 cat >conftest.$ac_ext <<_ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_new_;
22152 if ((ac__type_new_ *) 0)
22154 if (sizeof (ac__type_new_))
22160 rm -f conftest.$ac_objext
22161 if { (ac_try="$ac_compile"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_compile") 2>conftest.er1
22169 grep -v '^ *+' conftest.er1 >conftest.err
22171 cat conftest.err >&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } && {
22174 test -z "$ac_c_werror_flag" ||
22175 test ! -s conftest.err
22176 } && test -s conftest.$ac_objext; then
22177 ac_cv_type_long_long=yes
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22182 ac_cv_type_long_long=no
22185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22187 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22188 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22190 # The cast to long int works around a bug in the HP C Compiler
22191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22193 # This bug is HP SR number 8606223364.
22194 { echo "$as_me:$LINENO: checking size of long long" >&5
22195 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22196 if test "${ac_cv_sizeof_long_long+set}" = set; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22199 if test "$cross_compiling" = yes; then
22200 # Depending upon the size, compute the lo and hi bounds.
22201 cat >conftest.$ac_ext <<_ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 $ac_includes_default
22208 typedef long long ac__type_sizeof_;
22212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22219 rm -f conftest.$ac_objext
22220 if { (ac_try="$ac_compile"
22221 case "(($ac_try" in
22222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22223 *) ac_try_echo=$ac_try;;
22225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22226 (eval "$ac_compile") 2>conftest.er1
22228 grep -v '^ *+' conftest.er1 >conftest.err
22230 cat conftest.err >&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && {
22233 test -z "$ac_c_werror_flag" ||
22234 test ! -s conftest.err
22235 } && test -s conftest.$ac_objext; then
22238 cat >conftest.$ac_ext <<_ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 $ac_includes_default
22245 typedef long long ac__type_sizeof_;
22249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22265 grep -v '^ *+' conftest.er1 >conftest.err
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 ac_hi=$ac_mid; break
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22278 ac_lo=`expr $ac_mid + 1`
22279 if test $ac_lo -le $ac_mid; then
22283 ac_mid=`expr 2 '*' $ac_mid + 1`
22286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22292 cat >conftest.$ac_ext <<_ACEOF
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 $ac_includes_default
22299 typedef long long ac__type_sizeof_;
22303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22310 rm -f conftest.$ac_objext
22311 if { (ac_try="$ac_compile"
22312 case "(($ac_try" in
22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_compile") 2>conftest.er1
22319 grep -v '^ *+' conftest.er1 >conftest.err
22321 cat conftest.err >&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); } && {
22324 test -z "$ac_c_werror_flag" ||
22325 test ! -s conftest.err
22326 } && test -s conftest.$ac_objext; then
22329 cat >conftest.$ac_ext <<_ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 $ac_includes_default
22336 typedef long long ac__type_sizeof_;
22340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22347 rm -f conftest.$ac_objext
22348 if { (ac_try="$ac_compile"
22349 case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_compile") 2>conftest.er1
22356 grep -v '^ *+' conftest.er1 >conftest.err
22358 cat conftest.err >&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && {
22361 test -z "$ac_c_werror_flag" ||
22362 test ! -s conftest.err
22363 } && test -s conftest.$ac_objext; then
22364 ac_lo=$ac_mid; break
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22369 ac_hi=`expr '(' $ac_mid ')' - 1`
22370 if test $ac_mid -le $ac_hi; then
22374 ac_mid=`expr 2 '*' $ac_mid`
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22390 # Binary search between lo and hi bounds.
22391 while test "x$ac_lo" != "x$ac_hi"; do
22392 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22393 cat >conftest.$ac_ext <<_ACEOF
22396 cat confdefs.h >>conftest.$ac_ext
22397 cat >>conftest.$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 $ac_includes_default
22400 typedef long long ac__type_sizeof_;
22404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22411 rm -f conftest.$ac_objext
22412 if { (ac_try="$ac_compile"
22413 case "(($ac_try" in
22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_compile") 2>conftest.er1
22420 grep -v '^ *+' conftest.er1 >conftest.err
22422 cat conftest.err >&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); } && {
22425 test -z "$ac_c_werror_flag" ||
22426 test ! -s conftest.err
22427 } && test -s conftest.$ac_objext; then
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22433 ac_lo=`expr '(' $ac_mid ')' + 1`
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22440 '') if test "$ac_cv_type_long_long" = yes; then
22441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22442 See \`config.log' for more details." >&5
22443 echo "$as_me: error: cannot compute sizeof (long long)
22444 See \`config.log' for more details." >&2;}
22445 { (exit 77); exit 77; }; }
22447 ac_cv_sizeof_long_long=0
22451 cat >conftest.$ac_ext <<_ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef long long ac__type_sizeof_;
22459 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22460 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22462 #include <stdlib.h>
22467 FILE *f = fopen ("conftest.val", "w");
22470 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22472 long int i = longval ();
22473 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22475 fprintf (f, "%ld\n", i);
22479 unsigned long int i = ulongval ();
22480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22482 fprintf (f, "%lu\n", i);
22484 return ferror (f) || fclose (f) != 0;
22490 rm -f conftest$ac_exeext
22491 if { (ac_try="$ac_link"
22492 case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_link") 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22501 { (case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_try") 2>&5
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; }; then
22510 ac_cv_sizeof_long_long=`cat conftest.val`
22512 echo "$as_me: program exited with status $ac_status" >&5
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22516 ( exit $ac_status )
22517 if test "$ac_cv_type_long_long" = yes; then
22518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22519 See \`config.log' for more details." >&5
22520 echo "$as_me: error: cannot compute sizeof (long long)
22521 See \`config.log' for more details." >&2;}
22522 { (exit 77); exit 77; }; }
22524 ac_cv_sizeof_long_long=0
22527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22531 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22532 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22536 cat >>confdefs.h <<_ACEOF
22537 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22543 { echo "$as_me:$LINENO: checking for long long" >&5
22544 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22545 if test "${ac_cv_type_long_long+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 cat >conftest.$ac_ext <<_ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 $ac_includes_default
22555 typedef long long ac__type_new_;
22559 if ((ac__type_new_ *) 0)
22561 if (sizeof (ac__type_new_))
22567 rm -f conftest.$ac_objext
22568 if { (ac_try="$ac_compile"
22569 case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_compile") 2>conftest.er1
22576 grep -v '^ *+' conftest.er1 >conftest.err
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } && {
22581 test -z "$ac_c_werror_flag" ||
22582 test ! -s conftest.err
22583 } && test -s conftest.$ac_objext; then
22584 ac_cv_type_long_long=yes
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22589 ac_cv_type_long_long=no
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22594 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22595 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22597 # The cast to long int works around a bug in the HP C Compiler
22598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22600 # This bug is HP SR number 8606223364.
22601 { echo "$as_me:$LINENO: checking size of long long" >&5
22602 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22603 if test "${ac_cv_sizeof_long_long+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 if test "$cross_compiling" = yes; then
22607 # Depending upon the size, compute the lo and hi bounds.
22608 cat >conftest.$ac_ext <<_ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 $ac_includes_default
22615 typedef long long ac__type_sizeof_;
22619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22626 rm -f conftest.$ac_objext
22627 if { (ac_try="$ac_compile"
22628 case "(($ac_try" in
22629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22630 *) ac_try_echo=$ac_try;;
22632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22633 (eval "$ac_compile") 2>conftest.er1
22635 grep -v '^ *+' conftest.er1 >conftest.err
22637 cat conftest.err >&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && {
22640 test -z "$ac_c_werror_flag" ||
22641 test ! -s conftest.err
22642 } && test -s conftest.$ac_objext; then
22645 cat >conftest.$ac_ext <<_ACEOF
22648 cat confdefs.h >>conftest.$ac_ext
22649 cat >>conftest.$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22667 *) ac_try_echo=$ac_try;;
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22672 grep -v '^ *+' conftest.er1 >conftest.err
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.$ac_objext; then
22680 ac_hi=$ac_mid; break
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22685 ac_lo=`expr $ac_mid + 1`
22686 if test $ac_lo -le $ac_mid; then
22690 ac_mid=`expr 2 '*' $ac_mid + 1`
22693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22699 cat >conftest.$ac_ext <<_ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef long long ac__type_sizeof_;
22710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22717 rm -f conftest.$ac_objext
22718 if { (ac_try="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22726 grep -v '^ *+' conftest.er1 >conftest.err
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && {
22731 test -z "$ac_c_werror_flag" ||
22732 test ! -s conftest.err
22733 } && test -s conftest.$ac_objext; then
22736 cat >conftest.$ac_ext <<_ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 $ac_includes_default
22743 typedef long long ac__type_sizeof_;
22747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22763 grep -v '^ *+' conftest.er1 >conftest.err
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.$ac_objext; then
22771 ac_lo=$ac_mid; break
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22776 ac_hi=`expr '(' $ac_mid ')' - 1`
22777 if test $ac_mid -le $ac_hi; then
22781 ac_mid=`expr 2 '*' $ac_mid`
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.$ac_ext >&5
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 # Binary search between lo and hi bounds.
22798 while test "x$ac_lo" != "x$ac_hi"; do
22799 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22800 cat >conftest.$ac_ext <<_ACEOF
22803 cat confdefs.h >>conftest.$ac_ext
22804 cat >>conftest.$ac_ext <<_ACEOF
22805 /* end confdefs.h. */
22806 $ac_includes_default
22807 typedef long long ac__type_sizeof_;
22811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22818 rm -f conftest.$ac_objext
22819 if { (ac_try="$ac_compile"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_compile") 2>conftest.er1
22827 grep -v '^ *+' conftest.er1 >conftest.err
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_c_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest.$ac_objext; then
22837 echo "$as_me: failed program was:" >&5
22838 sed 's/^/| /' conftest.$ac_ext >&5
22840 ac_lo=`expr '(' $ac_mid ')' + 1`
22843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22847 '') if test "$ac_cv_type_long_long" = yes; then
22848 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22849 See \`config.log' for more details." >&5
22850 echo "$as_me: error: cannot compute sizeof (long long)
22851 See \`config.log' for more details." >&2;}
22852 { (exit 77); exit 77; }; }
22854 ac_cv_sizeof_long_long=0
22858 cat >conftest.$ac_ext <<_ACEOF
22861 cat confdefs.h >>conftest.$ac_ext
22862 cat >>conftest.$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 $ac_includes_default
22865 typedef long long ac__type_sizeof_;
22866 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22867 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22869 #include <stdlib.h>
22874 FILE *f = fopen ("conftest.val", "w");
22877 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22879 long int i = longval ();
22880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22882 fprintf (f, "%ld\n", i);
22886 unsigned long int i = ulongval ();
22887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22889 fprintf (f, "%lu\n", i);
22891 return ferror (f) || fclose (f) != 0;
22897 rm -f conftest$ac_exeext
22898 if { (ac_try="$ac_link"
22899 case "(($ac_try" in
22900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22901 *) ac_try_echo=$ac_try;;
22903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22904 (eval "$ac_link") 2>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22908 { (case "(($ac_try" in
22909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22910 *) ac_try_echo=$ac_try;;
22912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22913 (eval "$ac_try") 2>&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; }; then
22917 ac_cv_sizeof_long_long=`cat conftest.val`
22919 echo "$as_me: program exited with status $ac_status" >&5
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22923 ( exit $ac_status )
22924 if test "$ac_cv_type_long_long" = yes; then
22925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22926 See \`config.log' for more details." >&5
22927 echo "$as_me: error: cannot compute sizeof (long long)
22928 See \`config.log' for more details." >&2;}
22929 { (exit 77); exit 77; }; }
22931 ac_cv_sizeof_long_long=0
22934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22938 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22939 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22943 cat >>confdefs.h <<_ACEOF
22944 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22948 if test "$ac_cv_sizeof_long_long" != 0; then
22949 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22953 { echo "$as_me:$LINENO: checking for long long" >&5
22954 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22955 if test "${ac_cv_type_long_long+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22958 cat >conftest.$ac_ext <<_ACEOF
22961 cat confdefs.h >>conftest.$ac_ext
22962 cat >>conftest.$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 $ac_includes_default
22965 typedef long long ac__type_new_;
22969 if ((ac__type_new_ *) 0)
22971 if (sizeof (ac__type_new_))
22977 rm -f conftest.$ac_objext
22978 if { (ac_try="$ac_compile"
22979 case "(($ac_try" in
22980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22981 *) ac_try_echo=$ac_try;;
22983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22984 (eval "$ac_compile") 2>conftest.er1
22986 grep -v '^ *+' conftest.er1 >conftest.err
22988 cat conftest.err >&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); } && {
22991 test -z "$ac_c_werror_flag" ||
22992 test ! -s conftest.err
22993 } && test -s conftest.$ac_objext; then
22994 ac_cv_type_long_long=yes
22996 echo "$as_me: failed program was:" >&5
22997 sed 's/^/| /' conftest.$ac_ext >&5
22999 ac_cv_type_long_long=no
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23005 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23007 # The cast to long int works around a bug in the HP C Compiler
23008 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23009 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23010 # This bug is HP SR number 8606223364.
23011 { echo "$as_me:$LINENO: checking size of long long" >&5
23012 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23013 if test "${ac_cv_sizeof_long_long+set}" = set; then
23014 echo $ECHO_N "(cached) $ECHO_C" >&6
23016 if test "$cross_compiling" = yes; then
23017 # Depending upon the size, compute the lo and hi bounds.
23018 cat >conftest.$ac_ext <<_ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23024 $ac_includes_default
23025 typedef long long ac__type_sizeof_;
23029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23036 rm -f conftest.$ac_objext
23037 if { (ac_try="$ac_compile"
23038 case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_compile") 2>conftest.er1
23045 grep -v '^ *+' conftest.er1 >conftest.err
23047 cat conftest.err >&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } && {
23050 test -z "$ac_c_werror_flag" ||
23051 test ! -s conftest.err
23052 } && test -s conftest.$ac_objext; then
23055 cat >conftest.$ac_ext <<_ACEOF
23058 cat confdefs.h >>conftest.$ac_ext
23059 cat >>conftest.$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23061 $ac_includes_default
23062 typedef long long ac__type_sizeof_;
23066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23082 grep -v '^ *+' conftest.er1 >conftest.err
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_c_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23090 ac_hi=$ac_mid; break
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23095 ac_lo=`expr $ac_mid + 1`
23096 if test $ac_lo -le $ac_mid; then
23100 ac_mid=`expr 2 '*' $ac_mid + 1`
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23109 cat >conftest.$ac_ext <<_ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115 $ac_includes_default
23116 typedef long long ac__type_sizeof_;
23120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23127 rm -f conftest.$ac_objext
23128 if { (ac_try="$ac_compile"
23129 case "(($ac_try" in
23130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_compile") 2>conftest.er1
23136 grep -v '^ *+' conftest.er1 >conftest.err
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } && {
23141 test -z "$ac_c_werror_flag" ||
23142 test ! -s conftest.err
23143 } && test -s conftest.$ac_objext; then
23146 cat >conftest.$ac_ext <<_ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 $ac_includes_default
23153 typedef long long ac__type_sizeof_;
23157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23173 grep -v '^ *+' conftest.er1 >conftest.err
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 ac_lo=$ac_mid; break
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23186 ac_hi=`expr '(' $ac_mid ')' - 1`
23187 if test $ac_mid -le $ac_hi; then
23191 ac_mid=`expr 2 '*' $ac_mid`
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23207 # Binary search between lo and hi bounds.
23208 while test "x$ac_lo" != "x$ac_hi"; do
23209 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23210 cat >conftest.$ac_ext <<_ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216 $ac_includes_default
23217 typedef long long ac__type_sizeof_;
23221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23228 rm -f conftest.$ac_objext
23229 if { (ac_try="$ac_compile"
23230 case "(($ac_try" in
23231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23232 *) ac_try_echo=$ac_try;;
23234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23235 (eval "$ac_compile") 2>conftest.er1
23237 grep -v '^ *+' conftest.er1 >conftest.err
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } && {
23242 test -z "$ac_c_werror_flag" ||
23243 test ! -s conftest.err
23244 } && test -s conftest.$ac_objext; then
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23250 ac_lo=`expr '(' $ac_mid ')' + 1`
23253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23257 '') if test "$ac_cv_type_long_long" = yes; then
23258 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23259 See \`config.log' for more details." >&5
23260 echo "$as_me: error: cannot compute sizeof (long long)
23261 See \`config.log' for more details." >&2;}
23262 { (exit 77); exit 77; }; }
23264 ac_cv_sizeof_long_long=0
23268 cat >conftest.$ac_ext <<_ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 $ac_includes_default
23275 typedef long long ac__type_sizeof_;
23276 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23277 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23279 #include <stdlib.h>
23284 FILE *f = fopen ("conftest.val", "w");
23287 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23289 long int i = longval ();
23290 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23292 fprintf (f, "%ld\n", i);
23296 unsigned long int i = ulongval ();
23297 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23299 fprintf (f, "%lu\n", i);
23301 return ferror (f) || fclose (f) != 0;
23307 rm -f conftest$ac_exeext
23308 if { (ac_try="$ac_link"
23309 case "(($ac_try" in
23310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23311 *) ac_try_echo=$ac_try;;
23313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23314 (eval "$ac_link") 2>&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23318 { (case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_try") 2>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_sizeof_long_long=`cat conftest.val`
23329 echo "$as_me: program exited with status $ac_status" >&5
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.$ac_ext >&5
23333 ( exit $ac_status )
23334 if test "$ac_cv_type_long_long" = yes; then
23335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23336 See \`config.log' for more details." >&5
23337 echo "$as_me: error: cannot compute sizeof (long long)
23338 See \`config.log' for more details." >&2;}
23339 { (exit 77); exit 77; }; }
23341 ac_cv_sizeof_long_long=0
23344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23348 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23349 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23353 cat >>confdefs.h <<_ACEOF
23354 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23360 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23361 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23362 if test "${ac_cv_type_wchar_t+set}" = set; then
23363 echo $ECHO_N "(cached) $ECHO_C" >&6
23365 cat >conftest.$ac_ext <<_ACEOF
23368 cat confdefs.h >>conftest.$ac_ext
23369 cat >>conftest.$ac_ext <<_ACEOF
23370 /* end confdefs.h. */
23372 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23373 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23374 # error "fake wchar_t"
23376 #ifdef HAVE_WCHAR_H
23378 # include <stddef.h>
23380 # include <wchar.h>
23382 #ifdef HAVE_STDLIB_H
23383 # include <stdlib.h>
23389 typedef wchar_t ac__type_new_;
23393 if ((ac__type_new_ *) 0)
23395 if (sizeof (ac__type_new_))
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23410 grep -v '^ *+' conftest.er1 >conftest.err
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_c_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 ac_cv_type_wchar_t=yes
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23423 ac_cv_type_wchar_t=no
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23429 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23431 # The cast to long int works around a bug in the HP C Compiler
23432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23434 # This bug is HP SR number 8606223364.
23435 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23436 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23437 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 if test "$cross_compiling" = yes; then
23441 # Depending upon the size, compute the lo and hi bounds.
23442 cat >conftest.$ac_ext <<_ACEOF
23445 cat confdefs.h >>conftest.$ac_ext
23446 cat >>conftest.$ac_ext <<_ACEOF
23447 /* end confdefs.h. */
23449 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23450 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23451 # error "fake wchar_t"
23453 #ifdef HAVE_WCHAR_H
23455 # include <stddef.h>
23457 # include <wchar.h>
23459 #ifdef HAVE_STDLIB_H
23460 # include <stdlib.h>
23466 typedef wchar_t ac__type_sizeof_;
23470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23477 rm -f conftest.$ac_objext
23478 if { (ac_try="$ac_compile"
23479 case "(($ac_try" in
23480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23481 *) ac_try_echo=$ac_try;;
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_compile") 2>conftest.er1
23486 grep -v '^ *+' conftest.er1 >conftest.err
23488 cat conftest.err >&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); } && {
23491 test -z "$ac_c_werror_flag" ||
23492 test ! -s conftest.err
23493 } && test -s conftest.$ac_objext; then
23496 cat >conftest.$ac_ext <<_ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23503 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23504 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23505 # error "fake wchar_t"
23507 #ifdef HAVE_WCHAR_H
23509 # include <stddef.h>
23511 # include <wchar.h>
23513 #ifdef HAVE_STDLIB_H
23514 # include <stdlib.h>
23520 typedef wchar_t ac__type_sizeof_;
23524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23531 rm -f conftest.$ac_objext
23532 if { (ac_try="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23540 grep -v '^ *+' conftest.er1 >conftest.err
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_hi=$ac_mid; break
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23553 ac_lo=`expr $ac_mid + 1`
23554 if test $ac_lo -le $ac_mid; then
23558 ac_mid=`expr 2 '*' $ac_mid + 1`
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.$ac_ext >&5
23567 cat >conftest.$ac_ext <<_ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23574 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23575 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23576 # error "fake wchar_t"
23578 #ifdef HAVE_WCHAR_H
23580 # include <stddef.h>
23582 # include <wchar.h>
23584 #ifdef HAVE_STDLIB_H
23585 # include <stdlib.h>
23591 typedef wchar_t ac__type_sizeof_;
23595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23602 rm -f conftest.$ac_objext
23603 if { (ac_try="$ac_compile"
23604 case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23611 grep -v '^ *+' conftest.er1 >conftest.err
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23621 cat >conftest.$ac_ext <<_ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23628 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23629 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23630 # error "fake wchar_t"
23632 #ifdef HAVE_WCHAR_H
23634 # include <stddef.h>
23636 # include <wchar.h>
23638 #ifdef HAVE_STDLIB_H
23639 # include <stdlib.h>
23645 typedef wchar_t ac__type_sizeof_;
23649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23665 grep -v '^ *+' conftest.er1 >conftest.err
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_c_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_lo=$ac_mid; break
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5
23678 ac_hi=`expr '(' $ac_mid ')' - 1`
23679 if test $ac_mid -le $ac_hi; then
23683 ac_mid=`expr 2 '*' $ac_mid`
23686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.$ac_ext >&5
23695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23699 # Binary search between lo and hi bounds.
23700 while test "x$ac_lo" != "x$ac_hi"; do
23701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23702 cat >conftest.$ac_ext <<_ACEOF
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23709 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23710 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23711 # error "fake wchar_t"
23713 #ifdef HAVE_WCHAR_H
23715 # include <stddef.h>
23717 # include <wchar.h>
23719 #ifdef HAVE_STDLIB_H
23720 # include <stdlib.h>
23726 typedef wchar_t ac__type_sizeof_;
23730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_compile") 2>conftest.er1
23746 grep -v '^ *+' conftest.er1 >conftest.err
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } && {
23751 test -z "$ac_c_werror_flag" ||
23752 test ! -s conftest.err
23753 } && test -s conftest.$ac_objext; then
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23759 ac_lo=`expr '(' $ac_mid ')' + 1`
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23766 '') if test "$ac_cv_type_wchar_t" = yes; then
23767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23768 See \`config.log' for more details." >&5
23769 echo "$as_me: error: cannot compute sizeof (wchar_t)
23770 See \`config.log' for more details." >&2;}
23771 { (exit 77); exit 77; }; }
23773 ac_cv_sizeof_wchar_t=0
23777 cat >conftest.$ac_ext <<_ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23784 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23785 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23786 # error "fake wchar_t"
23788 #ifdef HAVE_WCHAR_H
23790 # include <stddef.h>
23792 # include <wchar.h>
23794 #ifdef HAVE_STDLIB_H
23795 # include <stdlib.h>
23801 typedef wchar_t ac__type_sizeof_;
23802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23805 #include <stdlib.h>
23810 FILE *f = fopen ("conftest.val", "w");
23813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23815 long int i = longval ();
23816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23818 fprintf (f, "%ld\n", i);
23822 unsigned long int i = ulongval ();
23823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23825 fprintf (f, "%lu\n", i);
23827 return ferror (f) || fclose (f) != 0;
23833 rm -f conftest$ac_exeext
23834 if { (ac_try="$ac_link"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_link") 2>&5
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23844 { (case "(($ac_try" in
23845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23846 *) ac_try_echo=$ac_try;;
23848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23849 (eval "$ac_try") 2>&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23853 ac_cv_sizeof_wchar_t=`cat conftest.val`
23855 echo "$as_me: program exited with status $ac_status" >&5
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23859 ( exit $ac_status )
23860 if test "$ac_cv_type_wchar_t" = yes; then
23861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23862 See \`config.log' for more details." >&5
23863 echo "$as_me: error: cannot compute sizeof (wchar_t)
23864 See \`config.log' for more details." >&2;}
23865 { (exit 77); exit 77; }; }
23867 ac_cv_sizeof_wchar_t=0
23870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23875 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23879 cat >>confdefs.h <<_ACEOF
23880 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23884 if test "$ac_cv_sizeof_wchar_t" != 0; then
23890 { echo "$as_me:$LINENO: checking for va_copy" >&5
23891 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23892 if test "${wx_cv_func_va_copy+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23897 ac_cpp='$CXXCPP $CPPFLAGS'
23898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23902 cat >conftest.$ac_ext <<_ACEOF
23904 #include <stdarg.h>
23905 void foo(char *f, ...)
23919 rm -f conftest.$ac_objext conftest$ac_exeext
23920 if { (ac_try="$ac_link"
23921 case "(($ac_try" in
23922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23923 *) ac_try_echo=$ac_try;;
23925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23926 (eval "$ac_link") 2>conftest.er1
23928 grep -v '^ *+' conftest.er1 >conftest.err
23930 cat conftest.err >&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } && {
23933 test -z "$ac_cxx_werror_flag" ||
23934 test ! -s conftest.err
23935 } && test -s conftest$ac_exeext &&
23936 $as_test_x conftest$ac_exeext; then
23937 wx_cv_func_va_copy=yes
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23942 wx_cv_func_va_copy=no
23946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23947 conftest$ac_exeext conftest.$ac_ext
23949 ac_cpp='$CPP $CPPFLAGS'
23950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23957 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23958 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23960 if test $wx_cv_func_va_copy = "yes"; then
23961 cat >>confdefs.h <<\_ACEOF
23962 #define HAVE_VA_COPY 1
23966 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23967 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23968 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23969 echo $ECHO_N "(cached) $ECHO_C" >&6
23972 if test "$cross_compiling" = yes; then
23973 wx_cv_type_va_list_lvalue=yes
23976 cat >conftest.$ac_ext <<_ACEOF
23978 #include <stdarg.h>
23979 int foo(char *f, ...)
23984 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23992 return foo("hi", 17);
23995 rm -f conftest$ac_exeext
23996 if { (ac_try="$ac_link"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_link") 2>&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24006 { (case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_try") 2>&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; }; then
24015 wx_cv_type_va_list_lvalue=yes
24017 echo "$as_me: program exited with status $ac_status" >&5
24018 echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24021 ( exit $ac_status )
24022 wx_cv_type_va_list_lvalue=no
24024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24031 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24032 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24034 if test $wx_cv_type_va_list_lvalue != "yes"; then
24035 cat >>confdefs.h <<\_ACEOF
24036 #define VA_LIST_IS_ARRAY 1
24042 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24044 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24045 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24046 if test "${wx_cv_have_variadic_macros+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24056 cat >conftest.$ac_ext <<_ACEOF
24059 cat confdefs.h >>conftest.$ac_ext
24060 cat >>conftest.$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24064 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24070 test("%s %d %p", "test", 1, 0);
24077 rm -f conftest.$ac_objext
24078 if { (ac_try="$ac_compile"
24079 case "(($ac_try" in
24080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24081 *) ac_try_echo=$ac_try;;
24083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24084 (eval "$ac_compile") 2>conftest.er1
24086 grep -v '^ *+' conftest.er1 >conftest.err
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } && {
24091 test -z "$ac_cxx_werror_flag" ||
24092 test ! -s conftest.err
24093 } && test -s conftest.$ac_objext; then
24094 wx_cv_have_variadic_macros=yes
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.$ac_ext >&5
24099 wx_cv_have_variadic_macros=no
24103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24105 ac_cpp='$CPP $CPPFLAGS'
24106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24113 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24114 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24116 if test $wx_cv_have_variadic_macros = "yes"; then
24117 cat >>confdefs.h <<\_ACEOF
24118 #define HAVE_VARIADIC_MACROS 1
24125 LARGEFILE_CPPFLAGS=
24126 # Check whether --enable-largefile was given.
24127 if test "${enable_largefile+set}" = set; then
24128 enableval=$enable_largefile;
24131 if test "$enable_largefile" != no; then
24134 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24135 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24136 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 cat >conftest.$ac_ext <<_ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #define _FILE_OFFSET_BITS 64
24147 #include <sys/types.h>
24152 unsigned int field: sizeof(off_t) == 8;
24159 rm -f conftest.$ac_objext
24160 if { (ac_try="$ac_compile"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163 *) ac_try_echo=$ac_try;;
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_compile") 2>conftest.er1
24168 grep -v '^ *+' conftest.er1 >conftest.err
24170 cat conftest.err >&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } && {
24173 test -z "$ac_c_werror_flag" ||
24174 test ! -s conftest.err
24175 } && test -s conftest.$ac_objext; then
24176 ac_cv_sys_file_offset_bits=64
24178 echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.$ac_ext >&5
24181 ac_cv_sys_file_offset_bits=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24188 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24189 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24191 if test "$ac_cv_sys_file_offset_bits" != no; then
24193 cat >>confdefs.h <<_ACEOF
24194 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24199 if test "x$wx_largefile" != "xyes"; then
24201 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24202 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24203 if test "${ac_cv_sys_large_files+set}" = set; then
24204 echo $ECHO_N "(cached) $ECHO_C" >&6
24207 cat >conftest.$ac_ext <<_ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213 #define _LARGE_FILES 1
24214 #include <sys/types.h>
24219 unsigned int field: sizeof(off_t) == 8;
24226 rm -f conftest.$ac_objext
24227 if { (ac_try="$ac_compile"
24228 case "(($ac_try" in
24229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24230 *) ac_try_echo=$ac_try;;
24232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24233 (eval "$ac_compile") 2>conftest.er1
24235 grep -v '^ *+' conftest.er1 >conftest.err
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } && {
24240 test -z "$ac_c_werror_flag" ||
24241 test ! -s conftest.err
24242 } && test -s conftest.$ac_objext; then
24243 ac_cv_sys_large_files=1
24245 echo "$as_me: failed program was:" >&5
24246 sed 's/^/| /' conftest.$ac_ext >&5
24248 ac_cv_sys_large_files=no
24251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24255 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24256 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24258 if test "$ac_cv_sys_large_files" != no; then
24260 cat >>confdefs.h <<_ACEOF
24261 #define _LARGE_FILES $ac_cv_sys_large_files
24268 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24269 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24270 if test "x$wx_largefile" = "xyes"; then
24271 cat >>confdefs.h <<\_ACEOF
24272 #define HAVE_LARGEFILE_SUPPORT 1
24276 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24277 echo "${ECHO_T}$wx_largefile" >&6; }
24280 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24281 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24282 elif test "$ac_cv_sys_large_files" = 1; then
24283 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24286 if test -n "$LARGEFILE_CPPFLAGS"; then
24287 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24289 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24290 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24291 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24292 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 ac_cpp='$CXXCPP $CPPFLAGS'
24298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24302 cat >conftest.$ac_ext <<_ACEOF
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24313 #ifndef __STDC_EXT__
24321 rm -f conftest.$ac_objext
24322 if { (ac_try="$ac_compile"
24323 case "(($ac_try" in
24324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24325 *) ac_try_echo=$ac_try;;
24327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24328 (eval "$ac_compile") 2>conftest.er1
24330 grep -v '^ *+' conftest.er1 >conftest.err
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } && {
24335 test -z "$ac_cxx_werror_flag" ||
24336 test ! -s conftest.err
24337 } && test -s conftest.$ac_objext; then
24338 wx_cv_STDC_EXT_required=no
24340 echo "$as_me: failed program was:" >&5
24341 sed 's/^/| /' conftest.$ac_ext >&5
24343 wx_cv_STDC_EXT_required=yes
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24357 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24358 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24359 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24360 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24366 ac_cpp='$CXXCPP $CPPFLAGS'
24367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24371 old_CPPFLAGS="$CPPFLAGS"
24372 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24373 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24374 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24375 if test "${ac_cv_sys_largefile_source+set}" = set; then
24376 echo $ECHO_N "(cached) $ECHO_C" >&6
24379 cat >conftest.$ac_ext <<_ACEOF
24382 cat confdefs.h >>conftest.$ac_ext
24383 cat >>conftest.$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24385 #include <sys/types.h> /* for off_t */
24390 int (*fp) (FILE *, off_t, int) = fseeko;
24391 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24396 rm -f conftest.$ac_objext conftest$ac_exeext
24397 if { (ac_try="$ac_link"
24398 case "(($ac_try" in
24399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24400 *) ac_try_echo=$ac_try;;
24402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24403 (eval "$ac_link") 2>conftest.er1
24405 grep -v '^ *+' conftest.er1 >conftest.err
24407 cat conftest.err >&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } && {
24410 test -z "$ac_cxx_werror_flag" ||
24411 test ! -s conftest.err
24412 } && test -s conftest$ac_exeext &&
24413 $as_test_x conftest$ac_exeext; then
24414 ac_cv_sys_largefile_source=no; break
24416 echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24423 conftest$ac_exeext conftest.$ac_ext
24424 cat >conftest.$ac_ext <<_ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #define _LARGEFILE_SOURCE 1
24431 #include <sys/types.h> /* for off_t */
24436 int (*fp) (FILE *, off_t, int) = fseeko;
24437 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24442 rm -f conftest.$ac_objext conftest$ac_exeext
24443 if { (ac_try="$ac_link"
24444 case "(($ac_try" in
24445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24446 *) ac_try_echo=$ac_try;;
24448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24449 (eval "$ac_link") 2>conftest.er1
24451 grep -v '^ *+' conftest.er1 >conftest.err
24453 cat conftest.err >&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } && {
24456 test -z "$ac_cxx_werror_flag" ||
24457 test ! -s conftest.err
24458 } && test -s conftest$ac_exeext &&
24459 $as_test_x conftest$ac_exeext; then
24460 ac_cv_sys_largefile_source=1; break
24462 echo "$as_me: failed program was:" >&5
24463 sed 's/^/| /' conftest.$ac_ext >&5
24468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24469 conftest$ac_exeext conftest.$ac_ext
24470 ac_cv_sys_largefile_source=unknown
24474 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24475 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24476 case $ac_cv_sys_largefile_source in #(
24479 cat >>confdefs.h <<_ACEOF
24480 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24486 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24487 # in glibc 2.1.3, but that breaks too many other things.
24488 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24489 if test $ac_cv_sys_largefile_source != unknown; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define HAVE_FSEEKO 1
24497 CPPFLAGS="$old_CPPFLAGS"
24499 ac_cpp='$CPP $CPPFLAGS'
24500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24504 if test "$ac_cv_sys_largefile_source" != no; then
24505 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24508 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24509 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24510 if test "${ac_cv_c_bigendian+set}" = set; then
24511 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 ac_cv_c_bigendian=unknown
24514 # See if sys/param.h defines the BYTE_ORDER macro.
24515 cat >conftest.$ac_ext <<_ACEOF
24518 cat confdefs.h >>conftest.$ac_ext
24519 cat >>conftest.$ac_ext <<_ACEOF
24520 /* end confdefs.h. */
24521 #include <sys/types.h>
24522 #include <sys/param.h>
24527 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24528 bogus endian macros
24534 rm -f conftest.$ac_objext
24535 if { (ac_try="$ac_compile"
24536 case "(($ac_try" in
24537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24538 *) ac_try_echo=$ac_try;;
24540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24541 (eval "$ac_compile") 2>conftest.er1
24543 grep -v '^ *+' conftest.er1 >conftest.err
24545 cat conftest.err >&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } && {
24548 test -z "$ac_c_werror_flag" ||
24549 test ! -s conftest.err
24550 } && test -s conftest.$ac_objext; then
24551 # It does; now see whether it defined to BIG_ENDIAN or not.
24552 cat >conftest.$ac_ext <<_ACEOF
24555 cat confdefs.h >>conftest.$ac_ext
24556 cat >>conftest.$ac_ext <<_ACEOF
24557 /* end confdefs.h. */
24558 #include <sys/types.h>
24559 #include <sys/param.h>
24564 #if BYTE_ORDER != BIG_ENDIAN
24571 rm -f conftest.$ac_objext
24572 if { (ac_try="$ac_compile"
24573 case "(($ac_try" in
24574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24575 *) ac_try_echo=$ac_try;;
24577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24578 (eval "$ac_compile") 2>conftest.er1
24580 grep -v '^ *+' conftest.er1 >conftest.err
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } && {
24585 test -z "$ac_c_werror_flag" ||
24586 test ! -s conftest.err
24587 } && test -s conftest.$ac_objext; then
24588 ac_cv_c_bigendian=yes
24590 echo "$as_me: failed program was:" >&5
24591 sed 's/^/| /' conftest.$ac_ext >&5
24593 ac_cv_c_bigendian=no
24596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24598 echo "$as_me: failed program was:" >&5
24599 sed 's/^/| /' conftest.$ac_ext >&5
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 if test $ac_cv_c_bigendian = unknown; then
24606 if test "$cross_compiling" = yes; then
24607 ac_cv_c_bigendian=unknown
24609 cat >conftest.$ac_ext <<_ACEOF
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24616 /* Are we little or big endian? From Harbison&Steele. */
24620 char c[sizeof (long)];
24623 exit (u.c[sizeof (long) - 1] == 1);
24626 rm -f conftest$ac_exeext
24627 if { (ac_try="$ac_link"
24628 case "(($ac_try" in
24629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24630 *) ac_try_echo=$ac_try;;
24632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24633 (eval "$ac_link") 2>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24637 { (case "(($ac_try" in
24638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639 *) ac_try_echo=$ac_try;;
24641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642 (eval "$ac_try") 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; }; then
24646 ac_cv_c_bigendian=no
24648 echo "$as_me: program exited with status $ac_status" >&5
24649 echo "$as_me: failed program was:" >&5
24650 sed 's/^/| /' conftest.$ac_ext >&5
24652 ( exit $ac_status )
24653 ac_cv_c_bigendian=yes
24655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24661 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24662 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24663 if test $ac_cv_c_bigendian = unknown; then
24664 { 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
24665 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;}
24667 if test $ac_cv_c_bigendian = yes; then
24668 cat >>confdefs.h <<\_ACEOF
24669 #define WORDS_BIGENDIAN 1
24678 ac_cpp='$CXXCPP $CPPFLAGS'
24679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24685 for ac_header in iostream
24687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24691 echo $ECHO_N "(cached) $ECHO_C" >&6
24693 cat >conftest.$ac_ext <<_ACEOF
24696 cat confdefs.h >>conftest.$ac_ext
24697 cat >>conftest.$ac_ext <<_ACEOF
24698 /* end confdefs.h. */
24701 #include <$ac_header>
24703 rm -f conftest.$ac_objext
24704 if { (ac_try="$ac_compile"
24705 case "(($ac_try" in
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24707 *) ac_try_echo=$ac_try;;
24709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24710 (eval "$ac_compile") 2>conftest.er1
24712 grep -v '^ *+' conftest.er1 >conftest.err
24714 cat conftest.err >&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); } && {
24717 test -z "$ac_cxx_werror_flag" ||
24718 test ! -s conftest.err
24719 } && test -s conftest.$ac_objext; then
24720 eval "$as_ac_Header=yes"
24722 echo "$as_me: failed program was:" >&5
24723 sed 's/^/| /' conftest.$ac_ext >&5
24725 eval "$as_ac_Header=no"
24728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24730 ac_res=`eval echo '${'$as_ac_Header'}'`
24731 { echo "$as_me:$LINENO: result: $ac_res" >&5
24732 echo "${ECHO_T}$ac_res" >&6; }
24733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24734 cat >>confdefs.h <<_ACEOF
24735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24743 if test "$ac_cv_header_iostream" = "yes" ; then
24746 cat >>confdefs.h <<\_ACEOF
24747 #define wxUSE_IOSTREAMH 1
24753 ac_cpp='$CPP $CPPFLAGS'
24754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24761 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24762 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24763 if test "${wx_cv_explicit+set}" = set; then
24764 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24775 cat >conftest.$ac_ext <<_ACEOF
24778 cat confdefs.h >>conftest.$ac_ext
24779 cat >>conftest.$ac_ext <<_ACEOF
24780 /* end confdefs.h. */
24782 class Foo { public: explicit Foo(int) {} };
24794 rm -f conftest.$ac_objext
24795 if { (ac_try="$ac_compile"
24796 case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_compile") 2>conftest.er1
24803 grep -v '^ *+' conftest.er1 >conftest.err
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_cxx_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest.$ac_objext; then
24812 cat >conftest.$ac_ext <<_ACEOF
24815 cat confdefs.h >>conftest.$ac_ext
24816 cat >>conftest.$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24819 class Foo { public: explicit Foo(int) {} };
24820 static void TakeFoo(const Foo& foo) { }
24833 rm -f conftest.$ac_objext
24834 if { (ac_try="$ac_compile"
24835 case "(($ac_try" in
24836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24837 *) ac_try_echo=$ac_try;;
24839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24840 (eval "$ac_compile") 2>conftest.er1
24842 grep -v '^ *+' conftest.er1 >conftest.err
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } && {
24847 test -z "$ac_cxx_werror_flag" ||
24848 test ! -s conftest.err
24849 } && test -s conftest.$ac_objext; then
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.$ac_ext >&5
24869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24872 ac_cpp='$CPP $CPPFLAGS'
24873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24879 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24880 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24882 if test "$wx_cv_explicit" = "yes"; then
24883 cat >>confdefs.h <<\_ACEOF
24884 #define HAVE_EXPLICIT 1
24890 if test "x$SUNCXX" = xyes; then
24891 CXXFLAGS="-features=tmplife $CXXFLAGS"
24894 if test "x$SUNCC" = xyes; then
24895 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24898 if test "x$SGICC" = "xyes"; then
24899 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24900 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24901 if test "${wx_cv_prog_sgicc744+set}" = set; then
24902 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 cat >conftest.$ac_ext <<_ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24916 #if _SGI_COMPILER_VERSION >= 744
24917 chock me: mipsPro is 7.4.4 or later
24924 rm -f conftest.$ac_objext
24925 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;;
24930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 (eval "$ac_compile") 2>conftest.er1
24933 grep -v '^ *+' conftest.er1 >conftest.err
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } && {
24938 test -z "$ac_c_werror_flag" ||
24939 test ! -s conftest.err
24940 } && test -s conftest.$ac_objext; then
24941 wx_cv_prog_sgicc744=no
24943 echo "$as_me: failed program was:" >&5
24944 sed 's/^/| /' conftest.$ac_ext >&5
24946 wx_cv_prog_sgicc744=yes
24950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24954 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24955 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24957 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24958 CFLAGS="-woff 3970 $CFLAGS"
24961 if test "x$SGICXX" = "xyes"; then
24962 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24963 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24964 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24965 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 ac_cpp='$CXXCPP $CPPFLAGS'
24970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24974 cat >conftest.$ac_ext <<_ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24985 #if _SGI_COMPILER_VERSION >= 744
24986 chock me: mipsPro is 7.4.4 or later
24993 rm -f conftest.$ac_objext
24994 if { (ac_try="$ac_compile"
24995 case "(($ac_try" in
24996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24997 *) ac_try_echo=$ac_try;;
24999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25000 (eval "$ac_compile") 2>conftest.er1
25002 grep -v '^ *+' conftest.er1 >conftest.err
25004 cat conftest.err >&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } && {
25007 test -z "$ac_cxx_werror_flag" ||
25008 test ! -s conftest.err
25009 } && test -s conftest.$ac_objext; then
25010 wx_cv_prog_sgicxx744=no
25012 echo "$as_me: failed program was:" >&5
25013 sed 's/^/| /' conftest.$ac_ext >&5
25015 wx_cv_prog_sgicxx744=yes
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021 ac_cpp='$CPP $CPPFLAGS'
25022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25029 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25030 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25032 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25033 CXXFLAGS="-woff 3970 $CXXFLAGS"
25037 if test "x$HPCC" = "xyes"; then
25038 CFLAGS="+W 2011,2450 $CFLAGS"
25040 if test "x$HPCXX" = "xyes"; then
25041 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25044 if test "x$COMPAQCXX" = "xyes"; then
25045 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25055 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25056 if test "$wxUSE_UNICODE" = "yes"; then
25057 std_string="std::wstring"
25058 char_type="wchar_t"
25060 std_string="std::string"
25064 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25065 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25066 if test "${wx_cv_class_stdstring+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 cat >conftest.$ac_ext <<_ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25085 rm -f conftest.$ac_objext
25086 if { (ac_try="$ac_compile"
25087 case "(($ac_try" in
25088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25089 *) ac_try_echo=$ac_try;;
25091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25092 (eval "$ac_compile") 2>conftest.er1
25094 grep -v '^ *+' conftest.er1 >conftest.err
25096 cat conftest.err >&5
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); } && {
25099 test -z "$ac_cxx_werror_flag" ||
25100 test ! -s conftest.err
25101 } && test -s conftest.$ac_objext; then
25102 wx_cv_class_stdstring=yes
25104 echo "$as_me: failed program was:" >&5
25105 sed 's/^/| /' conftest.$ac_ext >&5
25107 wx_cv_class_stdstring=no
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25115 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25116 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25118 if test "$wx_cv_class_stdstring" = yes; then
25119 if test "$wxUSE_UNICODE" = "yes"; then
25120 cat >>confdefs.h <<\_ACEOF
25121 #define HAVE_STD_WSTRING 1
25126 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25127 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25128 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25129 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 cat >conftest.$ac_ext <<_ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25139 #ifdef HAVE_WCHAR_H
25141 # include <stddef.h>
25143 # include <wchar.h>
25145 #ifdef HAVE_STDLIB_H
25146 # include <stdlib.h>
25154 std::basic_string<$char_type> foo;
25155 const $char_type* dummy = foo.c_str();
25160 rm -f conftest.$ac_objext
25161 if { (ac_try="$ac_compile"
25162 case "(($ac_try" in
25163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25164 *) ac_try_echo=$ac_try;;
25166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25167 (eval "$ac_compile") 2>conftest.er1
25169 grep -v '^ *+' conftest.er1 >conftest.err
25171 cat conftest.err >&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); } && {
25174 test -z "$ac_cxx_werror_flag" ||
25175 test ! -s conftest.err
25176 } && test -s conftest.$ac_objext; then
25177 wx_cv_class_stdbasicstring=yes
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25182 wx_cv_class_stdbasicstring=no
25186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25191 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25193 if test "$wx_cv_class_stdbasicstring" != yes; then
25194 if test "$wxUSE_STL" = "yes"; then
25195 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25196 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25197 { (exit 1); exit 1; }; }
25198 elif test "$wxUSE_STD_STRING" = "yes"; then
25199 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25200 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25201 { (exit 1); exit 1; }; }
25203 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25204 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25205 wxUSE_STD_STRING=no
25211 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25212 { echo "$as_me:$LINENO: checking for std::istream" >&5
25213 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25214 if test "${ac_cv_type_std__istream+set}" = set; then
25215 echo $ECHO_N "(cached) $ECHO_C" >&6
25217 cat >conftest.$ac_ext <<_ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 #include <iostream>
25225 typedef std::istream ac__type_new_;
25229 if ((ac__type_new_ *) 0)
25231 if (sizeof (ac__type_new_))
25237 rm -f conftest.$ac_objext
25238 if { (ac_try="$ac_compile"
25239 case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25241 *) ac_try_echo=$ac_try;;
25243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25244 (eval "$ac_compile") 2>conftest.er1
25246 grep -v '^ *+' conftest.er1 >conftest.err
25248 cat conftest.err >&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && {
25251 test -z "$ac_cxx_werror_flag" ||
25252 test ! -s conftest.err
25253 } && test -s conftest.$ac_objext; then
25254 ac_cv_type_std__istream=yes
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25259 ac_cv_type_std__istream=no
25262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25264 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25265 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25266 if test $ac_cv_type_std__istream = yes; then
25268 cat >>confdefs.h <<_ACEOF
25269 #define HAVE_STD__ISTREAM 1
25274 wxUSE_STD_IOSTREAM=no
25276 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25277 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25278 if test "${ac_cv_type_std__ostream+set}" = set; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25281 cat >conftest.$ac_ext <<_ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 #include <iostream>
25289 typedef std::ostream ac__type_new_;
25293 if ((ac__type_new_ *) 0)
25295 if (sizeof (ac__type_new_))
25301 rm -f conftest.$ac_objext
25302 if { (ac_try="$ac_compile"
25303 case "(($ac_try" in
25304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25305 *) ac_try_echo=$ac_try;;
25307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25308 (eval "$ac_compile") 2>conftest.er1
25310 grep -v '^ *+' conftest.er1 >conftest.err
25312 cat conftest.err >&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } && {
25315 test -z "$ac_cxx_werror_flag" ||
25316 test ! -s conftest.err
25317 } && test -s conftest.$ac_objext; then
25318 ac_cv_type_std__ostream=yes
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25323 ac_cv_type_std__ostream=no
25326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25329 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25330 if test $ac_cv_type_std__ostream = yes; then
25332 cat >>confdefs.h <<_ACEOF
25333 #define HAVE_STD__OSTREAM 1
25338 wxUSE_STD_IOSTREAM=no
25342 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25343 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25344 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25345 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25346 { (exit 1); exit 1; }; }
25348 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25349 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25354 if test "$wxUSE_STL" = "yes"; then
25355 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25356 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25357 if test "${wx_cv_lib_stl+set}" = set; then
25358 echo $ECHO_N "(cached) $ECHO_C" >&6
25360 cat >conftest.$ac_ext <<_ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25367 #include <functional>
25368 #include <algorithm>
25374 std::vector<int> moo;
25375 std::list<int> foo;
25376 std::vector<int>::iterator it =
25377 std::find_if(moo.begin(), moo.end(),
25378 std::bind2nd(std::less<int>(), 3));
25383 rm -f conftest.$ac_objext
25384 if { (ac_try="$ac_compile"
25385 case "(($ac_try" in
25386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25387 *) ac_try_echo=$ac_try;;
25389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25390 (eval "$ac_compile") 2>conftest.er1
25392 grep -v '^ *+' conftest.er1 >conftest.err
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } && {
25397 test -z "$ac_cxx_werror_flag" ||
25398 test ! -s conftest.err
25399 } && test -s conftest.$ac_objext; then
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25412 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25413 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25415 if test "$wx_cv_lib_stl" != yes; then
25416 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25417 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25418 { (exit 1); exit 1; }; }
25421 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25422 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25423 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25424 echo $ECHO_N "(cached) $ECHO_C" >&6
25426 cat >conftest.$ac_ext <<_ACEOF
25429 cat confdefs.h >>conftest.$ac_ext
25430 cat >>conftest.$ac_ext <<_ACEOF
25431 /* end confdefs.h. */
25436 std::string foo, bar;
25438 foo.compare(1, 1, bar);
25439 foo.compare(1, 1, bar, 1, 1);
25441 foo.compare(1, 1, "");
25442 foo.compare(1, 1, "", 2);
25447 rm -f conftest.$ac_objext
25448 if { (ac_try="$ac_compile"
25449 case "(($ac_try" in
25450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25451 *) ac_try_echo=$ac_try;;
25453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25454 (eval "$ac_compile") 2>conftest.er1
25456 grep -v '^ *+' conftest.er1 >conftest.err
25458 cat conftest.err >&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); } && {
25461 test -z "$ac_cxx_werror_flag" ||
25462 test ! -s conftest.err
25463 } && test -s conftest.$ac_objext; then
25464 wx_cv_func_stdstring_compare=yes
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25469 wx_cv_func_stdstring_compare=no
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25476 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25477 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25479 if test "$wx_cv_func_stdstring_compare" = yes; then
25480 cat >>confdefs.h <<\_ACEOF
25481 #define HAVE_STD_STRING_COMPARE 1
25486 if test "$wx_cv_class_gnuhashmapset" = yes; then
25487 cat >>confdefs.h <<\_ACEOF
25488 #define HAVE_EXT_HASH_MAP 1
25491 cat >>confdefs.h <<\_ACEOF
25492 #define HAVE_GNU_CXX_HASH_MAP 1
25497 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25498 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25499 if test "${ac_cv_header_unordered_map+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25502 cat >conftest.$ac_ext <<_ACEOF
25505 cat confdefs.h >>conftest.$ac_ext
25506 cat >>conftest.$ac_ext <<_ACEOF
25507 /* end confdefs.h. */
25511 #include <unordered_map>
25513 rm -f conftest.$ac_objext
25514 if { (ac_try="$ac_compile"
25515 case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_compile") 2>conftest.er1
25522 grep -v '^ *+' conftest.er1 >conftest.err
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_cxx_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest.$ac_objext; then
25530 ac_cv_header_unordered_map=yes
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25535 ac_cv_header_unordered_map=no
25538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25540 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25541 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25542 if test $ac_cv_header_unordered_map = yes; then
25543 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25544 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25545 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25548 cat >conftest.$ac_ext <<_ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25554 #include <unordered_map>
25555 #include <unordered_set>
25559 std::unordered_map<double*, char*> test1;
25560 std::unordered_set<char*> test2;
25565 rm -f conftest.$ac_objext
25566 if { (ac_try="$ac_compile"
25567 case "(($ac_try" in
25568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25569 *) ac_try_echo=$ac_try;;
25571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25572 (eval "$ac_compile") 2>conftest.er1
25574 grep -v '^ *+' conftest.er1 >conftest.err
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } && {
25579 test -z "$ac_cxx_werror_flag" ||
25580 test ! -s conftest.err
25581 } && test -s conftest.$ac_objext; then
25582 wx_cv_class_stdunorderedmapset=yes
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.$ac_ext >&5
25587 wx_cv_class_stdunorderedmapset=no
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25594 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25595 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25600 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25601 cat >>confdefs.h <<\_ACEOF
25602 #define HAVE_STD_UNORDERED_MAP 1
25605 cat >>confdefs.h <<\_ACEOF
25606 #define HAVE_STD_UNORDERED_SET 1
25610 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25611 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25612 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 cat >conftest.$ac_ext <<_ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25624 #include <tr1/unordered_map>
25626 rm -f conftest.$ac_objext
25627 if { (ac_try="$ac_compile"
25628 case "(($ac_try" in
25629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25630 *) ac_try_echo=$ac_try;;
25632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25633 (eval "$ac_compile") 2>conftest.er1
25635 grep -v '^ *+' conftest.er1 >conftest.err
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } && {
25640 test -z "$ac_cxx_werror_flag" ||
25641 test ! -s conftest.err
25642 } && test -s conftest.$ac_objext; then
25643 ac_cv_header_tr1_unordered_map=yes
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25648 ac_cv_header_tr1_unordered_map=no
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25654 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25655 if test $ac_cv_header_tr1_unordered_map = yes; then
25656 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25657 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25658 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 cat >conftest.$ac_ext <<_ACEOF
25664 cat confdefs.h >>conftest.$ac_ext
25665 cat >>conftest.$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 #include <tr1/unordered_map>
25668 #include <tr1/unordered_set>
25672 std::tr1::unordered_map<double*, char*> test1;
25673 std::tr1::unordered_set<char*> test2;
25674 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25675 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25681 rm -f conftest.$ac_objext
25682 if { (ac_try="$ac_compile"
25683 case "(($ac_try" in
25684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25685 *) ac_try_echo=$ac_try;;
25687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25688 (eval "$ac_compile") 2>conftest.er1
25690 grep -v '^ *+' conftest.er1 >conftest.err
25692 cat conftest.err >&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } && {
25695 test -z "$ac_cxx_werror_flag" ||
25696 test ! -s conftest.err
25697 } && test -s conftest.$ac_objext; then
25698 wx_cv_class_tr1unorderedmapset=yes
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.$ac_ext >&5
25703 wx_cv_class_tr1unorderedmapset=no
25706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25710 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25711 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25716 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25717 cat >>confdefs.h <<\_ACEOF
25718 #define HAVE_TR1_UNORDERED_MAP 1
25721 cat >>confdefs.h <<\_ACEOF
25722 #define HAVE_TR1_UNORDERED_SET 1
25726 { echo "$as_me:$LINENO: checking for hash_map" >&5
25727 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25728 if test "${ac_cv_header_hash_map+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25731 cat >conftest.$ac_ext <<_ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25740 #include <hash_map>
25742 rm -f conftest.$ac_objext
25743 if { (ac_try="$ac_compile"
25744 case "(($ac_try" in
25745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25746 *) ac_try_echo=$ac_try;;
25748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25749 (eval "$ac_compile") 2>conftest.er1
25751 grep -v '^ *+' conftest.er1 >conftest.err
25753 cat conftest.err >&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); } && {
25756 test -z "$ac_cxx_werror_flag" ||
25757 test ! -s conftest.err
25758 } && test -s conftest.$ac_objext; then
25759 ac_cv_header_hash_map=yes
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25764 ac_cv_header_hash_map=no
25767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25769 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25770 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25771 if test $ac_cv_header_hash_map = yes; then
25772 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25773 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25774 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25775 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 cat >conftest.$ac_ext <<_ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 #include <hash_map>
25784 #include <hash_set>
25788 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25789 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25794 rm -f conftest.$ac_objext
25795 if { (ac_try="$ac_compile"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_compile") 2>conftest.er1
25803 grep -v '^ *+' conftest.er1 >conftest.err
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_cxx_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest.$ac_objext; then
25811 wx_cv_class_stdhashmapset=yes
25813 echo "$as_me: failed program was:" >&5
25814 sed 's/^/| /' conftest.$ac_ext >&5
25816 wx_cv_class_stdhashmapset=no
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25823 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25824 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25829 if test "$wx_cv_class_stdhashmapset" = yes; then
25830 cat >>confdefs.h <<\_ACEOF
25831 #define HAVE_HASH_MAP 1
25834 cat >>confdefs.h <<\_ACEOF
25835 #define HAVE_STD_HASH_MAP 1
25840 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25841 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25842 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25845 cat >conftest.$ac_ext <<_ACEOF
25848 cat confdefs.h >>conftest.$ac_ext
25849 cat >>conftest.$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25854 #include <ext/hash_map>
25856 rm -f conftest.$ac_objext
25857 if { (ac_try="$ac_compile"
25858 case "(($ac_try" in
25859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25860 *) ac_try_echo=$ac_try;;
25862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25863 (eval "$ac_compile") 2>conftest.er1
25865 grep -v '^ *+' conftest.er1 >conftest.err
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } && {
25870 test -z "$ac_cxx_werror_flag" ||
25871 test ! -s conftest.err
25872 } && test -s conftest.$ac_objext; then
25873 ac_cv_header_ext_hash_map=yes
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25878 ac_cv_header_ext_hash_map=no
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25883 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25884 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25885 if test $ac_cv_header_ext_hash_map = yes; then
25886 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25887 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25888 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25889 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 cat >conftest.$ac_ext <<_ACEOF
25894 cat confdefs.h >>conftest.$ac_ext
25895 cat >>conftest.$ac_ext <<_ACEOF
25896 /* end confdefs.h. */
25897 #include <ext/hash_map>
25898 #include <ext/hash_set>
25902 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25903 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25908 rm -f conftest.$ac_objext
25909 if { (ac_try="$ac_compile"
25910 case "(($ac_try" in
25911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25912 *) ac_try_echo=$ac_try;;
25914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25915 (eval "$ac_compile") 2>conftest.er1
25917 grep -v '^ *+' conftest.er1 >conftest.err
25919 cat conftest.err >&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); } && {
25922 test -z "$ac_cxx_werror_flag" ||
25923 test ! -s conftest.err
25924 } && test -s conftest.$ac_objext; then
25925 wx_cv_class_gnuhashmapset=yes
25927 echo "$as_me: failed program was:" >&5
25928 sed 's/^/| /' conftest.$ac_ext >&5
25930 wx_cv_class_gnuhashmapset=no
25933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25937 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25938 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25948 ac_cpp='$CXXCPP $CPPFLAGS'
25949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25953 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25954 if test -z "$CXXCPP"; then
25955 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25958 # Double quotes because CXXCPP needs to be expanded
25959 for CXXCPP in "$CXX -E" "/lib/cpp"
25961 ac_preproc_ok=false
25962 for ac_cxx_preproc_warn_flag in '' yes
25964 # Use a header file that comes with gcc, so configuring glibc
25965 # with a fresh cross-compiler works.
25966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25967 # <limits.h> exists even on freestanding compilers.
25968 # On the NeXT, cc -E runs the code through the compiler's parser,
25969 # not just through cpp. "Syntax error" is here to catch this case.
25970 cat >conftest.$ac_ext <<_ACEOF
25973 cat confdefs.h >>conftest.$ac_ext
25974 cat >>conftest.$ac_ext <<_ACEOF
25975 /* end confdefs.h. */
25977 # include <limits.h>
25979 # include <assert.h>
25983 if { (ac_try="$ac_cpp conftest.$ac_ext"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25991 grep -v '^ *+' conftest.er1 >conftest.err
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } >/dev/null && {
25996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25997 test ! -s conftest.err
26001 echo "$as_me: failed program was:" >&5
26002 sed 's/^/| /' conftest.$ac_ext >&5
26004 # Broken: fails on valid input.
26008 rm -f conftest.err conftest.$ac_ext
26010 # OK, works on sane cases. Now check whether nonexistent headers
26011 # can be detected and how.
26012 cat >conftest.$ac_ext <<_ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 #include <ac_nonexistent.h>
26020 if { (ac_try="$ac_cpp conftest.$ac_ext"
26021 case "(($ac_try" in
26022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26023 *) ac_try_echo=$ac_try;;
26025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26028 grep -v '^ *+' conftest.er1 >conftest.err
26030 cat conftest.err >&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); } >/dev/null && {
26033 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26034 test ! -s conftest.err
26036 # Broken: success on invalid input.
26039 echo "$as_me: failed program was:" >&5
26040 sed 's/^/| /' conftest.$ac_ext >&5
26042 # Passes both tests.
26047 rm -f conftest.err conftest.$ac_ext
26050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26051 rm -f conftest.err conftest.$ac_ext
26052 if $ac_preproc_ok; then
26057 ac_cv_prog_CXXCPP=$CXXCPP
26060 CXXCPP=$ac_cv_prog_CXXCPP
26062 ac_cv_prog_CXXCPP=$CXXCPP
26064 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26065 echo "${ECHO_T}$CXXCPP" >&6; }
26066 ac_preproc_ok=false
26067 for ac_cxx_preproc_warn_flag in '' yes
26069 # Use a header file that comes with gcc, so configuring glibc
26070 # with a fresh cross-compiler works.
26071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26072 # <limits.h> exists even on freestanding compilers.
26073 # On the NeXT, cc -E runs the code through the compiler's parser,
26074 # not just through cpp. "Syntax error" is here to catch this case.
26075 cat >conftest.$ac_ext <<_ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26082 # include <limits.h>
26084 # include <assert.h>
26088 if { (ac_try="$ac_cpp conftest.$ac_ext"
26089 case "(($ac_try" in
26090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26091 *) ac_try_echo=$ac_try;;
26093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26096 grep -v '^ *+' conftest.er1 >conftest.err
26098 cat conftest.err >&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } >/dev/null && {
26101 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26102 test ! -s conftest.err
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.$ac_ext >&5
26109 # Broken: fails on valid input.
26113 rm -f conftest.err conftest.$ac_ext
26115 # OK, works on sane cases. Now check whether nonexistent headers
26116 # can be detected and how.
26117 cat >conftest.$ac_ext <<_ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26123 #include <ac_nonexistent.h>
26125 if { (ac_try="$ac_cpp conftest.$ac_ext"
26126 case "(($ac_try" in
26127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26128 *) ac_try_echo=$ac_try;;
26130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26133 grep -v '^ *+' conftest.er1 >conftest.err
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } >/dev/null && {
26138 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26139 test ! -s conftest.err
26141 # Broken: success on invalid input.
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26147 # Passes both tests.
26152 rm -f conftest.err conftest.$ac_ext
26155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26156 rm -f conftest.err conftest.$ac_ext
26157 if $ac_preproc_ok; then
26160 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26161 See \`config.log' for more details." >&5
26162 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26163 See \`config.log' for more details." >&2;}
26164 { (exit 1); exit 1; }; }
26168 ac_cpp='$CXXCPP $CPPFLAGS'
26169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26176 for ac_header in type_traits tr1/type_traits
26178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 ac_res=`eval echo '${'$as_ac_Header'}'`
26186 { echo "$as_me:$LINENO: result: $ac_res" >&5
26187 echo "${ECHO_T}$ac_res" >&6; }
26189 # Is the header compilable?
26190 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26192 cat >conftest.$ac_ext <<_ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198 $ac_includes_default
26199 #include <$ac_header>
26201 rm -f conftest.$ac_objext
26202 if { (ac_try="$ac_compile"
26203 case "(($ac_try" in
26204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205 *) ac_try_echo=$ac_try;;
26207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208 (eval "$ac_compile") 2>conftest.er1
26210 grep -v '^ *+' conftest.er1 >conftest.err
26212 cat conftest.err >&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } && {
26215 test -z "$ac_cxx_werror_flag" ||
26216 test ! -s conftest.err
26217 } && test -s conftest.$ac_objext; then
26218 ac_header_compiler=yes
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26223 ac_header_compiler=no
26226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26227 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26228 echo "${ECHO_T}$ac_header_compiler" >&6; }
26230 # Is the header present?
26231 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26233 cat >conftest.$ac_ext <<_ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239 #include <$ac_header>
26241 if { (ac_try="$ac_cpp conftest.$ac_ext"
26242 case "(($ac_try" in
26243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26244 *) ac_try_echo=$ac_try;;
26246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26249 grep -v '^ *+' conftest.er1 >conftest.err
26251 cat conftest.err >&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } >/dev/null && {
26254 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26255 test ! -s conftest.err
26257 ac_header_preproc=yes
26259 echo "$as_me: failed program was:" >&5
26260 sed 's/^/| /' conftest.$ac_ext >&5
26262 ac_header_preproc=no
26265 rm -f conftest.err conftest.$ac_ext
26266 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26267 echo "${ECHO_T}$ac_header_preproc" >&6; }
26269 # So? What about this header?
26270 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26276 ac_header_preproc=yes
26279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26292 ## ----------------------------------------- ##
26293 ## Report this to wx-dev@lists.wxwidgets.org ##
26294 ## ----------------------------------------- ##
26296 ) | sed "s/^/$as_me: WARNING: /" >&2
26299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26302 echo $ECHO_N "(cached) $ECHO_C" >&6
26304 eval "$as_ac_Header=\$ac_header_preproc"
26306 ac_res=`eval echo '${'$as_ac_Header'}'`
26307 { echo "$as_me:$LINENO: result: $ac_res" >&5
26308 echo "${ECHO_T}$ac_res" >&6; }
26311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26312 cat >>confdefs.h <<_ACEOF
26313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26323 if test -n "$GCC"; then
26324 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26325 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26326 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26330 cat >conftest.$ac_ext <<_ACEOF
26333 cat confdefs.h >>conftest.$ac_ext
26334 cat >>conftest.$ac_ext <<_ACEOF
26335 /* end confdefs.h. */
26341 unsigned int value=0;
26342 /* wxAtomicInc doesn't use return value here */
26343 __sync_fetch_and_add(&value, 2);
26344 __sync_sub_and_fetch(&value, 1);
26345 /* but wxAtomicDec does, so mimic that: */
26346 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26352 rm -f conftest.$ac_objext conftest$ac_exeext
26353 if { (ac_try="$ac_link"
26354 case "(($ac_try" in
26355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26356 *) ac_try_echo=$ac_try;;
26358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26359 (eval "$ac_link") 2>conftest.er1
26361 grep -v '^ *+' conftest.er1 >conftest.err
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } && {
26366 test -z "$ac_cxx_werror_flag" ||
26367 test ! -s conftest.err
26368 } && test -s conftest$ac_exeext &&
26369 $as_test_x conftest$ac_exeext; then
26370 wx_cv_cc_gcc_atomic_builtins=yes
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26375 wx_cv_cc_gcc_atomic_builtins=no
26378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26379 conftest$ac_exeext conftest.$ac_ext
26383 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26384 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26385 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26386 cat >>confdefs.h <<\_ACEOF
26387 #define HAVE_GCC_ATOMIC_BUILTINS 1
26395 ac_cpp='$CPP $CPPFLAGS'
26396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26403 /usr/local/include \
26404 /usr/local/X11/include \
26405 /usr/local/include/X11 \
26406 /usr/local/X11R7/include \
26407 /usr/local/X11R6/include \
26408 /usr/local/include/X11R7 \
26409 /usr/local/include/X11R6 \
26411 /usr/Motif-2.1/include \
26412 /usr/Motif-1.2/include \
26413 /usr/include/Motif1.2 \
26416 /usr/openwin/include \
26420 /usr/X11R7/include \
26421 /usr/X11R6/include \
26422 /usr/X11R6.4/include \
26424 /usr/include/X11R7 \
26425 /usr/include/X11R6 \
26430 /usr/XFree86/include/X11 \
26433 /usr/local/X1R5/include \
26434 /usr/local/include/X11R5 \
26435 /usr/X11R5/include \
26436 /usr/include/X11R5 \
26438 /usr/local/X11R4/include \
26439 /usr/local/include/X11R4 \
26440 /usr/X11R4/include \
26441 /usr/include/X11R4 \
26443 /usr/openwin/share/include"
26445 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26446 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26450 if test "${wx_cv_std_libpath+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26454 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26455 for e in a so sl dylib dll.a; do
26457 if test -f $libc; then
26460 cat >conftest.$ac_ext <<_ACEOF
26461 int main() { return 0; }
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (ac_try="$ac_link"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467 *) ac_try_echo=$ac_try;;
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_link") 2>conftest.er1
26472 grep -v '^ *+' conftest.er1 >conftest.err
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_c_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest$ac_exeext &&
26480 $as_test_x conftest$ac_exeext; then
26481 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26490 conftest$ac_exeext conftest.$ac_ext
26492 if test "x$wx_cv_std_libpath" != "x"; then
26498 if test "x$wx_cv_std_libpath" = "x"; then
26499 wx_cv_std_libpath="lib"
26508 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26509 wx_cv_std_libpath="lib/64"
26511 wx_cv_std_libpath="lib"
26516 if test "$ac_cv_sizeof_void_p" = 8 -a \
26517 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26518 wx_cv_std_libpath="lib64"
26520 wx_cv_std_libpath="lib"
26525 wx_cv_std_libpath="lib";
26529 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26530 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26532 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26534 if test "$build" != "$host" -a "$GCC" = yes; then
26535 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26536 cross_root=`dirname $cross_root`
26537 cross_root=`dirname $cross_root`
26539 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26540 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26541 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26543 if test -z "$PKG_CONFIG_PATH"; then
26544 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26545 export PKG_CONFIG_PATH
26548 if test -z "$x_includes" -o "$x_includes" = NONE; then
26551 for ac_dir in $SEARCH_INCLUDE /usr/include;
26553 if test -f "$ac_dir/X11/Intrinsic.h"; then
26554 ac_find_includes=$ac_dir
26559 x_includes=$ac_find_includes
26561 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26564 for ac_dir in $SEARCH_LIB;
26566 for ac_extension in a so sl dylib dll.a; do
26567 if test -f "$ac_dir/libXt.$ac_extension"; then
26568 ac_find_libraries=$ac_dir
26574 x_libraries=$ac_find_libraries
26580 cat >confcache <<\_ACEOF
26581 # This file is a shell script that caches the results of configure
26582 # tests run on this system so they can be shared between configure
26583 # scripts and configure runs, see configure's option --config-cache.
26584 # It is not useful on other systems. If it contains results you don't
26585 # want to keep, you may remove or edit it.
26587 # config.status only pays attention to the cache file if you give it
26588 # the --recheck option to rerun configure.
26590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26592 # following values.
26596 # The following way of writing the cache mishandles newlines in values,
26597 # but we know of no workaround that is simple, portable, and efficient.
26598 # So, we kill variables containing newlines.
26599 # Ultrix sh set writes to stderr and can't be redirected directly,
26600 # and sets the high bit in the cache file unless we assign to the vars.
26602 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26603 eval ac_val=\$$ac_var
26607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26611 _ | IFS | as_nl) ;; #(
26612 *) $as_unset $ac_var ;;
26618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26619 *${as_nl}ac_space=\ *)
26620 # `set' does not quote correctly, so add quotes (double-quote
26621 # substitution turns \\\\ into \\, and sed turns \\ into \).
26624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26627 # `set' quotes correctly as required by POSIX, so do not add quotes.
26628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26642 if test -w "$cache_file"; then
26643 test "x$cache_file" != "x/dev/null" &&
26644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26645 echo "$as_me: updating cache $cache_file" >&6;}
26646 cat confcache >$cache_file
26648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26649 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26655 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26657 if test "${wx_cv_lib_glibc21+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 cat >conftest.$ac_ext <<_ACEOF
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 #include <features.h>
26672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26680 rm -f conftest.$ac_objext
26681 if { (ac_try="$ac_compile"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_compile") 2>conftest.er1
26689 grep -v '^ *+' conftest.er1 >conftest.err
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } && {
26694 test -z "$ac_c_werror_flag" ||
26695 test ! -s conftest.err
26696 } && test -s conftest.$ac_objext; then
26698 wx_cv_lib_glibc21=yes
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.$ac_ext >&5
26705 wx_cv_lib_glibc21=no
26710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26713 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26714 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26715 if test "$wx_cv_lib_glibc21" = "yes"; then
26716 cat >>confdefs.h <<\_ACEOF
26717 #define wxHAVE_GLIBC2 1
26723 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26724 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define _GNU_SOURCE 1
26737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26741 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 cat >conftest.$ac_ext <<_ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26751 #define $ac_func innocuous_$ac_func
26753 /* System header to define __stub macros and hopefully few prototypes,
26754 which can conflict with char $ac_func (); below.
26755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26756 <limits.h> exists even on freestanding compilers. */
26759 # include <limits.h>
26761 # include <assert.h>
26766 /* Override any GCC internal prototype to avoid an error.
26767 Use char because int might match the return type of a GCC
26768 builtin and then its argument prototype would still apply. */
26773 /* The GNU C library defines this for functions which it implements
26774 to always fail with ENOSYS. Some functions are actually named
26775 something starting with __ and the normal name is an alias. */
26776 #if defined __stub_$ac_func || defined __stub___$ac_func
26783 return $ac_func ();
26788 rm -f conftest.$ac_objext conftest$ac_exeext
26789 if { (ac_try="$ac_link"
26790 case "(($ac_try" in
26791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26792 *) ac_try_echo=$ac_try;;
26794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26795 (eval "$ac_link") 2>conftest.er1
26797 grep -v '^ *+' conftest.er1 >conftest.err
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } && {
26802 test -z "$ac_c_werror_flag" ||
26803 test ! -s conftest.err
26804 } && test -s conftest$ac_exeext &&
26805 $as_test_x conftest$ac_exeext; then
26806 eval "$as_ac_var=yes"
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26811 eval "$as_ac_var=no"
26814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26815 conftest$ac_exeext conftest.$ac_ext
26817 ac_res=`eval echo '${'$as_ac_var'}'`
26818 { echo "$as_me:$LINENO: result: $ac_res" >&5
26819 echo "${ECHO_T}$ac_res" >&6; }
26820 if test `eval echo '${'$as_ac_var'}'` = yes; then
26821 cat >>confdefs.h <<_ACEOF
26822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26829 for ac_func in floor
26831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26835 echo $ECHO_N "(cached) $ECHO_C" >&6
26837 cat >conftest.$ac_ext <<_ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26845 #define $ac_func innocuous_$ac_func
26847 /* System header to define __stub macros and hopefully few prototypes,
26848 which can conflict with char $ac_func (); below.
26849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26850 <limits.h> exists even on freestanding compilers. */
26853 # include <limits.h>
26855 # include <assert.h>
26860 /* Override any GCC internal prototype to avoid an error.
26861 Use char because int might match the return type of a GCC
26862 builtin and then its argument prototype would still apply. */
26867 /* The GNU C library defines this for functions which it implements
26868 to always fail with ENOSYS. Some functions are actually named
26869 something starting with __ and the normal name is an alias. */
26870 #if defined __stub_$ac_func || defined __stub___$ac_func
26877 return $ac_func ();
26882 rm -f conftest.$ac_objext conftest$ac_exeext
26883 if { (ac_try="$ac_link"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_link") 2>conftest.er1
26891 grep -v '^ *+' conftest.er1 >conftest.err
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_c_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest$ac_exeext &&
26899 $as_test_x conftest$ac_exeext; then
26900 eval "$as_ac_var=yes"
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26905 eval "$as_ac_var=no"
26908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26909 conftest$ac_exeext conftest.$ac_ext
26911 ac_res=`eval echo '${'$as_ac_var'}'`
26912 { echo "$as_me:$LINENO: result: $ac_res" >&5
26913 echo "${ECHO_T}$ac_res" >&6; }
26914 if test `eval echo '${'$as_ac_var'}'` = yes; then
26915 cat >>confdefs.h <<_ACEOF
26916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26922 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26923 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26924 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26925 { echo "$as_me:$LINENO: result: yes" >&5
26926 echo "${ECHO_T}yes" >&6; }
26928 { echo "$as_me:$LINENO: result: no" >&5
26929 echo "${ECHO_T}no" >&6; }
26931 # use different functions to avoid configure caching
26937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26943 cat >conftest.$ac_ext <<_ACEOF
26946 cat confdefs.h >>conftest.$ac_ext
26947 cat >>conftest.$ac_ext <<_ACEOF
26948 /* end confdefs.h. */
26949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26951 #define $ac_func innocuous_$ac_func
26953 /* System header to define __stub macros and hopefully few prototypes,
26954 which can conflict with char $ac_func (); below.
26955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26956 <limits.h> exists even on freestanding compilers. */
26959 # include <limits.h>
26961 # include <assert.h>
26966 /* Override any GCC internal prototype to avoid an error.
26967 Use char because int might match the return type of a GCC
26968 builtin and then its argument prototype would still apply. */
26973 /* The GNU C library defines this for functions which it implements
26974 to always fail with ENOSYS. Some functions are actually named
26975 something starting with __ and the normal name is an alias. */
26976 #if defined __stub_$ac_func || defined __stub___$ac_func
26983 return $ac_func ();
26988 rm -f conftest.$ac_objext conftest$ac_exeext
26989 if { (ac_try="$ac_link"
26990 case "(($ac_try" in
26991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_link") 2>conftest.er1
26997 grep -v '^ *+' conftest.er1 >conftest.err
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } && {
27002 test -z "$ac_c_werror_flag" ||
27003 test ! -s conftest.err
27004 } && test -s conftest$ac_exeext &&
27005 $as_test_x conftest$ac_exeext; then
27006 eval "$as_ac_var=yes"
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27011 eval "$as_ac_var=no"
27014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27015 conftest$ac_exeext conftest.$ac_ext
27017 ac_res=`eval echo '${'$as_ac_var'}'`
27018 { echo "$as_me:$LINENO: result: $ac_res" >&5
27019 echo "${ECHO_T}$ac_res" >&6; }
27020 if test `eval echo '${'$as_ac_var'}'` = yes; then
27021 cat >>confdefs.h <<_ACEOF
27022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27029 for ac_func in ceil
27031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27035 echo $ECHO_N "(cached) $ECHO_C" >&6
27037 cat >conftest.$ac_ext <<_ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27045 #define $ac_func innocuous_$ac_func
27047 /* System header to define __stub macros and hopefully few prototypes,
27048 which can conflict with char $ac_func (); below.
27049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27050 <limits.h> exists even on freestanding compilers. */
27053 # include <limits.h>
27055 # include <assert.h>
27060 /* Override any GCC internal prototype to avoid an error.
27061 Use char because int might match the return type of a GCC
27062 builtin and then its argument prototype would still apply. */
27067 /* The GNU C library defines this for functions which it implements
27068 to always fail with ENOSYS. Some functions are actually named
27069 something starting with __ and the normal name is an alias. */
27070 #if defined __stub_$ac_func || defined __stub___$ac_func
27077 return $ac_func ();
27082 rm -f conftest.$ac_objext conftest$ac_exeext
27083 if { (ac_try="$ac_link"
27084 case "(($ac_try" in
27085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27086 *) ac_try_echo=$ac_try;;
27088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27089 (eval "$ac_link") 2>conftest.er1
27091 grep -v '^ *+' conftest.er1 >conftest.err
27093 cat conftest.err >&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } && {
27096 test -z "$ac_c_werror_flag" ||
27097 test ! -s conftest.err
27098 } && test -s conftest$ac_exeext &&
27099 $as_test_x conftest$ac_exeext; then
27100 eval "$as_ac_var=yes"
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.$ac_ext >&5
27105 eval "$as_ac_var=no"
27108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27109 conftest$ac_exeext conftest.$ac_ext
27111 ac_res=`eval echo '${'$as_ac_var'}'`
27112 { echo "$as_me:$LINENO: result: $ac_res" >&5
27113 echo "${ECHO_T}$ac_res" >&6; }
27114 if test `eval echo '${'$as_ac_var'}'` = yes; then
27115 cat >>confdefs.h <<_ACEOF
27116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27122 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27123 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27124 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27125 { echo "$as_me:$LINENO: result: yes" >&5
27126 echo "${ECHO_T}yes" >&6; }
27128 { echo "$as_me:$LINENO: result: no" >&5
27129 echo "${ECHO_T}no" >&6; }
27130 # not sure we should warn the user, crash, etc.
27135 ac_cpp='$CXXCPP $CPPFLAGS'
27136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27140 if test "wxUSE_UNICODE" = "yes"; then
27142 for wx_func in wcstoull
27144 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27146 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 cat >conftest.$ac_ext <<_ACEOF
27154 cat confdefs.h >>conftest.$ac_ext
27155 cat >>conftest.$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27159 $ac_includes_default
27175 rm -f conftest.$ac_objext conftest$ac_exeext
27176 if { (ac_try="$ac_link"
27177 case "(($ac_try" in
27178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27179 *) ac_try_echo=$ac_try;;
27181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27182 (eval "$ac_link") 2>conftest.er1
27184 grep -v '^ *+' conftest.er1 >conftest.err
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } && {
27189 test -z "$ac_cxx_werror_flag" ||
27190 test ! -s conftest.err
27191 } && test -s conftest$ac_exeext &&
27192 $as_test_x conftest$ac_exeext; then
27193 eval wx_cv_func_$wx_func=yes
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.$ac_ext >&5
27198 eval wx_cv_func_$wx_func=no
27201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27202 conftest$ac_exeext conftest.$ac_ext
27205 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27206 { echo "$as_me:$LINENO: result: $ac_res" >&5
27207 echo "${ECHO_T}$ac_res" >&6; }
27209 if eval test \$wx_cv_func_$wx_func = yes
27211 cat >>confdefs.h <<_ACEOF
27212 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27224 for wx_func in strtoull
27226 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27227 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27228 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27229 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 cat >conftest.$ac_ext <<_ACEOF
27236 cat confdefs.h >>conftest.$ac_ext
27237 cat >>conftest.$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27241 $ac_includes_default
27257 rm -f conftest.$ac_objext conftest$ac_exeext
27258 if { (ac_try="$ac_link"
27259 case "(($ac_try" in
27260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27261 *) ac_try_echo=$ac_try;;
27263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27264 (eval "$ac_link") 2>conftest.er1
27266 grep -v '^ *+' conftest.er1 >conftest.err
27268 cat conftest.err >&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); } && {
27271 test -z "$ac_cxx_werror_flag" ||
27272 test ! -s conftest.err
27273 } && test -s conftest$ac_exeext &&
27274 $as_test_x conftest$ac_exeext; then
27275 eval wx_cv_func_$wx_func=yes
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27280 eval wx_cv_func_$wx_func=no
27283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27284 conftest$ac_exeext conftest.$ac_ext
27287 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27288 { echo "$as_me:$LINENO: result: $ac_res" >&5
27289 echo "${ECHO_T}$ac_res" >&6; }
27291 if eval test \$wx_cv_func_$wx_func = yes
27293 cat >>confdefs.h <<_ACEOF
27294 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27306 ac_cpp='$CPP $CPPFLAGS'
27307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27314 if test "$wxUSE_REGEX" != "no"; then
27315 cat >>confdefs.h <<\_ACEOF
27316 #define wxUSE_REGEX 1
27320 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27321 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27322 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27323 wxUSE_REGEX=builtin
27326 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27327 { echo "$as_me:$LINENO: checking for regex.h" >&5
27328 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27329 if test "${ac_cv_header_regex_h+set}" = set; then
27330 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 cat >conftest.$ac_ext <<_ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27342 rm -f conftest.$ac_objext
27343 if { (ac_try="$ac_compile"
27344 case "(($ac_try" in
27345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27346 *) ac_try_echo=$ac_try;;
27348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27349 (eval "$ac_compile") 2>conftest.er1
27351 grep -v '^ *+' conftest.er1 >conftest.err
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } && {
27356 test -z "$ac_c_werror_flag" ||
27357 test ! -s conftest.err
27358 } && test -s conftest.$ac_objext; then
27359 ac_cv_header_regex_h=yes
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27364 ac_cv_header_regex_h=no
27367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27369 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27370 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27371 if test $ac_cv_header_regex_h = yes; then
27374 for ac_func in regcomp re_search
27376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27382 cat >conftest.$ac_ext <<_ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27390 #define $ac_func innocuous_$ac_func
27392 /* System header to define __stub macros and hopefully few prototypes,
27393 which can conflict with char $ac_func (); below.
27394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27395 <limits.h> exists even on freestanding compilers. */
27398 # include <limits.h>
27400 # include <assert.h>
27405 /* Override any GCC internal prototype to avoid an error.
27406 Use char because int might match the return type of a GCC
27407 builtin and then its argument prototype would still apply. */
27412 /* The GNU C library defines this for functions which it implements
27413 to always fail with ENOSYS. Some functions are actually named
27414 something starting with __ and the normal name is an alias. */
27415 #if defined __stub_$ac_func || defined __stub___$ac_func
27422 return $ac_func ();
27427 rm -f conftest.$ac_objext conftest$ac_exeext
27428 if { (ac_try="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27436 grep -v '^ *+' conftest.er1 >conftest.err
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 eval "$as_ac_var=yes"
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27450 eval "$as_ac_var=no"
27453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27454 conftest$ac_exeext conftest.$ac_ext
27456 ac_res=`eval echo '${'$as_ac_var'}'`
27457 { echo "$as_me:$LINENO: result: $ac_res" >&5
27458 echo "${ECHO_T}$ac_res" >&6; }
27459 if test `eval echo '${'$as_ac_var'}'` = yes; then
27460 cat >>confdefs.h <<_ACEOF
27461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27471 if test "x$ac_cv_func_regcomp" != "xyes"; then
27472 if test "$wxUSE_REGEX" = "sys" ; then
27473 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27474 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27475 { (exit 1); exit 1; }; }
27477 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27478 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27479 wxUSE_REGEX=builtin
27483 cat >>confdefs.h <<\_ACEOF
27484 #define WX_NO_REGEX_ADVANCED 1
27493 if test "$wxUSE_ZLIB" != "no" ; then
27494 cat >>confdefs.h <<\_ACEOF
27495 #define wxUSE_ZLIB 1
27499 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27500 if test "$USE_DARWIN" = 1; then
27501 system_zlib_h_ok="yes"
27503 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27504 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27505 if test "${ac_cv_header_zlib_h+set}" = set; then
27506 echo $ECHO_N "(cached) $ECHO_C" >&6
27508 if test "$cross_compiling" = yes; then
27509 unset ac_cv_header_zlib_h
27512 cat >conftest.$ac_ext <<_ACEOF
27515 cat confdefs.h >>conftest.$ac_ext
27516 cat >>conftest.$ac_ext <<_ACEOF
27517 /* end confdefs.h. */
27524 FILE *f=fopen("conftestval", "w");
27527 ZLIB_VERSION[0] == '1' &&
27528 (ZLIB_VERSION[2] > '1' ||
27529 (ZLIB_VERSION[2] == '1' &&
27530 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27535 rm -f conftest$ac_exeext
27536 if { (ac_try="$ac_link"
27537 case "(($ac_try" in
27538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27539 *) ac_try_echo=$ac_try;;
27541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27542 (eval "$ac_link") 2>&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27546 { (case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_try") 2>&5
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); }; }; then
27555 ac_cv_header_zlib_h=`cat conftestval`
27557 echo "$as_me: program exited with status $ac_status" >&5
27558 echo "$as_me: failed program was:" >&5
27559 sed 's/^/| /' conftest.$ac_ext >&5
27561 ( exit $ac_status )
27562 ac_cv_header_zlib_h=no
27564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27570 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27571 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27572 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27573 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27574 if test "${ac_cv_header_zlib_h+set}" = set; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 cat >conftest.$ac_ext <<_ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27587 rm -f conftest.$ac_objext
27588 if { (ac_try="$ac_compile"
27589 case "(($ac_try" in
27590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 *) ac_try_echo=$ac_try;;
27593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27594 (eval "$ac_compile") 2>conftest.er1
27596 grep -v '^ *+' conftest.er1 >conftest.err
27598 cat conftest.err >&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } && {
27601 test -z "$ac_c_werror_flag" ||
27602 test ! -s conftest.err
27603 } && test -s conftest.$ac_objext; then
27604 ac_cv_header_zlib_h=yes
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27609 ac_cv_header_zlib_h=no
27612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27619 system_zlib_h_ok=$ac_cv_header_zlib_h
27622 if test "$system_zlib_h_ok" = "yes"; then
27623 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27624 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27625 if test "${ac_cv_lib_z_deflate+set}" = set; then
27626 echo $ECHO_N "(cached) $ECHO_C" >&6
27628 ac_check_lib_save_LIBS=$LIBS
27630 cat >conftest.$ac_ext <<_ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27637 /* Override any GCC internal prototype to avoid an error.
27638 Use char because int might match the return type of a GCC
27639 builtin and then its argument prototype would still apply. */
27652 rm -f conftest.$ac_objext conftest$ac_exeext
27653 if { (ac_try="$ac_link"
27654 case "(($ac_try" in
27655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27656 *) ac_try_echo=$ac_try;;
27658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27659 (eval "$ac_link") 2>conftest.er1
27661 grep -v '^ *+' conftest.er1 >conftest.err
27663 cat conftest.err >&5
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } && {
27666 test -z "$ac_c_werror_flag" ||
27667 test ! -s conftest.err
27668 } && test -s conftest$ac_exeext &&
27669 $as_test_x conftest$ac_exeext; then
27670 ac_cv_lib_z_deflate=yes
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.$ac_ext >&5
27675 ac_cv_lib_z_deflate=no
27678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27679 conftest$ac_exeext conftest.$ac_ext
27680 LIBS=$ac_check_lib_save_LIBS
27682 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27683 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27684 if test $ac_cv_lib_z_deflate = yes; then
27690 if test "x$ZLIB_LINK" = "x" ; then
27691 if test "$wxUSE_ZLIB" = "sys" ; then
27692 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27693 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27694 { (exit 1); exit 1; }; }
27696 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27697 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27708 if test "$wxUSE_LIBPNG" != "no" ; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define wxUSE_LIBPNG 1
27714 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27715 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27716 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27720 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27721 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27722 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27723 wxUSE_LIBPNG=builtin
27726 if test "$wxUSE_MGL" != 1 ; then
27727 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27728 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27729 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27730 if test "${ac_cv_header_png_h+set}" = set; then
27731 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 if test "$cross_compiling" = yes; then
27734 unset ac_cv_header_png_h
27737 cat >conftest.$ac_ext <<_ACEOF
27740 cat confdefs.h >>conftest.$ac_ext
27741 cat >>conftest.$ac_ext <<_ACEOF
27742 /* end confdefs.h. */
27749 FILE *f=fopen("conftestval", "w");
27752 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27757 rm -f conftest$ac_exeext
27758 if { (ac_try="$ac_link"
27759 case "(($ac_try" in
27760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27761 *) ac_try_echo=$ac_try;;
27763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27764 (eval "$ac_link") 2>&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27768 { (case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_try") 2>&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; }; then
27777 ac_cv_header_png_h=`cat conftestval`
27779 echo "$as_me: program exited with status $ac_status" >&5
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27783 ( exit $ac_status )
27784 ac_cv_header_png_h=no
27786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27792 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27793 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27794 { echo "$as_me:$LINENO: checking for png.h" >&5
27795 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27796 if test "${ac_cv_header_png_h+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 cat >conftest.$ac_ext <<_ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27809 rm -f conftest.$ac_objext
27810 if { (ac_try="$ac_compile"
27811 case "(($ac_try" in
27812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27813 *) ac_try_echo=$ac_try;;
27815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27816 (eval "$ac_compile") 2>conftest.er1
27818 grep -v '^ *+' conftest.er1 >conftest.err
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } && {
27823 test -z "$ac_c_werror_flag" ||
27824 test ! -s conftest.err
27825 } && test -s conftest.$ac_objext; then
27826 ac_cv_header_png_h=yes
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.$ac_ext >&5
27831 ac_cv_header_png_h=no
27834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27836 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27837 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27841 if test "$ac_cv_header_png_h" = "yes"; then
27842 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27843 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27844 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 ac_check_lib_save_LIBS=$LIBS
27848 LIBS="-lpng -lz -lm $LIBS"
27849 cat >conftest.$ac_ext <<_ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27856 /* Override any GCC internal prototype to avoid an error.
27857 Use char because int might match the return type of a GCC
27858 builtin and then its argument prototype would still apply. */
27862 char png_sig_cmp ();
27866 return png_sig_cmp ();
27871 rm -f conftest.$ac_objext conftest$ac_exeext
27872 if { (ac_try="$ac_link"
27873 case "(($ac_try" in
27874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27875 *) ac_try_echo=$ac_try;;
27877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27878 (eval "$ac_link") 2>conftest.er1
27880 grep -v '^ *+' conftest.er1 >conftest.err
27882 cat conftest.err >&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } && {
27885 test -z "$ac_c_werror_flag" ||
27886 test ! -s conftest.err
27887 } && test -s conftest$ac_exeext &&
27888 $as_test_x conftest$ac_exeext; then
27889 ac_cv_lib_png_png_sig_cmp=yes
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27894 ac_cv_lib_png_png_sig_cmp=no
27897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27898 conftest$ac_exeext conftest.$ac_ext
27899 LIBS=$ac_check_lib_save_LIBS
27901 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27902 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27903 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27904 PNG_LINK=" -lpng -lz"
27909 if test "x$PNG_LINK" = "x" ; then
27910 if test "$wxUSE_LIBPNG" = "sys" ; then
27911 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27912 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27913 { (exit 1); exit 1; }; }
27915 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27916 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27917 wxUSE_LIBPNG=builtin
27928 if test "$wxUSE_LIBJPEG" != "no" ; then
27929 cat >>confdefs.h <<\_ACEOF
27930 #define wxUSE_LIBJPEG 1
27934 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27935 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27936 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27940 if test "$wxUSE_MGL" != 1 ; then
27941 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27942 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27943 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27944 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27945 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 cat >conftest.$ac_ext <<_ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27954 #undef HAVE_STDLIB_H
27956 #include <jpeglib.h>
27967 rm -f conftest.$ac_objext
27968 if { (ac_try="$ac_compile"
27969 case "(($ac_try" in
27970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27971 *) ac_try_echo=$ac_try;;
27973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27974 (eval "$ac_compile") 2>conftest.er1
27976 grep -v '^ *+' conftest.er1 >conftest.err
27978 cat conftest.err >&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } && {
27981 test -z "$ac_c_werror_flag" ||
27982 test ! -s conftest.err
27983 } && test -s conftest.$ac_objext; then
27984 ac_cv_header_jpeglib_h=yes
27986 echo "$as_me: failed program was:" >&5
27987 sed 's/^/| /' conftest.$ac_ext >&5
27989 ac_cv_header_jpeglib_h=no
27993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27997 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27998 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28000 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28001 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28002 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28003 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28006 ac_check_lib_save_LIBS=$LIBS
28007 LIBS="-ljpeg $LIBS"
28008 cat >conftest.$ac_ext <<_ACEOF
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h. */
28015 /* Override any GCC internal prototype to avoid an error.
28016 Use char because int might match the return type of a GCC
28017 builtin and then its argument prototype would still apply. */
28021 char jpeg_read_header ();
28025 return jpeg_read_header ();
28030 rm -f conftest.$ac_objext conftest$ac_exeext
28031 if { (ac_try="$ac_link"
28032 case "(($ac_try" in
28033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28034 *) ac_try_echo=$ac_try;;
28036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28037 (eval "$ac_link") 2>conftest.er1
28039 grep -v '^ *+' conftest.er1 >conftest.err
28041 cat conftest.err >&5
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); } && {
28044 test -z "$ac_c_werror_flag" ||
28045 test ! -s conftest.err
28046 } && test -s conftest$ac_exeext &&
28047 $as_test_x conftest$ac_exeext; then
28048 ac_cv_lib_jpeg_jpeg_read_header=yes
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28053 ac_cv_lib_jpeg_jpeg_read_header=no
28056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28057 conftest$ac_exeext conftest.$ac_ext
28058 LIBS=$ac_check_lib_save_LIBS
28060 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28061 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28062 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28063 JPEG_LINK=" -ljpeg"
28068 if test "x$JPEG_LINK" = "x" ; then
28069 if test "$wxUSE_LIBJPEG" = "sys" ; then
28070 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28071 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28072 { (exit 1); exit 1; }; }
28074 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28075 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28076 wxUSE_LIBJPEG=builtin
28081 if test "$wxUSE_MSW" = 1; then
28082 { echo "$as_me:$LINENO: checking for boolean" >&5
28083 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28084 if test "${ac_cv_type_boolean+set}" = set; then
28085 echo $ECHO_N "(cached) $ECHO_C" >&6
28087 cat >conftest.$ac_ext <<_ACEOF
28090 cat confdefs.h >>conftest.$ac_ext
28091 cat >>conftest.$ac_ext <<_ACEOF
28092 /* end confdefs.h. */
28093 #include <windows.h>
28095 typedef boolean ac__type_new_;
28099 if ((ac__type_new_ *) 0)
28101 if (sizeof (ac__type_new_))
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28116 grep -v '^ *+' conftest.er1 >conftest.err
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28124 ac_cv_type_boolean=yes
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28129 ac_cv_type_boolean=no
28132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28134 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28135 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28136 if test $ac_cv_type_boolean = yes; then
28138 cat >>confdefs.h <<_ACEOF
28139 #define HAVE_BOOLEAN 1
28143 { echo "$as_me:$LINENO: checking for boolean" >&5
28144 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28145 if test "${ac_cv_type_boolean+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 cat >conftest.$ac_ext <<_ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28155 #undef HAVE_BOOLEAN
28157 #include <jpeglib.h>
28160 typedef boolean ac__type_new_;
28164 if ((ac__type_new_ *) 0)
28166 if (sizeof (ac__type_new_))
28172 rm -f conftest.$ac_objext
28173 if { (ac_try="$ac_compile"
28174 case "(($ac_try" in
28175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_compile") 2>conftest.er1
28181 grep -v '^ *+' conftest.er1 >conftest.err
28183 cat conftest.err >&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } && {
28186 test -z "$ac_c_werror_flag" ||
28187 test ! -s conftest.err
28188 } && test -s conftest.$ac_objext; then
28189 ac_cv_type_boolean=yes
28191 echo "$as_me: failed program was:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28194 ac_cv_type_boolean=no
28197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28199 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28200 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28202 # The cast to long int works around a bug in the HP C Compiler
28203 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28204 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28205 # This bug is HP SR number 8606223364.
28206 { echo "$as_me:$LINENO: checking size of boolean" >&5
28207 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28208 if test "${ac_cv_sizeof_boolean+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 if test "$cross_compiling" = yes; then
28212 # Depending upon the size, compute the lo and hi bounds.
28213 cat >conftest.$ac_ext <<_ACEOF
28216 cat confdefs.h >>conftest.$ac_ext
28217 cat >>conftest.$ac_ext <<_ACEOF
28218 /* end confdefs.h. */
28220 #undef HAVE_BOOLEAN
28222 #include <jpeglib.h>
28225 typedef boolean ac__type_sizeof_;
28229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28236 rm -f conftest.$ac_objext
28237 if { (ac_try="$ac_compile"
28238 case "(($ac_try" in
28239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28240 *) ac_try_echo=$ac_try;;
28242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_compile") 2>conftest.er1
28245 grep -v '^ *+' conftest.er1 >conftest.err
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); } && {
28250 test -z "$ac_c_werror_flag" ||
28251 test ! -s conftest.err
28252 } && test -s conftest.$ac_objext; then
28255 cat >conftest.$ac_ext <<_ACEOF
28258 cat confdefs.h >>conftest.$ac_ext
28259 cat >>conftest.$ac_ext <<_ACEOF
28260 /* end confdefs.h. */
28262 #undef HAVE_BOOLEAN
28264 #include <jpeglib.h>
28267 typedef boolean ac__type_sizeof_;
28271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28278 rm -f conftest.$ac_objext
28279 if { (ac_try="$ac_compile"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_compile") 2>conftest.er1
28287 grep -v '^ *+' conftest.er1 >conftest.err
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest.$ac_objext; then
28295 ac_hi=$ac_mid; break
28297 echo "$as_me: failed program was:" >&5
28298 sed 's/^/| /' conftest.$ac_ext >&5
28300 ac_lo=`expr $ac_mid + 1`
28301 if test $ac_lo -le $ac_mid; then
28305 ac_mid=`expr 2 '*' $ac_mid + 1`
28308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28314 cat >conftest.$ac_ext <<_ACEOF
28317 cat confdefs.h >>conftest.$ac_ext
28318 cat >>conftest.$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28321 #undef HAVE_BOOLEAN
28323 #include <jpeglib.h>
28326 typedef boolean ac__type_sizeof_;
28330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28337 rm -f conftest.$ac_objext
28338 if { (ac_try="$ac_compile"
28339 case "(($ac_try" in
28340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28341 *) ac_try_echo=$ac_try;;
28343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28344 (eval "$ac_compile") 2>conftest.er1
28346 grep -v '^ *+' conftest.er1 >conftest.err
28348 cat conftest.err >&5
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); } && {
28351 test -z "$ac_c_werror_flag" ||
28352 test ! -s conftest.err
28353 } && test -s conftest.$ac_objext; then
28356 cat >conftest.$ac_ext <<_ACEOF
28359 cat confdefs.h >>conftest.$ac_ext
28360 cat >>conftest.$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28363 #undef HAVE_BOOLEAN
28365 #include <jpeglib.h>
28368 typedef boolean ac__type_sizeof_;
28372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28379 rm -f conftest.$ac_objext
28380 if { (ac_try="$ac_compile"
28381 case "(($ac_try" in
28382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_compile") 2>conftest.er1
28388 grep -v '^ *+' conftest.er1 >conftest.err
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_c_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest.$ac_objext; then
28396 ac_lo=$ac_mid; break
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28401 ac_hi=`expr '(' $ac_mid ')' - 1`
28402 if test $ac_mid -le $ac_hi; then
28406 ac_mid=`expr 2 '*' $ac_mid`
28409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28422 # Binary search between lo and hi bounds.
28423 while test "x$ac_lo" != "x$ac_hi"; do
28424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28425 cat >conftest.$ac_ext <<_ACEOF
28428 cat confdefs.h >>conftest.$ac_ext
28429 cat >>conftest.$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28432 #undef HAVE_BOOLEAN
28434 #include <jpeglib.h>
28437 typedef boolean ac__type_sizeof_;
28441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28448 rm -f conftest.$ac_objext
28449 if { (ac_try="$ac_compile"
28450 case "(($ac_try" in
28451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28452 *) ac_try_echo=$ac_try;;
28454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28455 (eval "$ac_compile") 2>conftest.er1
28457 grep -v '^ *+' conftest.er1 >conftest.err
28459 cat conftest.err >&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } && {
28462 test -z "$ac_c_werror_flag" ||
28463 test ! -s conftest.err
28464 } && test -s conftest.$ac_objext; then
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.$ac_ext >&5
28470 ac_lo=`expr '(' $ac_mid ')' + 1`
28473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28477 '') if test "$ac_cv_type_boolean" = yes; then
28478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28479 See \`config.log' for more details." >&5
28480 echo "$as_me: error: cannot compute sizeof (boolean)
28481 See \`config.log' for more details." >&2;}
28482 { (exit 77); exit 77; }; }
28484 ac_cv_sizeof_boolean=0
28488 cat >conftest.$ac_ext <<_ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28495 #undef HAVE_BOOLEAN
28497 #include <jpeglib.h>
28500 typedef boolean ac__type_sizeof_;
28501 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28502 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28504 #include <stdlib.h>
28509 FILE *f = fopen ("conftest.val", "w");
28512 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28514 long int i = longval ();
28515 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28517 fprintf (f, "%ld\n", i);
28521 unsigned long int i = ulongval ();
28522 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28524 fprintf (f, "%lu\n", i);
28526 return ferror (f) || fclose (f) != 0;
28532 rm -f conftest$ac_exeext
28533 if { (ac_try="$ac_link"
28534 case "(($ac_try" in
28535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28536 *) ac_try_echo=$ac_try;;
28538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28539 (eval "$ac_link") 2>&5
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28543 { (case "(($ac_try" in
28544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28545 *) ac_try_echo=$ac_try;;
28547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28548 (eval "$ac_try") 2>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 ac_cv_sizeof_boolean=`cat conftest.val`
28554 echo "$as_me: program exited with status $ac_status" >&5
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.$ac_ext >&5
28558 ( exit $ac_status )
28559 if test "$ac_cv_type_boolean" = yes; then
28560 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28561 See \`config.log' for more details." >&5
28562 echo "$as_me: error: cannot compute sizeof (boolean)
28563 See \`config.log' for more details." >&2;}
28564 { (exit 77); exit 77; }; }
28566 ac_cv_sizeof_boolean=0
28569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28573 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28574 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28578 cat >>confdefs.h <<_ACEOF
28579 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28583 cat >>confdefs.h <<_ACEOF
28584 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28598 TIFF_PREREQ_LINKS=-lm
28599 if test "$wxUSE_LIBTIFF" != "no" ; then
28600 cat >>confdefs.h <<\_ACEOF
28601 #define wxUSE_LIBTIFF 1
28605 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28606 if test "$wxUSE_LIBJPEG" = "sys"; then
28607 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28609 if test "$wxUSE_ZLIB" = "sys"; then
28610 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28612 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28613 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28614 if test "${ac_cv_header_tiffio_h+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 cat >conftest.$ac_ext <<_ACEOF
28620 cat confdefs.h >>conftest.$ac_ext
28621 cat >>conftest.$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28626 #include <tiffio.h>
28628 rm -f conftest.$ac_objext
28629 if { (ac_try="$ac_compile"
28630 case "(($ac_try" in
28631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28632 *) ac_try_echo=$ac_try;;
28634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28635 (eval "$ac_compile") 2>conftest.er1
28637 grep -v '^ *+' conftest.er1 >conftest.err
28639 cat conftest.err >&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } && {
28642 test -z "$ac_c_werror_flag" ||
28643 test ! -s conftest.err
28644 } && test -s conftest.$ac_objext; then
28645 ac_cv_header_tiffio_h=yes
28647 echo "$as_me: failed program was:" >&5
28648 sed 's/^/| /' conftest.$ac_ext >&5
28650 ac_cv_header_tiffio_h=no
28653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28655 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28656 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28657 if test $ac_cv_header_tiffio_h = yes; then
28659 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28660 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28661 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28662 echo $ECHO_N "(cached) $ECHO_C" >&6
28664 ac_check_lib_save_LIBS=$LIBS
28665 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28666 cat >conftest.$ac_ext <<_ACEOF
28669 cat confdefs.h >>conftest.$ac_ext
28670 cat >>conftest.$ac_ext <<_ACEOF
28671 /* end confdefs.h. */
28673 /* Override any GCC internal prototype to avoid an error.
28674 Use char because int might match the return type of a GCC
28675 builtin and then its argument prototype would still apply. */
28683 return TIFFError ();
28688 rm -f conftest.$ac_objext conftest$ac_exeext
28689 if { (ac_try="$ac_link"
28690 case "(($ac_try" in
28691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28692 *) ac_try_echo=$ac_try;;
28694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28695 (eval "$ac_link") 2>conftest.er1
28697 grep -v '^ *+' conftest.er1 >conftest.err
28699 cat conftest.err >&5
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); } && {
28702 test -z "$ac_c_werror_flag" ||
28703 test ! -s conftest.err
28704 } && test -s conftest$ac_exeext &&
28705 $as_test_x conftest$ac_exeext; then
28706 ac_cv_lib_tiff_TIFFError=yes
28708 echo "$as_me: failed program was:" >&5
28709 sed 's/^/| /' conftest.$ac_ext >&5
28711 ac_cv_lib_tiff_TIFFError=no
28714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28715 conftest$ac_exeext conftest.$ac_ext
28716 LIBS=$ac_check_lib_save_LIBS
28718 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28719 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28720 if test $ac_cv_lib_tiff_TIFFError = yes; then
28721 TIFF_LINK=" -ltiff"
28729 if test "x$TIFF_LINK" = "x" ; then
28730 if test "$wxUSE_LIBTIFF" = "sys" ; then
28731 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28732 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28733 { (exit 1); exit 1; }; }
28735 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28736 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28737 wxUSE_LIBTIFF=builtin
28743 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28744 if test "$wxUSE_LIBJPEG" = "no"; then
28745 ac_configure_args="$ac_configure_args --disable-jpeg"
28747 subdirs="$subdirs src/tiff"
28753 if test "$wxUSE_WCHAR_T" != "yes"; then
28754 if test "$wxUSE_EXPAT" != "no"; then
28755 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28756 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28759 if test "$wxUSE_XML" != "no"; then
28760 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28761 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28766 if test "$wxUSE_EXPAT" != "no"; then
28768 cat >>confdefs.h <<\_ACEOF
28769 #define wxUSE_EXPAT 1
28772 cat >>confdefs.h <<\_ACEOF
28773 #define wxUSE_XML 1
28777 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28778 { echo "$as_me:$LINENO: checking for expat.h" >&5
28779 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28780 if test "${ac_cv_header_expat_h+set}" = set; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 cat >conftest.$ac_ext <<_ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28793 rm -f conftest.$ac_objext
28794 if { (ac_try="$ac_compile"
28795 case "(($ac_try" in
28796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28797 *) ac_try_echo=$ac_try;;
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_compile") 2>conftest.er1
28802 grep -v '^ *+' conftest.er1 >conftest.err
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } && {
28807 test -z "$ac_c_werror_flag" ||
28808 test ! -s conftest.err
28809 } && test -s conftest.$ac_objext; then
28810 ac_cv_header_expat_h=yes
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28815 ac_cv_header_expat_h=no
28818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28820 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28821 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28822 if test $ac_cv_header_expat_h = yes; then
28827 if test "x$found_expat_h" = "x1"; then
28828 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28829 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28830 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 ac_cpp='$CXXCPP $CPPFLAGS'
28836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28840 cat >conftest.$ac_ext <<_ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28855 rm -f conftest.$ac_objext
28856 if { (ac_try="$ac_compile"
28857 case "(($ac_try" in
28858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_compile") 2>conftest.er1
28864 grep -v '^ *+' conftest.er1 >conftest.err
28866 cat conftest.err >&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && {
28869 test -z "$ac_cxx_werror_flag" ||
28870 test ! -s conftest.err
28871 } && test -s conftest.$ac_objext; then
28872 wx_cv_expat_is_not_broken=yes
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28877 wx_cv_expat_is_not_broken=no
28881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28883 ac_cpp='$CPP $CPPFLAGS'
28884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28891 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28892 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28893 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28894 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28895 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28896 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28897 echo $ECHO_N "(cached) $ECHO_C" >&6
28899 ac_check_lib_save_LIBS=$LIBS
28900 LIBS="-lexpat $LIBS"
28901 cat >conftest.$ac_ext <<_ACEOF
28904 cat confdefs.h >>conftest.$ac_ext
28905 cat >>conftest.$ac_ext <<_ACEOF
28906 /* end confdefs.h. */
28908 /* Override any GCC internal prototype to avoid an error.
28909 Use char because int might match the return type of a GCC
28910 builtin and then its argument prototype would still apply. */
28914 char XML_ParserCreate ();
28918 return XML_ParserCreate ();
28923 rm -f conftest.$ac_objext conftest$ac_exeext
28924 if { (ac_try="$ac_link"
28925 case "(($ac_try" in
28926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28927 *) ac_try_echo=$ac_try;;
28929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28930 (eval "$ac_link") 2>conftest.er1
28932 grep -v '^ *+' conftest.er1 >conftest.err
28934 cat conftest.err >&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } && {
28937 test -z "$ac_c_werror_flag" ||
28938 test ! -s conftest.err
28939 } && test -s conftest$ac_exeext &&
28940 $as_test_x conftest$ac_exeext; then
28941 ac_cv_lib_expat_XML_ParserCreate=yes
28943 echo "$as_me: failed program was:" >&5
28944 sed 's/^/| /' conftest.$ac_ext >&5
28946 ac_cv_lib_expat_XML_ParserCreate=no
28949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28950 conftest$ac_exeext conftest.$ac_ext
28951 LIBS=$ac_check_lib_save_LIBS
28953 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28954 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28955 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28956 EXPAT_LINK=" -lexpat"
28961 if test "x$EXPAT_LINK" = "x" ; then
28962 if test "$wxUSE_EXPAT" = "sys" ; then
28963 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28964 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28965 { (exit 1); exit 1; }; }
28967 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28968 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28969 wxUSE_EXPAT=builtin
28975 if test "$wxUSE_EXPAT" = "builtin" ; then
28976 subdirs="$subdirs src/expat"
28983 if test "$wxUSE_LIBMSPACK" != "no"; then
28984 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28985 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28986 if test "${ac_cv_header_mspack_h+set}" = set; then
28987 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 cat >conftest.$ac_ext <<_ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28997 #include <mspack.h>
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29008 grep -v '^ *+' conftest.er1 >conftest.err
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29016 ac_cv_header_mspack_h=yes
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29021 ac_cv_header_mspack_h=no
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29027 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29028 if test $ac_cv_header_mspack_h = yes; then
29033 if test "x$found_mspack_h" = "x1"; then
29034 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29035 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29036 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 ac_check_lib_save_LIBS=$LIBS
29040 LIBS="-lmspack $LIBS"
29041 cat >conftest.$ac_ext <<_ACEOF
29044 cat confdefs.h >>conftest.$ac_ext
29045 cat >>conftest.$ac_ext <<_ACEOF
29046 /* end confdefs.h. */
29048 /* Override any GCC internal prototype to avoid an error.
29049 Use char because int might match the return type of a GCC
29050 builtin and then its argument prototype would still apply. */
29054 char mspack_create_chm_decompressor ();
29058 return mspack_create_chm_decompressor ();
29063 rm -f conftest.$ac_objext conftest$ac_exeext
29064 if { (ac_try="$ac_link"
29065 case "(($ac_try" in
29066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29067 *) ac_try_echo=$ac_try;;
29069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29070 (eval "$ac_link") 2>conftest.er1
29072 grep -v '^ *+' conftest.er1 >conftest.err
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } && {
29077 test -z "$ac_c_werror_flag" ||
29078 test ! -s conftest.err
29079 } && test -s conftest$ac_exeext &&
29080 $as_test_x conftest$ac_exeext; then
29081 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29086 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29090 conftest$ac_exeext conftest.$ac_ext
29091 LIBS=$ac_check_lib_save_LIBS
29093 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29094 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29095 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29096 MSPACK_LINK=" -lmspack"
29100 if test "x$MSPACK_LINK" = "x" ; then
29105 if test "$wxUSE_LIBMSPACK" != "no"; then
29106 cat >>confdefs.h <<\_ACEOF
29107 #define wxUSE_LIBMSPACK 1
29121 if test "$USE_WIN32" = 1 ; then
29123 for ac_header in w32api.h
29125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29129 echo $ECHO_N "(cached) $ECHO_C" >&6
29131 cat >conftest.$ac_ext <<_ACEOF
29134 cat confdefs.h >>conftest.$ac_ext
29135 cat >>conftest.$ac_ext <<_ACEOF
29136 /* end confdefs.h. */
29139 #include <$ac_header>
29141 rm -f conftest.$ac_objext
29142 if { (ac_try="$ac_compile"
29143 case "(($ac_try" in
29144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29145 *) ac_try_echo=$ac_try;;
29147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29148 (eval "$ac_compile") 2>conftest.er1
29150 grep -v '^ *+' conftest.er1 >conftest.err
29152 cat conftest.err >&5
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); } && {
29155 test -z "$ac_c_werror_flag" ||
29156 test ! -s conftest.err
29157 } && test -s conftest.$ac_objext; then
29158 eval "$as_ac_Header=yes"
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29163 eval "$as_ac_Header=no"
29166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29168 ac_res=`eval echo '${'$as_ac_Header'}'`
29169 { echo "$as_me:$LINENO: result: $ac_res" >&5
29170 echo "${ECHO_T}$ac_res" >&6; }
29171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29172 cat >>confdefs.h <<_ACEOF
29173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29180 { echo "$as_me:$LINENO: checking for windows.h" >&5
29181 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29182 if test "${ac_cv_header_windows_h+set}" = set; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29185 cat >conftest.$ac_ext <<_ACEOF
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29193 #include <windows.h>
29195 rm -f conftest.$ac_objext
29196 if { (ac_try="$ac_compile"
29197 case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_compile") 2>conftest.er1
29204 grep -v '^ *+' conftest.er1 >conftest.err
29206 cat conftest.err >&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } && {
29209 test -z "$ac_c_werror_flag" ||
29210 test ! -s conftest.err
29211 } && test -s conftest.$ac_objext; then
29212 ac_cv_header_windows_h=yes
29214 echo "$as_me: failed program was:" >&5
29215 sed 's/^/| /' conftest.$ac_ext >&5
29217 ac_cv_header_windows_h=no
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29222 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29223 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29224 if test $ac_cv_header_windows_h = yes; then
29228 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29229 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29230 { (exit 1); exit 1; }; }
29237 x86_64-*-mingw32* )
29238 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29240 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29243 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29246 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29247 LIBS="$LIBS -loleacc"
29252 LIBS="$LIBS -lkernel32 -luser32"
29255 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29256 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29258 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29260 WIN32INSTALL=win32install
29262 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29263 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29264 if test "${ac_cv_header_pbt_h+set}" = set; then
29265 echo $ECHO_N "(cached) $ECHO_C" >&6
29267 cat >conftest.$ac_ext <<_ACEOF
29270 cat confdefs.h >>conftest.$ac_ext
29271 cat >>conftest.$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29277 rm -f conftest.$ac_objext
29278 if { (ac_try="$ac_compile"
29279 case "(($ac_try" in
29280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29281 *) ac_try_echo=$ac_try;;
29283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29284 (eval "$ac_compile") 2>conftest.er1
29286 grep -v '^ *+' conftest.er1 >conftest.err
29288 cat conftest.err >&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); } && {
29291 test -z "$ac_c_werror_flag" ||
29292 test ! -s conftest.err
29293 } && test -s conftest.$ac_objext; then
29294 ac_cv_header_pbt_h=yes
29296 echo "$as_me: failed program was:" >&5
29297 sed 's/^/| /' conftest.$ac_ext >&5
29299 ac_cv_header_pbt_h=no
29302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29304 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29305 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29306 if test $ac_cv_header_pbt_h = yes; then
29309 cat >>confdefs.h <<\_ACEOF
29310 #define NEED_PBT_H 1
29318 if test "$wxUSE_GUI" = "yes"; then
29328 if test "$wxUSE_OLD_COCOA" = 1 ; then
29329 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29330 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29331 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29332 wxUSE_PRINTING_ARCHITECTURE=no
29334 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29335 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29336 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29337 wxUSE_DRAG_AND_DROP=no
29339 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29340 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29341 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29346 if test "$wxUSE_MSW" = 1 ; then
29352 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29356 if test "$wxUSE_GTK" = 1; then
29357 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29358 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29360 gtk_version_cached=1
29361 if test "${wx_cv_lib_gtk+set}" = set; then
29362 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 gtk_version_cached=0
29366 { echo "$as_me:$LINENO: result: " >&5
29367 echo "${ECHO_T}" >&6; }
29370 if test "$wxUSE_THREADS" = "yes"; then
29371 GTK_MODULES=gthread
29375 if test "x$wxGTK_VERSION" != "x1"
29379 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29384 # Check whether --enable-gtktest was given.
29385 if test "${enable_gtktest+set}" = set; then
29386 enableval=$enable_gtktest;
29392 pkg_config_args=gtk+-2.0
29393 for module in . $GTK_MODULES
29397 pkg_config_args="$pkg_config_args gthread-2.0"
29404 # Extract the first word of "pkg-config", so it can be a program name with args.
29405 set dummy pkg-config; ac_word=$2
29406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29408 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29409 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 case $PKG_CONFIG in
29413 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29417 for as_dir in $PATH
29420 test -z "$as_dir" && as_dir=.
29421 for ac_exec_ext in '' $ac_executable_extensions; do
29422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29423 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29431 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29435 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29436 if test -n "$PKG_CONFIG"; then
29437 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29438 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29440 { echo "$as_me:$LINENO: result: no" >&5
29441 echo "${ECHO_T}no" >&6; }
29446 if test x$PKG_CONFIG != xno ; then
29447 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29450 echo "*** pkg-config too old; version 0.7 or better required."
29458 min_gtk_version=2.4.0
29459 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29460 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29462 if test x$PKG_CONFIG != xno ; then
29463 ## don't try to run the test against uninstalled libtool libs
29464 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29465 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29469 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29476 if test x"$no_gtk" = x ; then
29477 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29478 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29479 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29481 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29483 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29485 if test "x$enable_gtktest" = "xyes" ; then
29486 ac_save_CFLAGS="$CFLAGS"
29487 ac_save_LIBS="$LIBS"
29488 CFLAGS="$CFLAGS $GTK_CFLAGS"
29489 LIBS="$GTK_LIBS $LIBS"
29491 if test "$cross_compiling" = yes; then
29492 echo $ac_n "cross compiling; assumed OK... $ac_c"
29494 cat >conftest.$ac_ext <<_ACEOF
29497 cat confdefs.h >>conftest.$ac_ext
29498 cat >>conftest.$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29501 #include <gtk/gtk.h>
29503 #include <stdlib.h>
29508 int major, minor, micro;
29511 system ("touch conf.gtktest");
29513 /* HP/UX 9 (%@#!) writes to sscanf strings */
29514 tmp_version = g_strdup("$min_gtk_version");
29515 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29516 printf("%s, bad version string\n", "$min_gtk_version");
29520 if ((gtk_major_version != $gtk_config_major_version) ||
29521 (gtk_minor_version != $gtk_config_minor_version) ||
29522 (gtk_micro_version != $gtk_config_micro_version))
29524 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29525 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29526 gtk_major_version, gtk_minor_version, gtk_micro_version);
29527 printf ("*** was found! If pkg-config was correct, then it is best\n");
29528 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29529 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29530 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29531 printf("*** required on your system.\n");
29532 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29533 printf("*** to point to the correct configuration files\n");
29535 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29536 (gtk_minor_version != GTK_MINOR_VERSION) ||
29537 (gtk_micro_version != GTK_MICRO_VERSION))
29539 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29540 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29541 printf("*** library (version %d.%d.%d)\n",
29542 gtk_major_version, gtk_minor_version, gtk_micro_version);
29546 if ((gtk_major_version > major) ||
29547 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29548 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29554 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29555 gtk_major_version, gtk_minor_version, gtk_micro_version);
29556 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29557 major, minor, micro);
29558 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29560 printf("*** If you have already installed a sufficiently new version, this error\n");
29561 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29562 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29563 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29564 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29565 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29566 printf("*** so that the correct libraries are found at run-time))\n");
29573 rm -f conftest$ac_exeext
29574 if { (ac_try="$ac_link"
29575 case "(($ac_try" in
29576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29577 *) ac_try_echo=$ac_try;;
29579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29580 (eval "$ac_link") 2>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29584 { (case "(($ac_try" in
29585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29586 *) ac_try_echo=$ac_try;;
29588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29589 (eval "$ac_try") 2>&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); }; }; then
29595 echo "$as_me: program exited with status $ac_status" >&5
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29599 ( exit $ac_status )
29602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29606 CFLAGS="$ac_save_CFLAGS"
29607 LIBS="$ac_save_LIBS"
29610 if test "x$no_gtk" = x ; then
29611 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29612 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29615 { echo "$as_me:$LINENO: result: no" >&5
29616 echo "${ECHO_T}no" >&6; }
29617 if test "$PKG_CONFIG" = "no" ; then
29618 echo "*** A new enough version of pkg-config was not found."
29619 echo "*** See http://pkgconfig.sourceforge.net"
29621 if test -f conf.gtktest ; then
29624 echo "*** Could not run GTK+ test program, checking why..."
29625 ac_save_CFLAGS="$CFLAGS"
29626 ac_save_LIBS="$LIBS"
29627 CFLAGS="$CFLAGS $GTK_CFLAGS"
29628 LIBS="$LIBS $GTK_LIBS"
29629 cat >conftest.$ac_ext <<_ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29636 #include <gtk/gtk.h>
29642 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29647 rm -f conftest.$ac_objext conftest$ac_exeext
29648 if { (ac_try="$ac_link"
29649 case "(($ac_try" in
29650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29651 *) ac_try_echo=$ac_try;;
29653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29654 (eval "$ac_link") 2>conftest.er1
29656 grep -v '^ *+' conftest.er1 >conftest.err
29658 cat conftest.err >&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); } && {
29661 test -z "$ac_c_werror_flag" ||
29662 test ! -s conftest.err
29663 } && test -s conftest$ac_exeext &&
29664 $as_test_x conftest$ac_exeext; then
29665 echo "*** The test program compiled, but did not run. This usually means"
29666 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29667 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29668 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29669 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29670 echo "*** is required on your system"
29672 echo "*** If you have an old version installed, it is best to remove it, although"
29673 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29678 echo "*** The test program failed to compile or link. See the file config.log for the"
29679 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29683 conftest$ac_exeext conftest.$ac_ext
29684 CFLAGS="$ac_save_CFLAGS"
29685 LIBS="$ac_save_LIBS"
29699 if test "$wxUSE_SHARED" != "yes"; then
29700 GTK_LIBS="$GTK_LIBS -lX11"
29705 if test -z "$wx_cv_lib_gtk"; then
29706 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29708 # Check whether --with-gtk-prefix was given.
29709 if test "${with_gtk_prefix+set}" = set; then
29710 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29712 gtk_config_prefix=""
29716 # Check whether --with-gtk-exec-prefix was given.
29717 if test "${with_gtk_exec_prefix+set}" = set; then
29718 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29720 gtk_config_exec_prefix=""
29723 # Check whether --enable-gtktest was given.
29724 if test "${enable_gtktest+set}" = set; then
29725 enableval=$enable_gtktest;
29731 for module in . $GTK_MODULES
29735 gtk_config_args="$gtk_config_args gthread"
29740 if test x$gtk_config_exec_prefix != x ; then
29741 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29742 if test x${GTK_CONFIG+set} != xset ; then
29743 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29746 if test x$gtk_config_prefix != x ; then
29747 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29748 if test x${GTK_CONFIG+set} != xset ; then
29749 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29753 # Extract the first word of "gtk-config", so it can be a program name with args.
29754 set dummy gtk-config; ac_word=$2
29755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29757 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 case $GTK_CONFIG in
29762 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29766 for as_dir in $PATH
29769 test -z "$as_dir" && as_dir=.
29770 for ac_exec_ext in '' $ac_executable_extensions; do
29771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29772 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29780 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29784 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29785 if test -n "$GTK_CONFIG"; then
29786 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29787 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29789 { echo "$as_me:$LINENO: result: no" >&5
29790 echo "${ECHO_T}no" >&6; }
29794 min_gtk_version=1.2.7
29795 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29796 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29798 if test "$GTK_CONFIG" = "no" ; then
29801 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29802 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29803 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29805 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29807 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29809 if test "x$enable_gtktest" = "xyes" ; then
29810 ac_save_CFLAGS="$CFLAGS"
29811 ac_save_LIBS="$LIBS"
29812 CFLAGS="$CFLAGS $GTK_CFLAGS"
29813 LIBS="$GTK_LIBS $LIBS"
29815 if test "$cross_compiling" = yes; then
29816 echo $ac_n "cross compiling; assumed OK... $ac_c"
29818 cat >conftest.$ac_ext <<_ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29825 #include <gtk/gtk.h>
29827 #include <stdlib.h>
29832 int major, minor, micro;
29835 system ("touch conf.gtktest");
29837 /* HP/UX 9 (%@#!) writes to sscanf strings */
29838 tmp_version = g_strdup("$min_gtk_version");
29839 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29840 printf("%s, bad version string\n", "$min_gtk_version");
29844 if ((gtk_major_version != $gtk_config_major_version) ||
29845 (gtk_minor_version != $gtk_config_minor_version) ||
29846 (gtk_micro_version != $gtk_config_micro_version))
29848 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29849 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29850 gtk_major_version, gtk_minor_version, gtk_micro_version);
29851 printf ("*** was found! If gtk-config was correct, then it is best\n");
29852 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29853 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29854 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29855 printf("*** required on your system.\n");
29856 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29857 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29858 printf("*** before re-running configure\n");
29860 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29861 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29862 (gtk_minor_version != GTK_MINOR_VERSION) ||
29863 (gtk_micro_version != GTK_MICRO_VERSION))
29865 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29866 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29867 printf("*** library (version %d.%d.%d)\n",
29868 gtk_major_version, gtk_minor_version, gtk_micro_version);
29870 #endif /* defined (GTK_MAJOR_VERSION) ... */
29873 if ((gtk_major_version > major) ||
29874 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29875 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29881 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29882 gtk_major_version, gtk_minor_version, gtk_micro_version);
29883 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29884 major, minor, micro);
29885 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29887 printf("*** If you have already installed a sufficiently new version, this error\n");
29888 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29889 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29890 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29891 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29892 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29893 printf("*** so that the correct libraries are found at run-time))\n");
29900 rm -f conftest$ac_exeext
29901 if { (ac_try="$ac_link"
29902 case "(($ac_try" in
29903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29904 *) ac_try_echo=$ac_try;;
29906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29907 (eval "$ac_link") 2>&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29911 { (case "(($ac_try" in
29912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29913 *) ac_try_echo=$ac_try;;
29915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29916 (eval "$ac_try") 2>&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); }; }; then
29922 echo "$as_me: program exited with status $ac_status" >&5
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29926 ( exit $ac_status )
29929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29933 CFLAGS="$ac_save_CFLAGS"
29934 LIBS="$ac_save_LIBS"
29937 if test "x$no_gtk" = x ; then
29938 { echo "$as_me:$LINENO: result: yes" >&5
29939 echo "${ECHO_T}yes" >&6; }
29940 wx_cv_lib_gtk=1.2.7
29942 { echo "$as_me:$LINENO: result: no" >&5
29943 echo "${ECHO_T}no" >&6; }
29944 if test "$GTK_CONFIG" = "no" ; then
29945 echo "*** The gtk-config script installed by GTK could not be found"
29946 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29947 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29948 echo "*** full path to gtk-config."
29950 if test -f conf.gtktest ; then
29953 echo "*** Could not run GTK test program, checking why..."
29954 CFLAGS="$CFLAGS $GTK_CFLAGS"
29955 LIBS="$LIBS $GTK_LIBS"
29956 cat >conftest.$ac_ext <<_ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h. */
29963 #include <gtk/gtk.h>
29969 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29974 rm -f conftest.$ac_objext conftest$ac_exeext
29975 if { (ac_try="$ac_link"
29976 case "(($ac_try" in
29977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29978 *) ac_try_echo=$ac_try;;
29980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29981 (eval "$ac_link") 2>conftest.er1
29983 grep -v '^ *+' conftest.er1 >conftest.err
29985 cat conftest.err >&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } && {
29988 test -z "$ac_c_werror_flag" ||
29989 test ! -s conftest.err
29990 } && test -s conftest$ac_exeext &&
29991 $as_test_x conftest$ac_exeext; then
29992 echo "*** The test program compiled, but did not run. This usually means"
29993 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29994 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29995 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29996 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29997 echo "*** is required on your system"
29999 echo "*** If you have an old version installed, it is best to remove it, although"
30000 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30002 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30003 echo "*** came with the system with the command"
30005 echo "*** rpm --erase --nodeps gtk gtk-devel"
30007 echo "$as_me: failed program was:" >&5
30008 sed 's/^/| /' conftest.$ac_ext >&5
30010 echo "*** The test program failed to compile or link. See the file config.log for the"
30011 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30012 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30013 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30017 conftest$ac_exeext conftest.$ac_ext
30018 CFLAGS="$ac_save_CFLAGS"
30019 LIBS="$ac_save_LIBS"
30031 if test -z "$wx_cv_lib_gtk"; then
30033 # Check whether --with-gtk-prefix was given.
30034 if test "${with_gtk_prefix+set}" = set; then
30035 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30037 gtk_config_prefix=""
30041 # Check whether --with-gtk-exec-prefix was given.
30042 if test "${with_gtk_exec_prefix+set}" = set; then
30043 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30045 gtk_config_exec_prefix=""
30048 # Check whether --enable-gtktest was given.
30049 if test "${enable_gtktest+set}" = set; then
30050 enableval=$enable_gtktest;
30056 for module in . $GTK_MODULES
30060 gtk_config_args="$gtk_config_args gthread"
30065 if test x$gtk_config_exec_prefix != x ; then
30066 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30067 if test x${GTK_CONFIG+set} != xset ; then
30068 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30071 if test x$gtk_config_prefix != x ; then
30072 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30073 if test x${GTK_CONFIG+set} != xset ; then
30074 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30078 # Extract the first word of "gtk-config", so it can be a program name with args.
30079 set dummy gtk-config; ac_word=$2
30080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30082 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30085 case $GTK_CONFIG in
30087 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30091 for as_dir in $PATH
30094 test -z "$as_dir" && as_dir=.
30095 for ac_exec_ext in '' $ac_executable_extensions; do
30096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30097 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30105 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30109 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30110 if test -n "$GTK_CONFIG"; then
30111 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30112 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30114 { echo "$as_me:$LINENO: result: no" >&5
30115 echo "${ECHO_T}no" >&6; }
30119 min_gtk_version=1.2.3
30120 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30121 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30123 if test "$GTK_CONFIG" = "no" ; then
30126 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30127 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30128 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30130 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30132 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30134 if test "x$enable_gtktest" = "xyes" ; then
30135 ac_save_CFLAGS="$CFLAGS"
30136 ac_save_LIBS="$LIBS"
30137 CFLAGS="$CFLAGS $GTK_CFLAGS"
30138 LIBS="$GTK_LIBS $LIBS"
30140 if test "$cross_compiling" = yes; then
30141 echo $ac_n "cross compiling; assumed OK... $ac_c"
30143 cat >conftest.$ac_ext <<_ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30150 #include <gtk/gtk.h>
30152 #include <stdlib.h>
30157 int major, minor, micro;
30160 system ("touch conf.gtktest");
30162 /* HP/UX 9 (%@#!) writes to sscanf strings */
30163 tmp_version = g_strdup("$min_gtk_version");
30164 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30165 printf("%s, bad version string\n", "$min_gtk_version");
30169 if ((gtk_major_version != $gtk_config_major_version) ||
30170 (gtk_minor_version != $gtk_config_minor_version) ||
30171 (gtk_micro_version != $gtk_config_micro_version))
30173 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30174 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30175 gtk_major_version, gtk_minor_version, gtk_micro_version);
30176 printf ("*** was found! If gtk-config was correct, then it is best\n");
30177 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30178 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30179 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30180 printf("*** required on your system.\n");
30181 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30182 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30183 printf("*** before re-running configure\n");
30185 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30186 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30187 (gtk_minor_version != GTK_MINOR_VERSION) ||
30188 (gtk_micro_version != GTK_MICRO_VERSION))
30190 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30191 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30192 printf("*** library (version %d.%d.%d)\n",
30193 gtk_major_version, gtk_minor_version, gtk_micro_version);
30195 #endif /* defined (GTK_MAJOR_VERSION) ... */
30198 if ((gtk_major_version > major) ||
30199 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30200 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30206 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30207 gtk_major_version, gtk_minor_version, gtk_micro_version);
30208 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30209 major, minor, micro);
30210 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30212 printf("*** If you have already installed a sufficiently new version, this error\n");
30213 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30214 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30215 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30216 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30217 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30218 printf("*** so that the correct libraries are found at run-time))\n");
30225 rm -f conftest$ac_exeext
30226 if { (ac_try="$ac_link"
30227 case "(($ac_try" in
30228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30229 *) ac_try_echo=$ac_try;;
30231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30232 (eval "$ac_link") 2>&5
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30236 { (case "(($ac_try" in
30237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30238 *) ac_try_echo=$ac_try;;
30240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30241 (eval "$ac_try") 2>&5
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); }; }; then
30247 echo "$as_me: program exited with status $ac_status" >&5
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.$ac_ext >&5
30251 ( exit $ac_status )
30254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30258 CFLAGS="$ac_save_CFLAGS"
30259 LIBS="$ac_save_LIBS"
30262 if test "x$no_gtk" = x ; then
30263 { echo "$as_me:$LINENO: result: yes" >&5
30264 echo "${ECHO_T}yes" >&6; }
30265 wx_cv_lib_gtk=1.2.3
30267 { echo "$as_me:$LINENO: result: no" >&5
30268 echo "${ECHO_T}no" >&6; }
30269 if test "$GTK_CONFIG" = "no" ; then
30270 echo "*** The gtk-config script installed by GTK could not be found"
30271 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30272 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30273 echo "*** full path to gtk-config."
30275 if test -f conf.gtktest ; then
30278 echo "*** Could not run GTK test program, checking why..."
30279 CFLAGS="$CFLAGS $GTK_CFLAGS"
30280 LIBS="$LIBS $GTK_LIBS"
30281 cat >conftest.$ac_ext <<_ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h. */
30288 #include <gtk/gtk.h>
30294 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30299 rm -f conftest.$ac_objext conftest$ac_exeext
30300 if { (ac_try="$ac_link"
30301 case "(($ac_try" in
30302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30303 *) ac_try_echo=$ac_try;;
30305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30306 (eval "$ac_link") 2>conftest.er1
30308 grep -v '^ *+' conftest.er1 >conftest.err
30310 cat conftest.err >&5
30311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); } && {
30313 test -z "$ac_c_werror_flag" ||
30314 test ! -s conftest.err
30315 } && test -s conftest$ac_exeext &&
30316 $as_test_x conftest$ac_exeext; then
30317 echo "*** The test program compiled, but did not run. This usually means"
30318 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30319 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30320 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30321 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30322 echo "*** is required on your system"
30324 echo "*** If you have an old version installed, it is best to remove it, although"
30325 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30327 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30328 echo "*** came with the system with the command"
30330 echo "*** rpm --erase --nodeps gtk gtk-devel"
30332 echo "$as_me: failed program was:" >&5
30333 sed 's/^/| /' conftest.$ac_ext >&5
30335 echo "*** The test program failed to compile or link. See the file config.log for the"
30336 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30337 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30338 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30343 CFLAGS="$ac_save_CFLAGS"
30344 LIBS="$ac_save_LIBS"
30359 if test -z "$wx_cv_lib_gtk"; then
30362 wx_cv_cflags_gtk=$GTK_CFLAGS
30363 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30370 if test "$gtk_version_cached" = 1; then
30371 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30372 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30375 case "$wx_cv_lib_gtk" in
30384 *) { { echo "$as_me:$LINENO: error:
30385 The development files for GTK+ were not found. For GTK+ 2, please
30386 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30387 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30388 and that the version is 1.2.3 or above. Also check that the
30389 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30390 --libs' are in the LD_LIBRARY_PATH or equivalent.
30392 echo "$as_me: error:
30393 The development files for GTK+ were not found. For GTK+ 2, please
30394 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30395 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30396 and that the version is 1.2.3 or above. Also check that the
30397 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30398 --libs' are in the LD_LIBRARY_PATH or equivalent.
30400 { (exit 1); exit 1; }; }
30404 if test "$WXGTK2" = 1; then
30405 save_CFLAGS="$CFLAGS"
30407 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30408 LIBS="$LIBS $wx_cv_libs_gtk"
30410 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30411 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30412 cat >conftest.$ac_ext <<_ACEOF
30415 cat confdefs.h >>conftest.$ac_ext
30416 cat >>conftest.$ac_ext <<_ACEOF
30417 /* end confdefs.h. */
30419 #include <gtk/gtk.h>
30425 #if !GTK_CHECK_VERSION(2,18,0)
30433 rm -f conftest.$ac_objext
30434 if { (ac_try="$ac_compile"
30435 case "(($ac_try" in
30436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30437 *) ac_try_echo=$ac_try;;
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_compile") 2>conftest.er1
30442 grep -v '^ *+' conftest.er1 >conftest.err
30444 cat conftest.err >&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } && {
30447 test -z "$ac_c_werror_flag" ||
30448 test ! -s conftest.err
30449 } && test -s conftest.$ac_objext; then
30451 cat >>confdefs.h <<\_ACEOF
30452 #define __WXGTK218__ 1
30455 cat >>confdefs.h <<\_ACEOF
30456 #define __WXGTK210__ 1
30459 cat >>confdefs.h <<\_ACEOF
30460 #define __WXGTK26__ 1
30463 { echo "$as_me:$LINENO: result: yes" >&5
30464 echo "${ECHO_T}yes" >&6; }
30468 echo "$as_me: failed program was:" >&5
30469 sed 's/^/| /' conftest.$ac_ext >&5
30472 { echo "$as_me:$LINENO: result: no" >&5
30473 echo "${ECHO_T}no" >&6; }
30478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480 if test "$ac_wxgtk218" = 0; then
30481 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30482 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30483 cat >conftest.$ac_ext <<_ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30490 #include <gtk/gtk.h>
30496 #if !GTK_CHECK_VERSION(2,10,0)
30504 rm -f conftest.$ac_objext
30505 if { (ac_try="$ac_compile"
30506 case "(($ac_try" in
30507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30508 *) ac_try_echo=$ac_try;;
30510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 (eval "$ac_compile") 2>conftest.er1
30513 grep -v '^ *+' conftest.er1 >conftest.err
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } && {
30518 test -z "$ac_c_werror_flag" ||
30519 test ! -s conftest.err
30520 } && test -s conftest.$ac_objext; then
30522 cat >>confdefs.h <<\_ACEOF
30523 #define __WXGTK210__ 1
30526 cat >>confdefs.h <<\_ACEOF
30527 #define __WXGTK26__ 1
30530 { echo "$as_me:$LINENO: result: yes" >&5
30531 echo "${ECHO_T}yes" >&6; }
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30539 { echo "$as_me:$LINENO: result: no" >&5
30540 echo "${ECHO_T}no" >&6; }
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30547 if test "$ac_wxgtk210" = 0; then
30548 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30549 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30550 cat >conftest.$ac_ext <<_ACEOF
30553 cat confdefs.h >>conftest.$ac_ext
30554 cat >>conftest.$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30557 #include <gtk/gtk.h>
30563 #if !GTK_CHECK_VERSION(2,6,0)
30571 rm -f conftest.$ac_objext
30572 if { (ac_try="$ac_compile"
30573 case "(($ac_try" in
30574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30575 *) ac_try_echo=$ac_try;;
30577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30578 (eval "$ac_compile") 2>conftest.er1
30580 grep -v '^ *+' conftest.er1 >conftest.err
30582 cat conftest.err >&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); } && {
30585 test -z "$ac_c_werror_flag" ||
30586 test ! -s conftest.err
30587 } && test -s conftest.$ac_objext; then
30589 cat >>confdefs.h <<\_ACEOF
30590 #define __WXGTK26__ 1
30593 { echo "$as_me:$LINENO: result: yes" >&5
30594 echo "${ECHO_T}yes" >&6; }
30598 echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.$ac_ext >&5
30602 { echo "$as_me:$LINENO: result: no" >&5
30603 echo "${ECHO_T}no" >&6; }
30608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30612 CFLAGS="$save_CFLAGS"
30615 if test "$wxUSE_UNICODE" = "yes"; then
30616 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30617 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30621 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30622 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30623 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 ac_check_lib_save_LIBS=$LIBS
30628 cat >conftest.$ac_ext <<_ACEOF
30631 cat confdefs.h >>conftest.$ac_ext
30632 cat >>conftest.$ac_ext <<_ACEOF
30633 /* end confdefs.h. */
30635 /* Override any GCC internal prototype to avoid an error.
30636 Use char because int might match the return type of a GCC
30637 builtin and then its argument prototype would still apply. */
30641 char gdk_im_open ();
30645 return gdk_im_open ();
30650 rm -f conftest.$ac_objext conftest$ac_exeext
30651 if { (ac_try="$ac_link"
30652 case "(($ac_try" in
30653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30654 *) ac_try_echo=$ac_try;;
30656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30657 (eval "$ac_link") 2>conftest.er1
30659 grep -v '^ *+' conftest.er1 >conftest.err
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } && {
30664 test -z "$ac_c_werror_flag" ||
30665 test ! -s conftest.err
30666 } && test -s conftest$ac_exeext &&
30667 $as_test_x conftest$ac_exeext; then
30668 ac_cv_lib_gdk_gdk_im_open=yes
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30673 ac_cv_lib_gdk_gdk_im_open=no
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 LIBS=$ac_check_lib_save_LIBS
30680 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30681 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30682 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30683 cat >>confdefs.h <<\_ACEOF
30690 if test "$USE_DARWIN" != 1; then
30692 for ac_func in poll
30694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30697 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30698 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 cat >conftest.$ac_ext <<_ACEOF
30703 cat confdefs.h >>conftest.$ac_ext
30704 cat >>conftest.$ac_ext <<_ACEOF
30705 /* end confdefs.h. */
30706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30708 #define $ac_func innocuous_$ac_func
30710 /* System header to define __stub macros and hopefully few prototypes,
30711 which can conflict with char $ac_func (); below.
30712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30713 <limits.h> exists even on freestanding compilers. */
30716 # include <limits.h>
30718 # include <assert.h>
30723 /* Override any GCC internal prototype to avoid an error.
30724 Use char because int might match the return type of a GCC
30725 builtin and then its argument prototype would still apply. */
30730 /* The GNU C library defines this for functions which it implements
30731 to always fail with ENOSYS. Some functions are actually named
30732 something starting with __ and the normal name is an alias. */
30733 #if defined __stub_$ac_func || defined __stub___$ac_func
30740 return $ac_func ();
30745 rm -f conftest.$ac_objext conftest$ac_exeext
30746 if { (ac_try="$ac_link"
30747 case "(($ac_try" in
30748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30749 *) ac_try_echo=$ac_try;;
30751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30752 (eval "$ac_link") 2>conftest.er1
30754 grep -v '^ *+' conftest.er1 >conftest.err
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } && {
30759 test -z "$ac_c_werror_flag" ||
30760 test ! -s conftest.err
30761 } && test -s conftest$ac_exeext &&
30762 $as_test_x conftest$ac_exeext; then
30763 eval "$as_ac_var=yes"
30765 echo "$as_me: failed program was:" >&5
30766 sed 's/^/| /' conftest.$ac_ext >&5
30768 eval "$as_ac_var=no"
30771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30772 conftest$ac_exeext conftest.$ac_ext
30774 ac_res=`eval echo '${'$as_ac_var'}'`
30775 { echo "$as_me:$LINENO: result: $ac_res" >&5
30776 echo "${ECHO_T}$ac_res" >&6; }
30777 if test `eval echo '${'$as_ac_var'}'` = yes; then
30778 cat >>confdefs.h <<_ACEOF
30779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30788 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30789 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30791 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30793 AFMINSTALL=afminstall
30797 if test "$wxUSE_GPE" = "yes"; then
30798 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30799 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30802 for ac_dir in $SEARCH_LIB;
30804 for ac_extension in a so sl dylib dll.a; do
30805 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30806 ac_find_libraries=$ac_dir
30812 if test "$ac_find_libraries" != "" ; then
30814 if test "$ac_find_libraries" = "default location"; then
30817 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30819 if test $result = 0; then
30822 ac_path_to_link=" -L$ac_find_libraries"
30826 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30828 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30829 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30831 { echo "$as_me:$LINENO: result: not found" >&5
30832 echo "${ECHO_T}not found" >&6; }
30838 if test "$wxUSE_MGL" = 1; then
30839 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30840 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30841 if test "x$MGL_ROOT" = x ; then
30842 { echo "$as_me:$LINENO: result: not found" >&5
30843 echo "${ECHO_T}not found" >&6; }
30844 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30845 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30846 { (exit 1); exit 1; }; }
30848 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30849 echo "${ECHO_T}$MGL_ROOT" >&6; }
30852 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30853 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30856 if test "x$wxUSE_SHARED" = xyes ; then
30857 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30859 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30863 mgl_os_candidates="dos32/dj2"
30866 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30867 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30868 { (exit 1); exit 1; }; }
30874 for mgl_os_i in $mgl_os_candidates ; do
30875 if test "x$mgl_os" = x ; then
30876 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30877 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30878 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30883 if test "x$mgl_lib_type" = x ; then
30884 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30885 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30886 mgl_lib_type=release
30893 if test "x$mgl_os" = x ; then
30894 { echo "$as_me:$LINENO: result: not found" >&5
30895 echo "${ECHO_T}not found" >&6; }
30896 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30897 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30898 { (exit 1); exit 1; }; }
30900 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30901 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30903 wxUSE_UNIVERSAL="yes"
30905 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30906 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30908 AFMINSTALL=afminstall
30913 if test "$wxUSE_DFB" = 1; then
30916 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30917 if test -n "$ac_tool_prefix"; then
30918 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30919 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30922 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30923 echo $ECHO_N "(cached) $ECHO_C" >&6
30925 case $PKG_CONFIG in
30927 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30931 for as_dir in $PATH
30934 test -z "$as_dir" && as_dir=.
30935 for ac_exec_ext in '' $ac_executable_extensions; do
30936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30937 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30948 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30949 if test -n "$PKG_CONFIG"; then
30950 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30951 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30953 { echo "$as_me:$LINENO: result: no" >&5
30954 echo "${ECHO_T}no" >&6; }
30959 if test -z "$ac_cv_path_PKG_CONFIG"; then
30960 ac_pt_PKG_CONFIG=$PKG_CONFIG
30961 # Extract the first word of "pkg-config", so it can be a program name with args.
30962 set dummy pkg-config; ac_word=$2
30963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30965 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30966 echo $ECHO_N "(cached) $ECHO_C" >&6
30968 case $ac_pt_PKG_CONFIG in
30970 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30974 for as_dir in $PATH
30977 test -z "$as_dir" && as_dir=.
30978 for ac_exec_ext in '' $ac_executable_extensions; do
30979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30980 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30991 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30992 if test -n "$ac_pt_PKG_CONFIG"; then
30993 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30994 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30996 { echo "$as_me:$LINENO: result: no" >&5
30997 echo "${ECHO_T}no" >&6; }
31000 if test "x$ac_pt_PKG_CONFIG" = x; then
31003 case $cross_compiling:$ac_tool_warned in
31005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31006 whose name does not start with the host triplet. If you think this
31007 configuration is useful to you, please write to autoconf@gnu.org." >&5
31008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31009 whose name does not start with the host triplet. If you think this
31010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31011 ac_tool_warned=yes ;;
31013 PKG_CONFIG=$ac_pt_PKG_CONFIG
31016 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31020 if test -n "$PKG_CONFIG"; then
31021 _pkg_min_version=0.9.0
31022 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31023 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31024 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31025 { echo "$as_me:$LINENO: result: yes" >&5
31026 echo "${ECHO_T}yes" >&6; }
31028 { echo "$as_me:$LINENO: result: no" >&5
31029 echo "${ECHO_T}no" >&6; }
31037 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31038 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31040 if test -n "$PKG_CONFIG"; then
31041 if test -n "$DIRECTFB_CFLAGS"; then
31042 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31044 if test -n "$PKG_CONFIG" && \
31045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31046 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; then
31050 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31058 if test -n "$PKG_CONFIG"; then
31059 if test -n "$DIRECTFB_LIBS"; then
31060 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31062 if test -n "$PKG_CONFIG" && \
31063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31064 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31067 (exit $ac_status); }; then
31068 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31079 if test $pkg_failed = yes; then
31081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31082 _pkg_short_errors_supported=yes
31084 _pkg_short_errors_supported=no
31086 if test $_pkg_short_errors_supported = yes; then
31087 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31089 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31091 # Put the nasty error message in config.log where it belongs
31092 echo "$DIRECTFB_PKG_ERRORS" >&5
31095 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31096 echo "$as_me: error: DirectFB not found." >&2;}
31097 { (exit 1); exit 1; }; }
31100 elif test $pkg_failed = untried; then
31102 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31103 echo "$as_me: error: DirectFB not found." >&2;}
31104 { (exit 1); exit 1; }; }
31108 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31109 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31110 { echo "$as_me:$LINENO: result: yes" >&5
31111 echo "${ECHO_T}yes" >&6; }
31113 wxUSE_UNIVERSAL="yes"
31114 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31115 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31122 if test "$wxUSE_MICROWIN" = 1; then
31123 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31124 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31125 if test "x$MICROWINDOWS" = x ; then
31126 { echo "$as_me:$LINENO: result: not found" >&5
31127 echo "${ECHO_T}not found" >&6; }
31128 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31129 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31130 { (exit 1); exit 1; }; }
31132 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31133 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31136 if test -f $MICROWINDOWS/lib/libmwin.a; then
31137 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31138 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31140 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31141 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31142 { (exit 1); exit 1; }; }
31145 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31146 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31148 wxUSE_UNIVERSAL="yes"
31150 AFMINSTALL=afminstall
31152 GUIDIST=MICROWIN_DIST
31154 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31157 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31158 { echo "$as_me:$LINENO: checking for X" >&5
31159 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31162 # Check whether --with-x was given.
31163 if test "${with_x+set}" = set; then
31167 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31168 if test "x$with_x" = xno; then
31169 # The user explicitly disabled X.
31172 case $x_includes,$x_libraries in #(
31173 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31174 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31175 { (exit 1); exit 1; }; };; #(
31176 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31177 echo $ECHO_N "(cached) $ECHO_C" >&6
31179 # One or both of the vars are not set, and there is no cached value.
31180 ac_x_includes=no ac_x_libraries=no
31181 rm -f -r conftest.dir
31182 if mkdir conftest.dir; then
31184 cat >Imakefile <<'_ACEOF'
31186 @echo incroot='${INCROOT}'
31188 @echo usrlibdir='${USRLIBDIR}'
31190 @echo libdir='${LIBDIR}'
31192 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31193 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31194 for ac_var in incroot usrlibdir libdir; do
31195 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31197 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31198 for ac_extension in a so sl; do
31199 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31200 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31201 ac_im_usrlibdir=$ac_im_libdir; break
31204 # Screen out bogus values from the imake configuration. They are
31205 # bogus both because they are the default anyway, and because
31206 # using them would break gcc on systems where it needs fixed includes.
31207 case $ac_im_incroot in
31208 /usr/include) ac_x_includes= ;;
31209 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31211 case $ac_im_usrlibdir in
31212 /usr/lib | /lib) ;;
31213 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31217 rm -f -r conftest.dir
31220 # Standard set of common directories for X headers.
31221 # Check X11 before X11Rn because it is often a symlink to the current release.
31233 /usr/local/X11/include
31234 /usr/local/X11R6/include
31235 /usr/local/X11R5/include
31236 /usr/local/X11R4/include
31238 /usr/local/include/X11
31239 /usr/local/include/X11R6
31240 /usr/local/include/X11R5
31241 /usr/local/include/X11R4
31245 /usr/XFree86/include/X11
31249 /usr/unsupported/include
31250 /usr/athena/include
31251 /usr/local/x11r5/include
31252 /usr/lpp/Xamples/include
31254 /usr/openwin/include
31255 /usr/openwin/share/include'
31257 if test "$ac_x_includes" = no; then
31258 # Guess where to find include files, by looking for Xlib.h.
31259 # First, try using that file with no special directory specified.
31260 cat >conftest.$ac_ext <<_ACEOF
31263 cat confdefs.h >>conftest.$ac_ext
31264 cat >>conftest.$ac_ext <<_ACEOF
31265 /* end confdefs.h. */
31266 #include <X11/Xlib.h>
31268 if { (ac_try="$ac_cpp conftest.$ac_ext"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31276 grep -v '^ *+' conftest.er1 >conftest.err
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } >/dev/null && {
31281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31284 # We can compile using X headers with no special include directory.
31287 echo "$as_me: failed program was:" >&5
31288 sed 's/^/| /' conftest.$ac_ext >&5
31290 for ac_dir in $ac_x_header_dirs; do
31291 if test -r "$ac_dir/X11/Xlib.h"; then
31292 ac_x_includes=$ac_dir
31298 rm -f conftest.err conftest.$ac_ext
31299 fi # $ac_x_includes = no
31301 if test "$ac_x_libraries" = no; then
31302 # Check for the libraries.
31303 # See if we find them without any special options.
31304 # Don't add to $LIBS permanently.
31307 cat >conftest.$ac_ext <<_ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31313 #include <X11/Xlib.h>
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (ac_try="$ac_link"
31324 case "(($ac_try" in
31325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31326 *) ac_try_echo=$ac_try;;
31328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31329 (eval "$ac_link") 2>conftest.er1
31331 grep -v '^ *+' conftest.er1 >conftest.err
31333 cat conftest.err >&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); } && {
31336 test -z "$ac_c_werror_flag" ||
31337 test ! -s conftest.err
31338 } && test -s conftest$ac_exeext &&
31339 $as_test_x conftest$ac_exeext; then
31341 # We can link X programs with no special library path.
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31348 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31350 # Don't even attempt the hair of trying to link an X program!
31351 for ac_extension in a so sl; do
31352 if test -r "$ac_dir/libX11.$ac_extension"; then
31353 ac_x_libraries=$ac_dir
31360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31361 conftest$ac_exeext conftest.$ac_ext
31362 fi # $ac_x_libraries = no
31364 case $ac_x_includes,$ac_x_libraries in #(
31365 no,* | *,no | *\'*)
31366 # Didn't find X, or a directory has "'" in its name.
31367 ac_cv_have_x="have_x=no";; #(
31369 # Record where we found X for the cache.
31370 ac_cv_have_x="have_x=yes\
31371 ac_x_includes='$ac_x_includes'\
31372 ac_x_libraries='$ac_x_libraries'"
31378 eval "$ac_cv_have_x"
31381 if test "$have_x" != yes; then
31382 { echo "$as_me:$LINENO: result: $have_x" >&5
31383 echo "${ECHO_T}$have_x" >&6; }
31386 # If each of the values was on the command line, it overrides each guess.
31387 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31388 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31389 # Update the cache value to reflect the command line values.
31390 ac_cv_have_x="have_x=yes\
31391 ac_x_includes='$x_includes'\
31392 ac_x_libraries='$x_libraries'"
31393 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31394 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31397 if test "$no_x" = yes; then
31398 # Not all programs may use this symbol, but it does not hurt to define it.
31400 cat >>confdefs.h <<\_ACEOF
31401 #define X_DISPLAY_MISSING 1
31404 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31406 if test -n "$x_includes"; then
31407 X_CFLAGS="$X_CFLAGS -I$x_includes"
31410 # It would also be nice to do this for all -L options, not just this one.
31411 if test -n "$x_libraries"; then
31412 X_LIBS="$X_LIBS -L$x_libraries"
31413 # For Solaris; some versions of Sun CC require a space after -R and
31414 # others require no space. Words are not sufficient . . . .
31415 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31416 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31417 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31418 ac_xsave_c_werror_flag=$ac_c_werror_flag
31419 ac_c_werror_flag=yes
31420 cat >conftest.$ac_ext <<_ACEOF
31423 cat confdefs.h >>conftest.$ac_ext
31424 cat >>conftest.$ac_ext <<_ACEOF
31425 /* end confdefs.h. */
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (ac_try="$ac_link"
31437 case "(($ac_try" in
31438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31439 *) ac_try_echo=$ac_try;;
31441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31442 (eval "$ac_link") 2>conftest.er1
31444 grep -v '^ *+' conftest.er1 >conftest.err
31446 cat conftest.err >&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); } && {
31449 test -z "$ac_c_werror_flag" ||
31450 test ! -s conftest.err
31451 } && test -s conftest$ac_exeext &&
31452 $as_test_x conftest$ac_exeext; then
31453 { echo "$as_me:$LINENO: result: no" >&5
31454 echo "${ECHO_T}no" >&6; }
31455 X_LIBS="$X_LIBS -R$x_libraries"
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31460 LIBS="$ac_xsave_LIBS -R $x_libraries"
31461 cat >conftest.$ac_ext <<_ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31476 rm -f conftest.$ac_objext conftest$ac_exeext
31477 if { (ac_try="$ac_link"
31478 case "(($ac_try" in
31479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31480 *) ac_try_echo=$ac_try;;
31482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31483 (eval "$ac_link") 2>conftest.er1
31485 grep -v '^ *+' conftest.er1 >conftest.err
31487 cat conftest.err >&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } && {
31490 test -z "$ac_c_werror_flag" ||
31491 test ! -s conftest.err
31492 } && test -s conftest$ac_exeext &&
31493 $as_test_x conftest$ac_exeext; then
31494 { echo "$as_me:$LINENO: result: yes" >&5
31495 echo "${ECHO_T}yes" >&6; }
31496 X_LIBS="$X_LIBS -R $x_libraries"
31498 echo "$as_me: failed program was:" >&5
31499 sed 's/^/| /' conftest.$ac_ext >&5
31501 { echo "$as_me:$LINENO: result: neither works" >&5
31502 echo "${ECHO_T}neither works" >&6; }
31505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31506 conftest$ac_exeext conftest.$ac_ext
31509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31510 conftest$ac_exeext conftest.$ac_ext
31511 ac_c_werror_flag=$ac_xsave_c_werror_flag
31512 LIBS=$ac_xsave_LIBS
31515 # Check for system-dependent libraries X programs must link with.
31516 # Do this before checking for the system-independent R6 libraries
31517 # (-lICE), since we may need -lsocket or whatever for X linking.
31519 if test "$ISC" = yes; then
31520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31522 # Martyn Johnson says this is needed for Ultrix, if the X
31523 # libraries were built with DECnet support. And Karl Berry says
31524 # the Alpha needs dnet_stub (dnet does not exist).
31525 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31526 cat >conftest.$ac_ext <<_ACEOF
31529 cat confdefs.h >>conftest.$ac_ext
31530 cat >>conftest.$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31533 /* Override any GCC internal prototype to avoid an error.
31534 Use char because int might match the return type of a GCC
31535 builtin and then its argument prototype would still apply. */
31539 char XOpenDisplay ();
31543 return XOpenDisplay ();
31548 rm -f conftest.$ac_objext conftest$ac_exeext
31549 if { (ac_try="$ac_link"
31550 case "(($ac_try" in
31551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31552 *) ac_try_echo=$ac_try;;
31554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31555 (eval "$ac_link") 2>conftest.er1
31557 grep -v '^ *+' conftest.er1 >conftest.err
31559 cat conftest.err >&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } && {
31562 test -z "$ac_c_werror_flag" ||
31563 test ! -s conftest.err
31564 } && test -s conftest$ac_exeext &&
31565 $as_test_x conftest$ac_exeext; then
31568 echo "$as_me: failed program was:" >&5
31569 sed 's/^/| /' conftest.$ac_ext >&5
31571 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31572 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31573 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31574 echo $ECHO_N "(cached) $ECHO_C" >&6
31576 ac_check_lib_save_LIBS=$LIBS
31577 LIBS="-ldnet $LIBS"
31578 cat >conftest.$ac_ext <<_ACEOF
31581 cat confdefs.h >>conftest.$ac_ext
31582 cat >>conftest.$ac_ext <<_ACEOF
31583 /* end confdefs.h. */
31585 /* Override any GCC internal prototype to avoid an error.
31586 Use char because int might match the return type of a GCC
31587 builtin and then its argument prototype would still apply. */
31595 return dnet_ntoa ();
31600 rm -f conftest.$ac_objext conftest$ac_exeext
31601 if { (ac_try="$ac_link"
31602 case "(($ac_try" in
31603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31604 *) ac_try_echo=$ac_try;;
31606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31607 (eval "$ac_link") 2>conftest.er1
31609 grep -v '^ *+' conftest.er1 >conftest.err
31611 cat conftest.err >&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); } && {
31614 test -z "$ac_c_werror_flag" ||
31615 test ! -s conftest.err
31616 } && test -s conftest$ac_exeext &&
31617 $as_test_x conftest$ac_exeext; then
31618 ac_cv_lib_dnet_dnet_ntoa=yes
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.$ac_ext >&5
31623 ac_cv_lib_dnet_dnet_ntoa=no
31626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31627 conftest$ac_exeext conftest.$ac_ext
31628 LIBS=$ac_check_lib_save_LIBS
31630 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31631 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31632 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31633 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31636 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31637 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31638 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31639 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31640 echo $ECHO_N "(cached) $ECHO_C" >&6
31642 ac_check_lib_save_LIBS=$LIBS
31643 LIBS="-ldnet_stub $LIBS"
31644 cat >conftest.$ac_ext <<_ACEOF
31647 cat confdefs.h >>conftest.$ac_ext
31648 cat >>conftest.$ac_ext <<_ACEOF
31649 /* end confdefs.h. */
31651 /* Override any GCC internal prototype to avoid an error.
31652 Use char because int might match the return type of a GCC
31653 builtin and then its argument prototype would still apply. */
31661 return dnet_ntoa ();
31666 rm -f conftest.$ac_objext conftest$ac_exeext
31667 if { (ac_try="$ac_link"
31668 case "(($ac_try" in
31669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31670 *) ac_try_echo=$ac_try;;
31672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31673 (eval "$ac_link") 2>conftest.er1
31675 grep -v '^ *+' conftest.er1 >conftest.err
31677 cat conftest.err >&5
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); } && {
31680 test -z "$ac_c_werror_flag" ||
31681 test ! -s conftest.err
31682 } && test -s conftest$ac_exeext &&
31683 $as_test_x conftest$ac_exeext; then
31684 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.$ac_ext >&5
31689 ac_cv_lib_dnet_stub_dnet_ntoa=no
31692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31693 conftest$ac_exeext conftest.$ac_ext
31694 LIBS=$ac_check_lib_save_LIBS
31696 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31697 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31698 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31699 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31706 conftest$ac_exeext conftest.$ac_ext
31707 LIBS="$ac_xsave_LIBS"
31709 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31710 # to get the SysV transport functions.
31711 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31713 # The nsl library prevents programs from opening the X display
31714 # on Irix 5.2, according to T.E. Dickey.
31715 # The functions gethostbyname, getservbyname, and inet_addr are
31716 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31717 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31718 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31719 if test "${ac_cv_func_gethostbyname+set}" = set; then
31720 echo $ECHO_N "(cached) $ECHO_C" >&6
31722 cat >conftest.$ac_ext <<_ACEOF
31725 cat confdefs.h >>conftest.$ac_ext
31726 cat >>conftest.$ac_ext <<_ACEOF
31727 /* end confdefs.h. */
31728 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31730 #define gethostbyname innocuous_gethostbyname
31732 /* System header to define __stub macros and hopefully few prototypes,
31733 which can conflict with char gethostbyname (); below.
31734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31735 <limits.h> exists even on freestanding compilers. */
31738 # include <limits.h>
31740 # include <assert.h>
31743 #undef gethostbyname
31745 /* Override any GCC internal prototype to avoid an error.
31746 Use char because int might match the return type of a GCC
31747 builtin and then its argument prototype would still apply. */
31751 char gethostbyname ();
31752 /* The GNU C library defines this for functions which it implements
31753 to always fail with ENOSYS. Some functions are actually named
31754 something starting with __ and the normal name is an alias. */
31755 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31762 return gethostbyname ();
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (ac_try="$ac_link"
31769 case "(($ac_try" in
31770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31771 *) ac_try_echo=$ac_try;;
31773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31774 (eval "$ac_link") 2>conftest.er1
31776 grep -v '^ *+' conftest.er1 >conftest.err
31778 cat conftest.err >&5
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); } && {
31781 test -z "$ac_c_werror_flag" ||
31782 test ! -s conftest.err
31783 } && test -s conftest$ac_exeext &&
31784 $as_test_x conftest$ac_exeext; then
31785 ac_cv_func_gethostbyname=yes
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.$ac_ext >&5
31790 ac_cv_func_gethostbyname=no
31793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31794 conftest$ac_exeext conftest.$ac_ext
31796 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31797 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31799 if test $ac_cv_func_gethostbyname = no; then
31800 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31801 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31802 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31803 echo $ECHO_N "(cached) $ECHO_C" >&6
31805 ac_check_lib_save_LIBS=$LIBS
31807 cat >conftest.$ac_ext <<_ACEOF
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31814 /* Override any GCC internal prototype to avoid an error.
31815 Use char because int might match the return type of a GCC
31816 builtin and then its argument prototype would still apply. */
31820 char gethostbyname ();
31824 return gethostbyname ();
31829 rm -f conftest.$ac_objext conftest$ac_exeext
31830 if { (ac_try="$ac_link"
31831 case "(($ac_try" in
31832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31833 *) ac_try_echo=$ac_try;;
31835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31836 (eval "$ac_link") 2>conftest.er1
31838 grep -v '^ *+' conftest.er1 >conftest.err
31840 cat conftest.err >&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); } && {
31843 test -z "$ac_c_werror_flag" ||
31844 test ! -s conftest.err
31845 } && test -s conftest$ac_exeext &&
31846 $as_test_x conftest$ac_exeext; then
31847 ac_cv_lib_nsl_gethostbyname=yes
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.$ac_ext >&5
31852 ac_cv_lib_nsl_gethostbyname=no
31855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31856 conftest$ac_exeext conftest.$ac_ext
31857 LIBS=$ac_check_lib_save_LIBS
31859 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31860 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31861 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31862 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31865 if test $ac_cv_lib_nsl_gethostbyname = no; then
31866 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31867 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31868 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 ac_check_lib_save_LIBS=$LIBS
31873 cat >conftest.$ac_ext <<_ACEOF
31876 cat confdefs.h >>conftest.$ac_ext
31877 cat >>conftest.$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31880 /* Override any GCC internal prototype to avoid an error.
31881 Use char because int might match the return type of a GCC
31882 builtin and then its argument prototype would still apply. */
31886 char gethostbyname ();
31890 return gethostbyname ();
31895 rm -f conftest.$ac_objext conftest$ac_exeext
31896 if { (ac_try="$ac_link"
31897 case "(($ac_try" in
31898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31899 *) ac_try_echo=$ac_try;;
31901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31902 (eval "$ac_link") 2>conftest.er1
31904 grep -v '^ *+' conftest.er1 >conftest.err
31906 cat conftest.err >&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); } && {
31909 test -z "$ac_c_werror_flag" ||
31910 test ! -s conftest.err
31911 } && test -s conftest$ac_exeext &&
31912 $as_test_x conftest$ac_exeext; then
31913 ac_cv_lib_bsd_gethostbyname=yes
31915 echo "$as_me: failed program was:" >&5
31916 sed 's/^/| /' conftest.$ac_ext >&5
31918 ac_cv_lib_bsd_gethostbyname=no
31921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31922 conftest$ac_exeext conftest.$ac_ext
31923 LIBS=$ac_check_lib_save_LIBS
31925 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31926 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31927 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31934 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31935 # socket/setsockopt and other routines are undefined under SCO ODT
31936 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31937 # on later versions), says Simon Leinen: it contains gethostby*
31938 # variants that don't use the name server (or something). -lsocket
31939 # must be given before -lnsl if both are needed. We assume that
31940 # if connect needs -lnsl, so does gethostbyname.
31941 { echo "$as_me:$LINENO: checking for connect" >&5
31942 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31943 if test "${ac_cv_func_connect+set}" = set; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31946 cat >conftest.$ac_ext <<_ACEOF
31949 cat confdefs.h >>conftest.$ac_ext
31950 cat >>conftest.$ac_ext <<_ACEOF
31951 /* end confdefs.h. */
31952 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31954 #define connect innocuous_connect
31956 /* System header to define __stub macros and hopefully few prototypes,
31957 which can conflict with char connect (); below.
31958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31959 <limits.h> exists even on freestanding compilers. */
31962 # include <limits.h>
31964 # include <assert.h>
31969 /* Override any GCC internal prototype to avoid an error.
31970 Use char because int might match the return type of a GCC
31971 builtin and then its argument prototype would still apply. */
31976 /* The GNU C library defines this for functions which it implements
31977 to always fail with ENOSYS. Some functions are actually named
31978 something starting with __ and the normal name is an alias. */
31979 #if defined __stub_connect || defined __stub___connect
31991 rm -f conftest.$ac_objext conftest$ac_exeext
31992 if { (ac_try="$ac_link"
31993 case "(($ac_try" in
31994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31995 *) ac_try_echo=$ac_try;;
31997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31998 (eval "$ac_link") 2>conftest.er1
32000 grep -v '^ *+' conftest.er1 >conftest.err
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } && {
32005 test -z "$ac_c_werror_flag" ||
32006 test ! -s conftest.err
32007 } && test -s conftest$ac_exeext &&
32008 $as_test_x conftest$ac_exeext; then
32009 ac_cv_func_connect=yes
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32014 ac_cv_func_connect=no
32017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32018 conftest$ac_exeext conftest.$ac_ext
32020 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32021 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32023 if test $ac_cv_func_connect = no; then
32024 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32025 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32026 if test "${ac_cv_lib_socket_connect+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 ac_check_lib_save_LIBS=$LIBS
32030 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32031 cat >conftest.$ac_ext <<_ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32053 rm -f conftest.$ac_objext conftest$ac_exeext
32054 if { (ac_try="$ac_link"
32055 case "(($ac_try" in
32056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32057 *) ac_try_echo=$ac_try;;
32059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32060 (eval "$ac_link") 2>conftest.er1
32062 grep -v '^ *+' conftest.er1 >conftest.err
32064 cat conftest.err >&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } && {
32067 test -z "$ac_c_werror_flag" ||
32068 test ! -s conftest.err
32069 } && test -s conftest$ac_exeext &&
32070 $as_test_x conftest$ac_exeext; then
32071 ac_cv_lib_socket_connect=yes
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32076 ac_cv_lib_socket_connect=no
32079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32080 conftest$ac_exeext conftest.$ac_ext
32081 LIBS=$ac_check_lib_save_LIBS
32083 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32084 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32085 if test $ac_cv_lib_socket_connect = yes; then
32086 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32091 # Guillermo Gomez says -lposix is necessary on A/UX.
32092 { echo "$as_me:$LINENO: checking for remove" >&5
32093 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32094 if test "${ac_cv_func_remove+set}" = set; then
32095 echo $ECHO_N "(cached) $ECHO_C" >&6
32097 cat >conftest.$ac_ext <<_ACEOF
32100 cat confdefs.h >>conftest.$ac_ext
32101 cat >>conftest.$ac_ext <<_ACEOF
32102 /* end confdefs.h. */
32103 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32105 #define remove innocuous_remove
32107 /* System header to define __stub macros and hopefully few prototypes,
32108 which can conflict with char remove (); below.
32109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32110 <limits.h> exists even on freestanding compilers. */
32113 # include <limits.h>
32115 # include <assert.h>
32120 /* Override any GCC internal prototype to avoid an error.
32121 Use char because int might match the return type of a GCC
32122 builtin and then its argument prototype would still apply. */
32127 /* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130 #if defined __stub_remove || defined __stub___remove
32142 rm -f conftest.$ac_objext conftest$ac_exeext
32143 if { (ac_try="$ac_link"
32144 case "(($ac_try" in
32145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32146 *) ac_try_echo=$ac_try;;
32148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32149 (eval "$ac_link") 2>conftest.er1
32151 grep -v '^ *+' conftest.er1 >conftest.err
32153 cat conftest.err >&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); } && {
32156 test -z "$ac_c_werror_flag" ||
32157 test ! -s conftest.err
32158 } && test -s conftest$ac_exeext &&
32159 $as_test_x conftest$ac_exeext; then
32160 ac_cv_func_remove=yes
32162 echo "$as_me: failed program was:" >&5
32163 sed 's/^/| /' conftest.$ac_ext >&5
32165 ac_cv_func_remove=no
32168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32169 conftest$ac_exeext conftest.$ac_ext
32171 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32172 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32174 if test $ac_cv_func_remove = no; then
32175 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32176 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32177 if test "${ac_cv_lib_posix_remove+set}" = set; then
32178 echo $ECHO_N "(cached) $ECHO_C" >&6
32180 ac_check_lib_save_LIBS=$LIBS
32181 LIBS="-lposix $LIBS"
32182 cat >conftest.$ac_ext <<_ACEOF
32185 cat confdefs.h >>conftest.$ac_ext
32186 cat >>conftest.$ac_ext <<_ACEOF
32187 /* end confdefs.h. */
32189 /* Override any GCC internal prototype to avoid an error.
32190 Use char because int might match the return type of a GCC
32191 builtin and then its argument prototype would still apply. */
32204 rm -f conftest.$ac_objext conftest$ac_exeext
32205 if { (ac_try="$ac_link"
32206 case "(($ac_try" in
32207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32208 *) ac_try_echo=$ac_try;;
32210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32211 (eval "$ac_link") 2>conftest.er1
32213 grep -v '^ *+' conftest.er1 >conftest.err
32215 cat conftest.err >&5
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); } && {
32218 test -z "$ac_c_werror_flag" ||
32219 test ! -s conftest.err
32220 } && test -s conftest$ac_exeext &&
32221 $as_test_x conftest$ac_exeext; then
32222 ac_cv_lib_posix_remove=yes
32224 echo "$as_me: failed program was:" >&5
32225 sed 's/^/| /' conftest.$ac_ext >&5
32227 ac_cv_lib_posix_remove=no
32230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32231 conftest$ac_exeext conftest.$ac_ext
32232 LIBS=$ac_check_lib_save_LIBS
32234 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32235 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32236 if test $ac_cv_lib_posix_remove = yes; then
32237 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32242 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32243 { echo "$as_me:$LINENO: checking for shmat" >&5
32244 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32245 if test "${ac_cv_func_shmat+set}" = set; then
32246 echo $ECHO_N "(cached) $ECHO_C" >&6
32248 cat >conftest.$ac_ext <<_ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32256 #define shmat innocuous_shmat
32258 /* System header to define __stub macros and hopefully few prototypes,
32259 which can conflict with char shmat (); below.
32260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32261 <limits.h> exists even on freestanding compilers. */
32264 # include <limits.h>
32266 # include <assert.h>
32271 /* Override any GCC internal prototype to avoid an error.
32272 Use char because int might match the return type of a GCC
32273 builtin and then its argument prototype would still apply. */
32278 /* The GNU C library defines this for functions which it implements
32279 to always fail with ENOSYS. Some functions are actually named
32280 something starting with __ and the normal name is an alias. */
32281 #if defined __stub_shmat || defined __stub___shmat
32293 rm -f conftest.$ac_objext conftest$ac_exeext
32294 if { (ac_try="$ac_link"
32295 case "(($ac_try" in
32296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32297 *) ac_try_echo=$ac_try;;
32299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32300 (eval "$ac_link") 2>conftest.er1
32302 grep -v '^ *+' conftest.er1 >conftest.err
32304 cat conftest.err >&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } && {
32307 test -z "$ac_c_werror_flag" ||
32308 test ! -s conftest.err
32309 } && test -s conftest$ac_exeext &&
32310 $as_test_x conftest$ac_exeext; then
32311 ac_cv_func_shmat=yes
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32316 ac_cv_func_shmat=no
32319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32320 conftest$ac_exeext conftest.$ac_ext
32322 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32323 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32325 if test $ac_cv_func_shmat = no; then
32326 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32327 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32328 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32329 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 ac_check_lib_save_LIBS=$LIBS
32333 cat >conftest.$ac_ext <<_ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32340 /* Override any GCC internal prototype to avoid an error.
32341 Use char because int might match the return type of a GCC
32342 builtin and then its argument prototype would still apply. */
32355 rm -f conftest.$ac_objext conftest$ac_exeext
32356 if { (ac_try="$ac_link"
32357 case "(($ac_try" in
32358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32359 *) ac_try_echo=$ac_try;;
32361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32362 (eval "$ac_link") 2>conftest.er1
32364 grep -v '^ *+' conftest.er1 >conftest.err
32366 cat conftest.err >&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); } && {
32369 test -z "$ac_c_werror_flag" ||
32370 test ! -s conftest.err
32371 } && test -s conftest$ac_exeext &&
32372 $as_test_x conftest$ac_exeext; then
32373 ac_cv_lib_ipc_shmat=yes
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32378 ac_cv_lib_ipc_shmat=no
32381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32382 conftest$ac_exeext conftest.$ac_ext
32383 LIBS=$ac_check_lib_save_LIBS
32385 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32386 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32387 if test $ac_cv_lib_ipc_shmat = yes; then
32388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32394 # Check for libraries that X11R6 Xt/Xaw programs need.
32395 ac_save_LDFLAGS=$LDFLAGS
32396 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32397 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32398 # check for ICE first), but we must link in the order -lSM -lICE or
32399 # we get undefined symbols. So assume we have SM if we have ICE.
32400 # These have to be linked with before -lX11, unlike the other
32401 # libraries we check for below, so use a different variable.
32402 # John Interrante, Karl Berry
32403 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32404 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32405 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32406 echo $ECHO_N "(cached) $ECHO_C" >&6
32408 ac_check_lib_save_LIBS=$LIBS
32409 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32410 cat >conftest.$ac_ext <<_ACEOF
32413 cat confdefs.h >>conftest.$ac_ext
32414 cat >>conftest.$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32417 /* Override any GCC internal prototype to avoid an error.
32418 Use char because int might match the return type of a GCC
32419 builtin and then its argument prototype would still apply. */
32423 char IceConnectionNumber ();
32427 return IceConnectionNumber ();
32432 rm -f conftest.$ac_objext conftest$ac_exeext
32433 if { (ac_try="$ac_link"
32434 case "(($ac_try" in
32435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32436 *) ac_try_echo=$ac_try;;
32438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32439 (eval "$ac_link") 2>conftest.er1
32441 grep -v '^ *+' conftest.er1 >conftest.err
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } && {
32446 test -z "$ac_c_werror_flag" ||
32447 test ! -s conftest.err
32448 } && test -s conftest$ac_exeext &&
32449 $as_test_x conftest$ac_exeext; then
32450 ac_cv_lib_ICE_IceConnectionNumber=yes
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.$ac_ext >&5
32455 ac_cv_lib_ICE_IceConnectionNumber=no
32458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32459 conftest$ac_exeext conftest.$ac_ext
32460 LIBS=$ac_check_lib_save_LIBS
32462 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32463 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32464 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32465 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32468 LDFLAGS=$ac_save_LDFLAGS
32473 if test "$no_x" = "yes"; then
32474 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32475 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32476 { (exit 1); exit 1; }; }
32479 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32480 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32481 AFMINSTALL=afminstall
32482 COMPILED_X_PROGRAM=0
32486 if test "$wxUSE_X11" = 1; then
32487 if test "$wxUSE_NANOX" = "yes"; then
32488 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32489 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32490 if test "x$MICROWIN" = x ; then
32491 { echo "$as_me:$LINENO: result: not found" >&5
32492 echo "${ECHO_T}not found" >&6; }
32493 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32494 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32495 { (exit 1); exit 1; }; }
32497 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32498 echo "${ECHO_T}$MICROWIN" >&6; }
32499 cat >>confdefs.h <<\_ACEOF
32500 #define wxUSE_NANOX 1
32506 if test "$wxUSE_UNICODE" = "yes"; then
32509 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32510 if test -n "$ac_tool_prefix"; then
32511 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32512 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32515 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32516 echo $ECHO_N "(cached) $ECHO_C" >&6
32518 case $PKG_CONFIG in
32520 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32524 for as_dir in $PATH
32527 test -z "$as_dir" && as_dir=.
32528 for ac_exec_ext in '' $ac_executable_extensions; do
32529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32530 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32541 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32542 if test -n "$PKG_CONFIG"; then
32543 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32544 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32546 { echo "$as_me:$LINENO: result: no" >&5
32547 echo "${ECHO_T}no" >&6; }
32552 if test -z "$ac_cv_path_PKG_CONFIG"; then
32553 ac_pt_PKG_CONFIG=$PKG_CONFIG
32554 # Extract the first word of "pkg-config", so it can be a program name with args.
32555 set dummy pkg-config; ac_word=$2
32556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32558 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32559 echo $ECHO_N "(cached) $ECHO_C" >&6
32561 case $ac_pt_PKG_CONFIG in
32563 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32567 for as_dir in $PATH
32570 test -z "$as_dir" && as_dir=.
32571 for ac_exec_ext in '' $ac_executable_extensions; do
32572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32573 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32584 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32585 if test -n "$ac_pt_PKG_CONFIG"; then
32586 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32587 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32589 { echo "$as_me:$LINENO: result: no" >&5
32590 echo "${ECHO_T}no" >&6; }
32593 if test "x$ac_pt_PKG_CONFIG" = x; then
32596 case $cross_compiling:$ac_tool_warned in
32598 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32599 whose name does not start with the host triplet. If you think this
32600 configuration is useful to you, please write to autoconf@gnu.org." >&5
32601 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32602 whose name does not start with the host triplet. If you think this
32603 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32604 ac_tool_warned=yes ;;
32606 PKG_CONFIG=$ac_pt_PKG_CONFIG
32609 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32613 if test -n "$PKG_CONFIG"; then
32614 _pkg_min_version=0.9.0
32615 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32616 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32617 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32618 { echo "$as_me:$LINENO: result: yes" >&5
32619 echo "${ECHO_T}yes" >&6; }
32621 { echo "$as_me:$LINENO: result: no" >&5
32622 echo "${ECHO_T}no" >&6; }
32630 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32631 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32633 if test -n "$PKG_CONFIG"; then
32634 if test -n "$PANGOX_CFLAGS"; then
32635 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32637 if test -n "$PKG_CONFIG" && \
32638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32639 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; then
32643 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32651 if test -n "$PKG_CONFIG"; then
32652 if test -n "$PANGOX_LIBS"; then
32653 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32655 if test -n "$PKG_CONFIG" && \
32656 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32657 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); }; then
32661 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32672 if test $pkg_failed = yes; then
32674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32675 _pkg_short_errors_supported=yes
32677 _pkg_short_errors_supported=no
32679 if test $_pkg_short_errors_supported = yes; then
32680 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32682 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32684 # Put the nasty error message in config.log where it belongs
32685 echo "$PANGOX_PKG_ERRORS" >&5
32688 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32689 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32690 { (exit 1); exit 1; }; }
32693 elif test $pkg_failed = untried; then
32695 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32696 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32697 { (exit 1); exit 1; }; }
32701 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32702 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32703 { echo "$as_me:$LINENO: result: yes" >&5
32704 echo "${ECHO_T}yes" >&6; }
32706 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32707 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32713 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32714 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32716 if test -n "$PKG_CONFIG"; then
32717 if test -n "$PANGOFT2_CFLAGS"; then
32718 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32720 if test -n "$PKG_CONFIG" && \
32721 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32722 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); }; then
32726 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32734 if test -n "$PKG_CONFIG"; then
32735 if test -n "$PANGOFT2_LIBS"; then
32736 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32738 if test -n "$PKG_CONFIG" && \
32739 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32740 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); }; then
32744 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32755 if test $pkg_failed = yes; then
32757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32758 _pkg_short_errors_supported=yes
32760 _pkg_short_errors_supported=no
32762 if test $_pkg_short_errors_supported = yes; then
32763 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32765 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32767 # Put the nasty error message in config.log where it belongs
32768 echo "$PANGOFT2_PKG_ERRORS" >&5
32771 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32772 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32773 wxUSE_PRINTING_ARCHITECTURE="no"
32776 elif test $pkg_failed = untried; then
32778 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32779 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32780 wxUSE_PRINTING_ARCHITECTURE="no"
32784 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32785 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32786 { echo "$as_me:$LINENO: result: yes" >&5
32787 echo "${ECHO_T}yes" >&6; }
32789 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32790 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32791 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32796 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32797 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32799 if test -n "$PKG_CONFIG"; then
32800 if test -n "$PANGOXFT_CFLAGS"; then
32801 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32803 if test -n "$PKG_CONFIG" && \
32804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32805 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); }; then
32809 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32817 if test -n "$PKG_CONFIG"; then
32818 if test -n "$PANGOXFT_LIBS"; then
32819 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32821 if test -n "$PKG_CONFIG" && \
32822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32823 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); }; then
32827 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32838 if test $pkg_failed = yes; then
32840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32841 _pkg_short_errors_supported=yes
32843 _pkg_short_errors_supported=no
32845 if test $_pkg_short_errors_supported = yes; then
32846 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32848 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32850 # Put the nasty error message in config.log where it belongs
32851 echo "$PANGOXFT_PKG_ERRORS" >&5
32854 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32855 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32858 elif test $pkg_failed = untried; then
32860 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32861 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32865 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32866 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32867 { echo "$as_me:$LINENO: result: yes" >&5
32868 echo "${ECHO_T}yes" >&6; }
32870 cat >>confdefs.h <<\_ACEOF
32871 #define HAVE_PANGO_XFT 1
32874 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32875 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32876 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32880 LIBS="$LIBS $PANGOX_LIBS"
32882 for ac_func in pango_font_family_is_monospace
32884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32885 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32887 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32888 echo $ECHO_N "(cached) $ECHO_C" >&6
32890 cat >conftest.$ac_ext <<_ACEOF
32893 cat confdefs.h >>conftest.$ac_ext
32894 cat >>conftest.$ac_ext <<_ACEOF
32895 /* end confdefs.h. */
32896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32898 #define $ac_func innocuous_$ac_func
32900 /* System header to define __stub macros and hopefully few prototypes,
32901 which can conflict with char $ac_func (); below.
32902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32903 <limits.h> exists even on freestanding compilers. */
32906 # include <limits.h>
32908 # include <assert.h>
32913 /* Override any GCC internal prototype to avoid an error.
32914 Use char because int might match the return type of a GCC
32915 builtin and then its argument prototype would still apply. */
32920 /* The GNU C library defines this for functions which it implements
32921 to always fail with ENOSYS. Some functions are actually named
32922 something starting with __ and the normal name is an alias. */
32923 #if defined __stub_$ac_func || defined __stub___$ac_func
32930 return $ac_func ();
32935 rm -f conftest.$ac_objext conftest$ac_exeext
32936 if { (ac_try="$ac_link"
32937 case "(($ac_try" in
32938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32939 *) ac_try_echo=$ac_try;;
32941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32942 (eval "$ac_link") 2>conftest.er1
32944 grep -v '^ *+' conftest.er1 >conftest.err
32946 cat conftest.err >&5
32947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948 (exit $ac_status); } && {
32949 test -z "$ac_c_werror_flag" ||
32950 test ! -s conftest.err
32951 } && test -s conftest$ac_exeext &&
32952 $as_test_x conftest$ac_exeext; then
32953 eval "$as_ac_var=yes"
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.$ac_ext >&5
32958 eval "$as_ac_var=no"
32961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32962 conftest$ac_exeext conftest.$ac_ext
32964 ac_res=`eval echo '${'$as_ac_var'}'`
32965 { echo "$as_me:$LINENO: result: $ac_res" >&5
32966 echo "${ECHO_T}$ac_res" >&6; }
32967 if test `eval echo '${'$as_ac_var'}'` = yes; then
32968 cat >>confdefs.h <<_ACEOF
32969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32978 wxUSE_UNIVERSAL="yes"
32980 if test "$wxUSE_NANOX" = "yes"; then
32981 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32982 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"
32983 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32992 if test "$wxUSE_MOTIF" = 1; then
32993 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32994 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32997 for ac_dir in $SEARCH_INCLUDE /usr/include;
32999 if test -f "$ac_dir/Xm/Xm.h"; then
33000 ac_find_includes=$ac_dir
33005 if test "$ac_find_includes" != "" ; then
33006 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33007 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33009 if test "x$ac_find_includes" = "x/usr/include"; then
33010 ac_path_to_include=""
33012 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33014 if test $result = 0; then
33015 ac_path_to_include=""
33017 ac_path_to_include=" -I$ac_find_includes"
33021 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33023 save_CFLAGS=$CFLAGS
33024 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33026 cat >conftest.$ac_ext <<_ACEOF
33029 cat confdefs.h >>conftest.$ac_ext
33030 cat >>conftest.$ac_ext <<_ACEOF
33031 /* end confdefs.h. */
33040 version = xmUseVersion;
33046 rm -f conftest.$ac_objext
33047 if { (ac_try="$ac_compile"
33048 case "(($ac_try" in
33049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33050 *) ac_try_echo=$ac_try;;
33052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33053 (eval "$ac_compile") 2>conftest.er1
33055 grep -v '^ *+' conftest.er1 >conftest.err
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } && {
33060 test -z "$ac_c_werror_flag" ||
33061 test ! -s conftest.err
33062 } && test -s conftest.$ac_objext; then
33064 { echo "$as_me:$LINENO: result: found in default search path" >&5
33065 echo "${ECHO_T}found in default search path" >&6; }
33066 COMPILED_X_PROGRAM=1
33069 echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.$ac_ext >&5
33073 { echo "$as_me:$LINENO: result: no" >&5
33074 echo "${ECHO_T}no" >&6; }
33075 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33076 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33077 { (exit 1); exit 1; }; }
33082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33084 CFLAGS=$save_CFLAGS
33088 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33089 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33092 for ac_dir in $SEARCH_LIB;
33094 for ac_extension in a so sl dylib dll.a; do
33095 if test -f "$ac_dir/libXm.$ac_extension"; then
33096 ac_find_libraries=$ac_dir
33103 if test "x$ac_find_libraries" != "x" ; then
33104 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33105 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33108 if test "$ac_find_libraries" = "default location"; then
33111 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33113 if test $result = 0; then
33116 ac_path_to_link=" -L$ac_find_libraries"
33120 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33122 save_CFLAGS=$CFLAGS
33123 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33125 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33127 cat >conftest.$ac_ext <<_ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33141 version = xmUseVersion;
33147 rm -f conftest.$ac_objext conftest$ac_exeext
33148 if { (ac_try="$ac_link"
33149 case "(($ac_try" in
33150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33151 *) ac_try_echo=$ac_try;;
33153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33154 (eval "$ac_link") 2>conftest.er1
33156 grep -v '^ *+' conftest.er1 >conftest.err
33158 cat conftest.err >&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); } && {
33161 test -z "$ac_c_werror_flag" ||
33162 test ! -s conftest.err
33163 } && test -s conftest$ac_exeext &&
33164 $as_test_x conftest$ac_exeext; then
33166 { echo "$as_me:$LINENO: result: found in default search path" >&5
33167 echo "${ECHO_T}found in default search path" >&6; }
33168 COMPILED_X_PROGRAM=1
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33175 { echo "$as_me:$LINENO: result: no" >&5
33176 echo "${ECHO_T}no" >&6; }
33177 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33178 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33179 { (exit 1); exit 1; }; }
33184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33185 conftest$ac_exeext conftest.$ac_ext
33187 CFLAGS=$save_CFLAGS
33191 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33192 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33196 for libp in "" " -lXp"; do
33197 if test "$libs_found" = 0; then
33198 for libsm_ice in "" " -lSM -lICE"; do
33199 if test "$libs_found" = 0; then
33201 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33202 save_CFLAGS=$CFLAGS
33203 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33205 cat >conftest.$ac_ext <<_ACEOF
33208 cat confdefs.h >>conftest.$ac_ext
33209 cat >>conftest.$ac_ext <<_ACEOF
33210 /* end confdefs.h. */
33213 #include <Xm/List.h>
33219 XmString string = NULL;
33222 XmListAddItem(w, string, position);
33228 rm -f conftest.$ac_objext conftest$ac_exeext
33229 if { (ac_try="$ac_link"
33230 case "(($ac_try" in
33231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33232 *) ac_try_echo=$ac_try;;
33234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33235 (eval "$ac_link") 2>conftest.er1
33237 grep -v '^ *+' conftest.er1 >conftest.err
33239 cat conftest.err >&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } && {
33242 test -z "$ac_c_werror_flag" ||
33243 test ! -s conftest.err
33244 } && test -s conftest$ac_exeext &&
33245 $as_test_x conftest$ac_exeext; then
33248 libsm_ice_link="$libsm_ice"
33249 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33250 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33262 conftest$ac_exeext conftest.$ac_ext
33265 CFLAGS=$save_CFLAGS
33271 if test "$libs_found" = 0; then
33272 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33273 echo "${ECHO_T}can't find the right libraries" >&6; }
33274 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33275 echo "$as_me: error: can't link a simple motif program" >&2;}
33276 { (exit 1); exit 1; }; }
33279 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33280 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33281 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33282 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 ac_check_lib_save_LIBS=$LIBS
33286 cat >conftest.$ac_ext <<_ACEOF
33289 cat confdefs.h >>conftest.$ac_ext
33290 cat >>conftest.$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33293 /* Override any GCC internal prototype to avoid an error.
33294 Use char because int might match the return type of a GCC
33295 builtin and then its argument prototype would still apply. */
33299 char SgCreateList ();
33303 return SgCreateList ();
33308 rm -f conftest.$ac_objext conftest$ac_exeext
33309 if { (ac_try="$ac_link"
33310 case "(($ac_try" in
33311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33312 *) ac_try_echo=$ac_try;;
33314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33315 (eval "$ac_link") 2>conftest.er1
33317 grep -v '^ *+' conftest.er1 >conftest.err
33319 cat conftest.err >&5
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); } && {
33322 test -z "$ac_c_werror_flag" ||
33323 test ! -s conftest.err
33324 } && test -s conftest$ac_exeext &&
33325 $as_test_x conftest$ac_exeext; then
33326 ac_cv_lib_Sgm_SgCreateList=yes
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.$ac_ext >&5
33331 ac_cv_lib_Sgm_SgCreateList=no
33334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33335 conftest$ac_exeext conftest.$ac_ext
33336 LIBS=$ac_check_lib_save_LIBS
33338 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33339 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33340 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33341 libsgm_link=" -lSgm"
33345 save_CFLAGS=$CFLAGS
33346 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33348 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33349 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33350 if test "${wx_cv_lib_motif2+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 cat >conftest.$ac_ext <<_ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h. */
33366 #if XmVersion < 2000
33374 rm -f conftest.$ac_objext
33375 if { (ac_try="$ac_compile"
33376 case "(($ac_try" in
33377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33378 *) ac_try_echo=$ac_try;;
33380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33381 (eval "$ac_compile") 2>conftest.er1
33383 grep -v '^ *+' conftest.er1 >conftest.err
33385 cat conftest.err >&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } && {
33388 test -z "$ac_c_werror_flag" ||
33389 test ! -s conftest.err
33390 } && test -s conftest.$ac_objext; then
33391 wx_cv_lib_motif2="yes"
33393 echo "$as_me: failed program was:" >&5
33394 sed 's/^/| /' conftest.$ac_ext >&5
33396 wx_cv_lib_motif2="no"
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33401 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33402 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33403 if test "$wx_cv_lib_motif2" = "yes"; then
33404 cat >>confdefs.h <<\_ACEOF
33405 #define __WXMOTIF20__ 1
33409 cat >>confdefs.h <<\_ACEOF
33410 #define __WXMOTIF20__ 0
33415 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33416 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33417 if test "${wx_cv_lib_lesstif+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 cat >conftest.$ac_ext <<_ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33433 #if !defined(LesstifVersion) || LesstifVersion <= 0
33441 rm -f conftest.$ac_objext
33442 if { (ac_try="$ac_compile"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_compile") 2>conftest.er1
33450 grep -v '^ *+' conftest.er1 >conftest.err
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest.$ac_objext; then
33458 wx_cv_lib_lesstif="yes"
33460 echo "$as_me: failed program was:" >&5
33461 sed 's/^/| /' conftest.$ac_ext >&5
33463 wx_cv_lib_lesstif="no"
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33469 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33470 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33471 if test "$wx_cv_lib_lesstif" = "yes"; then
33472 cat >>confdefs.h <<\_ACEOF
33473 #define __WXLESSTIF__ 1
33477 cat >>confdefs.h <<\_ACEOF
33478 #define __WXLESSTIF__ 0
33483 CFLAGS=$save_CFLAGS
33485 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33490 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33491 if test "$wxUSE_LIBXPM" = "sys"; then
33492 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33493 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33496 for ac_dir in $SEARCH_LIB;
33498 for ac_extension in a so sl dylib dll.a; do
33499 if test -f "$ac_dir/libXpm.$ac_extension"; then
33500 ac_find_libraries=$ac_dir
33506 if test "$ac_find_libraries" != "" ; then
33508 if test "$ac_find_libraries" = "default location"; then
33511 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33513 if test $result = 0; then
33516 ac_path_to_link=" -L$ac_find_libraries"
33520 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33521 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33522 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33524 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33525 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33526 if test "${wx_cv_x11_xpm_h+set}" = set; then
33527 echo $ECHO_N "(cached) $ECHO_C" >&6
33530 save_CFLAGS=$CFLAGS
33531 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33533 cat >conftest.$ac_ext <<_ACEOF
33536 cat confdefs.h >>conftest.$ac_ext
33537 cat >>conftest.$ac_ext <<_ACEOF
33538 /* end confdefs.h. */
33540 #include <X11/xpm.h>
33547 version = XpmLibraryVersion();
33553 rm -f conftest.$ac_objext
33554 if { (ac_try="$ac_compile"
33555 case "(($ac_try" in
33556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33557 *) ac_try_echo=$ac_try;;
33559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33560 (eval "$ac_compile") 2>conftest.er1
33562 grep -v '^ *+' conftest.er1 >conftest.err
33564 cat conftest.err >&5
33565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33566 (exit $ac_status); } && {
33567 test -z "$ac_c_werror_flag" ||
33568 test ! -s conftest.err
33569 } && test -s conftest.$ac_objext; then
33570 wx_cv_x11_xpm_h=yes
33572 echo "$as_me: failed program was:" >&5
33573 sed 's/^/| /' conftest.$ac_ext >&5
33579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33581 CFLAGS=$save_CFLAGS
33585 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33586 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33588 if test $wx_cv_x11_xpm_h = "yes"; then
33589 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33590 cat >>confdefs.h <<\_ACEOF
33591 #define wxHAVE_LIB_XPM 1
33595 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33596 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33602 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33603 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33604 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 ac_check_lib_save_LIBS=$LIBS
33608 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33609 cat >conftest.$ac_ext <<_ACEOF
33612 cat confdefs.h >>conftest.$ac_ext
33613 cat >>conftest.$ac_ext <<_ACEOF
33614 /* end confdefs.h. */
33616 /* Override any GCC internal prototype to avoid an error.
33617 Use char because int might match the return type of a GCC
33618 builtin and then its argument prototype would still apply. */
33622 char XShapeQueryExtension ();
33626 return XShapeQueryExtension ();
33631 rm -f conftest.$ac_objext conftest$ac_exeext
33632 if { (ac_try="$ac_link"
33633 case "(($ac_try" in
33634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_link") 2>conftest.er1
33640 grep -v '^ *+' conftest.er1 >conftest.err
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_c_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest$ac_exeext &&
33648 $as_test_x conftest$ac_exeext; then
33649 ac_cv_lib_Xext_XShapeQueryExtension=yes
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33654 ac_cv_lib_Xext_XShapeQueryExtension=no
33657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33658 conftest$ac_exeext conftest.$ac_ext
33659 LIBS=$ac_check_lib_save_LIBS
33661 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33662 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33663 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33665 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33671 if test "$wxHAVE_XEXT_LIB" = 1; then
33672 save_CFLAGS="$CFLAGS"
33673 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33675 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33676 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33677 cat >conftest.$ac_ext <<_ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33684 #include <X11/Xlib.h>
33685 #include <X11/extensions/shape.h>
33691 int dummy1, dummy2;
33692 XShapeQueryExtension((Display*)NULL,
33693 (int*)NULL, (int*)NULL);
33699 rm -f conftest.$ac_objext
33700 if { (ac_try="$ac_compile"
33701 case "(($ac_try" in
33702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33703 *) ac_try_echo=$ac_try;;
33705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33706 (eval "$ac_compile") 2>conftest.er1
33708 grep -v '^ *+' conftest.er1 >conftest.err
33710 cat conftest.err >&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } && {
33713 test -z "$ac_c_werror_flag" ||
33714 test ! -s conftest.err
33715 } && test -s conftest.$ac_objext; then
33717 cat >>confdefs.h <<\_ACEOF
33718 #define HAVE_XSHAPE 1
33721 { echo "$as_me:$LINENO: result: found" >&5
33722 echo "${ECHO_T}found" >&6; }
33725 echo "$as_me: failed program was:" >&5
33726 sed 's/^/| /' conftest.$ac_ext >&5
33729 { echo "$as_me:$LINENO: result: not found" >&5
33730 echo "${ECHO_T}not found" >&6; }
33734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33735 CFLAGS="$save_CFLAGS"
33740 if test "$wxUSE_OSX_CARBON" = 1; then
33741 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33742 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33743 if test "$GCC" = yes; then
33744 { echo "$as_me:$LINENO: result: gcc" >&5
33745 echo "${ECHO_T}gcc" >&6; }
33746 CPPFLAGS_PASCAL="-fpascal-strings"
33747 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33748 { echo "$as_me:$LINENO: result: xlc" >&5
33749 echo "${ECHO_T}xlc" >&6; }
33750 CPPFLAGS_PASCAL="-qmacpstr"
33752 { echo "$as_me:$LINENO: result: none" >&5
33753 echo "${ECHO_T}none" >&6; }
33756 if test "x$wxUSE_UNIX" = "xyes"; then
33757 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33759 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33763 GUIDIST=OSX_CARBON_DIST
33764 WXBASEPORT="_carbon"
33766 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33769 if test "$wxUSE_OSX_COCOA" = 1; then
33771 GUIDIST=OSX_COCOA_DIST
33773 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33776 if test "$wxUSE_OSX_IPHONE" = 1; then
33780 if test "$wxUSE_OLD_COCOA" = 1; then
33785 if test "$wxUSE_PM" = 1; then
33788 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33789 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33790 if test "${wx_cv_spbcdata+set}" = set; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33794 cat >conftest.$ac_ext <<_ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33814 rm -f conftest.$ac_objext
33815 if { (ac_try="$ac_compile"
33816 case "(($ac_try" in
33817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33818 *) ac_try_echo=$ac_try;;
33820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33821 (eval "$ac_compile") 2>conftest.er1
33823 grep -v '^ *+' conftest.er1 >conftest.err
33825 cat conftest.err >&5
33826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827 (exit $ac_status); } && {
33828 test -z "$ac_c_werror_flag" ||
33829 test ! -s conftest.err
33830 } && test -s conftest.$ac_objext; then
33833 echo "$as_me: failed program was:" >&5
33834 sed 's/^/| /' conftest.$ac_ext >&5
33840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33844 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33845 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33847 if test $wx_cv_spbcdata = "yes"; then
33848 cat >>confdefs.h <<\_ACEOF
33849 #define HAVE_SPBCDATA 1
33855 if test "$TOOLKIT" = "PM" ; then
33858 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33861 if test "$wxUSE_UNIVERSAL" = "yes"; then
33862 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33866 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33867 DISTDIR="wx\$(TOOLKIT)"
33873 if test "$USE_WIN32" = 1 ; then
33877 GUIDIST="BASE_DIST"
33883 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33884 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33885 wxUSE_UNICODE_UTF8=yes
33886 elif test "$USE_OS2" = 1 ; then
33887 wxUSE_UNICODE_UTF8=yes
33889 wxUSE_UNICODE_UTF8=no
33894 if test "$wxUSE_GUI" = "yes"; then
33895 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33897 for ac_header in X11/Xlib.h
33899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33900 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 cat >conftest.$ac_ext <<_ACEOF
33908 cat confdefs.h >>conftest.$ac_ext
33909 cat >>conftest.$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33913 #include <$ac_header>
33915 rm -f conftest.$ac_objext
33916 if { (ac_try="$ac_compile"
33917 case "(($ac_try" in
33918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33919 *) ac_try_echo=$ac_try;;
33921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33922 (eval "$ac_compile") 2>conftest.er1
33924 grep -v '^ *+' conftest.er1 >conftest.err
33926 cat conftest.err >&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } && {
33929 test -z "$ac_c_werror_flag" ||
33930 test ! -s conftest.err
33931 } && test -s conftest.$ac_objext; then
33932 eval "$as_ac_Header=yes"
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33937 eval "$as_ac_Header=no"
33940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33942 ac_res=`eval echo '${'$as_ac_Header'}'`
33943 { echo "$as_me:$LINENO: result: $ac_res" >&5
33944 echo "${ECHO_T}$ac_res" >&6; }
33945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33946 cat >>confdefs.h <<_ACEOF
33947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33955 for ac_header in X11/XKBlib.h
33957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33963 cat >conftest.$ac_ext <<_ACEOF
33966 cat confdefs.h >>conftest.$ac_ext
33967 cat >>conftest.$ac_ext <<_ACEOF
33968 /* end confdefs.h. */
33970 #if HAVE_X11_XLIB_H
33971 #include <X11/Xlib.h>
33975 #include <$ac_header>
33977 rm -f conftest.$ac_objext
33978 if { (ac_try="$ac_compile"
33979 case "(($ac_try" in
33980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33981 *) ac_try_echo=$ac_try;;
33983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33984 (eval "$ac_compile") 2>conftest.er1
33986 grep -v '^ *+' conftest.er1 >conftest.err
33988 cat conftest.err >&5
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); } && {
33991 test -z "$ac_c_werror_flag" ||
33992 test ! -s conftest.err
33993 } && test -s conftest.$ac_objext; then
33994 eval "$as_ac_Header=yes"
33996 echo "$as_me: failed program was:" >&5
33997 sed 's/^/| /' conftest.$ac_ext >&5
33999 eval "$as_ac_Header=no"
34002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34004 ac_res=`eval echo '${'$as_ac_Header'}'`
34005 { echo "$as_me:$LINENO: result: $ac_res" >&5
34006 echo "${ECHO_T}$ac_res" >&6; }
34007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34008 cat >>confdefs.h <<_ACEOF
34009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34022 if test "$wxUSE_DISPLAY" = "yes"; then
34023 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34024 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34025 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34028 for ac_dir in $SEARCH_LIB;
34030 for ac_extension in a so sl dylib dll.a; do
34031 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34032 ac_find_libraries=$ac_dir
34038 if test "$ac_find_libraries" != "" ; then
34040 if test "$ac_find_libraries" = "default location"; then
34043 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34045 if test $result = 0; then
34048 ac_path_to_link=" -L$ac_find_libraries"
34052 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34053 LDFLAGS="$LDFLAGS $ac_path_to_link"
34056 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34057 { echo "$as_me:$LINENO: result: yes" >&5
34058 echo "${ECHO_T}yes" >&6; }
34060 { echo "$as_me:$LINENO: result: no" >&5
34061 echo "${ECHO_T}no" >&6; }
34062 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34063 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34066 elif test "$wxUSE_MSW" = 1; then
34067 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34068 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34069 if test "${ac_cv_header_ddraw_h+set}" = set; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 cat >conftest.$ac_ext <<_ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34078 #include <windows.h>
34082 rm -f conftest.$ac_objext
34083 if { (ac_try="$ac_compile"
34084 case "(($ac_try" in
34085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34086 *) ac_try_echo=$ac_try;;
34088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34089 (eval "$ac_compile") 2>conftest.er1
34091 grep -v '^ *+' conftest.er1 >conftest.err
34093 cat conftest.err >&5
34094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34095 (exit $ac_status); } && {
34096 test -z "$ac_c_werror_flag" ||
34097 test ! -s conftest.err
34098 } && test -s conftest.$ac_objext; then
34099 ac_cv_header_ddraw_h=yes
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.$ac_ext >&5
34104 ac_cv_header_ddraw_h=no
34107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34110 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34116 if test "$wxUSE_DISPLAY" = "yes"; then
34117 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34118 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34119 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34122 for ac_dir in $SEARCH_LIB;
34124 for ac_extension in a so sl dylib dll.a; do
34125 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34126 ac_find_libraries=$ac_dir
34132 if test "$ac_find_libraries" != "" ; then
34133 { echo "$as_me:$LINENO: result: yes" >&5
34134 echo "${ECHO_T}yes" >&6; }
34136 for ac_header in X11/extensions/xf86vmode.h
34138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34139 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34142 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 cat >conftest.$ac_ext <<_ACEOF
34147 cat confdefs.h >>conftest.$ac_ext
34148 cat >>conftest.$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34151 #if HAVE_X11_XLIB_H
34152 #include <X11/Xlib.h>
34156 #include <$ac_header>
34158 rm -f conftest.$ac_objext
34159 if { (ac_try="$ac_compile"
34160 case "(($ac_try" in
34161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34162 *) ac_try_echo=$ac_try;;
34164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34165 (eval "$ac_compile") 2>conftest.er1
34167 grep -v '^ *+' conftest.er1 >conftest.err
34169 cat conftest.err >&5
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); } && {
34172 test -z "$ac_c_werror_flag" ||
34173 test ! -s conftest.err
34174 } && test -s conftest.$ac_objext; then
34175 eval "$as_ac_Header=yes"
34177 echo "$as_me: failed program was:" >&5
34178 sed 's/^/| /' conftest.$ac_ext >&5
34180 eval "$as_ac_Header=no"
34183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34185 ac_res=`eval echo '${'$as_ac_Header'}'`
34186 { echo "$as_me:$LINENO: result: $ac_res" >&5
34187 echo "${ECHO_T}$ac_res" >&6; }
34188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34189 cat >>confdefs.h <<_ACEOF
34190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34200 { echo "$as_me:$LINENO: result: no" >&5
34201 echo "${ECHO_T}no" >&6; }
34206 if test "$wxUSE_DETECT_SM" = "yes"; then
34207 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34208 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34209 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34212 for ac_dir in $SEARCH_LIB;
34214 for ac_extension in a so sl dylib dll.a; do
34215 if test -f "$ac_dir/libSM.$ac_extension"; then
34216 ac_find_libraries=$ac_dir
34222 if test "$ac_find_libraries" != "" ; then
34224 if test "$ac_find_libraries" = "default location"; then
34227 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34229 if test $result = 0; then
34232 ac_path_to_link=" -L$ac_find_libraries"
34236 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34237 LDFLAGS="$LDFLAGS $ac_path_to_link"
34239 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34240 { echo "$as_me:$LINENO: result: yes" >&5
34241 echo "${ECHO_T}yes" >&6; }
34243 { echo "$as_me:$LINENO: result: no" >&5
34244 echo "${ECHO_T}no" >&6; }
34245 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34246 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34247 wxUSE_DETECT_SM="no"
34250 wxUSE_DETECT_SM="no"
34257 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34260 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34261 OPENGL_LIBS="-framework OpenGL -framework AGL"
34262 elif test "$wxUSE_MSW" = 1; then
34263 OPENGL_LIBS="-lopengl32 -lglu32"
34264 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34266 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34267 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34270 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34272 if test -f "$ac_dir/GL/gl.h"; then
34273 ac_find_includes=$ac_dir
34278 if test "$ac_find_includes" != "" ; then
34279 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34280 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34282 if test "x$ac_find_includes" = "x/usr/include"; then
34283 ac_path_to_include=""
34285 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34287 if test $result = 0; then
34288 ac_path_to_include=""
34290 ac_path_to_include=" -I$ac_find_includes"
34294 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34296 { echo "$as_me:$LINENO: result: not found" >&5
34297 echo "${ECHO_T}not found" >&6; }
34300 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34301 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34302 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34303 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 cat >conftest.$ac_ext <<_ACEOF
34308 cat confdefs.h >>conftest.$ac_ext
34309 cat >>conftest.$ac_ext <<_ACEOF
34310 /* end confdefs.h. */
34315 rm -f conftest.$ac_objext
34316 if { (ac_try="$ac_compile"
34317 case "(($ac_try" in
34318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34319 *) ac_try_echo=$ac_try;;
34321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34322 (eval "$ac_compile") 2>conftest.er1
34324 grep -v '^ *+' conftest.er1 >conftest.err
34326 cat conftest.err >&5
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); } && {
34329 test -z "$ac_c_werror_flag" ||
34330 test ! -s conftest.err
34331 } && test -s conftest.$ac_objext; then
34332 ac_cv_header_GL_gl_h=yes
34334 echo "$as_me: failed program was:" >&5
34335 sed 's/^/| /' conftest.$ac_ext >&5
34337 ac_cv_header_GL_gl_h=no
34340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34342 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34343 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34344 if test $ac_cv_header_GL_gl_h = yes; then
34346 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34347 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34348 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34351 cat >conftest.$ac_ext <<_ACEOF
34354 cat confdefs.h >>conftest.$ac_ext
34355 cat >>conftest.$ac_ext <<_ACEOF
34356 /* end confdefs.h. */
34359 #include <GL/glu.h>
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34365 *) ac_try_echo=$ac_try;;
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34370 grep -v '^ *+' conftest.er1 >conftest.err
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.$ac_objext; then
34378 ac_cv_header_GL_glu_h=yes
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34383 ac_cv_header_GL_glu_h=no
34386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34389 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34390 if test $ac_cv_header_GL_glu_h = yes; then
34394 { echo "$as_me:$LINENO: checking for -lGL" >&5
34395 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34398 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34400 for ac_extension in a so sl dylib dll.a; do
34401 if test -f "$ac_dir/libGL.$ac_extension"; then
34402 ac_find_libraries=$ac_dir
34408 if test "$ac_find_libraries" != "" ; then
34409 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34410 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34413 if test "$ac_find_libraries" = "default location"; then
34416 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34418 if test $result = 0; then
34421 ac_path_to_link=" -L$ac_find_libraries"
34425 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34426 LDFLAGS_GL="$ac_path_to_link"
34429 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34430 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34433 for ac_dir in $SEARCH_LIB;
34435 for ac_extension in a so sl dylib dll.a; do
34436 if test -f "$ac_dir/libGLU.$ac_extension"; then
34437 ac_find_libraries=$ac_dir
34443 if test "$ac_find_libraries" != "" ; then
34445 if test "$ac_find_libraries" = "default location"; then
34448 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34450 if test $result = 0; then
34453 ac_path_to_link=" -L$ac_find_libraries"
34457 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34458 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34459 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34463 OPENGL_LIBS="-lGL -lGLU"
34464 { echo "$as_me:$LINENO: result: yes" >&5
34465 echo "${ECHO_T}yes" >&6; }
34467 { echo "$as_me:$LINENO: result: no" >&5
34468 echo "${ECHO_T}no" >&6; }
34471 { echo "$as_me:$LINENO: result: no" >&5
34472 echo "${ECHO_T}no" >&6; }
34475 if test "$found_gl" != 1; then
34476 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34477 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34480 for ac_dir in $SEARCH_LIB;
34482 for ac_extension in a so sl dylib dll.a; do
34483 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34484 ac_find_libraries=$ac_dir
34490 if test "$ac_find_libraries" != "" ; then
34492 if test "$ac_find_libraries" = "default location"; then
34495 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34497 if test $result = 0; then
34500 ac_path_to_link=" -L$ac_find_libraries"
34504 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34505 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34506 { echo "$as_me:$LINENO: result: yes" >&5
34507 echo "${ECHO_T}yes" >&6; }
34509 { echo "$as_me:$LINENO: result: no" >&5
34510 echo "${ECHO_T}no" >&6; }
34522 if test "x$OPENGL_LIBS" = "x"; then
34523 if test "$wxUSE_OPENGL" = "yes"; then
34524 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34525 echo "$as_me: error: OpenGL libraries not available" >&2;}
34526 { (exit 1); exit 1; }; }
34528 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34529 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34535 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34536 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34540 if test "$wxUSE_OPENGL" = "auto"; then
34544 if test "$wxUSE_OPENGL" = "yes"; then
34546 cat >>confdefs.h <<\_ACEOF
34547 #define wxUSE_OPENGL 1
34550 cat >>confdefs.h <<\_ACEOF
34551 #define wxUSE_GLCANVAS 1
34554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34559 if test -n "$TOOLKIT" ; then
34560 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34565 if test "$wxUSE_SHARED" = "yes"; then
34569 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34570 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34575 if test "$wxUSE_SHARED" = "yes"; then
34579 *-*-cygwin* | *-*-mingw* )
34580 wx_cv_version_script=no
34584 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34585 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34586 if test "${wx_cv_version_script+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34590 echo "VER_1 { *; };" >conftest.sym
34591 echo "int main() { return 0; }" >conftest.cpp
34594 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34595 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; } ; then
34601 if test -s conftest.stderr ; then
34602 wx_cv_version_script=no
34604 wx_cv_version_script=yes
34607 wx_cv_version_script=no
34610 if test $wx_cv_version_script = yes
34612 echo "struct B { virtual ~B() { } }; \
34613 struct D : public B { }; \
34614 void F() { D d; }" > conftest.cpp
34617 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34618 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; } &&
34625 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34626 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }
34634 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34635 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; }
34642 wx_cv_version_script=yes
34644 wx_cv_version_script=no
34649 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34650 rm -f conftest1.output conftest2.output conftest3.output
34653 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34654 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34656 if test $wx_cv_version_script = yes ; then
34657 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34663 if test "$wxUSE_VISIBILITY" != "no"; then
34666 if test -n "$GCC"; then
34667 CFLAGS_VISIBILITY="-fvisibility=hidden"
34668 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34669 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34670 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34671 if test "${wx_cv_cc_visibility+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34675 wx_save_CXXFLAGS="$CXXFLAGS"
34676 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34678 ac_cpp='$CXXCPP $CPPFLAGS'
34679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34683 cat >conftest.$ac_ext <<_ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34690 /* we need gcc >= 4.0, older versions with visibility support
34691 didn't have class visibility: */
34692 #if defined(__GNUC__) && __GNUC__ < 4
34693 error this gcc is too old;
34696 /* visibility only makes sense for ELF shared libs: */
34697 #if !defined(__ELF__) && !defined(__APPLE__)
34698 error this platform has no visibility;
34701 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34702 extern __attribute__((__visibility__("default"))) int exportedvar;
34703 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34704 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34705 class __attribute__((__visibility__("default"))) Foo {
34717 rm -f conftest.$ac_objext
34718 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
34732 test ! -s conftest.err
34733 } && test -s conftest.$ac_objext; then
34734 wx_cv_cc_visibility=yes
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.$ac_ext >&5
34739 wx_cv_cc_visibility=no
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34744 ac_cpp='$CPP $CPPFLAGS'
34745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34749 CXXFLAGS="$wx_save_CXXFLAGS"
34752 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34753 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34754 if test $wx_cv_cc_visibility = yes; then
34755 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34756 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34757 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34758 echo $ECHO_N "(cached) $ECHO_C" >&6
34761 wx_save_CXXFLAGS="$CXXFLAGS"
34762 wx_save_LDFLAGS="$LDFLAGS"
34763 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34764 LDFLAGS="$LDFLAGS -shared -fPIC"
34766 ac_cpp='$CXXCPP $CPPFLAGS'
34767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34771 cat >conftest.$ac_ext <<_ACEOF
34774 cat confdefs.h >>conftest.$ac_ext
34775 cat >>conftest.$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34784 std::string s("hello");
34791 rm -f conftest.$ac_objext conftest$ac_exeext
34792 if { (ac_try="$ac_link"
34793 case "(($ac_try" in
34794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34795 *) ac_try_echo=$ac_try;;
34797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34798 (eval "$ac_link") 2>conftest.er1
34800 grep -v '^ *+' conftest.er1 >conftest.err
34802 cat conftest.err >&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); } && {
34805 test -z "$ac_cxx_werror_flag" ||
34806 test ! -s conftest.err
34807 } && test -s conftest$ac_exeext &&
34808 $as_test_x conftest$ac_exeext; then
34809 wx_cv_cc_broken_libstdcxx_visibility=no
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.$ac_ext >&5
34814 wx_cv_cc_broken_libstdcxx_visibility=yes
34817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34818 conftest$ac_exeext conftest.$ac_ext
34820 ac_cpp='$CPP $CPPFLAGS'
34821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34825 CXXFLAGS="$wx_save_CXXFLAGS"
34826 LDFLAGS="$wx_save_LDFLAGS"
34829 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34830 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34832 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34833 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34834 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34835 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34836 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34845 cat >conftest.$ac_ext <<_ACEOF
34848 cat confdefs.h >>conftest.$ac_ext
34849 cat >>conftest.$ac_ext <<_ACEOF
34850 /* end confdefs.h. */
34852 #pragma GCC visibility push(default)
34854 #pragma GCC visibility pop
34860 std::string s("hello");
34867 rm -f conftest.$ac_objext conftest$ac_exeext
34868 if { (ac_try="$ac_link"
34869 case "(($ac_try" in
34870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34871 *) ac_try_echo=$ac_try;;
34873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34874 (eval "$ac_link") 2>conftest.er1
34876 grep -v '^ *+' conftest.er1 >conftest.err
34878 cat conftest.err >&5
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); } && {
34881 test -z "$ac_cxx_werror_flag" ||
34882 test ! -s conftest.err
34883 } && test -s conftest$ac_exeext &&
34884 $as_test_x conftest$ac_exeext; then
34885 wx_cv_cc_visibility_workaround=no
34887 echo "$as_me: failed program was:" >&5
34888 sed 's/^/| /' conftest.$ac_ext >&5
34890 wx_cv_cc_visibility_workaround=yes
34893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34894 conftest$ac_exeext conftest.$ac_ext
34896 ac_cpp='$CPP $CPPFLAGS'
34897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34904 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34905 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34907 if test $wx_cv_cc_visibility_workaround = no; then
34908 wx_cv_cc_visibility=no
34913 if test $wx_cv_cc_visibility = yes; then
34914 cat >>confdefs.h <<\_ACEOF
34915 #define HAVE_VISIBILITY 1
34918 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34919 cat >>confdefs.h <<\_ACEOF
34920 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34925 CFLAGS_VISIBILITY=""
34926 CXXFLAGS_VISIBILITY=""
34934 if test "x$SUNCXX" = xyes; then
34935 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34936 WXCONFIG_RPATH="-R\$libdir"
34939 *-*-linux* | *-*-gnu* )
34940 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34941 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34946 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34948 saveLdflags="$LDFLAGS"
34949 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34950 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34951 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34952 cat >conftest.$ac_ext <<_ACEOF
34955 cat confdefs.h >>conftest.$ac_ext
34956 cat >>conftest.$ac_ext <<_ACEOF
34957 /* end confdefs.h. */
34967 rm -f conftest.$ac_objext conftest$ac_exeext
34968 if { (ac_try="$ac_link"
34969 case "(($ac_try" in
34970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34971 *) ac_try_echo=$ac_try;;
34973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34974 (eval "$ac_link") 2>conftest.er1
34976 grep -v '^ *+' conftest.er1 >conftest.err
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } && {
34981 test -z "$ac_c_werror_flag" ||
34982 test ! -s conftest.err
34983 } && test -s conftest$ac_exeext &&
34984 $as_test_x conftest$ac_exeext; then
34986 { echo "$as_me:$LINENO: result: yes" >&5
34987 echo "${ECHO_T}yes" >&6; }
34988 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34989 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34992 echo "$as_me: failed program was:" >&5
34993 sed 's/^/| /' conftest.$ac_ext >&5
34996 { echo "$as_me:$LINENO: result: no" >&5
34997 echo "${ECHO_T}no" >&6; }
34998 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34999 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35000 LDFLAGS="$saveLdflags -Wl,-R,/"
35001 cat >conftest.$ac_ext <<_ACEOF
35004 cat confdefs.h >>conftest.$ac_ext
35005 cat >>conftest.$ac_ext <<_ACEOF
35006 /* end confdefs.h. */
35016 rm -f conftest.$ac_objext conftest$ac_exeext
35017 if { (ac_try="$ac_link"
35018 case "(($ac_try" in
35019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35020 *) ac_try_echo=$ac_try;;
35022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35023 (eval "$ac_link") 2>conftest.er1
35025 grep -v '^ *+' conftest.er1 >conftest.err
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } && {
35030 test -z "$ac_c_werror_flag" ||
35031 test ! -s conftest.err
35032 } && test -s conftest$ac_exeext &&
35033 $as_test_x conftest$ac_exeext; then
35035 { echo "$as_me:$LINENO: result: yes" >&5
35036 echo "${ECHO_T}yes" >&6; }
35037 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35038 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.$ac_ext >&5
35045 { echo "$as_me:$LINENO: result: no" >&5
35046 echo "${ECHO_T}no" >&6; }
35050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35051 conftest$ac_exeext conftest.$ac_ext
35055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35056 conftest$ac_exeext conftest.$ac_ext
35057 LDFLAGS="$saveLdflags"
35061 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35062 if test "$install_name_tool" -a -x "$install_name_tool"; then
35063 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35064 cat <<EOF >change-install-names
35066 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35067 for i in \${libnames} ; do
35068 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35069 for dep in \${libnames} ; do
35070 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35074 chmod +x change-install-names
35075 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35078 HEADER_PAD_OPTION="-headerpad_max_install_names"
35081 *-*-cygwin* | *-*-mingw32* )
35085 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35086 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35092 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35094 if test $wxUSE_RPATH = "no"; then
35095 SAMPLES_RPATH_FLAG=''
35096 DYLIB_PATH_POSTLINK=''
35104 config_linkage_component="-static"
35111 lib_unicode_suffix=
35113 if test "$wxUSE_UNICODE" = "yes"; then
35114 lib_unicode_suffix=u
35115 WX_CHARTYPE="unicode"
35119 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35120 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35123 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35127 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35129 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35131 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35134 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35135 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35137 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35139 if test "${TOOLKIT_DIR}" = "os2"; then
35140 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35142 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35147 if test "$wxUSE_OLD_COCOA" = 1; then
35150 ac_cpp='$CPP $CPPFLAGS'
35151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35157 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35158 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35159 cat >conftest.$ac_ext <<_ACEOF
35162 cat confdefs.h >>conftest.$ac_ext
35163 cat >>conftest.$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35165 #include <AppKit/NSEvent.h>
35166 #include <CoreFoundation/CoreFoundation.h>
35176 rm -f conftest.$ac_objext
35177 if { (ac_try="$ac_compile"
35178 case "(($ac_try" in
35179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35180 *) ac_try_echo=$ac_try;;
35182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35183 (eval "$ac_compile") 2>conftest.er1
35185 grep -v '^ *+' conftest.er1 >conftest.err
35187 cat conftest.err >&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } && {
35190 test -z "$ac_c_werror_flag" ||
35191 test ! -s conftest.err
35192 } && test -s conftest.$ac_objext; then
35193 { echo "$as_me:$LINENO: result: no" >&5
35194 echo "${ECHO_T}no" >&6; }
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.$ac_ext >&5
35199 { echo "$as_me:$LINENO: result: yes" >&5
35200 echo "${ECHO_T}yes" >&6; }
35201 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35202 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35203 cat >conftest.$ac_ext <<_ACEOF
35206 cat confdefs.h >>conftest.$ac_ext
35207 cat >>conftest.$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209 #define __Point__ 1
35210 #include <AppKit/NSEvent.h>
35211 #include <CoreFoundation/CoreFoundation.h>
35221 rm -f conftest.$ac_objext
35222 if { (ac_try="$ac_compile"
35223 case "(($ac_try" in
35224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35225 *) ac_try_echo=$ac_try;;
35227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35228 (eval "$ac_compile") 2>conftest.er1
35230 grep -v '^ *+' conftest.er1 >conftest.err
35232 cat conftest.err >&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } && {
35235 test -z "$ac_c_werror_flag" ||
35236 test ! -s conftest.err
35237 } && test -s conftest.$ac_objext; then
35238 { echo "$as_me:$LINENO: result: yes" >&5
35239 echo "${ECHO_T}yes" >&6; }
35240 cat >>confdefs.h <<\_ACEOF
35241 #define __Point__ 1
35246 echo "$as_me: failed program was:" >&5
35247 sed 's/^/| /' conftest.$ac_ext >&5
35249 { { echo "$as_me:$LINENO: error: no
35250 See \`config.log' for more details." >&5
35251 echo "$as_me: error: no
35252 See \`config.log' for more details." >&2;}
35253 { (exit 1); exit 1; }; }
35257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35263 ac_cpp='$CPP $CPPFLAGS'
35264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 { echo "$as_me:$LINENO: checking for mode_t" >&5
35272 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35273 if test "${ac_cv_type_mode_t+set}" = set; then
35274 echo $ECHO_N "(cached) $ECHO_C" >&6
35276 cat >conftest.$ac_ext <<_ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35282 $ac_includes_default
35283 typedef mode_t ac__type_new_;
35287 if ((ac__type_new_ *) 0)
35289 if (sizeof (ac__type_new_))
35295 rm -f conftest.$ac_objext
35296 if { (ac_try="$ac_compile"
35297 case "(($ac_try" in
35298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35299 *) ac_try_echo=$ac_try;;
35301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35302 (eval "$ac_compile") 2>conftest.er1
35304 grep -v '^ *+' conftest.er1 >conftest.err
35306 cat conftest.err >&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } && {
35309 test -z "$ac_c_werror_flag" ||
35310 test ! -s conftest.err
35311 } && test -s conftest.$ac_objext; then
35312 ac_cv_type_mode_t=yes
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.$ac_ext >&5
35317 ac_cv_type_mode_t=no
35320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35322 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35323 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35324 if test $ac_cv_type_mode_t = yes; then
35328 cat >>confdefs.h <<_ACEOF
35334 { echo "$as_me:$LINENO: checking for off_t" >&5
35335 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35336 if test "${ac_cv_type_off_t+set}" = set; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35339 cat >conftest.$ac_ext <<_ACEOF
35342 cat confdefs.h >>conftest.$ac_ext
35343 cat >>conftest.$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35345 $ac_includes_default
35346 typedef off_t ac__type_new_;
35350 if ((ac__type_new_ *) 0)
35352 if (sizeof (ac__type_new_))
35358 rm -f conftest.$ac_objext
35359 if { (ac_try="$ac_compile"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35362 *) ac_try_echo=$ac_try;;
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_compile") 2>conftest.er1
35367 grep -v '^ *+' conftest.er1 >conftest.err
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } && {
35372 test -z "$ac_c_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.$ac_objext; then
35375 ac_cv_type_off_t=yes
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35380 ac_cv_type_off_t=no
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35385 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35386 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35387 if test $ac_cv_type_off_t = yes; then
35391 cat >>confdefs.h <<_ACEOF
35392 #define off_t long int
35397 { echo "$as_me:$LINENO: checking for pid_t" >&5
35398 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35399 if test "${ac_cv_type_pid_t+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 cat >conftest.$ac_ext <<_ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35408 $ac_includes_default
35409 typedef pid_t ac__type_new_;
35413 if ((ac__type_new_ *) 0)
35415 if (sizeof (ac__type_new_))
35421 rm -f conftest.$ac_objext
35422 if { (ac_try="$ac_compile"
35423 case "(($ac_try" in
35424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35425 *) ac_try_echo=$ac_try;;
35427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35428 (eval "$ac_compile") 2>conftest.er1
35430 grep -v '^ *+' conftest.er1 >conftest.err
35432 cat conftest.err >&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } && {
35435 test -z "$ac_c_werror_flag" ||
35436 test ! -s conftest.err
35437 } && test -s conftest.$ac_objext; then
35438 ac_cv_type_pid_t=yes
35440 echo "$as_me: failed program was:" >&5
35441 sed 's/^/| /' conftest.$ac_ext >&5
35443 ac_cv_type_pid_t=no
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35448 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35449 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35450 if test $ac_cv_type_pid_t = yes; then
35454 cat >>confdefs.h <<_ACEOF
35460 { echo "$as_me:$LINENO: checking for size_t" >&5
35461 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35462 if test "${ac_cv_type_size_t+set}" = set; then
35463 echo $ECHO_N "(cached) $ECHO_C" >&6
35465 cat >conftest.$ac_ext <<_ACEOF
35468 cat confdefs.h >>conftest.$ac_ext
35469 cat >>conftest.$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35471 $ac_includes_default
35472 typedef size_t ac__type_new_;
35476 if ((ac__type_new_ *) 0)
35478 if (sizeof (ac__type_new_))
35484 rm -f conftest.$ac_objext
35485 if { (ac_try="$ac_compile"
35486 case "(($ac_try" in
35487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35488 *) ac_try_echo=$ac_try;;
35490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35491 (eval "$ac_compile") 2>conftest.er1
35493 grep -v '^ *+' conftest.er1 >conftest.err
35495 cat conftest.err >&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } && {
35498 test -z "$ac_c_werror_flag" ||
35499 test ! -s conftest.err
35500 } && test -s conftest.$ac_objext; then
35501 ac_cv_type_size_t=yes
35503 echo "$as_me: failed program was:" >&5
35504 sed 's/^/| /' conftest.$ac_ext >&5
35506 ac_cv_type_size_t=no
35509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35512 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35513 if test $ac_cv_type_size_t = yes; then
35517 cat >>confdefs.h <<_ACEOF
35518 #define size_t unsigned int
35524 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35525 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35526 if test "${ac_cv_type_ssize_t+set}" = set; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 cat >conftest.$ac_ext <<_ACEOF
35532 cat confdefs.h >>conftest.$ac_ext
35533 cat >>conftest.$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535 $ac_includes_default
35536 typedef ssize_t ac__type_new_;
35540 if ((ac__type_new_ *) 0)
35542 if (sizeof (ac__type_new_))
35548 rm -f conftest.$ac_objext
35549 if { (ac_try="$ac_compile"
35550 case "(($ac_try" in
35551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35552 *) ac_try_echo=$ac_try;;
35554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35555 (eval "$ac_compile") 2>conftest.er1
35557 grep -v '^ *+' conftest.er1 >conftest.err
35559 cat conftest.err >&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); } && {
35562 test -z "$ac_c_werror_flag" ||
35563 test ! -s conftest.err
35564 } && test -s conftest.$ac_objext; then
35565 ac_cv_type_ssize_t=yes
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35570 ac_cv_type_ssize_t=no
35573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35575 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35576 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35577 if test $ac_cv_type_ssize_t = yes; then
35579 cat >>confdefs.h <<_ACEOF
35580 #define HAVE_SSIZE_T 1
35588 ac_cpp='$CXXCPP $CPPFLAGS'
35589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35592 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35593 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35594 if test "${wx_cv_size_t_is_uint+set}" = set; then
35595 echo $ECHO_N "(cached) $ECHO_C" >&6
35598 cat >conftest.$ac_ext <<_ACEOF
35601 cat confdefs.h >>conftest.$ac_ext
35602 cat >>conftest.$ac_ext <<_ACEOF
35603 /* end confdefs.h. */
35604 #include <stddef.h>
35611 struct Foo { void foo(size_t); void foo(unsigned int); };
35619 rm -f conftest.$ac_objext
35620 if { (ac_try="$ac_compile"
35621 case "(($ac_try" in
35622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35623 *) ac_try_echo=$ac_try;;
35625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35626 (eval "$ac_compile") 2>conftest.er1
35628 grep -v '^ *+' conftest.er1 >conftest.err
35630 cat conftest.err >&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); } && {
35633 test -z "$ac_cxx_werror_flag" ||
35634 test ! -s conftest.err
35635 } && test -s conftest.$ac_objext; then
35636 wx_cv_size_t_is_uint=no
35638 echo "$as_me: failed program was:" >&5
35639 sed 's/^/| /' conftest.$ac_ext >&5
35641 wx_cv_size_t_is_uint=yes
35645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35650 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35652 if test "$wx_cv_size_t_is_uint" = "yes"; then
35653 cat >>confdefs.h <<\_ACEOF
35654 #define wxSIZE_T_IS_UINT 1
35658 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35659 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35660 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35661 echo $ECHO_N "(cached) $ECHO_C" >&6
35663 cat >conftest.$ac_ext <<_ACEOF
35666 cat confdefs.h >>conftest.$ac_ext
35667 cat >>conftest.$ac_ext <<_ACEOF
35668 /* end confdefs.h. */
35669 #include <stddef.h>
35676 struct Foo { void foo(size_t); void foo(unsigned long); };
35684 rm -f conftest.$ac_objext
35685 if { (ac_try="$ac_compile"
35686 case "(($ac_try" in
35687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35688 *) ac_try_echo=$ac_try;;
35690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35691 (eval "$ac_compile") 2>conftest.er1
35693 grep -v '^ *+' conftest.er1 >conftest.err
35695 cat conftest.err >&5
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); } && {
35698 test -z "$ac_cxx_werror_flag" ||
35699 test ! -s conftest.err
35700 } && test -s conftest.$ac_objext; then
35701 wx_cv_size_t_is_ulong=no
35703 echo "$as_me: failed program was:" >&5
35704 sed 's/^/| /' conftest.$ac_ext >&5
35706 wx_cv_size_t_is_ulong=yes
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35713 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35714 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35716 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35717 cat >>confdefs.h <<\_ACEOF
35718 #define wxSIZE_T_IS_ULONG 1
35724 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35725 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35726 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 cat >conftest.$ac_ext <<_ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35742 struct Foo { void foo(wchar_t);
35743 void foo(unsigned short);
35744 void foo(unsigned int);
35745 void foo(unsigned long); };
35753 rm -f conftest.$ac_objext
35754 if { (ac_try="$ac_compile"
35755 case "(($ac_try" in
35756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35757 *) ac_try_echo=$ac_try;;
35759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35760 (eval "$ac_compile") 2>conftest.er1
35762 grep -v '^ *+' conftest.er1 >conftest.err
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } && {
35767 test -z "$ac_cxx_werror_flag" ||
35768 test ! -s conftest.err
35769 } && test -s conftest.$ac_objext; then
35770 wx_cv_wchar_t_is_separate_type=yes
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35775 wx_cv_wchar_t_is_separate_type=no
35779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35782 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35783 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35785 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35786 cat >>confdefs.h <<\_ACEOF
35787 #define wxWCHAR_T_IS_REAL_TYPE 1
35791 cat >>confdefs.h <<\_ACEOF
35792 #define wxWCHAR_T_IS_REAL_TYPE 0
35798 ac_cpp='$CPP $CPPFLAGS'
35799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35804 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35805 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35806 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35810 cat >conftest.$ac_ext <<_ACEOF
35813 cat confdefs.h >>conftest.$ac_ext
35814 cat >>conftest.$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35829 rm -f conftest.$ac_objext
35830 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
35847 wx_cv_struct_pw_gecos=yes
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35854 wx_cv_struct_pw_gecos=no
35859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35863 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35864 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35866 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35867 cat >>confdefs.h <<\_ACEOF
35868 #define HAVE_PW_GECOS 1
35874 if test "$wxUSE_WCHAR_T" = "yes"; then
35875 cat >>confdefs.h <<\_ACEOF
35876 #define wxUSE_WCHAR_T 1
35883 for ac_func in wcslen
35885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35889 echo $ECHO_N "(cached) $ECHO_C" >&6
35891 cat >conftest.$ac_ext <<_ACEOF
35894 cat confdefs.h >>conftest.$ac_ext
35895 cat >>conftest.$ac_ext <<_ACEOF
35896 /* end confdefs.h. */
35897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35899 #define $ac_func innocuous_$ac_func
35901 /* System header to define __stub macros and hopefully few prototypes,
35902 which can conflict with char $ac_func (); below.
35903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35904 <limits.h> exists even on freestanding compilers. */
35907 # include <limits.h>
35909 # include <assert.h>
35914 /* Override any GCC internal prototype to avoid an error.
35915 Use char because int might match the return type of a GCC
35916 builtin and then its argument prototype would still apply. */
35921 /* The GNU C library defines this for functions which it implements
35922 to always fail with ENOSYS. Some functions are actually named
35923 something starting with __ and the normal name is an alias. */
35924 #if defined __stub_$ac_func || defined __stub___$ac_func
35931 return $ac_func ();
35936 rm -f conftest.$ac_objext conftest$ac_exeext
35937 if { (ac_try="$ac_link"
35938 case "(($ac_try" in
35939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35940 *) ac_try_echo=$ac_try;;
35942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35943 (eval "$ac_link") 2>conftest.er1
35945 grep -v '^ *+' conftest.er1 >conftest.err
35947 cat conftest.err >&5
35948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949 (exit $ac_status); } && {
35950 test -z "$ac_c_werror_flag" ||
35951 test ! -s conftest.err
35952 } && test -s conftest$ac_exeext &&
35953 $as_test_x conftest$ac_exeext; then
35954 eval "$as_ac_var=yes"
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.$ac_ext >&5
35959 eval "$as_ac_var=no"
35962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35963 conftest$ac_exeext conftest.$ac_ext
35965 ac_res=`eval echo '${'$as_ac_var'}'`
35966 { echo "$as_me:$LINENO: result: $ac_res" >&5
35967 echo "${ECHO_T}$ac_res" >&6; }
35968 if test `eval echo '${'$as_ac_var'}'` = yes; then
35969 cat >>confdefs.h <<_ACEOF
35970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35977 if test "$WCSLEN_FOUND" = 0; then
35978 if test "$TOOLKIT" = "MSW"; then
35979 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35980 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35981 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35984 ac_check_lib_save_LIBS=$LIBS
35985 LIBS="-lmsvcrt $LIBS"
35986 cat >conftest.$ac_ext <<_ACEOF
35989 cat confdefs.h >>conftest.$ac_ext
35990 cat >>conftest.$ac_ext <<_ACEOF
35991 /* end confdefs.h. */
35993 /* Override any GCC internal prototype to avoid an error.
35994 Use char because int might match the return type of a GCC
35995 builtin and then its argument prototype would still apply. */
36008 rm -f conftest.$ac_objext conftest$ac_exeext
36009 if { (ac_try="$ac_link"
36010 case "(($ac_try" in
36011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36012 *) ac_try_echo=$ac_try;;
36014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36015 (eval "$ac_link") 2>conftest.er1
36017 grep -v '^ *+' conftest.er1 >conftest.err
36019 cat conftest.err >&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); } && {
36022 test -z "$ac_c_werror_flag" ||
36023 test ! -s conftest.err
36024 } && test -s conftest$ac_exeext &&
36025 $as_test_x conftest$ac_exeext; then
36026 ac_cv_lib_msvcrt_wcslen=yes
36028 echo "$as_me: failed program was:" >&5
36029 sed 's/^/| /' conftest.$ac_ext >&5
36031 ac_cv_lib_msvcrt_wcslen=no
36034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36035 conftest$ac_exeext conftest.$ac_ext
36036 LIBS=$ac_check_lib_save_LIBS
36038 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36039 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36040 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36045 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36046 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36047 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36050 ac_check_lib_save_LIBS=$LIBS
36052 cat >conftest.$ac_ext <<_ACEOF
36055 cat confdefs.h >>conftest.$ac_ext
36056 cat >>conftest.$ac_ext <<_ACEOF
36057 /* end confdefs.h. */
36059 /* Override any GCC internal prototype to avoid an error.
36060 Use char because int might match the return type of a GCC
36061 builtin and then its argument prototype would still apply. */
36074 rm -f conftest.$ac_objext conftest$ac_exeext
36075 if { (ac_try="$ac_link"
36076 case "(($ac_try" in
36077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_link") 2>conftest.er1
36083 grep -v '^ *+' conftest.er1 >conftest.err
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } && {
36088 test -z "$ac_c_werror_flag" ||
36089 test ! -s conftest.err
36090 } && test -s conftest$ac_exeext &&
36091 $as_test_x conftest$ac_exeext; then
36092 ac_cv_lib_w_wcslen=yes
36094 echo "$as_me: failed program was:" >&5
36095 sed 's/^/| /' conftest.$ac_ext >&5
36097 ac_cv_lib_w_wcslen=no
36100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36101 conftest$ac_exeext conftest.$ac_ext
36102 LIBS=$ac_check_lib_save_LIBS
36104 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36105 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36106 if test $ac_cv_lib_w_wcslen = yes; then
36116 if test "$WCSLEN_FOUND" = 1; then
36117 cat >>confdefs.h <<\_ACEOF
36118 #define HAVE_WCSLEN 1
36128 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 cat >conftest.$ac_ext <<_ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36144 #define $ac_func innocuous_$ac_func
36146 /* System header to define __stub macros and hopefully few prototypes,
36147 which can conflict with char $ac_func (); below.
36148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36149 <limits.h> exists even on freestanding compilers. */
36152 # include <limits.h>
36154 # include <assert.h>
36159 /* Override any GCC internal prototype to avoid an error.
36160 Use char because int might match the return type of a GCC
36161 builtin and then its argument prototype would still apply. */
36166 /* The GNU C library defines this for functions which it implements
36167 to always fail with ENOSYS. Some functions are actually named
36168 something starting with __ and the normal name is an alias. */
36169 #if defined __stub_$ac_func || defined __stub___$ac_func
36176 return $ac_func ();
36181 rm -f conftest.$ac_objext conftest$ac_exeext
36182 if { (ac_try="$ac_link"
36183 case "(($ac_try" in
36184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36185 *) ac_try_echo=$ac_try;;
36187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36188 (eval "$ac_link") 2>conftest.er1
36190 grep -v '^ *+' conftest.er1 >conftest.err
36192 cat conftest.err >&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); } && {
36195 test -z "$ac_c_werror_flag" ||
36196 test ! -s conftest.err
36197 } && test -s conftest$ac_exeext &&
36198 $as_test_x conftest$ac_exeext; then
36199 eval "$as_ac_var=yes"
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.$ac_ext >&5
36204 eval "$as_ac_var=no"
36207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36208 conftest$ac_exeext conftest.$ac_ext
36210 ac_res=`eval echo '${'$as_ac_var'}'`
36211 { echo "$as_me:$LINENO: result: $ac_res" >&5
36212 echo "${ECHO_T}$ac_res" >&6; }
36213 if test `eval echo '${'$as_ac_var'}'` = yes; then
36214 cat >>confdefs.h <<_ACEOF
36215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36222 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36223 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36226 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36227 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36228 if test "${ac_cv_type_mbstate_t+set}" = set; then
36229 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 cat >conftest.$ac_ext <<_ACEOF
36234 cat confdefs.h >>conftest.$ac_ext
36235 cat >>conftest.$ac_ext <<_ACEOF
36236 /* end confdefs.h. */
36239 typedef mbstate_t ac__type_new_;
36243 if ((ac__type_new_ *) 0)
36245 if (sizeof (ac__type_new_))
36251 rm -f conftest.$ac_objext
36252 if { (ac_try="$ac_compile"
36253 case "(($ac_try" in
36254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36255 *) ac_try_echo=$ac_try;;
36257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36258 (eval "$ac_compile") 2>conftest.er1
36260 grep -v '^ *+' conftest.er1 >conftest.err
36262 cat conftest.err >&5
36263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264 (exit $ac_status); } && {
36265 test -z "$ac_c_werror_flag" ||
36266 test ! -s conftest.err
36267 } && test -s conftest.$ac_objext; then
36268 ac_cv_type_mbstate_t=yes
36270 echo "$as_me: failed program was:" >&5
36271 sed 's/^/| /' conftest.$ac_ext >&5
36273 ac_cv_type_mbstate_t=no
36276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36278 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36279 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36280 if test $ac_cv_type_mbstate_t = yes; then
36282 cat >>confdefs.h <<_ACEOF
36283 #define HAVE_MBSTATE_T 1
36287 for ac_func in wcsrtombs
36289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 cat >conftest.$ac_ext <<_ACEOF
36298 cat confdefs.h >>conftest.$ac_ext
36299 cat >>conftest.$ac_ext <<_ACEOF
36300 /* end confdefs.h. */
36301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36303 #define $ac_func innocuous_$ac_func
36305 /* System header to define __stub macros and hopefully few prototypes,
36306 which can conflict with char $ac_func (); below.
36307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36308 <limits.h> exists even on freestanding compilers. */
36311 # include <limits.h>
36313 # include <assert.h>
36318 /* Override any GCC internal prototype to avoid an error.
36319 Use char because int might match the return type of a GCC
36320 builtin and then its argument prototype would still apply. */
36325 /* The GNU C library defines this for functions which it implements
36326 to always fail with ENOSYS. Some functions are actually named
36327 something starting with __ and the normal name is an alias. */
36328 #if defined __stub_$ac_func || defined __stub___$ac_func
36335 return $ac_func ();
36340 rm -f conftest.$ac_objext conftest$ac_exeext
36341 if { (ac_try="$ac_link"
36342 case "(($ac_try" in
36343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36344 *) ac_try_echo=$ac_try;;
36346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36347 (eval "$ac_link") 2>conftest.er1
36349 grep -v '^ *+' conftest.er1 >conftest.err
36351 cat conftest.err >&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); } && {
36354 test -z "$ac_c_werror_flag" ||
36355 test ! -s conftest.err
36356 } && test -s conftest$ac_exeext &&
36357 $as_test_x conftest$ac_exeext; then
36358 eval "$as_ac_var=yes"
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36363 eval "$as_ac_var=no"
36366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36367 conftest$ac_exeext conftest.$ac_ext
36369 ac_res=`eval echo '${'$as_ac_var'}'`
36370 { echo "$as_me:$LINENO: result: $ac_res" >&5
36371 echo "${ECHO_T}$ac_res" >&6; }
36372 if test `eval echo '${'$as_ac_var'}'` = yes; then
36373 cat >>confdefs.h <<_ACEOF
36374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36383 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36384 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36390 for ac_func in snprintf vsnprintf vsscanf
36392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 cat >conftest.$ac_ext <<_ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36406 #define $ac_func innocuous_$ac_func
36408 /* System header to define __stub macros and hopefully few prototypes,
36409 which can conflict with char $ac_func (); below.
36410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36411 <limits.h> exists even on freestanding compilers. */
36414 # include <limits.h>
36416 # include <assert.h>
36421 /* Override any GCC internal prototype to avoid an error.
36422 Use char because int might match the return type of a GCC
36423 builtin and then its argument prototype would still apply. */
36428 /* The GNU C library defines this for functions which it implements
36429 to always fail with ENOSYS. Some functions are actually named
36430 something starting with __ and the normal name is an alias. */
36431 #if defined __stub_$ac_func || defined __stub___$ac_func
36438 return $ac_func ();
36443 rm -f conftest.$ac_objext conftest$ac_exeext
36444 if { (ac_try="$ac_link"
36445 case "(($ac_try" in
36446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36447 *) ac_try_echo=$ac_try;;
36449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36450 (eval "$ac_link") 2>conftest.er1
36452 grep -v '^ *+' conftest.er1 >conftest.err
36454 cat conftest.err >&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); } && {
36457 test -z "$ac_c_werror_flag" ||
36458 test ! -s conftest.err
36459 } && test -s conftest$ac_exeext &&
36460 $as_test_x conftest$ac_exeext; then
36461 eval "$as_ac_var=yes"
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.$ac_ext >&5
36466 eval "$as_ac_var=no"
36469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36470 conftest$ac_exeext conftest.$ac_ext
36472 ac_res=`eval echo '${'$as_ac_var'}'`
36473 { echo "$as_me:$LINENO: result: $ac_res" >&5
36474 echo "${ECHO_T}$ac_res" >&6; }
36475 if test `eval echo '${'$as_ac_var'}'` = yes; then
36476 cat >>confdefs.h <<_ACEOF
36477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36485 ac_cpp='$CXXCPP $CPPFLAGS'
36486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36490 if test "$ac_cv_func_vsnprintf" = "yes"; then
36491 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36492 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36493 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36494 echo $ECHO_N "(cached) $ECHO_C" >&6
36497 cat >conftest.$ac_ext <<_ACEOF
36500 cat confdefs.h >>conftest.$ac_ext
36501 cat >>conftest.$ac_ext <<_ACEOF
36502 /* end confdefs.h. */
36505 #include <stdarg.h>
36507 #if __MSL__ >= 0x6000
36509 using namespace std;
36519 vsnprintf(buf, 10u, "%s", ap);
36525 rm -f conftest.$ac_objext
36526 if { (ac_try="$ac_compile"
36527 case "(($ac_try" in
36528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36529 *) ac_try_echo=$ac_try;;
36531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36532 (eval "$ac_compile") 2>conftest.er1
36534 grep -v '^ *+' conftest.er1 >conftest.err
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } && {
36539 test -z "$ac_cxx_werror_flag" ||
36540 test ! -s conftest.err
36541 } && test -s conftest.$ac_objext; then
36542 wx_cv_func_vsnprintf_decl=yes
36544 echo "$as_me: failed program was:" >&5
36545 sed 's/^/| /' conftest.$ac_ext >&5
36547 wx_cv_func_vsnprintf_decl=no
36551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36555 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36556 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36558 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36559 cat >>confdefs.h <<\_ACEOF
36560 #define HAVE_VSNPRINTF_DECL 1
36564 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36565 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36566 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 cat >conftest.$ac_ext <<_ACEOF
36573 cat confdefs.h >>conftest.$ac_ext
36574 cat >>conftest.$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36578 #include <stdarg.h>
36580 #if __MSL__ >= 0x6000
36582 using namespace std;
36592 const char *fmt = "%s";
36593 vsnprintf(buf, 10u, fmt, ap);
36599 rm -f conftest.$ac_objext
36600 if { (ac_try="$ac_compile"
36601 case "(($ac_try" in
36602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36603 *) ac_try_echo=$ac_try;;
36605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36606 (eval "$ac_compile") 2>conftest.er1
36608 grep -v '^ *+' conftest.er1 >conftest.err
36610 cat conftest.err >&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); } && {
36613 test -z "$ac_cxx_werror_flag" ||
36614 test ! -s conftest.err
36615 } && test -s conftest.$ac_objext; then
36616 wx_cv_func_broken_vsnprintf_decl=no
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36621 wx_cv_func_broken_vsnprintf_decl=yes
36625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36630 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36632 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36633 cat >>confdefs.h <<\_ACEOF
36634 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36641 if test "$ac_cv_func_snprintf" = "yes"; then
36642 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36643 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36644 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 cat >conftest.$ac_ext <<_ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36656 #include <stdarg.h>
36658 #if __MSL__ >= 0x6000
36660 using namespace std;
36669 snprintf(buf, 10u, "%s", "wx");
36675 rm -f conftest.$ac_objext
36676 if { (ac_try="$ac_compile"
36677 case "(($ac_try" in
36678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36679 *) ac_try_echo=$ac_try;;
36681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36682 (eval "$ac_compile") 2>conftest.er1
36684 grep -v '^ *+' conftest.er1 >conftest.err
36686 cat conftest.err >&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); } && {
36689 test -z "$ac_cxx_werror_flag" ||
36690 test ! -s conftest.err
36691 } && test -s conftest.$ac_objext; then
36692 wx_cv_func_snprintf_decl=yes
36694 echo "$as_me: failed program was:" >&5
36695 sed 's/^/| /' conftest.$ac_ext >&5
36697 wx_cv_func_snprintf_decl=no
36701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36705 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36706 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36708 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36709 cat >>confdefs.h <<\_ACEOF
36710 #define HAVE_SNPRINTF_DECL 1
36715 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36717 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36718 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36719 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36720 echo $ECHO_N "(cached) $ECHO_C" >&6
36723 if test "$cross_compiling" = yes; then
36725 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36726 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36727 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36728 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36729 wx_cv_func_snprintf_pos_params=no
36733 cat >conftest.$ac_ext <<_ACEOF
36736 cat confdefs.h >>conftest.$ac_ext
36737 cat >>conftest.$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36745 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36746 if (strcmp ("2 3 1", buffer) == 0)
36752 rm -f conftest$ac_exeext
36753 if { (ac_try="$ac_link"
36754 case "(($ac_try" in
36755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36756 *) ac_try_echo=$ac_try;;
36758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36759 (eval "$ac_link") 2>&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36763 { (case "(($ac_try" in
36764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_try") 2>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; }; then
36772 wx_cv_func_snprintf_pos_params=no
36774 echo "$as_me: program exited with status $ac_status" >&5
36775 echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.$ac_ext >&5
36778 ( exit $ac_status )
36779 wx_cv_func_snprintf_pos_params=yes
36781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36788 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36789 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36791 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36792 cat >>confdefs.h <<\_ACEOF
36793 #define HAVE_UNIX98_PRINTF 1
36800 if test "$ac_cv_func_vsscanf" = "yes"; then
36801 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36802 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36803 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36804 echo $ECHO_N "(cached) $ECHO_C" >&6
36807 cat >conftest.$ac_ext <<_ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36815 #include <stdarg.h>
36817 #if __MSL__ >= 0x6000
36819 using namespace std;
36829 vsscanf(buf, "%s", args);
36835 rm -f conftest.$ac_objext
36836 if { (ac_try="$ac_compile"
36837 case "(($ac_try" in
36838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36839 *) ac_try_echo=$ac_try;;
36841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36842 (eval "$ac_compile") 2>conftest.er1
36844 grep -v '^ *+' conftest.er1 >conftest.err
36846 cat conftest.err >&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } && {
36849 test -z "$ac_cxx_werror_flag" ||
36850 test ! -s conftest.err
36851 } && test -s conftest.$ac_objext; then
36852 wx_cv_func_vsscanf_decl=yes
36854 echo "$as_me: failed program was:" >&5
36855 sed 's/^/| /' conftest.$ac_ext >&5
36857 wx_cv_func_vsscanf_decl=no
36861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36865 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36866 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36868 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36869 cat >>confdefs.h <<\_ACEOF
36870 #define HAVE_VSSCANF_DECL 1
36876 ac_cpp='$CPP $CPPFLAGS'
36877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36882 if test "$wxUSE_UNICODE" = yes; then
36884 wchar_headers="#include <stdio.h>
36885 #include <wchar.h>"
36889 for ac_header in widec.h
36891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36892 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36895 echo $ECHO_N "(cached) $ECHO_C" >&6
36897 cat >conftest.$ac_ext <<_ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36903 $ac_includes_default
36905 #include <$ac_header>
36907 rm -f conftest.$ac_objext
36908 if { (ac_try="$ac_compile"
36909 case "(($ac_try" in
36910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36911 *) ac_try_echo=$ac_try;;
36913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36914 (eval "$ac_compile") 2>conftest.er1
36916 grep -v '^ *+' conftest.er1 >conftest.err
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } && {
36921 test -z "$ac_c_werror_flag" ||
36922 test ! -s conftest.err
36923 } && test -s conftest.$ac_objext; then
36924 eval "$as_ac_Header=yes"
36926 echo "$as_me: failed program was:" >&5
36927 sed 's/^/| /' conftest.$ac_ext >&5
36929 eval "$as_ac_Header=no"
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_res=`eval echo '${'$as_ac_Header'}'`
36935 { echo "$as_me:$LINENO: result: $ac_res" >&5
36936 echo "${ECHO_T}$ac_res" >&6; }
36937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36938 cat >>confdefs.h <<_ACEOF
36939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36946 if test "$ac_cv_header_widec_h" = "yes"; then
36947 wchar_headers="$wchar_headers
36948 #include <widec.h>"
36953 for wx_func in putws fputws wprintf vswprintf vswscanf
36955 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36956 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36957 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 cat >conftest.$ac_ext <<_ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36970 $ac_includes_default
36986 rm -f conftest.$ac_objext conftest$ac_exeext
36987 if { (ac_try="$ac_link"
36988 case "(($ac_try" in
36989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36990 *) ac_try_echo=$ac_try;;
36992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36993 (eval "$ac_link") 2>conftest.er1
36995 grep -v '^ *+' conftest.er1 >conftest.err
36997 cat conftest.err >&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); } && {
37000 test -z "$ac_c_werror_flag" ||
37001 test ! -s conftest.err
37002 } && test -s conftest$ac_exeext &&
37003 $as_test_x conftest$ac_exeext; then
37004 eval wx_cv_func_$wx_func=yes
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37009 eval wx_cv_func_$wx_func=no
37012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37013 conftest$ac_exeext conftest.$ac_ext
37016 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37017 { echo "$as_me:$LINENO: result: $ac_res" >&5
37018 echo "${ECHO_T}$ac_res" >&6; }
37020 if eval test \$wx_cv_func_$wx_func = yes
37022 cat >>confdefs.h <<_ACEOF
37023 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37034 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37035 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37036 cat >conftest.$ac_ext <<_ACEOF
37039 cat confdefs.h >>conftest.$ac_ext
37040 cat >>conftest.$ac_ext <<_ACEOF
37041 /* end confdefs.h. */
37051 rm -f conftest.$ac_objext
37052 if { (ac_try="$ac_compile"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_compile") 2>conftest.er1
37060 grep -v '^ *+' conftest.er1 >conftest.err
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_c_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest.$ac_objext; then
37068 { echo "$as_me:$LINENO: result: yes" >&5
37069 echo "${ECHO_T}yes" >&6; }
37070 cat >>confdefs.h <<\_ACEOF
37071 #define HAVE__VSNWPRINTF 1
37075 echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.$ac_ext >&5
37078 { echo "$as_me:$LINENO: result: no" >&5
37079 echo "${ECHO_T}no" >&6; }
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37085 if test "$wxUSE_FILE" = "yes"; then
37087 for wx_func in fsync
37089 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37090 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37091 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37092 echo $ECHO_N "(cached) $ECHO_C" >&6
37095 cat >conftest.$ac_ext <<_ACEOF
37099 cat confdefs.h >>conftest.$ac_ext
37100 cat >>conftest.$ac_ext <<_ACEOF
37101 /* end confdefs.h. */
37104 $ac_includes_default
37120 rm -f conftest.$ac_objext conftest$ac_exeext
37121 if { (ac_try="$ac_link"
37122 case "(($ac_try" in
37123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37124 *) ac_try_echo=$ac_try;;
37126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37127 (eval "$ac_link") 2>conftest.er1
37129 grep -v '^ *+' conftest.er1 >conftest.err
37131 cat conftest.err >&5
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); } && {
37134 test -z "$ac_c_werror_flag" ||
37135 test ! -s conftest.err
37136 } && test -s conftest$ac_exeext &&
37137 $as_test_x conftest$ac_exeext; then
37138 eval wx_cv_func_$wx_func=yes
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37143 eval wx_cv_func_$wx_func=no
37146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37147 conftest$ac_exeext conftest.$ac_ext
37150 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37151 { echo "$as_me:$LINENO: result: $ac_res" >&5
37152 echo "${ECHO_T}$ac_res" >&6; }
37154 if eval test \$wx_cv_func_$wx_func = yes
37156 cat >>confdefs.h <<_ACEOF
37157 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176 for wx_func in round
37178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37181 echo $ECHO_N "(cached) $ECHO_C" >&6
37184 cat >conftest.$ac_ext <<_ACEOF
37188 cat confdefs.h >>conftest.$ac_ext
37189 cat >>conftest.$ac_ext <<_ACEOF
37190 /* end confdefs.h. */
37193 $ac_includes_default
37209 rm -f conftest.$ac_objext conftest$ac_exeext
37210 if { (ac_try="$ac_link"
37211 case "(($ac_try" in
37212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37213 *) ac_try_echo=$ac_try;;
37215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37216 (eval "$ac_link") 2>conftest.er1
37218 grep -v '^ *+' conftest.er1 >conftest.err
37220 cat conftest.err >&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } && {
37223 test -z "$ac_cxx_werror_flag" ||
37224 test ! -s conftest.err
37225 } && test -s conftest$ac_exeext &&
37226 $as_test_x conftest$ac_exeext; then
37227 eval wx_cv_func_$wx_func=yes
37229 echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.$ac_ext >&5
37232 eval wx_cv_func_$wx_func=no
37235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37236 conftest$ac_exeext conftest.$ac_ext
37239 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37240 { echo "$as_me:$LINENO: result: $ac_res" >&5
37241 echo "${ECHO_T}$ac_res" >&6; }
37243 if eval test \$wx_cv_func_$wx_func = yes
37245 cat >>confdefs.h <<_ACEOF
37246 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263 if test "$TOOLKIT" != "MSW"; then
37265 if test "$wxUSE_LIBICONV" != "no" ; then
37269 # Check whether --with-libiconv-prefix was given.
37270 if test "${with_libiconv_prefix+set}" = set; then
37271 withval=$with_libiconv_prefix;
37272 for dir in `echo "$withval" | tr : ' '`; do
37273 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37274 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37280 { echo "$as_me:$LINENO: checking for iconv" >&5
37281 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37282 if test "${am_cv_func_iconv+set}" = set; then
37283 echo $ECHO_N "(cached) $ECHO_C" >&6
37286 am_cv_func_iconv="no, consider installing GNU libiconv"
37288 cat >conftest.$ac_ext <<_ACEOF
37291 cat confdefs.h >>conftest.$ac_ext
37292 cat >>conftest.$ac_ext <<_ACEOF
37293 /* end confdefs.h. */
37294 #include <stdlib.h>
37299 iconv_t cd = iconv_open("","");
37300 iconv(cd,NULL,NULL,NULL,NULL);
37306 rm -f conftest.$ac_objext conftest$ac_exeext
37307 if { (ac_try="$ac_link"
37308 case "(($ac_try" in
37309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37310 *) ac_try_echo=$ac_try;;
37312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37313 (eval "$ac_link") 2>conftest.er1
37315 grep -v '^ *+' conftest.er1 >conftest.err
37317 cat conftest.err >&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); } && {
37320 test -z "$ac_c_werror_flag" ||
37321 test ! -s conftest.err
37322 } && test -s conftest$ac_exeext &&
37323 $as_test_x conftest$ac_exeext; then
37324 am_cv_func_iconv=yes
37326 echo "$as_me: failed program was:" >&5
37327 sed 's/^/| /' conftest.$ac_ext >&5
37332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37333 conftest$ac_exeext conftest.$ac_ext
37334 if test "$am_cv_func_iconv" != yes; then
37335 am_save_LIBS="$LIBS"
37336 LIBS="$LIBS -liconv"
37337 cat >conftest.$ac_ext <<_ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37343 #include <stdlib.h>
37348 iconv_t cd = iconv_open("","");
37349 iconv(cd,NULL,NULL,NULL,NULL);
37355 rm -f conftest.$ac_objext conftest$ac_exeext
37356 if { (ac_try="$ac_link"
37357 case "(($ac_try" in
37358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37359 *) ac_try_echo=$ac_try;;
37361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37362 (eval "$ac_link") 2>conftest.er1
37364 grep -v '^ *+' conftest.er1 >conftest.err
37366 cat conftest.err >&5
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); } && {
37369 test -z "$ac_c_werror_flag" ||
37370 test ! -s conftest.err
37371 } && test -s conftest$ac_exeext &&
37372 $as_test_x conftest$ac_exeext; then
37373 am_cv_lib_iconv=yes
37374 am_cv_func_iconv=yes
37376 echo "$as_me: failed program was:" >&5
37377 sed 's/^/| /' conftest.$ac_ext >&5
37382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37383 conftest$ac_exeext conftest.$ac_ext
37384 LIBS="$am_save_LIBS"
37388 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37389 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37390 if test "$am_cv_func_iconv" = yes; then
37392 cat >>confdefs.h <<\_ACEOF
37393 #define HAVE_ICONV 1
37396 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37397 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37398 if test "${wx_cv_func_iconv_const+set}" = set; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37401 cat >conftest.$ac_ext <<_ACEOF
37404 cat confdefs.h >>conftest.$ac_ext
37405 cat >>conftest.$ac_ext <<_ACEOF
37406 /* end confdefs.h. */
37408 #include <stdlib.h>
37414 #if defined(__STDC__) || defined(__cplusplus)
37415 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37428 rm -f conftest.$ac_objext
37429 if { (ac_try="$ac_compile"
37430 case "(($ac_try" in
37431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37432 *) ac_try_echo=$ac_try;;
37434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37435 (eval "$ac_compile") 2>conftest.er1
37437 grep -v '^ *+' conftest.er1 >conftest.err
37439 cat conftest.err >&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } && {
37442 test -z "$ac_c_werror_flag" ||
37443 test ! -s conftest.err
37444 } && test -s conftest.$ac_objext; then
37445 wx_cv_func_iconv_const="no"
37447 echo "$as_me: failed program was:" >&5
37448 sed 's/^/| /' conftest.$ac_ext >&5
37450 wx_cv_func_iconv_const="yes"
37454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37457 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37458 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37461 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37462 iconv_const="const"
37466 cat >>confdefs.h <<_ACEOF
37467 #define ICONV_CONST $iconv_const
37472 if test "$am_cv_lib_iconv" = yes; then
37477 LIBS="$LIBICONV $LIBS"
37480 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37482 for ac_func in sigaction
37484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37488 echo $ECHO_N "(cached) $ECHO_C" >&6
37490 cat >conftest.$ac_ext <<_ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37498 #define $ac_func innocuous_$ac_func
37500 /* System header to define __stub macros and hopefully few prototypes,
37501 which can conflict with char $ac_func (); below.
37502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37503 <limits.h> exists even on freestanding compilers. */
37506 # include <limits.h>
37508 # include <assert.h>
37513 /* Override any GCC internal prototype to avoid an error.
37514 Use char because int might match the return type of a GCC
37515 builtin and then its argument prototype would still apply. */
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined __stub_$ac_func || defined __stub___$ac_func
37530 return $ac_func ();
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37539 *) ac_try_echo=$ac_try;;
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37544 grep -v '^ *+' conftest.er1 >conftest.err
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest$ac_exeext &&
37552 $as_test_x conftest$ac_exeext; then
37553 eval "$as_ac_var=yes"
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37558 eval "$as_ac_var=no"
37561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37562 conftest$ac_exeext conftest.$ac_ext
37564 ac_res=`eval echo '${'$as_ac_var'}'`
37565 { echo "$as_me:$LINENO: result: $ac_res" >&5
37566 echo "${ECHO_T}$ac_res" >&6; }
37567 if test `eval echo '${'$as_ac_var'}'` = yes; then
37568 cat >>confdefs.h <<_ACEOF
37569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37576 if test "$ac_cv_func_sigaction" = "no"; then
37577 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37578 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37579 wxUSE_ON_FATAL_EXCEPTION=no
37582 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37583 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37584 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37585 if test "${wx_cv_type_sa_handler+set}" = set; then
37586 echo $ECHO_N "(cached) $ECHO_C" >&6
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37595 cat >conftest.$ac_ext <<_ACEOF
37598 cat confdefs.h >>conftest.$ac_ext
37599 cat >>conftest.$ac_ext <<_ACEOF
37600 /* end confdefs.h. */
37601 #include <signal.h>
37606 extern void testSigHandler(int);
37608 struct sigaction sa;
37609 sa.sa_handler = testSigHandler;
37615 rm -f conftest.$ac_objext
37616 if { (ac_try="$ac_compile"
37617 case "(($ac_try" in
37618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37619 *) ac_try_echo=$ac_try;;
37621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37622 (eval "$ac_compile") 2>conftest.er1
37624 grep -v '^ *+' conftest.er1 >conftest.err
37626 cat conftest.err >&5
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); } && {
37629 test -z "$ac_cxx_werror_flag" ||
37630 test ! -s conftest.err
37631 } && test -s conftest.$ac_objext; then
37633 wx_cv_type_sa_handler=int
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37640 wx_cv_type_sa_handler=void
37644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646 ac_cpp='$CPP $CPPFLAGS'
37647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37653 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37654 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37656 cat >>confdefs.h <<_ACEOF
37657 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37663 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37664 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37665 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37666 if test "${wx_cv_func_backtrace+set}" = set; then
37667 echo $ECHO_N "(cached) $ECHO_C" >&6
37671 ac_cpp='$CXXCPP $CPPFLAGS'
37672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37676 cat >conftest.$ac_ext <<_ACEOF
37679 cat confdefs.h >>conftest.$ac_ext
37680 cat >>conftest.$ac_ext <<_ACEOF
37681 /* end confdefs.h. */
37682 #include <execinfo.h>
37690 backtrace(trace, 1);
37691 messages = backtrace_symbols(trace, 1);
37697 rm -f conftest.$ac_objext
37698 if { (ac_try="$ac_compile"
37699 case "(($ac_try" in
37700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37701 *) ac_try_echo=$ac_try;;
37703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37704 (eval "$ac_compile") 2>conftest.er1
37706 grep -v '^ *+' conftest.er1 >conftest.err
37708 cat conftest.err >&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } && {
37711 test -z "$ac_cxx_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest.$ac_objext; then
37714 wx_cv_func_backtrace=yes
37716 echo "$as_me: failed program was:" >&5
37717 sed 's/^/| /' conftest.$ac_ext >&5
37719 wx_cv_func_backtrace=no
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37733 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37734 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37737 if test "$wx_cv_func_backtrace" = "no"; then
37738 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37739 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37740 wxUSE_STACKWALKER=no
37742 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37743 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37744 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37745 echo $ECHO_N "(cached) $ECHO_C" >&6
37749 ac_cpp='$CXXCPP $CPPFLAGS'
37750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37754 cat >conftest.$ac_ext <<_ACEOF
37757 cat confdefs.h >>conftest.$ac_ext
37758 cat >>conftest.$ac_ext <<_ACEOF
37759 /* end confdefs.h. */
37760 #include <cxxabi.h>
37766 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37772 rm -f conftest.$ac_objext conftest$ac_exeext
37773 if { (ac_try="$ac_link"
37774 case "(($ac_try" in
37775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37776 *) ac_try_echo=$ac_try;;
37778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37779 (eval "$ac_link") 2>conftest.er1
37781 grep -v '^ *+' conftest.er1 >conftest.err
37783 cat conftest.err >&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); } && {
37786 test -z "$ac_cxx_werror_flag" ||
37787 test ! -s conftest.err
37788 } && test -s conftest$ac_exeext &&
37789 $as_test_x conftest$ac_exeext; then
37790 wx_cv_func_cxa_demangle=yes
37792 echo "$as_me: failed program was:" >&5
37793 sed 's/^/| /' conftest.$ac_ext >&5
37795 wx_cv_func_cxa_demangle=no
37799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37800 conftest$ac_exeext conftest.$ac_ext
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37810 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37811 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37813 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37814 cat >>confdefs.h <<\_ACEOF
37815 #define HAVE_CXA_DEMANGLE 1
37822 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37823 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37824 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37825 wxUSE_STACKWALKER=no
37831 for ac_func in mkstemp mktemp
37833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37837 echo $ECHO_N "(cached) $ECHO_C" >&6
37839 cat >conftest.$ac_ext <<_ACEOF
37842 cat confdefs.h >>conftest.$ac_ext
37843 cat >>conftest.$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37847 #define $ac_func innocuous_$ac_func
37849 /* System header to define __stub macros and hopefully few prototypes,
37850 which can conflict with char $ac_func (); below.
37851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37852 <limits.h> exists even on freestanding compilers. */
37855 # include <limits.h>
37857 # include <assert.h>
37862 /* Override any GCC internal prototype to avoid an error.
37863 Use char because int might match the return type of a GCC
37864 builtin and then its argument prototype would still apply. */
37869 /* The GNU C library defines this for functions which it implements
37870 to always fail with ENOSYS. Some functions are actually named
37871 something starting with __ and the normal name is an alias. */
37872 #if defined __stub_$ac_func || defined __stub___$ac_func
37879 return $ac_func ();
37884 rm -f conftest.$ac_objext conftest$ac_exeext
37885 if { (ac_try="$ac_link"
37886 case "(($ac_try" in
37887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37888 *) ac_try_echo=$ac_try;;
37890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37891 (eval "$ac_link") 2>conftest.er1
37893 grep -v '^ *+' conftest.er1 >conftest.err
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } && {
37898 test -z "$ac_c_werror_flag" ||
37899 test ! -s conftest.err
37900 } && test -s conftest$ac_exeext &&
37901 $as_test_x conftest$ac_exeext; then
37902 eval "$as_ac_var=yes"
37904 echo "$as_me: failed program was:" >&5
37905 sed 's/^/| /' conftest.$ac_ext >&5
37907 eval "$as_ac_var=no"
37910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37911 conftest$ac_exeext conftest.$ac_ext
37913 ac_res=`eval echo '${'$as_ac_var'}'`
37914 { echo "$as_me:$LINENO: result: $ac_res" >&5
37915 echo "${ECHO_T}$ac_res" >&6; }
37916 if test `eval echo '${'$as_ac_var'}'` = yes; then
37917 cat >>confdefs.h <<_ACEOF
37918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37925 { echo "$as_me:$LINENO: checking for statfs" >&5
37926 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37927 if test "${wx_cv_func_statfs+set}" = set; then
37928 echo $ECHO_N "(cached) $ECHO_C" >&6
37930 cat >conftest.$ac_ext <<_ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37937 #if defined(__BSD__)
37938 #include <sys/param.h>
37939 #include <sys/mount.h>
37941 #include <sys/vfs.h>
37959 rm -f conftest.$ac_objext
37960 if { (ac_try="$ac_compile"
37961 case "(($ac_try" in
37962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37963 *) ac_try_echo=$ac_try;;
37965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37966 (eval "$ac_compile") 2>conftest.er1
37968 grep -v '^ *+' conftest.er1 >conftest.err
37970 cat conftest.err >&5
37971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37972 (exit $ac_status); } && {
37973 test -z "$ac_c_werror_flag" ||
37974 test ! -s conftest.err
37975 } && test -s conftest.$ac_objext; then
37976 wx_cv_func_statfs=yes
37978 echo "$as_me: failed program was:" >&5
37979 sed 's/^/| /' conftest.$ac_ext >&5
37981 wx_cv_func_statfs=no
37985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37988 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37989 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37991 if test "$wx_cv_func_statfs" = "yes"; then
37992 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37993 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37994 if test "${wx_cv_func_statfs_decl+set}" = set; then
37995 echo $ECHO_N "(cached) $ECHO_C" >&6
37998 ac_cpp='$CXXCPP $CPPFLAGS'
37999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38003 cat >conftest.$ac_ext <<_ACEOF
38006 cat confdefs.h >>conftest.$ac_ext
38007 cat >>conftest.$ac_ext <<_ACEOF
38008 /* end confdefs.h. */
38010 #if defined(__BSD__)
38011 #include <sys/param.h>
38012 #include <sys/mount.h>
38014 #include <sys/vfs.h>
38028 rm -f conftest.$ac_objext
38029 if { (ac_try="$ac_compile"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_compile") 2>conftest.er1
38037 grep -v '^ *+' conftest.er1 >conftest.err
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } && {
38042 test -z "$ac_cxx_werror_flag" ||
38043 test ! -s conftest.err
38044 } && test -s conftest.$ac_objext; then
38045 wx_cv_func_statfs_decl=yes
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38050 wx_cv_func_statfs_decl=no
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38064 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38066 if test "$wx_cv_func_statfs_decl" = "yes"; then
38067 cat >>confdefs.h <<\_ACEOF
38068 #define HAVE_STATFS_DECL 1
38073 wx_cv_type_statvfs_t="struct statfs"
38074 cat >>confdefs.h <<\_ACEOF
38075 #define HAVE_STATFS 1
38079 { echo "$as_me:$LINENO: checking for statvfs" >&5
38080 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38081 if test "${wx_cv_func_statvfs+set}" = set; then
38082 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 cat >conftest.$ac_ext <<_ACEOF
38087 cat confdefs.h >>conftest.$ac_ext
38088 cat >>conftest.$ac_ext <<_ACEOF
38089 /* end confdefs.h. */
38091 #include <stddef.h>
38092 #include <sys/statvfs.h>
38098 statvfs("/", NULL);
38104 rm -f conftest.$ac_objext
38105 if { (ac_try="$ac_compile"
38106 case "(($ac_try" in
38107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38108 *) ac_try_echo=$ac_try;;
38110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38111 (eval "$ac_compile") 2>conftest.er1
38113 grep -v '^ *+' conftest.er1 >conftest.err
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } && {
38118 test -z "$ac_c_werror_flag" ||
38119 test ! -s conftest.err
38120 } && test -s conftest.$ac_objext; then
38121 wx_cv_func_statvfs=yes
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.$ac_ext >&5
38126 wx_cv_func_statvfs=no
38130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38133 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38134 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38136 if test "$wx_cv_func_statvfs" = "yes"; then
38137 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38138 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38139 if test "${wx_cv_type_statvfs_t+set}" = set; then
38140 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 ac_cpp='$CXXCPP $CPPFLAGS'
38144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38148 cat >conftest.$ac_ext <<_ACEOF
38151 cat confdefs.h >>conftest.$ac_ext
38152 cat >>conftest.$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38155 #include <sys/statvfs.h>
38172 rm -f conftest.$ac_objext
38173 if { (ac_try="$ac_compile"
38174 case "(($ac_try" in
38175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38176 *) ac_try_echo=$ac_try;;
38178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38179 (eval "$ac_compile") 2>conftest.er1
38181 grep -v '^ *+' conftest.er1 >conftest.err
38183 cat conftest.err >&5
38184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38185 (exit $ac_status); } && {
38186 test -z "$ac_cxx_werror_flag" ||
38187 test ! -s conftest.err
38188 } && test -s conftest.$ac_objext; then
38189 wx_cv_type_statvfs_t=statvfs_t
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38195 cat >conftest.$ac_ext <<_ACEOF
38198 cat confdefs.h >>conftest.$ac_ext
38199 cat >>conftest.$ac_ext <<_ACEOF
38200 /* end confdefs.h. */
38202 #include <sys/statvfs.h>
38219 rm -f conftest.$ac_objext
38220 if { (ac_try="$ac_compile"
38221 case "(($ac_try" in
38222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38223 *) ac_try_echo=$ac_try;;
38225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38226 (eval "$ac_compile") 2>conftest.er1
38228 grep -v '^ *+' conftest.er1 >conftest.err
38230 cat conftest.err >&5
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); } && {
38233 test -z "$ac_cxx_werror_flag" ||
38234 test ! -s conftest.err
38235 } && test -s conftest.$ac_objext; then
38236 wx_cv_type_statvfs_t="struct statvfs"
38238 echo "$as_me: failed program was:" >&5
38239 sed 's/^/| /' conftest.$ac_ext >&5
38241 wx_cv_type_statvfs_t="unknown"
38245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38259 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38260 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38262 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38263 cat >>confdefs.h <<\_ACEOF
38264 #define HAVE_STATVFS 1
38269 wx_cv_type_statvfs_t="unknown"
38273 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38274 cat >>confdefs.h <<_ACEOF
38275 #define WX_STATFS_T $wx_cv_type_statvfs_t
38279 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38280 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38283 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38286 for ac_func in fcntl flock
38288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38289 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38294 cat >conftest.$ac_ext <<_ACEOF
38297 cat confdefs.h >>conftest.$ac_ext
38298 cat >>conftest.$ac_ext <<_ACEOF
38299 /* end confdefs.h. */
38300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38302 #define $ac_func innocuous_$ac_func
38304 /* System header to define __stub macros and hopefully few prototypes,
38305 which can conflict with char $ac_func (); below.
38306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38307 <limits.h> exists even on freestanding compilers. */
38310 # include <limits.h>
38312 # include <assert.h>
38317 /* Override any GCC internal prototype to avoid an error.
38318 Use char because int might match the return type of a GCC
38319 builtin and then its argument prototype would still apply. */
38324 /* The GNU C library defines this for functions which it implements
38325 to always fail with ENOSYS. Some functions are actually named
38326 something starting with __ and the normal name is an alias. */
38327 #if defined __stub_$ac_func || defined __stub___$ac_func
38334 return $ac_func ();
38339 rm -f conftest.$ac_objext conftest$ac_exeext
38340 if { (ac_try="$ac_link"
38341 case "(($ac_try" in
38342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38343 *) ac_try_echo=$ac_try;;
38345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38346 (eval "$ac_link") 2>conftest.er1
38348 grep -v '^ *+' conftest.er1 >conftest.err
38350 cat conftest.err >&5
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); } && {
38353 test -z "$ac_c_werror_flag" ||
38354 test ! -s conftest.err
38355 } && test -s conftest$ac_exeext &&
38356 $as_test_x conftest$ac_exeext; then
38357 eval "$as_ac_var=yes"
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38362 eval "$as_ac_var=no"
38365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38366 conftest$ac_exeext conftest.$ac_ext
38368 ac_res=`eval echo '${'$as_ac_var'}'`
38369 { echo "$as_me:$LINENO: result: $ac_res" >&5
38370 echo "${ECHO_T}$ac_res" >&6; }
38371 if test `eval echo '${'$as_ac_var'}'` = yes; then
38372 cat >>confdefs.h <<_ACEOF
38373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38380 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38381 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38382 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38383 wxUSE_SNGLINST_CHECKER=no
38389 for ac_func in setenv putenv
38391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38394 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38395 echo $ECHO_N "(cached) $ECHO_C" >&6
38397 cat >conftest.$ac_ext <<_ACEOF
38400 cat confdefs.h >>conftest.$ac_ext
38401 cat >>conftest.$ac_ext <<_ACEOF
38402 /* end confdefs.h. */
38403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38405 #define $ac_func innocuous_$ac_func
38407 /* System header to define __stub macros and hopefully few prototypes,
38408 which can conflict with char $ac_func (); below.
38409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38410 <limits.h> exists even on freestanding compilers. */
38413 # include <limits.h>
38415 # include <assert.h>
38420 /* Override any GCC internal prototype to avoid an error.
38421 Use char because int might match the return type of a GCC
38422 builtin and then its argument prototype would still apply. */
38427 /* The GNU C library defines this for functions which it implements
38428 to always fail with ENOSYS. Some functions are actually named
38429 something starting with __ and the normal name is an alias. */
38430 #if defined __stub_$ac_func || defined __stub___$ac_func
38437 return $ac_func ();
38442 rm -f conftest.$ac_objext conftest$ac_exeext
38443 if { (ac_try="$ac_link"
38444 case "(($ac_try" in
38445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38446 *) ac_try_echo=$ac_try;;
38448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38449 (eval "$ac_link") 2>conftest.er1
38451 grep -v '^ *+' conftest.er1 >conftest.err
38453 cat conftest.err >&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); } && {
38456 test -z "$ac_c_werror_flag" ||
38457 test ! -s conftest.err
38458 } && test -s conftest$ac_exeext &&
38459 $as_test_x conftest$ac_exeext; then
38460 eval "$as_ac_var=yes"
38462 echo "$as_me: failed program was:" >&5
38463 sed 's/^/| /' conftest.$ac_ext >&5
38465 eval "$as_ac_var=no"
38468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38469 conftest$ac_exeext conftest.$ac_ext
38471 ac_res=`eval echo '${'$as_ac_var'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38474 if test `eval echo '${'$as_ac_var'}'` = yes; then
38475 cat >>confdefs.h <<_ACEOF
38476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38482 if test "$ac_cv_func_setenv" = "yes"; then
38484 for ac_func in unsetenv
38486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38490 echo $ECHO_N "(cached) $ECHO_C" >&6
38492 cat >conftest.$ac_ext <<_ACEOF
38495 cat confdefs.h >>conftest.$ac_ext
38496 cat >>conftest.$ac_ext <<_ACEOF
38497 /* end confdefs.h. */
38498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38500 #define $ac_func innocuous_$ac_func
38502 /* System header to define __stub macros and hopefully few prototypes,
38503 which can conflict with char $ac_func (); below.
38504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38505 <limits.h> exists even on freestanding compilers. */
38508 # include <limits.h>
38510 # include <assert.h>
38515 /* Override any GCC internal prototype to avoid an error.
38516 Use char because int might match the return type of a GCC
38517 builtin and then its argument prototype would still apply. */
38522 /* The GNU C library defines this for functions which it implements
38523 to always fail with ENOSYS. Some functions are actually named
38524 something starting with __ and the normal name is an alias. */
38525 #if defined __stub_$ac_func || defined __stub___$ac_func
38532 return $ac_func ();
38537 rm -f conftest.$ac_objext conftest$ac_exeext
38538 if { (ac_try="$ac_link"
38539 case "(($ac_try" in
38540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38541 *) ac_try_echo=$ac_try;;
38543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38544 (eval "$ac_link") 2>conftest.er1
38546 grep -v '^ *+' conftest.er1 >conftest.err
38548 cat conftest.err >&5
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); } && {
38551 test -z "$ac_c_werror_flag" ||
38552 test ! -s conftest.err
38553 } && test -s conftest$ac_exeext &&
38554 $as_test_x conftest$ac_exeext; then
38555 eval "$as_ac_var=yes"
38557 echo "$as_me: failed program was:" >&5
38558 sed 's/^/| /' conftest.$ac_ext >&5
38560 eval "$as_ac_var=no"
38563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38564 conftest$ac_exeext conftest.$ac_ext
38566 ac_res=`eval echo '${'$as_ac_var'}'`
38567 { echo "$as_me:$LINENO: result: $ac_res" >&5
38568 echo "${ECHO_T}$ac_res" >&6; }
38569 if test `eval echo '${'$as_ac_var'}'` = yes; then
38570 cat >>confdefs.h <<_ACEOF
38571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38579 HAVE_SOME_SLEEP_FUNC=0
38580 if test "$USE_BEOS" = 1; then
38581 cat >>confdefs.h <<\_ACEOF
38582 #define HAVE_SLEEP 1
38585 HAVE_SOME_SLEEP_FUNC=1
38588 if test "$USE_DARWIN" = 1; then
38589 cat >>confdefs.h <<\_ACEOF
38590 #define HAVE_USLEEP 1
38593 HAVE_SOME_SLEEP_FUNC=1
38596 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38599 for ac_func in nanosleep
38601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38602 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 cat >conftest.$ac_ext <<_ACEOF
38610 cat confdefs.h >>conftest.$ac_ext
38611 cat >>conftest.$ac_ext <<_ACEOF
38612 /* end confdefs.h. */
38613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38615 #define $ac_func innocuous_$ac_func
38617 /* System header to define __stub macros and hopefully few prototypes,
38618 which can conflict with char $ac_func (); below.
38619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38620 <limits.h> exists even on freestanding compilers. */
38623 # include <limits.h>
38625 # include <assert.h>
38630 /* Override any GCC internal prototype to avoid an error.
38631 Use char because int might match the return type of a GCC
38632 builtin and then its argument prototype would still apply. */
38637 /* The GNU C library defines this for functions which it implements
38638 to always fail with ENOSYS. Some functions are actually named
38639 something starting with __ and the normal name is an alias. */
38640 #if defined __stub_$ac_func || defined __stub___$ac_func
38647 return $ac_func ();
38652 rm -f conftest.$ac_objext conftest$ac_exeext
38653 if { (ac_try="$ac_link"
38654 case "(($ac_try" in
38655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38656 *) ac_try_echo=$ac_try;;
38658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38659 (eval "$ac_link") 2>conftest.er1
38661 grep -v '^ *+' conftest.er1 >conftest.err
38663 cat conftest.err >&5
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); } && {
38666 test -z "$ac_c_werror_flag" ||
38667 test ! -s conftest.err
38668 } && test -s conftest$ac_exeext &&
38669 $as_test_x conftest$ac_exeext; then
38670 eval "$as_ac_var=yes"
38672 echo "$as_me: failed program was:" >&5
38673 sed 's/^/| /' conftest.$ac_ext >&5
38675 eval "$as_ac_var=no"
38678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38679 conftest$ac_exeext conftest.$ac_ext
38681 ac_res=`eval echo '${'$as_ac_var'}'`
38682 { echo "$as_me:$LINENO: result: $ac_res" >&5
38683 echo "${ECHO_T}$ac_res" >&6; }
38684 if test `eval echo '${'$as_ac_var'}'` = yes; then
38685 cat >>confdefs.h <<_ACEOF
38686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38688 cat >>confdefs.h <<\_ACEOF
38689 #define HAVE_NANOSLEEP 1
38694 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38695 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38696 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38697 echo $ECHO_N "(cached) $ECHO_C" >&6
38699 ac_check_lib_save_LIBS=$LIBS
38700 LIBS="-lposix4 $LIBS"
38701 cat >conftest.$ac_ext <<_ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38708 /* Override any GCC internal prototype to avoid an error.
38709 Use char because int might match the return type of a GCC
38710 builtin and then its argument prototype would still apply. */
38718 return nanosleep ();
38723 rm -f conftest.$ac_objext conftest$ac_exeext
38724 if { (ac_try="$ac_link"
38725 case "(($ac_try" in
38726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38727 *) ac_try_echo=$ac_try;;
38729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38730 (eval "$ac_link") 2>conftest.er1
38732 grep -v '^ *+' conftest.er1 >conftest.err
38734 cat conftest.err >&5
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); } && {
38737 test -z "$ac_c_werror_flag" ||
38738 test ! -s conftest.err
38739 } && test -s conftest$ac_exeext &&
38740 $as_test_x conftest$ac_exeext; then
38741 ac_cv_lib_posix4_nanosleep=yes
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38746 ac_cv_lib_posix4_nanosleep=no
38749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38750 conftest$ac_exeext conftest.$ac_ext
38751 LIBS=$ac_check_lib_save_LIBS
38753 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38754 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38755 if test $ac_cv_lib_posix4_nanosleep = yes; then
38757 cat >>confdefs.h <<\_ACEOF
38758 #define HAVE_NANOSLEEP 1
38761 POSIX4_LINK=" -lposix4"
38766 for wx_func in usleep
38768 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38769 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38770 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 cat >conftest.$ac_ext <<_ACEOF
38778 cat confdefs.h >>conftest.$ac_ext
38779 cat >>conftest.$ac_ext <<_ACEOF
38780 /* end confdefs.h. */
38783 $ac_includes_default
38799 rm -f conftest.$ac_objext conftest$ac_exeext
38800 if { (ac_try="$ac_link"
38801 case "(($ac_try" in
38802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38803 *) ac_try_echo=$ac_try;;
38805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38806 (eval "$ac_link") 2>conftest.er1
38808 grep -v '^ *+' conftest.er1 >conftest.err
38810 cat conftest.err >&5
38811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812 (exit $ac_status); } && {
38813 test -z "$ac_c_werror_flag" ||
38814 test ! -s conftest.err
38815 } && test -s conftest$ac_exeext &&
38816 $as_test_x conftest$ac_exeext; then
38817 eval wx_cv_func_$wx_func=yes
38819 echo "$as_me: failed program was:" >&5
38820 sed 's/^/| /' conftest.$ac_ext >&5
38822 eval wx_cv_func_$wx_func=no
38825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38826 conftest$ac_exeext conftest.$ac_ext
38829 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38830 { echo "$as_me:$LINENO: result: $ac_res" >&5
38831 echo "${ECHO_T}$ac_res" >&6; }
38833 if eval test \$wx_cv_func_$wx_func = yes
38835 cat >>confdefs.h <<_ACEOF
38836 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38842 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38843 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38860 for wx_func in uname
38862 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38863 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38864 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38865 echo $ECHO_N "(cached) $ECHO_C" >&6
38868 cat >conftest.$ac_ext <<_ACEOF
38872 cat confdefs.h >>conftest.$ac_ext
38873 cat >>conftest.$ac_ext <<_ACEOF
38874 /* end confdefs.h. */
38876 #include <sys/utsname.h>
38877 $ac_includes_default
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (ac_try="$ac_link"
38895 case "(($ac_try" in
38896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38897 *) ac_try_echo=$ac_try;;
38899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38900 (eval "$ac_link") 2>conftest.er1
38902 grep -v '^ *+' conftest.er1 >conftest.err
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } && {
38907 test -z "$ac_c_werror_flag" ||
38908 test ! -s conftest.err
38909 } && test -s conftest$ac_exeext &&
38910 $as_test_x conftest$ac_exeext; then
38911 eval wx_cv_func_$wx_func=yes
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38916 eval wx_cv_func_$wx_func=no
38919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38920 conftest$ac_exeext conftest.$ac_ext
38923 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38924 { echo "$as_me:$LINENO: result: $ac_res" >&5
38925 echo "${ECHO_T}$ac_res" >&6; }
38927 if eval test \$wx_cv_func_$wx_func = yes
38929 cat >>confdefs.h <<_ACEOF
38930 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38940 if test "$wx_cv_func_uname" != yes; then
38942 for wx_func in gethostname
38944 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38945 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38946 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38947 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 cat >conftest.$ac_ext <<_ACEOF
38954 cat confdefs.h >>conftest.$ac_ext
38955 cat >>conftest.$ac_ext <<_ACEOF
38956 /* end confdefs.h. */
38959 $ac_includes_default
38975 rm -f conftest.$ac_objext conftest$ac_exeext
38976 if { (ac_try="$ac_link"
38977 case "(($ac_try" in
38978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38979 *) ac_try_echo=$ac_try;;
38981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38982 (eval "$ac_link") 2>conftest.er1
38984 grep -v '^ *+' conftest.er1 >conftest.err
38986 cat conftest.err >&5
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); } && {
38989 test -z "$ac_c_werror_flag" ||
38990 test ! -s conftest.err
38991 } && test -s conftest$ac_exeext &&
38992 $as_test_x conftest$ac_exeext; then
38993 eval wx_cv_func_$wx_func=yes
38995 echo "$as_me: failed program was:" >&5
38996 sed 's/^/| /' conftest.$ac_ext >&5
38998 eval wx_cv_func_$wx_func=no
39001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39002 conftest$ac_exeext conftest.$ac_ext
39005 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39006 { echo "$as_me:$LINENO: result: $ac_res" >&5
39007 echo "${ECHO_T}$ac_res" >&6; }
39009 if eval test \$wx_cv_func_$wx_func = yes
39011 cat >>confdefs.h <<_ACEOF
39012 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39025 for wx_func in strtok_r
39027 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39028 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39029 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39030 echo $ECHO_N "(cached) $ECHO_C" >&6
39033 cat >conftest.$ac_ext <<_ACEOF
39037 cat confdefs.h >>conftest.$ac_ext
39038 cat >>conftest.$ac_ext <<_ACEOF
39039 /* end confdefs.h. */
39042 $ac_includes_default
39058 rm -f conftest.$ac_objext conftest$ac_exeext
39059 if { (ac_try="$ac_link"
39060 case "(($ac_try" in
39061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39062 *) ac_try_echo=$ac_try;;
39064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39065 (eval "$ac_link") 2>conftest.er1
39067 grep -v '^ *+' conftest.er1 >conftest.err
39069 cat conftest.err >&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); } && {
39072 test -z "$ac_c_werror_flag" ||
39073 test ! -s conftest.err
39074 } && test -s conftest$ac_exeext &&
39075 $as_test_x conftest$ac_exeext; then
39076 eval wx_cv_func_$wx_func=yes
39078 echo "$as_me: failed program was:" >&5
39079 sed 's/^/| /' conftest.$ac_ext >&5
39081 eval wx_cv_func_$wx_func=no
39084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39085 conftest$ac_exeext conftest.$ac_ext
39088 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39089 { echo "$as_me:$LINENO: result: $ac_res" >&5
39090 echo "${ECHO_T}$ac_res" >&6; }
39092 if eval test \$wx_cv_func_$wx_func = yes
39094 cat >>confdefs.h <<_ACEOF
39095 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39108 for ac_func in inet_addr
39110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39116 cat >conftest.$ac_ext <<_ACEOF
39119 cat confdefs.h >>conftest.$ac_ext
39120 cat >>conftest.$ac_ext <<_ACEOF
39121 /* end confdefs.h. */
39122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39124 #define $ac_func innocuous_$ac_func
39126 /* System header to define __stub macros and hopefully few prototypes,
39127 which can conflict with char $ac_func (); below.
39128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39129 <limits.h> exists even on freestanding compilers. */
39132 # include <limits.h>
39134 # include <assert.h>
39139 /* Override any GCC internal prototype to avoid an error.
39140 Use char because int might match the return type of a GCC
39141 builtin and then its argument prototype would still apply. */
39146 /* The GNU C library defines this for functions which it implements
39147 to always fail with ENOSYS. Some functions are actually named
39148 something starting with __ and the normal name is an alias. */
39149 #if defined __stub_$ac_func || defined __stub___$ac_func
39156 return $ac_func ();
39161 rm -f conftest.$ac_objext conftest$ac_exeext
39162 if { (ac_try="$ac_link"
39163 case "(($ac_try" in
39164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39165 *) ac_try_echo=$ac_try;;
39167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39168 (eval "$ac_link") 2>conftest.er1
39170 grep -v '^ *+' conftest.er1 >conftest.err
39172 cat conftest.err >&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } && {
39175 test -z "$ac_c_werror_flag" ||
39176 test ! -s conftest.err
39177 } && test -s conftest$ac_exeext &&
39178 $as_test_x conftest$ac_exeext; then
39179 eval "$as_ac_var=yes"
39181 echo "$as_me: failed program was:" >&5
39182 sed 's/^/| /' conftest.$ac_ext >&5
39184 eval "$as_ac_var=no"
39187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39188 conftest$ac_exeext conftest.$ac_ext
39190 ac_res=`eval echo '${'$as_ac_var'}'`
39191 { echo "$as_me:$LINENO: result: $ac_res" >&5
39192 echo "${ECHO_T}$ac_res" >&6; }
39193 if test `eval echo '${'$as_ac_var'}'` = yes; then
39194 cat >>confdefs.h <<_ACEOF
39195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39197 cat >>confdefs.h <<\_ACEOF
39198 #define HAVE_INET_ADDR 1
39203 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39204 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39205 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 ac_check_lib_save_LIBS=$LIBS
39210 cat >conftest.$ac_ext <<_ACEOF
39213 cat confdefs.h >>conftest.$ac_ext
39214 cat >>conftest.$ac_ext <<_ACEOF
39215 /* end confdefs.h. */
39217 /* Override any GCC internal prototype to avoid an error.
39218 Use char because int might match the return type of a GCC
39219 builtin and then its argument prototype would still apply. */
39227 return inet_addr ();
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (ac_try="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39241 grep -v '^ *+' conftest.er1 >conftest.err
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest$ac_exeext &&
39249 $as_test_x conftest$ac_exeext; then
39250 ac_cv_lib_nsl_inet_addr=yes
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39255 ac_cv_lib_nsl_inet_addr=no
39258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39259 conftest$ac_exeext conftest.$ac_ext
39260 LIBS=$ac_check_lib_save_LIBS
39262 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39263 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39264 if test $ac_cv_lib_nsl_inet_addr = yes; then
39268 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39269 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39270 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 ac_check_lib_save_LIBS=$LIBS
39274 LIBS="-lresolv $LIBS"
39275 cat >conftest.$ac_ext <<_ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39282 /* Override any GCC internal prototype to avoid an error.
39283 Use char because int might match the return type of a GCC
39284 builtin and then its argument prototype would still apply. */
39292 return inet_addr ();
39297 rm -f conftest.$ac_objext conftest$ac_exeext
39298 if { (ac_try="$ac_link"
39299 case "(($ac_try" in
39300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39301 *) ac_try_echo=$ac_try;;
39303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39304 (eval "$ac_link") 2>conftest.er1
39306 grep -v '^ *+' conftest.er1 >conftest.err
39308 cat conftest.err >&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); } && {
39311 test -z "$ac_c_werror_flag" ||
39312 test ! -s conftest.err
39313 } && test -s conftest$ac_exeext &&
39314 $as_test_x conftest$ac_exeext; then
39315 ac_cv_lib_resolv_inet_addr=yes
39317 echo "$as_me: failed program was:" >&5
39318 sed 's/^/| /' conftest.$ac_ext >&5
39320 ac_cv_lib_resolv_inet_addr=no
39323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39324 conftest$ac_exeext conftest.$ac_ext
39325 LIBS=$ac_check_lib_save_LIBS
39327 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39328 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39329 if test $ac_cv_lib_resolv_inet_addr = yes; then
39333 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39334 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39335 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39336 echo $ECHO_N "(cached) $ECHO_C" >&6
39338 ac_check_lib_save_LIBS=$LIBS
39339 LIBS="-lsocket $LIBS"
39340 cat >conftest.$ac_ext <<_ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39347 /* Override any GCC internal prototype to avoid an error.
39348 Use char because int might match the return type of a GCC
39349 builtin and then its argument prototype would still apply. */
39357 return inet_addr ();
39362 rm -f conftest.$ac_objext conftest$ac_exeext
39363 if { (ac_try="$ac_link"
39364 case "(($ac_try" in
39365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39366 *) ac_try_echo=$ac_try;;
39368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39369 (eval "$ac_link") 2>conftest.er1
39371 grep -v '^ *+' conftest.er1 >conftest.err
39373 cat conftest.err >&5
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); } && {
39376 test -z "$ac_c_werror_flag" ||
39377 test ! -s conftest.err
39378 } && test -s conftest$ac_exeext &&
39379 $as_test_x conftest$ac_exeext; then
39380 ac_cv_lib_socket_inet_addr=yes
39382 echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39385 ac_cv_lib_socket_inet_addr=no
39388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39389 conftest$ac_exeext conftest.$ac_ext
39390 LIBS=$ac_check_lib_save_LIBS
39392 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39393 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39394 if test $ac_cv_lib_socket_inet_addr = yes; then
39414 for ac_func in inet_aton
39416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39420 echo $ECHO_N "(cached) $ECHO_C" >&6
39422 cat >conftest.$ac_ext <<_ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39430 #define $ac_func innocuous_$ac_func
39432 /* System header to define __stub macros and hopefully few prototypes,
39433 which can conflict with char $ac_func (); below.
39434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39435 <limits.h> exists even on freestanding compilers. */
39438 # include <limits.h>
39440 # include <assert.h>
39445 /* Override any GCC internal prototype to avoid an error.
39446 Use char because int might match the return type of a GCC
39447 builtin and then its argument prototype would still apply. */
39452 /* The GNU C library defines this for functions which it implements
39453 to always fail with ENOSYS. Some functions are actually named
39454 something starting with __ and the normal name is an alias. */
39455 #if defined __stub_$ac_func || defined __stub___$ac_func
39462 return $ac_func ();
39467 rm -f conftest.$ac_objext conftest$ac_exeext
39468 if { (ac_try="$ac_link"
39469 case "(($ac_try" in
39470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39471 *) ac_try_echo=$ac_try;;
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_link") 2>conftest.er1
39476 grep -v '^ *+' conftest.er1 >conftest.err
39478 cat conftest.err >&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } && {
39481 test -z "$ac_c_werror_flag" ||
39482 test ! -s conftest.err
39483 } && test -s conftest$ac_exeext &&
39484 $as_test_x conftest$ac_exeext; then
39485 eval "$as_ac_var=yes"
39487 echo "$as_me: failed program was:" >&5
39488 sed 's/^/| /' conftest.$ac_ext >&5
39490 eval "$as_ac_var=no"
39493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39494 conftest$ac_exeext conftest.$ac_ext
39496 ac_res=`eval echo '${'$as_ac_var'}'`
39497 { echo "$as_me:$LINENO: result: $ac_res" >&5
39498 echo "${ECHO_T}$ac_res" >&6; }
39499 if test `eval echo '${'$as_ac_var'}'` = yes; then
39500 cat >>confdefs.h <<_ACEOF
39501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39503 cat >>confdefs.h <<\_ACEOF
39504 #define HAVE_INET_ATON 1
39509 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39510 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39511 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39512 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39513 echo $ECHO_N "(cached) $ECHO_C" >&6
39515 ac_check_lib_save_LIBS=$LIBS
39516 LIBS="-l$INET_LINK $LIBS"
39517 cat >conftest.$ac_ext <<_ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39524 /* Override any GCC internal prototype to avoid an error.
39525 Use char because int might match the return type of a GCC
39526 builtin and then its argument prototype would still apply. */
39534 return inet_aton ();
39539 rm -f conftest.$ac_objext conftest$ac_exeext
39540 if { (ac_try="$ac_link"
39541 case "(($ac_try" in
39542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39543 *) ac_try_echo=$ac_try;;
39545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39546 (eval "$ac_link") 2>conftest.er1
39548 grep -v '^ *+' conftest.er1 >conftest.err
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } && {
39553 test -z "$ac_c_werror_flag" ||
39554 test ! -s conftest.err
39555 } && test -s conftest$ac_exeext &&
39556 $as_test_x conftest$ac_exeext; then
39557 eval "$as_ac_Lib=yes"
39559 echo "$as_me: failed program was:" >&5
39560 sed 's/^/| /' conftest.$ac_ext >&5
39562 eval "$as_ac_Lib=no"
39565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39566 conftest$ac_exeext conftest.$ac_ext
39567 LIBS=$ac_check_lib_save_LIBS
39569 ac_res=`eval echo '${'$as_ac_Lib'}'`
39570 { echo "$as_me:$LINENO: result: $ac_res" >&5
39571 echo "${ECHO_T}$ac_res" >&6; }
39572 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39573 cat >>confdefs.h <<\_ACEOF
39574 #define HAVE_INET_ATON 1
39584 if test "x$INET_LINK" != "x"; then
39585 cat >>confdefs.h <<\_ACEOF
39586 #define HAVE_INET_ADDR 1
39589 INET_LINK=" -l$INET_LINK"
39593 for wx_func in fdopen
39595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39597 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39598 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 cat >conftest.$ac_ext <<_ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39610 $ac_includes_default
39626 rm -f conftest.$ac_objext conftest$ac_exeext
39627 if { (ac_try="$ac_link"
39628 case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_link") 2>conftest.er1
39635 grep -v '^ *+' conftest.er1 >conftest.err
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } && {
39640 test -z "$ac_c_werror_flag" ||
39641 test ! -s conftest.err
39642 } && test -s conftest$ac_exeext &&
39643 $as_test_x conftest$ac_exeext; then
39644 eval wx_cv_func_$wx_func=yes
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39649 eval wx_cv_func_$wx_func=no
39652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39653 conftest$ac_exeext conftest.$ac_ext
39656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39657 { echo "$as_me:$LINENO: result: $ac_res" >&5
39658 echo "${ECHO_T}$ac_res" >&6; }
39660 if eval test \$wx_cv_func_$wx_func = yes
39662 cat >>confdefs.h <<_ACEOF
39663 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39674 if test "$wxUSE_TARSTREAM" = "yes"; then
39676 for wx_func in sysconf
39678 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39679 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39680 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 cat >conftest.$ac_ext <<_ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39693 $ac_includes_default
39709 rm -f conftest.$ac_objext conftest$ac_exeext
39710 if { (ac_try="$ac_link"
39711 case "(($ac_try" in
39712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39713 *) ac_try_echo=$ac_try;;
39715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39716 (eval "$ac_link") 2>conftest.er1
39718 grep -v '^ *+' conftest.er1 >conftest.err
39720 cat conftest.err >&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } && {
39723 test -z "$ac_c_werror_flag" ||
39724 test ! -s conftest.err
39725 } && test -s conftest$ac_exeext &&
39726 $as_test_x conftest$ac_exeext; then
39727 eval wx_cv_func_$wx_func=yes
39729 echo "$as_me: failed program was:" >&5
39730 sed 's/^/| /' conftest.$ac_ext >&5
39732 eval wx_cv_func_$wx_func=no
39735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39736 conftest$ac_exeext conftest.$ac_ext
39739 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39740 { echo "$as_me:$LINENO: result: $ac_res" >&5
39741 echo "${ECHO_T}$ac_res" >&6; }
39743 if eval test \$wx_cv_func_$wx_func = yes
39745 cat >>confdefs.h <<_ACEOF
39746 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39758 for wx_func in getpwuid_r
39760 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39762 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39766 cat >conftest.$ac_ext <<_ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39778 $ac_includes_default
39788 struct passwd pw, *ppw;
39790 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39798 rm -f conftest.$ac_objext conftest$ac_exeext
39799 if { (ac_try="$ac_link"
39800 case "(($ac_try" in
39801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39802 *) ac_try_echo=$ac_try;;
39804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39805 (eval "$ac_link") 2>conftest.er1
39807 grep -v '^ *+' conftest.er1 >conftest.err
39809 cat conftest.err >&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } && {
39812 test -z "$ac_c_werror_flag" ||
39813 test ! -s conftest.err
39814 } && test -s conftest$ac_exeext &&
39815 $as_test_x conftest$ac_exeext; then
39816 eval wx_cv_func_$wx_func=yes
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.$ac_ext >&5
39821 eval wx_cv_func_$wx_func=no
39824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39825 conftest$ac_exeext conftest.$ac_ext
39828 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39829 { echo "$as_me:$LINENO: result: $ac_res" >&5
39830 echo "${ECHO_T}$ac_res" >&6; }
39832 if eval test \$wx_cv_func_$wx_func = yes
39834 cat >>confdefs.h <<_ACEOF
39835 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39847 for wx_func in getgrgid_r
39849 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39850 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39851 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39852 echo $ECHO_N "(cached) $ECHO_C" >&6
39855 cat >conftest.$ac_ext <<_ACEOF
39859 cat confdefs.h >>conftest.$ac_ext
39860 cat >>conftest.$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39867 $ac_includes_default
39877 struct group grp, *pgrp;
39879 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39887 rm -f conftest.$ac_objext conftest$ac_exeext
39888 if { (ac_try="$ac_link"
39889 case "(($ac_try" in
39890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39891 *) ac_try_echo=$ac_try;;
39893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39894 (eval "$ac_link") 2>conftest.er1
39896 grep -v '^ *+' conftest.er1 >conftest.err
39898 cat conftest.err >&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } && {
39901 test -z "$ac_c_werror_flag" ||
39902 test ! -s conftest.err
39903 } && test -s conftest$ac_exeext &&
39904 $as_test_x conftest$ac_exeext; then
39905 eval wx_cv_func_$wx_func=yes
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.$ac_ext >&5
39910 eval wx_cv_func_$wx_func=no
39913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39914 conftest$ac_exeext conftest.$ac_ext
39917 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39918 { echo "$as_me:$LINENO: result: $ac_res" >&5
39919 echo "${ECHO_T}$ac_res" >&6; }
39921 if eval test \$wx_cv_func_$wx_func = yes
39923 cat >>confdefs.h <<_ACEOF
39924 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39940 cat >confcache <<\_ACEOF
39941 # This file is a shell script that caches the results of configure
39942 # tests run on this system so they can be shared between configure
39943 # scripts and configure runs, see configure's option --config-cache.
39944 # It is not useful on other systems. If it contains results you don't
39945 # want to keep, you may remove or edit it.
39947 # config.status only pays attention to the cache file if you give it
39948 # the --recheck option to rerun configure.
39950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39952 # following values.
39956 # The following way of writing the cache mishandles newlines in values,
39957 # but we know of no workaround that is simple, portable, and efficient.
39958 # So, we kill variables containing newlines.
39959 # Ultrix sh set writes to stderr and can't be redirected directly,
39960 # and sets the high bit in the cache file unless we assign to the vars.
39962 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39963 eval ac_val=\$$ac_var
39967 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39968 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39971 _ | IFS | as_nl) ;; #(
39972 *) $as_unset $ac_var ;;
39978 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39979 *${as_nl}ac_space=\ *)
39980 # `set' does not quote correctly, so add quotes (double-quote
39981 # substitution turns \\\\ into \\, and sed turns \\ into \).
39984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39987 # `set' quotes correctly as required by POSIX, so do not add quotes.
39988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39999 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40001 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40002 if test -w "$cache_file"; then
40003 test "x$cache_file" != "x/dev/null" &&
40004 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40005 echo "$as_me: updating cache $cache_file" >&6;}
40006 cat confcache >$cache_file
40008 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40009 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40015 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40021 if test "$wxUSE_THREADS" = "yes" ; then
40022 if test "$USE_BEOS" = 1; then
40023 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40024 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40029 if test "$wxUSE_THREADS" = "yes" ; then
40032 THREAD_OPTS="-pthread"
40033 if test "x$SUNCXX" = xyes; then
40034 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40038 *-*-solaris2* | *-*-sunos4* )
40039 if test "x$GCC" = "xyes"; then
40040 THREAD_OPTS="-pthreads $THREAD_OPTS"
40044 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40046 *-*-darwin* | *-*-cygwin* )
40050 THREAD_OPTS="pthreads"
40053 if test "x$GCC" = "xyes"; then
40054 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40062 if test "x$GCC" = "xyes"; then
40072 if test "x$GCC" != "xyes"; then
40073 THREAD_OPTS="-Ethread"
40080 THREAD_OPTS="none pthread"
40084 THREAD_OPTS="$THREAD_OPTS pthread none"
40089 for flag in $THREAD_OPTS; do
40092 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40093 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40097 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40098 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40099 THREADS_CFLAGS="$flag"
40103 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40104 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40105 THREADS_LINK="-l$flag"
40110 save_CFLAGS="$CFLAGS"
40111 LIBS="$THREADS_LINK $LIBS"
40112 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40114 cat >conftest.$ac_ext <<_ACEOF
40117 cat confdefs.h >>conftest.$ac_ext
40118 cat >>conftest.$ac_ext <<_ACEOF
40119 /* end confdefs.h. */
40120 #include <pthread.h>
40124 pthread_create(0,0,0,0);
40129 rm -f conftest.$ac_objext conftest$ac_exeext
40130 if { (ac_try="$ac_link"
40131 case "(($ac_try" in
40132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40133 *) ac_try_echo=$ac_try;;
40135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40136 (eval "$ac_link") 2>conftest.er1
40138 grep -v '^ *+' conftest.er1 >conftest.err
40140 cat conftest.err >&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } && {
40143 test -z "$ac_c_werror_flag" ||
40144 test ! -s conftest.err
40145 } && test -s conftest$ac_exeext &&
40146 $as_test_x conftest$ac_exeext; then
40149 echo "$as_me: failed program was:" >&5
40150 sed 's/^/| /' conftest.$ac_ext >&5
40155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40156 conftest$ac_exeext conftest.$ac_ext
40159 CFLAGS="$save_CFLAGS"
40161 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40162 echo "${ECHO_T}$THREADS_OK" >&6; }
40163 if test "x$THREADS_OK" = "xyes"; then
40171 if test "x$THREADS_OK" != "xyes"; then
40173 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40174 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40176 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40177 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40178 LIBS="$THREADS_LINK $LIBS"
40180 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40181 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40185 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40186 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40187 flag="-D_THREAD_SAFE"
40190 flag="-D_THREAD_SAFE"
40193 flag="-D_REENTRANT"
40194 if test "x$GCC" != "xyes"; then
40195 flag="$flag -D_RWSTD_MULTI_THREAD"
40198 *solaris* | alpha*-osf*)
40199 flag="-D_REENTRANT"
40202 { echo "$as_me:$LINENO: result: ${flag}" >&5
40203 echo "${ECHO_T}${flag}" >&6; }
40204 if test "x$flag" != xno; then
40205 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40208 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40212 if test "$wxUSE_THREADS" = "yes" ; then
40214 for ac_func in thr_setconcurrency
40216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40220 echo $ECHO_N "(cached) $ECHO_C" >&6
40222 cat >conftest.$ac_ext <<_ACEOF
40225 cat confdefs.h >>conftest.$ac_ext
40226 cat >>conftest.$ac_ext <<_ACEOF
40227 /* end confdefs.h. */
40228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40230 #define $ac_func innocuous_$ac_func
40232 /* System header to define __stub macros and hopefully few prototypes,
40233 which can conflict with char $ac_func (); below.
40234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40235 <limits.h> exists even on freestanding compilers. */
40238 # include <limits.h>
40240 # include <assert.h>
40245 /* Override any GCC internal prototype to avoid an error.
40246 Use char because int might match the return type of a GCC
40247 builtin and then its argument prototype would still apply. */
40252 /* The GNU C library defines this for functions which it implements
40253 to always fail with ENOSYS. Some functions are actually named
40254 something starting with __ and the normal name is an alias. */
40255 #if defined __stub_$ac_func || defined __stub___$ac_func
40262 return $ac_func ();
40267 rm -f conftest.$ac_objext conftest$ac_exeext
40268 if { (ac_try="$ac_link"
40269 case "(($ac_try" in
40270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40271 *) ac_try_echo=$ac_try;;
40273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40274 (eval "$ac_link") 2>conftest.er1
40276 grep -v '^ *+' conftest.er1 >conftest.err
40278 cat conftest.err >&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } && {
40281 test -z "$ac_c_werror_flag" ||
40282 test ! -s conftest.err
40283 } && test -s conftest$ac_exeext &&
40284 $as_test_x conftest$ac_exeext; then
40285 eval "$as_ac_var=yes"
40287 echo "$as_me: failed program was:" >&5
40288 sed 's/^/| /' conftest.$ac_ext >&5
40290 eval "$as_ac_var=no"
40293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40294 conftest$ac_exeext conftest.$ac_ext
40296 ac_res=`eval echo '${'$as_ac_var'}'`
40297 { echo "$as_me:$LINENO: result: $ac_res" >&5
40298 echo "${ECHO_T}$ac_res" >&6; }
40299 if test `eval echo '${'$as_ac_var'}'` = yes; then
40300 cat >>confdefs.h <<_ACEOF
40301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40308 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40309 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40310 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40311 echo $ECHO_N "(cached) $ECHO_C" >&6
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320 cat >conftest.$ac_ext <<_ACEOF
40323 cat confdefs.h >>conftest.$ac_ext
40324 cat >>conftest.$ac_ext <<_ACEOF
40325 /* end confdefs.h. */
40326 #include <pthread.h>
40327 void ThreadCleanupFunc(void *p);
40334 pthread_cleanup_push(ThreadCleanupFunc, p);
40335 pthread_cleanup_pop(0);
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_cxx_werror_flag" ||
40356 test ! -s conftest.err
40357 } && test -s conftest.$ac_objext; then
40359 wx_cv_func_pthread_cleanup=yes
40362 echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40366 wx_cv_func_pthread_cleanup=no
40371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40373 ac_cpp='$CPP $CPPFLAGS'
40374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40380 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40381 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40382 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40383 cat >>confdefs.h <<\_ACEOF
40384 #define wxHAVE_PTHREAD_CLEANUP 1
40390 for ac_header in sched.h
40392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40393 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40396 echo $ECHO_N "(cached) $ECHO_C" >&6
40398 cat >conftest.$ac_ext <<_ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40404 $ac_includes_default
40406 #include <$ac_header>
40408 rm -f conftest.$ac_objext
40409 if { (ac_try="$ac_compile"
40410 case "(($ac_try" in
40411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40412 *) ac_try_echo=$ac_try;;
40414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40415 (eval "$ac_compile") 2>conftest.er1
40417 grep -v '^ *+' conftest.er1 >conftest.err
40419 cat conftest.err >&5
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); } && {
40422 test -z "$ac_c_werror_flag" ||
40423 test ! -s conftest.err
40424 } && test -s conftest.$ac_objext; then
40425 eval "$as_ac_Header=yes"
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.$ac_ext >&5
40430 eval "$as_ac_Header=no"
40433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40435 ac_res=`eval echo '${'$as_ac_Header'}'`
40436 { echo "$as_me:$LINENO: result: $ac_res" >&5
40437 echo "${ECHO_T}$ac_res" >&6; }
40438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40439 cat >>confdefs.h <<_ACEOF
40440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40447 if test "$ac_cv_header_sched_h" = "yes"; then
40448 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40449 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40450 if test "${ac_cv_func_sched_yield+set}" = set; then
40451 echo $ECHO_N "(cached) $ECHO_C" >&6
40453 cat >conftest.$ac_ext <<_ACEOF
40456 cat confdefs.h >>conftest.$ac_ext
40457 cat >>conftest.$ac_ext <<_ACEOF
40458 /* end confdefs.h. */
40459 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40461 #define sched_yield innocuous_sched_yield
40463 /* System header to define __stub macros and hopefully few prototypes,
40464 which can conflict with char sched_yield (); below.
40465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40466 <limits.h> exists even on freestanding compilers. */
40469 # include <limits.h>
40471 # include <assert.h>
40476 /* Override any GCC internal prototype to avoid an error.
40477 Use char because int might match the return type of a GCC
40478 builtin and then its argument prototype would still apply. */
40482 char sched_yield ();
40483 /* The GNU C library defines this for functions which it implements
40484 to always fail with ENOSYS. Some functions are actually named
40485 something starting with __ and the normal name is an alias. */
40486 #if defined __stub_sched_yield || defined __stub___sched_yield
40493 return sched_yield ();
40498 rm -f conftest.$ac_objext conftest$ac_exeext
40499 if { (ac_try="$ac_link"
40500 case "(($ac_try" in
40501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40502 *) ac_try_echo=$ac_try;;
40504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40505 (eval "$ac_link") 2>conftest.er1
40507 grep -v '^ *+' conftest.er1 >conftest.err
40509 cat conftest.err >&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); } && {
40512 test -z "$ac_c_werror_flag" ||
40513 test ! -s conftest.err
40514 } && test -s conftest$ac_exeext &&
40515 $as_test_x conftest$ac_exeext; then
40516 ac_cv_func_sched_yield=yes
40518 echo "$as_me: failed program was:" >&5
40519 sed 's/^/| /' conftest.$ac_ext >&5
40521 ac_cv_func_sched_yield=no
40524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40525 conftest$ac_exeext conftest.$ac_ext
40527 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40528 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40529 if test $ac_cv_func_sched_yield = yes; then
40530 cat >>confdefs.h <<\_ACEOF
40531 #define HAVE_SCHED_YIELD 1
40536 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40537 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40538 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40539 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 ac_check_lib_save_LIBS=$LIBS
40542 LIBS="-lposix4 $LIBS"
40543 cat >conftest.$ac_ext <<_ACEOF
40546 cat confdefs.h >>conftest.$ac_ext
40547 cat >>conftest.$ac_ext <<_ACEOF
40548 /* end confdefs.h. */
40550 /* Override any GCC internal prototype to avoid an error.
40551 Use char because int might match the return type of a GCC
40552 builtin and then its argument prototype would still apply. */
40556 char sched_yield ();
40560 return sched_yield ();
40565 rm -f conftest.$ac_objext conftest$ac_exeext
40566 if { (ac_try="$ac_link"
40567 case "(($ac_try" in
40568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40569 *) ac_try_echo=$ac_try;;
40571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40572 (eval "$ac_link") 2>conftest.er1
40574 grep -v '^ *+' conftest.er1 >conftest.err
40576 cat conftest.err >&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); } && {
40579 test -z "$ac_c_werror_flag" ||
40580 test ! -s conftest.err
40581 } && test -s conftest$ac_exeext &&
40582 $as_test_x conftest$ac_exeext; then
40583 ac_cv_lib_posix4_sched_yield=yes
40585 echo "$as_me: failed program was:" >&5
40586 sed 's/^/| /' conftest.$ac_ext >&5
40588 ac_cv_lib_posix4_sched_yield=no
40591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40592 conftest$ac_exeext conftest.$ac_ext
40593 LIBS=$ac_check_lib_save_LIBS
40595 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40596 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40597 if test $ac_cv_lib_posix4_sched_yield = yes; then
40598 cat >>confdefs.h <<\_ACEOF
40599 #define HAVE_SCHED_YIELD 1
40601 POSIX4_LINK=" -lposix4"
40603 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40604 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40615 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40616 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40617 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40618 echo $ECHO_N "(cached) $ECHO_C" >&6
40620 cat >conftest.$ac_ext <<_ACEOF
40623 cat confdefs.h >>conftest.$ac_ext
40624 cat >>conftest.$ac_ext <<_ACEOF
40625 /* end confdefs.h. */
40626 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40628 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40630 /* System header to define __stub macros and hopefully few prototypes,
40631 which can conflict with char pthread_attr_getschedpolicy (); below.
40632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40633 <limits.h> exists even on freestanding compilers. */
40636 # include <limits.h>
40638 # include <assert.h>
40641 #undef pthread_attr_getschedpolicy
40643 /* Override any GCC internal prototype to avoid an error.
40644 Use char because int might match the return type of a GCC
40645 builtin and then its argument prototype would still apply. */
40649 char pthread_attr_getschedpolicy ();
40650 /* The GNU C library defines this for functions which it implements
40651 to always fail with ENOSYS. Some functions are actually named
40652 something starting with __ and the normal name is an alias. */
40653 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40660 return pthread_attr_getschedpolicy ();
40665 rm -f conftest.$ac_objext conftest$ac_exeext
40666 if { (ac_try="$ac_link"
40667 case "(($ac_try" in
40668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40669 *) ac_try_echo=$ac_try;;
40671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40672 (eval "$ac_link") 2>conftest.er1
40674 grep -v '^ *+' conftest.er1 >conftest.err
40676 cat conftest.err >&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); } && {
40679 test -z "$ac_c_werror_flag" ||
40680 test ! -s conftest.err
40681 } && test -s conftest$ac_exeext &&
40682 $as_test_x conftest$ac_exeext; then
40683 ac_cv_func_pthread_attr_getschedpolicy=yes
40685 echo "$as_me: failed program was:" >&5
40686 sed 's/^/| /' conftest.$ac_ext >&5
40688 ac_cv_func_pthread_attr_getschedpolicy=no
40691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40692 conftest$ac_exeext conftest.$ac_ext
40694 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40695 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40696 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40697 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40698 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40699 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40700 echo $ECHO_N "(cached) $ECHO_C" >&6
40702 cat >conftest.$ac_ext <<_ACEOF
40705 cat confdefs.h >>conftest.$ac_ext
40706 cat >>conftest.$ac_ext <<_ACEOF
40707 /* end confdefs.h. */
40708 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40710 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40712 /* System header to define __stub macros and hopefully few prototypes,
40713 which can conflict with char pthread_attr_setschedparam (); below.
40714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40715 <limits.h> exists even on freestanding compilers. */
40718 # include <limits.h>
40720 # include <assert.h>
40723 #undef pthread_attr_setschedparam
40725 /* Override any GCC internal prototype to avoid an error.
40726 Use char because int might match the return type of a GCC
40727 builtin and then its argument prototype would still apply. */
40731 char pthread_attr_setschedparam ();
40732 /* The GNU C library defines this for functions which it implements
40733 to always fail with ENOSYS. Some functions are actually named
40734 something starting with __ and the normal name is an alias. */
40735 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40742 return pthread_attr_setschedparam ();
40747 rm -f conftest.$ac_objext conftest$ac_exeext
40748 if { (ac_try="$ac_link"
40749 case "(($ac_try" in
40750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40751 *) ac_try_echo=$ac_try;;
40753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40754 (eval "$ac_link") 2>conftest.er1
40756 grep -v '^ *+' conftest.er1 >conftest.err
40758 cat conftest.err >&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); } && {
40761 test -z "$ac_c_werror_flag" ||
40762 test ! -s conftest.err
40763 } && test -s conftest$ac_exeext &&
40764 $as_test_x conftest$ac_exeext; then
40765 ac_cv_func_pthread_attr_setschedparam=yes
40767 echo "$as_me: failed program was:" >&5
40768 sed 's/^/| /' conftest.$ac_ext >&5
40770 ac_cv_func_pthread_attr_setschedparam=no
40773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40774 conftest$ac_exeext conftest.$ac_ext
40776 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40777 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40778 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40779 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40780 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40781 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40782 echo $ECHO_N "(cached) $ECHO_C" >&6
40784 cat >conftest.$ac_ext <<_ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40792 #define sched_get_priority_max innocuous_sched_get_priority_max
40794 /* System header to define __stub macros and hopefully few prototypes,
40795 which can conflict with char sched_get_priority_max (); below.
40796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40797 <limits.h> exists even on freestanding compilers. */
40800 # include <limits.h>
40802 # include <assert.h>
40805 #undef sched_get_priority_max
40807 /* Override any GCC internal prototype to avoid an error.
40808 Use char because int might match the return type of a GCC
40809 builtin and then its argument prototype would still apply. */
40813 char sched_get_priority_max ();
40814 /* The GNU C library defines this for functions which it implements
40815 to always fail with ENOSYS. Some functions are actually named
40816 something starting with __ and the normal name is an alias. */
40817 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40824 return sched_get_priority_max ();
40829 rm -f conftest.$ac_objext conftest$ac_exeext
40830 if { (ac_try="$ac_link"
40831 case "(($ac_try" in
40832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40833 *) ac_try_echo=$ac_try;;
40835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40836 (eval "$ac_link") 2>conftest.er1
40838 grep -v '^ *+' conftest.er1 >conftest.err
40840 cat conftest.err >&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); } && {
40843 test -z "$ac_c_werror_flag" ||
40844 test ! -s conftest.err
40845 } && test -s conftest$ac_exeext &&
40846 $as_test_x conftest$ac_exeext; then
40847 ac_cv_func_sched_get_priority_max=yes
40849 echo "$as_me: failed program was:" >&5
40850 sed 's/^/| /' conftest.$ac_ext >&5
40852 ac_cv_func_sched_get_priority_max=no
40855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40856 conftest$ac_exeext conftest.$ac_ext
40858 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40859 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40860 if test $ac_cv_func_sched_get_priority_max = yes; then
40863 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40864 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40865 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40866 echo $ECHO_N "(cached) $ECHO_C" >&6
40868 ac_check_lib_save_LIBS=$LIBS
40869 LIBS="-lposix4 $LIBS"
40870 cat >conftest.$ac_ext <<_ACEOF
40873 cat confdefs.h >>conftest.$ac_ext
40874 cat >>conftest.$ac_ext <<_ACEOF
40875 /* end confdefs.h. */
40877 /* Override any GCC internal prototype to avoid an error.
40878 Use char because int might match the return type of a GCC
40879 builtin and then its argument prototype would still apply. */
40883 char sched_get_priority_max ();
40887 return sched_get_priority_max ();
40892 rm -f conftest.$ac_objext conftest$ac_exeext
40893 if { (ac_try="$ac_link"
40894 case "(($ac_try" in
40895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40896 *) ac_try_echo=$ac_try;;
40898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40899 (eval "$ac_link") 2>conftest.er1
40901 grep -v '^ *+' conftest.er1 >conftest.err
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } && {
40906 test -z "$ac_c_werror_flag" ||
40907 test ! -s conftest.err
40908 } && test -s conftest$ac_exeext &&
40909 $as_test_x conftest$ac_exeext; then
40910 ac_cv_lib_posix4_sched_get_priority_max=yes
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40915 ac_cv_lib_posix4_sched_get_priority_max=no
40918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40919 conftest$ac_exeext conftest.$ac_ext
40920 LIBS=$ac_check_lib_save_LIBS
40922 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40923 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40924 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40927 POSIX4_LINK=" -lposix4"
40941 if test "$HAVE_PRIOR_FUNCS" = 1; then
40942 cat >>confdefs.h <<\_ACEOF
40943 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40947 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40948 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40951 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40952 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40953 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40956 cat >conftest.$ac_ext <<_ACEOF
40959 cat confdefs.h >>conftest.$ac_ext
40960 cat >>conftest.$ac_ext <<_ACEOF
40961 /* end confdefs.h. */
40962 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40964 #define pthread_cancel innocuous_pthread_cancel
40966 /* System header to define __stub macros and hopefully few prototypes,
40967 which can conflict with char pthread_cancel (); below.
40968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40969 <limits.h> exists even on freestanding compilers. */
40972 # include <limits.h>
40974 # include <assert.h>
40977 #undef pthread_cancel
40979 /* Override any GCC internal prototype to avoid an error.
40980 Use char because int might match the return type of a GCC
40981 builtin and then its argument prototype would still apply. */
40985 char pthread_cancel ();
40986 /* The GNU C library defines this for functions which it implements
40987 to always fail with ENOSYS. Some functions are actually named
40988 something starting with __ and the normal name is an alias. */
40989 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40996 return pthread_cancel ();
41001 rm -f conftest.$ac_objext conftest$ac_exeext
41002 if { (ac_try="$ac_link"
41003 case "(($ac_try" in
41004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41005 *) ac_try_echo=$ac_try;;
41007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41008 (eval "$ac_link") 2>conftest.er1
41010 grep -v '^ *+' conftest.er1 >conftest.err
41012 cat conftest.err >&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } && {
41015 test -z "$ac_c_werror_flag" ||
41016 test ! -s conftest.err
41017 } && test -s conftest$ac_exeext &&
41018 $as_test_x conftest$ac_exeext; then
41019 ac_cv_func_pthread_cancel=yes
41021 echo "$as_me: failed program was:" >&5
41022 sed 's/^/| /' conftest.$ac_ext >&5
41024 ac_cv_func_pthread_cancel=no
41027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41028 conftest$ac_exeext conftest.$ac_ext
41030 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41031 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41032 if test $ac_cv_func_pthread_cancel = yes; then
41033 cat >>confdefs.h <<\_ACEOF
41034 #define HAVE_PTHREAD_CANCEL 1
41038 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41039 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41043 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41044 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41045 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41046 echo $ECHO_N "(cached) $ECHO_C" >&6
41048 cat >conftest.$ac_ext <<_ACEOF
41051 cat confdefs.h >>conftest.$ac_ext
41052 cat >>conftest.$ac_ext <<_ACEOF
41053 /* end confdefs.h. */
41054 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41056 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41058 /* System header to define __stub macros and hopefully few prototypes,
41059 which can conflict with char pthread_mutex_timedlock (); below.
41060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41061 <limits.h> exists even on freestanding compilers. */
41064 # include <limits.h>
41066 # include <assert.h>
41069 #undef pthread_mutex_timedlock
41071 /* Override any GCC internal prototype to avoid an error.
41072 Use char because int might match the return type of a GCC
41073 builtin and then its argument prototype would still apply. */
41077 char pthread_mutex_timedlock ();
41078 /* The GNU C library defines this for functions which it implements
41079 to always fail with ENOSYS. Some functions are actually named
41080 something starting with __ and the normal name is an alias. */
41081 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41088 return pthread_mutex_timedlock ();
41093 rm -f conftest.$ac_objext conftest$ac_exeext
41094 if { (ac_try="$ac_link"
41095 case "(($ac_try" in
41096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41097 *) ac_try_echo=$ac_try;;
41099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41100 (eval "$ac_link") 2>conftest.er1
41102 grep -v '^ *+' conftest.er1 >conftest.err
41104 cat conftest.err >&5
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); } && {
41107 test -z "$ac_c_werror_flag" ||
41108 test ! -s conftest.err
41109 } && test -s conftest$ac_exeext &&
41110 $as_test_x conftest$ac_exeext; then
41111 ac_cv_func_pthread_mutex_timedlock=yes
41113 echo "$as_me: failed program was:" >&5
41114 sed 's/^/| /' conftest.$ac_ext >&5
41116 ac_cv_func_pthread_mutex_timedlock=no
41119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41120 conftest$ac_exeext conftest.$ac_ext
41122 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41123 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41124 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41125 cat >>confdefs.h <<\_ACEOF
41126 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41130 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41131 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41135 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41136 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41137 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41138 echo $ECHO_N "(cached) $ECHO_C" >&6
41140 cat >conftest.$ac_ext <<_ACEOF
41143 cat confdefs.h >>conftest.$ac_ext
41144 cat >>conftest.$ac_ext <<_ACEOF
41145 /* end confdefs.h. */
41146 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41148 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41150 /* System header to define __stub macros and hopefully few prototypes,
41151 which can conflict with char pthread_attr_setstacksize (); below.
41152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41153 <limits.h> exists even on freestanding compilers. */
41156 # include <limits.h>
41158 # include <assert.h>
41161 #undef pthread_attr_setstacksize
41163 /* Override any GCC internal prototype to avoid an error.
41164 Use char because int might match the return type of a GCC
41165 builtin and then its argument prototype would still apply. */
41169 char pthread_attr_setstacksize ();
41170 /* The GNU C library defines this for functions which it implements
41171 to always fail with ENOSYS. Some functions are actually named
41172 something starting with __ and the normal name is an alias. */
41173 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41180 return pthread_attr_setstacksize ();
41185 rm -f conftest.$ac_objext conftest$ac_exeext
41186 if { (ac_try="$ac_link"
41187 case "(($ac_try" in
41188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41189 *) ac_try_echo=$ac_try;;
41191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41192 (eval "$ac_link") 2>conftest.er1
41194 grep -v '^ *+' conftest.er1 >conftest.err
41196 cat conftest.err >&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); } && {
41199 test -z "$ac_c_werror_flag" ||
41200 test ! -s conftest.err
41201 } && test -s conftest$ac_exeext &&
41202 $as_test_x conftest$ac_exeext; then
41203 ac_cv_func_pthread_attr_setstacksize=yes
41205 echo "$as_me: failed program was:" >&5
41206 sed 's/^/| /' conftest.$ac_ext >&5
41208 ac_cv_func_pthread_attr_setstacksize=no
41211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41212 conftest$ac_exeext conftest.$ac_ext
41214 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41215 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41216 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41217 cat >>confdefs.h <<\_ACEOF
41218 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41225 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41226 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41227 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41228 echo $ECHO_N "(cached) $ECHO_C" >&6
41231 cat >conftest.$ac_ext <<_ACEOF
41234 cat confdefs.h >>conftest.$ac_ext
41235 cat >>conftest.$ac_ext <<_ACEOF
41236 /* end confdefs.h. */
41237 #include <pthread.h>
41242 pthread_mutexattr_t attr;
41243 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41249 rm -f conftest.$ac_objext
41250 if { (ac_try="$ac_compile"
41251 case "(($ac_try" in
41252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41253 *) ac_try_echo=$ac_try;;
41255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41256 (eval "$ac_compile") 2>conftest.er1
41258 grep -v '^ *+' conftest.er1 >conftest.err
41260 cat conftest.err >&5
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); } && {
41263 test -z "$ac_c_werror_flag" ||
41264 test ! -s conftest.err
41265 } && test -s conftest.$ac_objext; then
41266 wx_cv_type_pthread_mutexattr_t=yes
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41271 wx_cv_type_pthread_mutexattr_t=no
41275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41278 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41279 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41281 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41282 cat >>confdefs.h <<\_ACEOF
41283 #define HAVE_PTHREAD_MUTEXATTR_T 1
41287 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41288 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41289 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41290 echo $ECHO_N "(cached) $ECHO_C" >&6
41293 cat >conftest.$ac_ext <<_ACEOF
41296 cat confdefs.h >>conftest.$ac_ext
41297 cat >>conftest.$ac_ext <<_ACEOF
41298 /* end confdefs.h. */
41299 #include <pthread.h>
41304 pthread_mutexattr_t attr;
41305 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41311 rm -f conftest.$ac_objext
41312 if { (ac_try="$ac_compile"
41313 case "(($ac_try" in
41314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41315 *) ac_try_echo=$ac_try;;
41317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41318 (eval "$ac_compile") 2>conftest.er1
41320 grep -v '^ *+' conftest.er1 >conftest.err
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } && {
41325 test -z "$ac_c_werror_flag" ||
41326 test ! -s conftest.err
41327 } && test -s conftest.$ac_objext; then
41328 wx_cv_func_pthread_mutexattr_settype_decl=yes
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41333 wx_cv_func_pthread_mutexattr_settype_decl=no
41337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41340 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41341 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41342 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41343 cat >>confdefs.h <<\_ACEOF
41344 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41349 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41350 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41351 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41352 echo $ECHO_N "(cached) $ECHO_C" >&6
41355 cat >conftest.$ac_ext <<_ACEOF
41358 cat confdefs.h >>conftest.$ac_ext
41359 cat >>conftest.$ac_ext <<_ACEOF
41360 /* end confdefs.h. */
41361 #include <pthread.h>
41366 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41372 rm -f conftest.$ac_objext
41373 if { (ac_try="$ac_compile"
41374 case "(($ac_try" in
41375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41376 *) ac_try_echo=$ac_try;;
41378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41379 (eval "$ac_compile") 2>conftest.er1
41381 grep -v '^ *+' conftest.er1 >conftest.err
41383 cat conftest.err >&5
41384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385 (exit $ac_status); } && {
41386 test -z "$ac_c_werror_flag" ||
41387 test ! -s conftest.err
41388 } && test -s conftest.$ac_objext; then
41390 wx_cv_type_pthread_rec_mutex_init=yes
41393 echo "$as_me: failed program was:" >&5
41394 sed 's/^/| /' conftest.$ac_ext >&5
41397 wx_cv_type_pthread_rec_mutex_init=no
41402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41405 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41406 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41407 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41413 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41414 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41418 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41419 if test "$USE_NETBSD" = 1; then
41420 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41421 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41422 wxUSE_COMPILER_TLS=no
41424 wxUSE_COMPILER_TLS=yes
41428 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41429 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41430 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41431 if test "${wx_cv_cc___thread+set}" = set; then
41432 echo $ECHO_N "(cached) $ECHO_C" >&6
41435 cat >conftest.$ac_ext <<_ACEOF
41438 cat confdefs.h >>conftest.$ac_ext
41439 cat >>conftest.$ac_ext <<_ACEOF
41440 /* end confdefs.h. */
41441 #include <pthread.h>
41446 static __thread int n = 0;
41447 static __thread int *p = 0;
41453 rm -f conftest.$ac_objext
41454 if { (ac_try="$ac_compile"
41455 case "(($ac_try" in
41456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41457 *) ac_try_echo=$ac_try;;
41459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41460 (eval "$ac_compile") 2>conftest.er1
41462 grep -v '^ *+' conftest.er1 >conftest.err
41464 cat conftest.err >&5
41465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466 (exit $ac_status); } && {
41467 test -z "$ac_c_werror_flag" ||
41468 test ! -s conftest.err
41469 } && test -s conftest.$ac_objext; then
41470 wx_cv_cc___thread=yes
41472 echo "$as_me: failed program was:" >&5
41473 sed 's/^/| /' conftest.$ac_ext >&5
41475 wx_cv_cc___thread=no
41479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41483 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41484 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41486 if test "$wx_cv_cc___thread" = "yes"; then
41492 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41493 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41495 if test "x$GCC" = "xyes" ; then
41497 if test -z "" ; then
41499 ax_gcc_option_test="int main()
41506 ax_gcc_option_test=""
41511 # Dump the test program to file
41512 cat <<EOF > conftest.c
41513 $ax_gcc_option_test
41516 # Dump back the file to the log, useful for debugging purposes
41517 { ac_try='cat conftest.c 1>&5'
41518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41519 (eval $ac_try) 2>&5
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; }
41524 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41526 (eval $ac_try) 2>&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); }; } ; then
41531 { echo "$as_me:$LINENO: result: yes" >&5
41532 echo "${ECHO_T}yes" >&6; }
41534 ax_gcc_version_option=yes
41539 { echo "$as_me:$LINENO: result: no" >&5
41540 echo "${ECHO_T}no" >&6; }
41542 ax_gcc_version_option=no
41550 { echo "$as_me:$LINENO: result: no gcc available" >&5
41551 echo "${ECHO_T}no gcc available" >&6; }
41556 if test "x$GXX" = "xyes"; then
41558 if test "x$ax_gxx_version_option" != "no"; then
41560 { echo "$as_me:$LINENO: checking gxx version" >&5
41561 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41562 if test "${ax_cv_gxx_version+set}" = set; then
41563 echo $ECHO_N "(cached) $ECHO_C" >&6
41566 ax_cv_gxx_version="`$CXX -dumpversion`"
41567 if test "x$ax_cv_gxx_version" = "x"; then
41569 ax_cv_gxx_version=""
41575 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41576 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41577 GXX_VERSION=$ax_cv_gxx_version
41586 if test -n "$ax_cv_gxx_version"; then
41587 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41588 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41589 case "$ax_cv_gxx_version" in
41591 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41592 echo "${ECHO_T}no, it's broken" >&6; }
41593 wx_cv_cc___thread=no
41596 { echo "$as_me:$LINENO: result: yes, it works" >&5
41597 echo "${ECHO_T}yes, it works" >&6; }
41603 if test "$wx_cv_cc___thread" = "yes"; then
41604 cat >>confdefs.h <<\_ACEOF
41605 #define HAVE___THREAD_KEYWORD 1
41613 if test "$wxUSE_THREADS" = "yes" ; then
41615 x86_64-*-mingw32* )
41618 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41619 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41620 if test "${wx_cv_cflags_mthread+set}" = set; then
41621 echo $ECHO_N "(cached) $ECHO_C" >&6
41624 CFLAGS_OLD="$CFLAGS"
41625 CFLAGS="-mthreads $CFLAGS"
41626 cat >conftest.$ac_ext <<_ACEOF
41629 cat confdefs.h >>conftest.$ac_ext
41630 cat >>conftest.$ac_ext <<_ACEOF
41631 /* end confdefs.h. */
41641 rm -f conftest.$ac_objext
41642 if { (ac_try="$ac_compile"
41643 case "(($ac_try" in
41644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41645 *) ac_try_echo=$ac_try;;
41647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41648 (eval "$ac_compile") 2>conftest.er1
41650 grep -v '^ *+' conftest.er1 >conftest.err
41652 cat conftest.err >&5
41653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41654 (exit $ac_status); } && {
41655 test -z "$ac_c_werror_flag" ||
41656 test ! -s conftest.err
41657 } && test -s conftest.$ac_objext; then
41658 wx_cv_cflags_mthread=yes
41660 echo "$as_me: failed program was:" >&5
41661 sed 's/^/| /' conftest.$ac_ext >&5
41663 wx_cv_cflags_mthread=no
41667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41671 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41672 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41674 if test "$wx_cv_cflags_mthread" = "yes"; then
41675 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41676 LDFLAGS="$LDFLAGS -mthreads"
41678 CFLAGS="$CFLAGS_OLD"
41682 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41683 LDFLAGS="$LDFLAGS -Zmt"
41689 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41690 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41691 if test "${ac_cv_func_localtime_r+set}" = set; then
41692 echo $ECHO_N "(cached) $ECHO_C" >&6
41694 cat >conftest.$ac_ext <<_ACEOF
41697 cat confdefs.h >>conftest.$ac_ext
41698 cat >>conftest.$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41702 #define localtime_r innocuous_localtime_r
41704 /* System header to define __stub macros and hopefully few prototypes,
41705 which can conflict with char localtime_r (); below.
41706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41707 <limits.h> exists even on freestanding compilers. */
41710 # include <limits.h>
41712 # include <assert.h>
41717 /* Override any GCC internal prototype to avoid an error.
41718 Use char because int might match the return type of a GCC
41719 builtin and then its argument prototype would still apply. */
41723 char localtime_r ();
41724 /* The GNU C library defines this for functions which it implements
41725 to always fail with ENOSYS. Some functions are actually named
41726 something starting with __ and the normal name is an alias. */
41727 #if defined __stub_localtime_r || defined __stub___localtime_r
41734 return localtime_r ();
41739 rm -f conftest.$ac_objext conftest$ac_exeext
41740 if { (ac_try="$ac_link"
41741 case "(($ac_try" in
41742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41743 *) ac_try_echo=$ac_try;;
41745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41746 (eval "$ac_link") 2>conftest.er1
41748 grep -v '^ *+' conftest.er1 >conftest.err
41750 cat conftest.err >&5
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); } && {
41753 test -z "$ac_c_werror_flag" ||
41754 test ! -s conftest.err
41755 } && test -s conftest$ac_exeext &&
41756 $as_test_x conftest$ac_exeext; then
41757 ac_cv_func_localtime_r=yes
41759 echo "$as_me: failed program was:" >&5
41760 sed 's/^/| /' conftest.$ac_ext >&5
41762 ac_cv_func_localtime_r=no
41765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41766 conftest$ac_exeext conftest.$ac_ext
41768 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41769 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41770 if test $ac_cv_func_localtime_r = yes; then
41771 cat >>confdefs.h <<\_ACEOF
41772 #define HAVE_LOCALTIME_R 1
41777 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41778 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41779 if test "${ac_cv_func_gmtime_r+set}" = set; then
41780 echo $ECHO_N "(cached) $ECHO_C" >&6
41782 cat >conftest.$ac_ext <<_ACEOF
41785 cat confdefs.h >>conftest.$ac_ext
41786 cat >>conftest.$ac_ext <<_ACEOF
41787 /* end confdefs.h. */
41788 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41790 #define gmtime_r innocuous_gmtime_r
41792 /* System header to define __stub macros and hopefully few prototypes,
41793 which can conflict with char gmtime_r (); below.
41794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41795 <limits.h> exists even on freestanding compilers. */
41798 # include <limits.h>
41800 # include <assert.h>
41805 /* Override any GCC internal prototype to avoid an error.
41806 Use char because int might match the return type of a GCC
41807 builtin and then its argument prototype would still apply. */
41812 /* The GNU C library defines this for functions which it implements
41813 to always fail with ENOSYS. Some functions are actually named
41814 something starting with __ and the normal name is an alias. */
41815 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41822 return gmtime_r ();
41827 rm -f conftest.$ac_objext conftest$ac_exeext
41828 if { (ac_try="$ac_link"
41829 case "(($ac_try" in
41830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41831 *) ac_try_echo=$ac_try;;
41833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41834 (eval "$ac_link") 2>conftest.er1
41836 grep -v '^ *+' conftest.er1 >conftest.err
41838 cat conftest.err >&5
41839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840 (exit $ac_status); } && {
41841 test -z "$ac_c_werror_flag" ||
41842 test ! -s conftest.err
41843 } && test -s conftest$ac_exeext &&
41844 $as_test_x conftest$ac_exeext; then
41845 ac_cv_func_gmtime_r=yes
41847 echo "$as_me: failed program was:" >&5
41848 sed 's/^/| /' conftest.$ac_ext >&5
41850 ac_cv_func_gmtime_r=no
41853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41854 conftest$ac_exeext conftest.$ac_ext
41856 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41857 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41858 if test $ac_cv_func_gmtime_r = yes; then
41859 cat >>confdefs.h <<\_ACEOF
41860 #define HAVE_GMTIME_R 1
41869 ac_cpp='$CPP $CPPFLAGS'
41870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41874 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41875 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41877 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41878 echo $ECHO_N "(cached) $ECHO_C" >&6
41882 ################################################################
41884 ac_cv_func_which_gethostbyname_r=unknown
41887 # ONE ARGUMENT (sanity check)
41890 # This should fail, as there is no variant of gethostbyname_r() that takes
41891 # a single argument. If it actually compiles, then we can assume that
41892 # netdb.h is not declaring the function, and the compiler is thereby
41893 # assuming an implicit prototype. In which case, we're out of luck.
41895 cat >conftest.$ac_ext <<_ACEOF
41898 cat confdefs.h >>conftest.$ac_ext
41899 cat >>conftest.$ac_ext <<_ACEOF
41900 /* end confdefs.h. */
41906 char *name = "www.gnu.org";
41907 (void)gethostbyname_r(name) /* ; */
41913 rm -f conftest.$ac_objext
41914 if { (ac_try="$ac_compile"
41915 case "(($ac_try" in
41916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41917 *) ac_try_echo=$ac_try;;
41919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41920 (eval "$ac_compile") 2>conftest.er1
41922 grep -v '^ *+' conftest.er1 >conftest.err
41924 cat conftest.err >&5
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); } && {
41927 test -z "$ac_c_werror_flag" ||
41928 test ! -s conftest.err
41929 } && test -s conftest.$ac_objext; then
41930 ac_cv_func_which_gethostbyname_r=no
41932 echo "$as_me: failed program was:" >&5
41933 sed 's/^/| /' conftest.$ac_ext >&5
41938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41945 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41947 cat >conftest.$ac_ext <<_ACEOF
41950 cat confdefs.h >>conftest.$ac_ext
41951 cat >>conftest.$ac_ext <<_ACEOF
41952 /* end confdefs.h. */
41958 char *name = "www.gnu.org";
41959 struct hostent ret, *retp;
41963 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41969 rm -f conftest.$ac_objext
41970 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
41978 grep -v '^ *+' conftest.er1 >conftest.err
41980 cat conftest.err >&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); } && {
41983 test -z "$ac_c_werror_flag" ||
41984 test ! -s conftest.err
41985 } && test -s conftest.$ac_objext; then
41986 ac_cv_func_which_gethostbyname_r=six
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.$ac_ext >&5
41994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42003 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42005 cat >conftest.$ac_ext <<_ACEOF
42008 cat confdefs.h >>conftest.$ac_ext
42009 cat >>conftest.$ac_ext <<_ACEOF
42010 /* end confdefs.h. */
42016 char *name = "www.gnu.org";
42017 struct hostent ret;
42021 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42027 rm -f conftest.$ac_objext
42028 if { (ac_try="$ac_compile"
42029 case "(($ac_try" in
42030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42031 *) ac_try_echo=$ac_try;;
42033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42034 (eval "$ac_compile") 2>conftest.er1
42036 grep -v '^ *+' conftest.er1 >conftest.err
42038 cat conftest.err >&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } && {
42041 test -z "$ac_c_werror_flag" ||
42042 test ! -s conftest.err
42043 } && test -s conftest.$ac_objext; then
42044 ac_cv_func_which_gethostbyname_r=five
42046 echo "$as_me: failed program was:" >&5
42047 sed 's/^/| /' conftest.$ac_ext >&5
42052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42058 # (e.g. AIX, HP-UX, Tru64)
42061 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42063 cat >conftest.$ac_ext <<_ACEOF
42066 cat confdefs.h >>conftest.$ac_ext
42067 cat >>conftest.$ac_ext <<_ACEOF
42068 /* end confdefs.h. */
42074 char *name = "www.gnu.org";
42075 struct hostent ret;
42076 struct hostent_data data;
42077 (void)gethostbyname_r(name, &ret, &data) /* ; */
42083 rm -f conftest.$ac_objext
42084 if { (ac_try="$ac_compile"
42085 case "(($ac_try" in
42086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42087 *) ac_try_echo=$ac_try;;
42089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42090 (eval "$ac_compile") 2>conftest.er1
42092 grep -v '^ *+' conftest.er1 >conftest.err
42094 cat conftest.err >&5
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); } && {
42097 test -z "$ac_c_werror_flag" ||
42098 test ! -s conftest.err
42099 } && test -s conftest.$ac_objext; then
42100 ac_cv_func_which_gethostbyname_r=three
42102 echo "$as_me: failed program was:" >&5
42103 sed 's/^/| /' conftest.$ac_ext >&5
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42112 ################################################################
42117 case "$ac_cv_func_which_gethostbyname_r" in
42119 { echo "$as_me:$LINENO: result: three" >&5
42120 echo "${ECHO_T}three" >&6; }
42121 cat >>confdefs.h <<\_ACEOF
42122 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42128 { echo "$as_me:$LINENO: result: five" >&5
42129 echo "${ECHO_T}five" >&6; }
42130 cat >>confdefs.h <<\_ACEOF
42131 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42137 { echo "$as_me:$LINENO: result: six" >&5
42138 echo "${ECHO_T}six" >&6; }
42139 cat >>confdefs.h <<\_ACEOF
42140 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42146 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42147 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42151 { echo "$as_me:$LINENO: result: can't tell" >&5
42152 echo "${ECHO_T}can't tell" >&6; }
42156 { { echo "$as_me:$LINENO: error: internal error" >&5
42157 echo "$as_me: error: internal error" >&2;}
42158 { (exit 1); exit 1; }; }
42163 ac_cpp='$CPP $CPPFLAGS'
42164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42171 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42172 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42173 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42174 if test "${ac_cv_func_gethostbyname+set}" = set; then
42175 echo $ECHO_N "(cached) $ECHO_C" >&6
42177 cat >conftest.$ac_ext <<_ACEOF
42180 cat confdefs.h >>conftest.$ac_ext
42181 cat >>conftest.$ac_ext <<_ACEOF
42182 /* end confdefs.h. */
42183 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42185 #define gethostbyname innocuous_gethostbyname
42187 /* System header to define __stub macros and hopefully few prototypes,
42188 which can conflict with char gethostbyname (); below.
42189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42190 <limits.h> exists even on freestanding compilers. */
42193 # include <limits.h>
42195 # include <assert.h>
42198 #undef gethostbyname
42200 /* Override any GCC internal prototype to avoid an error.
42201 Use char because int might match the return type of a GCC
42202 builtin and then its argument prototype would still apply. */
42206 char gethostbyname ();
42207 /* The GNU C library defines this for functions which it implements
42208 to always fail with ENOSYS. Some functions are actually named
42209 something starting with __ and the normal name is an alias. */
42210 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42217 return gethostbyname ();
42222 rm -f conftest.$ac_objext conftest$ac_exeext
42223 if { (ac_try="$ac_link"
42224 case "(($ac_try" in
42225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42226 *) ac_try_echo=$ac_try;;
42228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42229 (eval "$ac_link") 2>conftest.er1
42231 grep -v '^ *+' conftest.er1 >conftest.err
42233 cat conftest.err >&5
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); } && {
42236 test -z "$ac_c_werror_flag" ||
42237 test ! -s conftest.err
42238 } && test -s conftest$ac_exeext &&
42239 $as_test_x conftest$ac_exeext; then
42240 ac_cv_func_gethostbyname=yes
42242 echo "$as_me: failed program was:" >&5
42243 sed 's/^/| /' conftest.$ac_ext >&5
42245 ac_cv_func_gethostbyname=no
42248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42249 conftest$ac_exeext conftest.$ac_ext
42251 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42252 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42253 if test $ac_cv_func_gethostbyname = yes; then
42254 cat >>confdefs.h <<\_ACEOF
42255 #define HAVE_GETHOSTBYNAME 1
42262 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42263 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42264 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42265 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 ac_cpp='$CXXCPP $CPPFLAGS'
42270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42275 cat >conftest.$ac_ext <<_ACEOF
42278 cat confdefs.h >>conftest.$ac_ext
42279 cat >>conftest.$ac_ext <<_ACEOF
42280 /* end confdefs.h. */
42288 struct servent *se, *res;
42291 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42297 rm -f conftest.$ac_objext
42298 if { (ac_try="$ac_compile"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_compile") 2>conftest.er1
42306 grep -v '^ *+' conftest.er1 >conftest.err
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_cxx_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest.$ac_objext; then
42314 ac_cv_func_which_getservbyname_r=six
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42320 cat >conftest.$ac_ext <<_ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42333 struct servent *se;
42336 (void) getservbyname_r(name, proto, se, buffer, buflen)
42342 rm -f conftest.$ac_objext
42343 if { (ac_try="$ac_compile"
42344 case "(($ac_try" in
42345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42346 *) ac_try_echo=$ac_try;;
42348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42349 (eval "$ac_compile") 2>conftest.er1
42351 grep -v '^ *+' conftest.er1 >conftest.err
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } && {
42356 test -z "$ac_cxx_werror_flag" ||
42357 test ! -s conftest.err
42358 } && test -s conftest.$ac_objext; then
42359 ac_cv_func_which_getservbyname_r=five
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42365 cat >conftest.$ac_ext <<_ACEOF
42368 cat confdefs.h >>conftest.$ac_ext
42369 cat >>conftest.$ac_ext <<_ACEOF
42370 /* end confdefs.h. */
42378 struct servent *se;
42379 struct servent_data data;
42380 (void) getservbyname_r(name, proto, se, &data);
42386 rm -f conftest.$ac_objext
42387 if { (ac_try="$ac_compile"
42388 case "(($ac_try" in
42389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42390 *) ac_try_echo=$ac_try;;
42392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42393 (eval "$ac_compile") 2>conftest.er1
42395 grep -v '^ *+' conftest.er1 >conftest.err
42397 cat conftest.err >&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); } && {
42400 test -z "$ac_cxx_werror_flag" ||
42401 test ! -s conftest.err
42402 } && test -s conftest.$ac_objext; then
42403 ac_cv_func_which_getservbyname_r=four
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42408 ac_cv_func_which_getservbyname_r=no
42412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42424 ac_cpp='$CPP $CPPFLAGS'
42425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42432 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42433 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42435 if test $ac_cv_func_which_getservbyname_r = six; then
42436 cat >>confdefs.h <<\_ACEOF
42437 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42440 elif test $ac_cv_func_which_getservbyname_r = five; then
42441 cat >>confdefs.h <<\_ACEOF
42442 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42445 elif test $ac_cv_func_which_getservbyname_r = four; then
42446 cat >>confdefs.h <<\_ACEOF
42447 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42453 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42454 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42456 for ac_func in getservbyname
42458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42462 echo $ECHO_N "(cached) $ECHO_C" >&6
42464 cat >conftest.$ac_ext <<_ACEOF
42467 cat confdefs.h >>conftest.$ac_ext
42468 cat >>conftest.$ac_ext <<_ACEOF
42469 /* end confdefs.h. */
42470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42472 #define $ac_func innocuous_$ac_func
42474 /* System header to define __stub macros and hopefully few prototypes,
42475 which can conflict with char $ac_func (); below.
42476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42477 <limits.h> exists even on freestanding compilers. */
42480 # include <limits.h>
42482 # include <assert.h>
42487 /* Override any GCC internal prototype to avoid an error.
42488 Use char because int might match the return type of a GCC
42489 builtin and then its argument prototype would still apply. */
42494 /* The GNU C library defines this for functions which it implements
42495 to always fail with ENOSYS. Some functions are actually named
42496 something starting with __ and the normal name is an alias. */
42497 #if defined __stub_$ac_func || defined __stub___$ac_func
42504 return $ac_func ();
42509 rm -f conftest.$ac_objext conftest$ac_exeext
42510 if { (ac_try="$ac_link"
42511 case "(($ac_try" in
42512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42513 *) ac_try_echo=$ac_try;;
42515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42516 (eval "$ac_link") 2>conftest.er1
42518 grep -v '^ *+' conftest.er1 >conftest.err
42520 cat conftest.err >&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } && {
42523 test -z "$ac_c_werror_flag" ||
42524 test ! -s conftest.err
42525 } && test -s conftest$ac_exeext &&
42526 $as_test_x conftest$ac_exeext; then
42527 eval "$as_ac_var=yes"
42529 echo "$as_me: failed program was:" >&5
42530 sed 's/^/| /' conftest.$ac_ext >&5
42532 eval "$as_ac_var=no"
42535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42536 conftest$ac_exeext conftest.$ac_ext
42538 ac_res=`eval echo '${'$as_ac_var'}'`
42539 { echo "$as_me:$LINENO: result: $ac_res" >&5
42540 echo "${ECHO_T}$ac_res" >&6; }
42541 if test `eval echo '${'$as_ac_var'}'` = yes; then
42542 cat >>confdefs.h <<_ACEOF
42543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42545 cat >>confdefs.h <<\_ACEOF
42546 #define HAVE_GETSERVBYNAME 1
42554 if test "$wxUSE_THREADS" = "yes"; then
42555 cat >>confdefs.h <<\_ACEOF
42556 #define wxUSE_THREADS 1
42560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42562 if test "$wx_cv_func_strtok_r" = "yes"; then
42563 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42564 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42565 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42566 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42567 { echo "$as_me:$LINENO: result: yes" >&5
42568 echo "${ECHO_T}yes" >&6; }
42570 { echo "$as_me:$LINENO: result: no" >&5
42571 echo "${ECHO_T}no" >&6; }
42576 if test "$WXGTK2" = 1 ; then
42577 cat >>confdefs.h <<_ACEOF
42578 #define __WXGTK20__ $WXGTK2
42584 if test "$WXGTK12" = 1 ; then
42585 cat >>confdefs.h <<_ACEOF
42586 #define __WXGTK12__ $WXGTK12
42591 if test "$WXGTK127" = 1 ; then
42592 cat >>confdefs.h <<_ACEOF
42593 #define __WXGTK127__ $WXGTK127
42598 if test "$WXGPE" = 1 ; then
42599 cat >>confdefs.h <<_ACEOF
42600 #define __WXGPE__ $WXGPE
42606 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42607 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42608 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42609 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42613 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42614 wxUSE_DEBUG_INFO=yes
42615 if test "$GCC" = yes; then
42616 DEBUG_CFLAGS="-ggdb"
42620 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42621 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42623 if test "$wxUSE_GTK" = 1 ; then
42624 if test "x$wxGTK_VERSION" = "x1" ; then
42625 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42630 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_MEMORY_TRACING 1
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42639 cat >>confdefs.h <<\_ACEOF
42640 #define wxUSE_DEBUG_NEW_ALWAYS 1
42643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42646 if test "$wxUSE_DMALLOC" = "yes" ; then
42647 DMALLOC_LIBS="-ldmallocthcxx"
42651 if test "$wxUSE_PROFILE" = "yes" ; then
42652 PROFILE_FLAGS=" -pg"
42655 if test "$GCC" = "yes" ; then
42656 if test "$wxUSE_NO_RTTI" = "yes" ; then
42657 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42659 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42660 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42662 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42663 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42668 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42671 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42677 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42678 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42679 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42681 if test "$wxUSE_OPTIMISE" = "no" ; then
42682 if test "$GCC" = yes ; then
42683 OPTIMISE_CFLAGS="-O0"
42686 if test "$GCC" = yes ; then
42688 *-pc-os2_emx | *-pc-os2-emx )
42689 OPTIMISE_CFLAGS="-O2"
42692 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42696 OPTIMISE_CFLAGS="-O"
42702 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define WXWIN_COMPATIBILITY_2_6 1
42708 WXWIN_COMPATIBILITY_2_8="yes"
42711 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42712 cat >>confdefs.h <<\_ACEOF
42713 #define WXWIN_COMPATIBILITY_2_8 1
42719 if test "$wxUSE_GUI" = "yes"; then
42720 cat >>confdefs.h <<\_ACEOF
42721 #define wxUSE_GUI 1
42728 if test "$wxUSE_UNIX" = "yes"; then
42729 cat >>confdefs.h <<\_ACEOF
42730 #define wxUSE_UNIX 1
42736 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42740 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42741 if test "$USE_DOS" = 1; then
42745 for ac_func in dlopen
42747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42751 echo $ECHO_N "(cached) $ECHO_C" >&6
42753 cat >conftest.$ac_ext <<_ACEOF
42756 cat confdefs.h >>conftest.$ac_ext
42757 cat >>conftest.$ac_ext <<_ACEOF
42758 /* end confdefs.h. */
42759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42761 #define $ac_func innocuous_$ac_func
42763 /* System header to define __stub macros and hopefully few prototypes,
42764 which can conflict with char $ac_func (); below.
42765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42766 <limits.h> exists even on freestanding compilers. */
42769 # include <limits.h>
42771 # include <assert.h>
42776 /* Override any GCC internal prototype to avoid an error.
42777 Use char because int might match the return type of a GCC
42778 builtin and then its argument prototype would still apply. */
42783 /* The GNU C library defines this for functions which it implements
42784 to always fail with ENOSYS. Some functions are actually named
42785 something starting with __ and the normal name is an alias. */
42786 #if defined __stub_$ac_func || defined __stub___$ac_func
42793 return $ac_func ();
42798 rm -f conftest.$ac_objext conftest$ac_exeext
42799 if { (ac_try="$ac_link"
42800 case "(($ac_try" in
42801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42802 *) ac_try_echo=$ac_try;;
42804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42805 (eval "$ac_link") 2>conftest.er1
42807 grep -v '^ *+' conftest.er1 >conftest.err
42809 cat conftest.err >&5
42810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42811 (exit $ac_status); } && {
42812 test -z "$ac_c_werror_flag" ||
42813 test ! -s conftest.err
42814 } && test -s conftest$ac_exeext &&
42815 $as_test_x conftest$ac_exeext; then
42816 eval "$as_ac_var=yes"
42818 echo "$as_me: failed program was:" >&5
42819 sed 's/^/| /' conftest.$ac_ext >&5
42821 eval "$as_ac_var=no"
42824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42825 conftest$ac_exeext conftest.$ac_ext
42827 ac_res=`eval echo '${'$as_ac_var'}'`
42828 { echo "$as_me:$LINENO: result: $ac_res" >&5
42829 echo "${ECHO_T}$ac_res" >&6; }
42830 if test `eval echo '${'$as_ac_var'}'` = yes; then
42831 cat >>confdefs.h <<_ACEOF
42832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42835 cat >>confdefs.h <<\_ACEOF
42836 #define HAVE_DLOPEN 1
42843 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42844 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42845 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42846 echo $ECHO_N "(cached) $ECHO_C" >&6
42848 ac_check_lib_save_LIBS=$LIBS
42850 cat >conftest.$ac_ext <<_ACEOF
42853 cat confdefs.h >>conftest.$ac_ext
42854 cat >>conftest.$ac_ext <<_ACEOF
42855 /* end confdefs.h. */
42857 /* Override any GCC internal prototype to avoid an error.
42858 Use char because int might match the return type of a GCC
42859 builtin and then its argument prototype would still apply. */
42872 rm -f conftest.$ac_objext conftest$ac_exeext
42873 if { (ac_try="$ac_link"
42874 case "(($ac_try" in
42875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42876 *) ac_try_echo=$ac_try;;
42878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42879 (eval "$ac_link") 2>conftest.er1
42881 grep -v '^ *+' conftest.er1 >conftest.err
42883 cat conftest.err >&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); } && {
42886 test -z "$ac_c_werror_flag" ||
42887 test ! -s conftest.err
42888 } && test -s conftest$ac_exeext &&
42889 $as_test_x conftest$ac_exeext; then
42890 ac_cv_lib_dl_dlopen=yes
42892 echo "$as_me: failed program was:" >&5
42893 sed 's/^/| /' conftest.$ac_ext >&5
42895 ac_cv_lib_dl_dlopen=no
42898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42899 conftest$ac_exeext conftest.$ac_ext
42900 LIBS=$ac_check_lib_save_LIBS
42902 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42903 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42904 if test $ac_cv_lib_dl_dlopen = yes; then
42906 cat >>confdefs.h <<\_ACEOF
42907 #define HAVE_DLOPEN 1
42911 DL_LINK=" -ldl$DL_LINK"
42916 for ac_func in shl_load
42918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42922 echo $ECHO_N "(cached) $ECHO_C" >&6
42924 cat >conftest.$ac_ext <<_ACEOF
42927 cat confdefs.h >>conftest.$ac_ext
42928 cat >>conftest.$ac_ext <<_ACEOF
42929 /* end confdefs.h. */
42930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42932 #define $ac_func innocuous_$ac_func
42934 /* System header to define __stub macros and hopefully few prototypes,
42935 which can conflict with char $ac_func (); below.
42936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42937 <limits.h> exists even on freestanding compilers. */
42940 # include <limits.h>
42942 # include <assert.h>
42947 /* Override any GCC internal prototype to avoid an error.
42948 Use char because int might match the return type of a GCC
42949 builtin and then its argument prototype would still apply. */
42954 /* The GNU C library defines this for functions which it implements
42955 to always fail with ENOSYS. Some functions are actually named
42956 something starting with __ and the normal name is an alias. */
42957 #if defined __stub_$ac_func || defined __stub___$ac_func
42964 return $ac_func ();
42969 rm -f conftest.$ac_objext conftest$ac_exeext
42970 if { (ac_try="$ac_link"
42971 case "(($ac_try" in
42972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42973 *) ac_try_echo=$ac_try;;
42975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42976 (eval "$ac_link") 2>conftest.er1
42978 grep -v '^ *+' conftest.er1 >conftest.err
42980 cat conftest.err >&5
42981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42982 (exit $ac_status); } && {
42983 test -z "$ac_c_werror_flag" ||
42984 test ! -s conftest.err
42985 } && test -s conftest$ac_exeext &&
42986 $as_test_x conftest$ac_exeext; then
42987 eval "$as_ac_var=yes"
42989 echo "$as_me: failed program was:" >&5
42990 sed 's/^/| /' conftest.$ac_ext >&5
42992 eval "$as_ac_var=no"
42995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42996 conftest$ac_exeext conftest.$ac_ext
42998 ac_res=`eval echo '${'$as_ac_var'}'`
42999 { echo "$as_me:$LINENO: result: $ac_res" >&5
43000 echo "${ECHO_T}$ac_res" >&6; }
43001 if test `eval echo '${'$as_ac_var'}'` = yes; then
43002 cat >>confdefs.h <<_ACEOF
43003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43006 cat >>confdefs.h <<\_ACEOF
43007 #define HAVE_SHL_LOAD 1
43014 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43015 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43016 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43017 echo $ECHO_N "(cached) $ECHO_C" >&6
43019 ac_check_lib_save_LIBS=$LIBS
43020 LIBS="-lshl_load $LIBS"
43021 cat >conftest.$ac_ext <<_ACEOF
43024 cat confdefs.h >>conftest.$ac_ext
43025 cat >>conftest.$ac_ext <<_ACEOF
43026 /* end confdefs.h. */
43028 /* Override any GCC internal prototype to avoid an error.
43029 Use char because int might match the return type of a GCC
43030 builtin and then its argument prototype would still apply. */
43043 rm -f conftest.$ac_objext conftest$ac_exeext
43044 if { (ac_try="$ac_link"
43045 case "(($ac_try" in
43046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43047 *) ac_try_echo=$ac_try;;
43049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43050 (eval "$ac_link") 2>conftest.er1
43052 grep -v '^ *+' conftest.er1 >conftest.err
43054 cat conftest.err >&5
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); } && {
43057 test -z "$ac_c_werror_flag" ||
43058 test ! -s conftest.err
43059 } && test -s conftest$ac_exeext &&
43060 $as_test_x conftest$ac_exeext; then
43061 ac_cv_lib_shl_load_dld=yes
43063 echo "$as_me: failed program was:" >&5
43064 sed 's/^/| /' conftest.$ac_ext >&5
43066 ac_cv_lib_shl_load_dld=no
43069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43070 conftest$ac_exeext conftest.$ac_ext
43071 LIBS=$ac_check_lib_save_LIBS
43073 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43074 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43075 if test $ac_cv_lib_shl_load_dld = yes; then
43078 DL_LINK=" -ldld$DL_LINK"
43094 if test "$HAVE_DL_FUNCS" = 1; then
43096 for ac_func in dlerror
43098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43102 echo $ECHO_N "(cached) $ECHO_C" >&6
43104 cat >conftest.$ac_ext <<_ACEOF
43107 cat confdefs.h >>conftest.$ac_ext
43108 cat >>conftest.$ac_ext <<_ACEOF
43109 /* end confdefs.h. */
43110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43112 #define $ac_func innocuous_$ac_func
43114 /* System header to define __stub macros and hopefully few prototypes,
43115 which can conflict with char $ac_func (); below.
43116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43117 <limits.h> exists even on freestanding compilers. */
43120 # include <limits.h>
43122 # include <assert.h>
43127 /* Override any GCC internal prototype to avoid an error.
43128 Use char because int might match the return type of a GCC
43129 builtin and then its argument prototype would still apply. */
43134 /* The GNU C library defines this for functions which it implements
43135 to always fail with ENOSYS. Some functions are actually named
43136 something starting with __ and the normal name is an alias. */
43137 #if defined __stub_$ac_func || defined __stub___$ac_func
43144 return $ac_func ();
43149 rm -f conftest.$ac_objext conftest$ac_exeext
43150 if { (ac_try="$ac_link"
43151 case "(($ac_try" in
43152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43153 *) ac_try_echo=$ac_try;;
43155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43156 (eval "$ac_link") 2>conftest.er1
43158 grep -v '^ *+' conftest.er1 >conftest.err
43160 cat conftest.err >&5
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); } && {
43163 test -z "$ac_c_werror_flag" ||
43164 test ! -s conftest.err
43165 } && test -s conftest$ac_exeext &&
43166 $as_test_x conftest$ac_exeext; then
43167 eval "$as_ac_var=yes"
43169 echo "$as_me: failed program was:" >&5
43170 sed 's/^/| /' conftest.$ac_ext >&5
43172 eval "$as_ac_var=no"
43175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43176 conftest$ac_exeext conftest.$ac_ext
43178 ac_res=`eval echo '${'$as_ac_var'}'`
43179 { echo "$as_me:$LINENO: result: $ac_res" >&5
43180 echo "${ECHO_T}$ac_res" >&6; }
43181 if test `eval echo '${'$as_ac_var'}'` = yes; then
43182 cat >>confdefs.h <<_ACEOF
43183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43185 cat >>confdefs.h <<\_ACEOF
43186 #define HAVE_DLERROR 1
43191 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43192 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43193 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43194 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 ac_check_lib_save_LIBS=$LIBS
43198 cat >conftest.$ac_ext <<_ACEOF
43201 cat confdefs.h >>conftest.$ac_ext
43202 cat >>conftest.$ac_ext <<_ACEOF
43203 /* end confdefs.h. */
43205 /* Override any GCC internal prototype to avoid an error.
43206 Use char because int might match the return type of a GCC
43207 builtin and then its argument prototype would still apply. */
43220 rm -f conftest.$ac_objext conftest$ac_exeext
43221 if { (ac_try="$ac_link"
43222 case "(($ac_try" in
43223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43224 *) ac_try_echo=$ac_try;;
43226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43227 (eval "$ac_link") 2>conftest.er1
43229 grep -v '^ *+' conftest.er1 >conftest.err
43231 cat conftest.err >&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } && {
43234 test -z "$ac_c_werror_flag" ||
43235 test ! -s conftest.err
43236 } && test -s conftest$ac_exeext &&
43237 $as_test_x conftest$ac_exeext; then
43238 ac_cv_lib_dl_dlerror=yes
43240 echo "$as_me: failed program was:" >&5
43241 sed 's/^/| /' conftest.$ac_ext >&5
43243 ac_cv_lib_dl_dlerror=no
43246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43247 conftest$ac_exeext conftest.$ac_ext
43248 LIBS=$ac_check_lib_save_LIBS
43250 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43251 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43252 if test $ac_cv_lib_dl_dlerror = yes; then
43253 cat >>confdefs.h <<\_ACEOF
43254 #define HAVE_DLERROR 1
43267 if test "$USE_DARWIN" = 1; then
43271 if test "$HAVE_DL_FUNCS" = 0; then
43272 if test "$HAVE_SHL_FUNCS" = 0; then
43273 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43274 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43275 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43276 wxUSE_DYNAMIC_LOADER=no
43277 wxUSE_DYNLIB_CLASS=no
43279 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43280 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43287 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxUSE_DYNAMIC_LOADER 1
43293 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43294 cat >>confdefs.h <<\_ACEOF
43295 #define wxUSE_DYNLIB_CLASS 1
43302 if test "$wxUSE_PLUGINS" = "yes" ; then
43303 if test "$wxUSE_SHARED" = "no" ; then
43304 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43305 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43308 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43309 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43310 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43313 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43314 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43315 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43318 if test "$wxUSE_PLUGINS" = "yes" ; then
43319 cat >>confdefs.h <<\_ACEOF
43320 #define wxUSE_PLUGINS 1
43327 if test "$wxUSE_FSWATCHER" = "yes"; then
43328 if test "$wxUSE_MSW" != "1"; then
43329 if test "$wxUSE_UNIX" = "yes"; then
43331 for ac_header in sys/inotify.h
43333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43339 cat >conftest.$ac_ext <<_ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43345 $ac_includes_default
43347 #include <$ac_header>
43349 rm -f conftest.$ac_objext
43350 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
43366 eval "$as_ac_Header=yes"
43368 echo "$as_me: failed program was:" >&5
43369 sed 's/^/| /' conftest.$ac_ext >&5
43371 eval "$as_ac_Header=no"
43374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43376 ac_res=`eval echo '${'$as_ac_Header'}'`
43377 { echo "$as_me:$LINENO: result: $ac_res" >&5
43378 echo "${ECHO_T}$ac_res" >&6; }
43379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43380 cat >>confdefs.h <<_ACEOF
43381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43388 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43389 cat >>confdefs.h <<\_ACEOF
43390 #define wxHAS_INOTIFY 1
43395 for ac_header in sys/event.h
43397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43398 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43401 echo $ECHO_N "(cached) $ECHO_C" >&6
43403 cat >conftest.$ac_ext <<_ACEOF
43406 cat confdefs.h >>conftest.$ac_ext
43407 cat >>conftest.$ac_ext <<_ACEOF
43408 /* end confdefs.h. */
43409 $ac_includes_default
43411 #include <$ac_header>
43413 rm -f conftest.$ac_objext
43414 if { (ac_try="$ac_compile"
43415 case "(($ac_try" in
43416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43417 *) ac_try_echo=$ac_try;;
43419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43420 (eval "$ac_compile") 2>conftest.er1
43422 grep -v '^ *+' conftest.er1 >conftest.err
43424 cat conftest.err >&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } && {
43427 test -z "$ac_c_werror_flag" ||
43428 test ! -s conftest.err
43429 } && test -s conftest.$ac_objext; then
43430 eval "$as_ac_Header=yes"
43432 echo "$as_me: failed program was:" >&5
43433 sed 's/^/| /' conftest.$ac_ext >&5
43435 eval "$as_ac_Header=no"
43438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43440 ac_res=`eval echo '${'$as_ac_Header'}'`
43441 { echo "$as_me:$LINENO: result: $ac_res" >&5
43442 echo "${ECHO_T}$ac_res" >&6; }
43443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43444 cat >>confdefs.h <<_ACEOF
43445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43452 if test "$ac_cv_header_sys_event_h" = "yes"; then
43453 cat >>confdefs.h <<\_ACEOF
43454 #define wxHAS_KQUEUE 1
43466 if test "$wxUSE_FSWATCHER" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_FSWATCHER 1
43471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43473 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43474 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43479 if test "$wxUSE_STL" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_STL 1
43486 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_EXTENDED_RTTI 1
43493 if test "$wxUSE_ANY" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_ANY 1
43500 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_APPLE_IEEE 1
43507 if test "$wxUSE_TIMER" = "yes"; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_TIMER 1
43514 if test "$USE_UNIX" = 1 ; then
43515 if test "$wxUSE_MGL" != 1; then
43516 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43517 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43518 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43519 echo $ECHO_N "(cached) $ECHO_C" >&6
43522 cat >conftest.$ac_ext <<_ACEOF
43525 cat confdefs.h >>conftest.$ac_ext
43526 cat >>conftest.$ac_ext <<_ACEOF
43527 /* end confdefs.h. */
43529 #include <sys/ioctl.h>
43530 #include <sys/soundcard.h>
43536 ioctl(0, SNDCTL_DSP_SPEED, 0);
43542 rm -f conftest.$ac_objext conftest$ac_exeext
43543 if { (ac_try="$ac_link"
43544 case "(($ac_try" in
43545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43546 *) ac_try_echo=$ac_try;;
43548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43549 (eval "$ac_link") 2>conftest.er1
43551 grep -v '^ *+' conftest.er1 >conftest.err
43553 cat conftest.err >&5
43554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555 (exit $ac_status); } && {
43556 test -z "$ac_c_werror_flag" ||
43557 test ! -s conftest.err
43558 } && test -s conftest$ac_exeext &&
43559 $as_test_x conftest$ac_exeext; then
43560 ac_cv_header_sys_soundcard=yes
43562 echo "$as_me: failed program was:" >&5
43563 sed 's/^/| /' conftest.$ac_ext >&5
43567 LIBS="$saveLibs -lossaudio"
43568 cat >conftest.$ac_ext <<_ACEOF
43571 cat confdefs.h >>conftest.$ac_ext
43572 cat >>conftest.$ac_ext <<_ACEOF
43573 /* end confdefs.h. */
43575 #include <sys/ioctl.h>
43576 #include <sys/soundcard.h>
43582 ioctl(0, SNDCTL_DSP_SPEED, 0);
43588 rm -f conftest.$ac_objext conftest$ac_exeext
43589 if { (ac_try="$ac_link"
43590 case "(($ac_try" in
43591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43592 *) ac_try_echo=$ac_try;;
43594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43595 (eval "$ac_link") 2>conftest.er1
43597 grep -v '^ *+' conftest.er1 >conftest.err
43599 cat conftest.err >&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } && {
43602 test -z "$ac_c_werror_flag" ||
43603 test ! -s conftest.err
43604 } && test -s conftest$ac_exeext &&
43605 $as_test_x conftest$ac_exeext; then
43606 ac_cv_header_sys_soundcard=yes
43608 echo "$as_me: failed program was:" >&5
43609 sed 's/^/| /' conftest.$ac_ext >&5
43613 ac_cv_header_sys_soundcard=no
43618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43619 conftest$ac_exeext conftest.$ac_ext
43624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43625 conftest$ac_exeext conftest.$ac_ext
43628 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43629 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43632 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define HAVE_SYS_SOUNDCARD_H 1
43641 if test "$wxUSE_SOUND" = "yes"; then
43642 if test "$USE_UNIX" = 1 ; then
43643 if test "$wxUSE_LIBSDL" != "no"; then
43645 # Check whether --with-sdl-prefix was given.
43646 if test "${with_sdl_prefix+set}" = set; then
43647 withval=$with_sdl_prefix; sdl_prefix="$withval"
43653 # Check whether --with-sdl-exec-prefix was given.
43654 if test "${with_sdl_exec_prefix+set}" = set; then
43655 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43660 # Check whether --enable-sdltest was given.
43661 if test "${enable_sdltest+set}" = set; then
43662 enableval=$enable_sdltest;
43668 if test x$sdl_exec_prefix != x ; then
43669 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43670 if test x${SDL_CONFIG+set} != xset ; then
43671 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43674 if test x$sdl_prefix != x ; then
43675 sdl_args="$sdl_args --prefix=$sdl_prefix"
43676 if test x${SDL_CONFIG+set} != xset ; then
43677 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43681 if test "x$prefix" != xNONE; then
43682 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43684 # Extract the first word of "sdl-config", so it can be a program name with args.
43685 set dummy sdl-config; ac_word=$2
43686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43688 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 case $SDL_CONFIG in
43693 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43697 for as_dir in $PATH
43700 test -z "$as_dir" && as_dir=.
43701 for ac_exec_ext in '' $ac_executable_extensions; do
43702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43703 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43711 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43715 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43716 if test -n "$SDL_CONFIG"; then
43717 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43718 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43720 { echo "$as_me:$LINENO: result: no" >&5
43721 echo "${ECHO_T}no" >&6; }
43725 min_sdl_version=1.2.0
43726 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43727 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43729 if test "$SDL_CONFIG" = "no" ; then
43732 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43733 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43735 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43737 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43739 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43741 if test "x$enable_sdltest" = "xyes" ; then
43742 ac_save_CFLAGS="$CFLAGS"
43743 ac_save_CXXFLAGS="$CXXFLAGS"
43744 ac_save_LIBS="$LIBS"
43745 CFLAGS="$CFLAGS $SDL_CFLAGS"
43746 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43747 LIBS="$LIBS $SDL_LIBS"
43749 if test "$cross_compiling" = yes; then
43750 echo $ac_n "cross compiling; assumed OK... $ac_c"
43752 cat >conftest.$ac_ext <<_ACEOF
43755 cat confdefs.h >>conftest.$ac_ext
43756 cat >>conftest.$ac_ext <<_ACEOF
43757 /* end confdefs.h. */
43760 #include <stdlib.h>
43761 #include <string.h>
43765 my_strdup (char *str)
43771 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43772 strcpy (new_str, str);
43780 int main (int argc, char *argv[])
43782 int major, minor, micro;
43785 /* This hangs on some systems (?)
43786 system ("touch conf.sdltest");
43788 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43790 /* HP/UX 9 (%@#!) writes to sscanf strings */
43791 tmp_version = my_strdup("$min_sdl_version");
43792 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43793 printf("%s, bad version string\n", "$min_sdl_version");
43797 if (($sdl_major_version > major) ||
43798 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43799 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43805 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43806 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43807 printf("*** best to upgrade to the required version.\n");
43808 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43809 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43810 printf("*** config.cache before re-running configure\n");
43817 rm -f conftest$ac_exeext
43818 if { (ac_try="$ac_link"
43819 case "(($ac_try" in
43820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43821 *) ac_try_echo=$ac_try;;
43823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43824 (eval "$ac_link") 2>&5
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43828 { (case "(($ac_try" in
43829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43830 *) ac_try_echo=$ac_try;;
43832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43833 (eval "$ac_try") 2>&5
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; }; then
43839 echo "$as_me: program exited with status $ac_status" >&5
43840 echo "$as_me: failed program was:" >&5
43841 sed 's/^/| /' conftest.$ac_ext >&5
43843 ( exit $ac_status )
43846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43850 CFLAGS="$ac_save_CFLAGS"
43851 CXXFLAGS="$ac_save_CXXFLAGS"
43852 LIBS="$ac_save_LIBS"
43855 if test "x$no_sdl" = x ; then
43856 { echo "$as_me:$LINENO: result: yes" >&5
43857 echo "${ECHO_T}yes" >&6; }
43859 EXTRALIBS_SDL="$SDL_LIBS"
43860 CFLAGS="$SDL_CFLAGS $CFLAGS"
43861 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43862 cat >>confdefs.h <<\_ACEOF
43863 #define wxUSE_LIBSDL 1
43868 { echo "$as_me:$LINENO: result: no" >&5
43869 echo "${ECHO_T}no" >&6; }
43870 if test "$SDL_CONFIG" = "no" ; then
43871 echo "*** The sdl-config script installed by SDL could not be found"
43872 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43873 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43874 echo "*** full path to sdl-config."
43876 if test -f conf.sdltest ; then
43879 echo "*** Could not run SDL test program, checking why..."
43880 CFLAGS="$CFLAGS $SDL_CFLAGS"
43881 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43882 LIBS="$LIBS $SDL_LIBS"
43883 cat >conftest.$ac_ext <<_ACEOF
43886 cat confdefs.h >>conftest.$ac_ext
43887 cat >>conftest.$ac_ext <<_ACEOF
43888 /* end confdefs.h. */
43893 int main(int argc, char *argv[])
43896 #define main K_and_R_C_main
43906 rm -f conftest.$ac_objext conftest$ac_exeext
43907 if { (ac_try="$ac_link"
43908 case "(($ac_try" in
43909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_link") 2>conftest.er1
43915 grep -v '^ *+' conftest.er1 >conftest.err
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_c_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest$ac_exeext &&
43923 $as_test_x conftest$ac_exeext; then
43924 echo "*** The test program compiled, but did not run. This usually means"
43925 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43926 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43927 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43928 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43929 echo "*** is required on your system"
43931 echo "*** If you have an old version installed, it is best to remove it, although"
43932 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43934 echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.$ac_ext >&5
43937 echo "*** The test program failed to compile or link. See the file config.log for the"
43938 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43939 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43940 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43944 conftest$ac_exeext conftest.$ac_ext
43945 CFLAGS="$ac_save_CFLAGS"
43946 CXXFLAGS="$ac_save_CXXFLAGS"
43947 LIBS="$ac_save_LIBS"
43958 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43963 if test "$wxUSE_MGL" = 1; then
43964 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43965 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43971 if test "$wxUSE_SOUND" = "yes"; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_SOUND 1
43976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43979 if test "$WXGTK2" = 1; then
43982 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43983 if test -n "$ac_tool_prefix"; then
43984 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43985 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43988 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43989 echo $ECHO_N "(cached) $ECHO_C" >&6
43991 case $PKG_CONFIG in
43993 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43997 for as_dir in $PATH
44000 test -z "$as_dir" && as_dir=.
44001 for ac_exec_ext in '' $ac_executable_extensions; do
44002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44003 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44014 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44015 if test -n "$PKG_CONFIG"; then
44016 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44017 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44019 { echo "$as_me:$LINENO: result: no" >&5
44020 echo "${ECHO_T}no" >&6; }
44025 if test -z "$ac_cv_path_PKG_CONFIG"; then
44026 ac_pt_PKG_CONFIG=$PKG_CONFIG
44027 # Extract the first word of "pkg-config", so it can be a program name with args.
44028 set dummy pkg-config; ac_word=$2
44029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44031 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44032 echo $ECHO_N "(cached) $ECHO_C" >&6
44034 case $ac_pt_PKG_CONFIG in
44036 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44040 for as_dir in $PATH
44043 test -z "$as_dir" && as_dir=.
44044 for ac_exec_ext in '' $ac_executable_extensions; do
44045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44046 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44057 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44058 if test -n "$ac_pt_PKG_CONFIG"; then
44059 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44060 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44062 { echo "$as_me:$LINENO: result: no" >&5
44063 echo "${ECHO_T}no" >&6; }
44066 if test "x$ac_pt_PKG_CONFIG" = x; then
44069 case $cross_compiling:$ac_tool_warned in
44071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44072 whose name does not start with the host triplet. If you think this
44073 configuration is useful to you, please write to autoconf@gnu.org." >&5
44074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44075 whose name does not start with the host triplet. If you think this
44076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44077 ac_tool_warned=yes ;;
44079 PKG_CONFIG=$ac_pt_PKG_CONFIG
44082 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44086 if test -n "$PKG_CONFIG"; then
44087 _pkg_min_version=0.9.0
44088 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44089 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44090 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44091 { echo "$as_me:$LINENO: result: yes" >&5
44092 echo "${ECHO_T}yes" >&6; }
44094 { echo "$as_me:$LINENO: result: no" >&5
44095 echo "${ECHO_T}no" >&6; }
44101 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44103 if test "$wxUSE_GTKPRINT" = "yes" ; then
44107 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44108 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44110 if test -n "$PKG_CONFIG"; then
44111 if test -n "$GTKPRINT_CFLAGS"; then
44112 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44114 if test -n "$PKG_CONFIG" && \
44115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44116 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44119 (exit $ac_status); }; then
44120 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44128 if test -n "$PKG_CONFIG"; then
44129 if test -n "$GTKPRINT_LIBS"; then
44130 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44132 if test -n "$PKG_CONFIG" && \
44133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44134 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); }; then
44138 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44149 if test $pkg_failed = yes; then
44151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44152 _pkg_short_errors_supported=yes
44154 _pkg_short_errors_supported=no
44156 if test $_pkg_short_errors_supported = yes; then
44157 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44159 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44161 # Put the nasty error message in config.log where it belongs
44162 echo "$GTKPRINT_PKG_ERRORS" >&5
44165 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44166 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44167 wxUSE_GTKPRINT="no"
44170 elif test $pkg_failed = untried; then
44172 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44173 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44174 wxUSE_GTKPRINT="no"
44178 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44179 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44180 { echo "$as_me:$LINENO: result: yes" >&5
44181 echo "${ECHO_T}yes" >&6; }
44183 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44184 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44185 cat >>confdefs.h <<\_ACEOF
44186 #define wxUSE_GTKPRINT 1
44193 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44197 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44198 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44200 if test -n "$PKG_CONFIG"; then
44201 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44202 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44204 if test -n "$PKG_CONFIG" && \
44205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44206 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44209 (exit $ac_status); }; then
44210 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44218 if test -n "$PKG_CONFIG"; then
44219 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44220 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44222 if test -n "$PKG_CONFIG" && \
44223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44224 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; then
44228 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44239 if test $pkg_failed = yes; then
44241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44242 _pkg_short_errors_supported=yes
44244 _pkg_short_errors_supported=no
44246 if test $_pkg_short_errors_supported = yes; then
44247 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44249 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44251 # Put the nasty error message in config.log where it belongs
44252 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44255 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44256 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44257 wxUSE_LIBGNOMEPRINT="no"
44260 elif test $pkg_failed = untried; then
44262 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44263 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44264 wxUSE_LIBGNOMEPRINT="no"
44268 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44269 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44270 { echo "$as_me:$LINENO: result: yes" >&5
44271 echo "${ECHO_T}yes" >&6; }
44273 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44274 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_LIBGNOMEPRINT 1
44284 if test "$wxUSE_MIMETYPE" = "yes" ; then
44285 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44289 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44290 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44292 if test -n "$PKG_CONFIG"; then
44293 if test -n "$GNOMEVFS_CFLAGS"; then
44294 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44296 if test -n "$PKG_CONFIG" && \
44297 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44298 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); }; then
44302 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44310 if test -n "$PKG_CONFIG"; then
44311 if test -n "$GNOMEVFS_LIBS"; then
44312 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44314 if test -n "$PKG_CONFIG" && \
44315 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44316 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); }; then
44320 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44331 if test $pkg_failed = yes; then
44333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44334 _pkg_short_errors_supported=yes
44336 _pkg_short_errors_supported=no
44338 if test $_pkg_short_errors_supported = yes; then
44339 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44341 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44343 # Put the nasty error message in config.log where it belongs
44344 echo "$GNOMEVFS_PKG_ERRORS" >&5
44347 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44348 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44349 wxUSE_LIBGNOMEVFS="no"
44352 elif test $pkg_failed = untried; then
44354 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44355 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44356 wxUSE_LIBGNOMEVFS="no"
44360 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44361 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44362 { echo "$as_me:$LINENO: result: yes" >&5
44363 echo "${ECHO_T}yes" >&6; }
44365 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44366 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_LIBGNOMEVFS 1
44376 if test "$wxUSE_LIBHILDON" = "yes" ; then
44379 { echo "$as_me:$LINENO: checking for HILDON" >&5
44380 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44382 if test -n "$PKG_CONFIG"; then
44383 if test -n "$HILDON_CFLAGS"; then
44384 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44386 if test -n "$PKG_CONFIG" && \
44387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44388 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391 (exit $ac_status); }; then
44392 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44400 if test -n "$PKG_CONFIG"; then
44401 if test -n "$HILDON_LIBS"; then
44402 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44404 if test -n "$PKG_CONFIG" && \
44405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44406 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); }; then
44410 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44421 if test $pkg_failed = yes; then
44423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44424 _pkg_short_errors_supported=yes
44426 _pkg_short_errors_supported=no
44428 if test $_pkg_short_errors_supported = yes; then
44429 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44431 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44433 # Put the nasty error message in config.log where it belongs
44434 echo "$HILDON_PKG_ERRORS" >&5
44437 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44438 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44439 wxUSE_LIBHILDON="no"
44443 elif test $pkg_failed = untried; then
44445 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44446 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44447 wxUSE_LIBHILDON="no"
44452 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44453 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44454 { echo "$as_me:$LINENO: result: yes" >&5
44455 echo "${ECHO_T}yes" >&6; }
44457 EXTRALIBS_HILDON="$HILDON_LIBS"
44458 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44459 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44460 cat >>confdefs.h <<\_ACEOF
44461 #define wxUSE_LIBHILDON 1
44468 if test "$ac_hildon_lgpl" = 0 ; then
44471 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44472 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44474 if test -n "$PKG_CONFIG"; then
44475 if test -n "$HILDON2_CFLAGS"; then
44476 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44478 if test -n "$PKG_CONFIG" && \
44479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44480 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); }; then
44484 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44492 if test -n "$PKG_CONFIG"; then
44493 if test -n "$HILDON2_LIBS"; then
44494 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44496 if test -n "$PKG_CONFIG" && \
44497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44498 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501 (exit $ac_status); }; then
44502 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44513 if test $pkg_failed = yes; then
44515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44516 _pkg_short_errors_supported=yes
44518 _pkg_short_errors_supported=no
44520 if test $_pkg_short_errors_supported = yes; then
44521 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44523 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44525 # Put the nasty error message in config.log where it belongs
44526 echo "$HILDON2_PKG_ERRORS" >&5
44529 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44530 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44531 wxUSE_LIBHILDON2="no"
44534 elif test $pkg_failed = untried; then
44536 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44537 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44538 wxUSE_LIBHILDON2="no"
44542 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44543 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44544 { echo "$as_me:$LINENO: result: yes" >&5
44545 echo "${ECHO_T}yes" >&6; }
44547 EXTRALIBS_HILDON="$HILDON2_LIBS"
44548 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44549 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_LIBHILDON2 1
44560 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_CMDLINE_PARSER 1
44567 if test "$wxUSE_STOPWATCH" = "yes"; then
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_STOPWATCH 1
44574 if test "$wxUSE_DATETIME" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_DATETIME 1
44581 if test "$wxUSE_FILE" = "yes"; then
44582 cat >>confdefs.h <<\_ACEOF
44583 #define wxUSE_FILE 1
44588 if test "$wxUSE_FFILE" = "yes"; then
44589 cat >>confdefs.h <<\_ACEOF
44590 #define wxUSE_FFILE 1
44595 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44596 if test "$wxUSE_STREAMS" != yes; then
44597 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44598 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44599 wxUSE_ARCHIVE_STREAMS=no
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_ARCHIVE_STREAMS 1
44608 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44610 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44611 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44612 elif test "$wxUSE_ZLIB" = "no"; then
44613 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44614 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44616 cat >>confdefs.h <<\_ACEOF
44617 #define wxUSE_ZIPSTREAM 1
44623 if test "$wxUSE_TARSTREAM" = "yes"; then
44624 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44625 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44626 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_TARSTREAM 1
44635 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44636 cat >>confdefs.h <<\_ACEOF
44637 #define wxUSE_FILE_HISTORY 1
44642 if test "$wxUSE_FILESYSTEM" = "yes"; then
44643 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44644 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44645 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44646 wxUSE_FILESYSTEM=no
44648 cat >>confdefs.h <<\_ACEOF
44649 #define wxUSE_FILESYSTEM 1
44655 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44656 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44657 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44658 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_FS_ARCHIVE 1
44667 if test "$wxUSE_FS_ZIP" = "yes"; then
44668 if test "$wxUSE_FS_ARCHIVE" != yes; then
44669 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44670 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44672 cat >>confdefs.h <<\_ACEOF
44673 #define wxUSE_FS_ZIP 1
44679 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44680 if test "$USE_UNIX" != 1; then
44681 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44682 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44683 wxUSE_ON_FATAL_EXCEPTION=no
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_ON_FATAL_EXCEPTION 1
44692 if test "$wxUSE_STACKWALKER" = "yes"; then
44693 cat >>confdefs.h <<\_ACEOF
44694 #define wxUSE_STACKWALKER 1
44699 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44700 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44701 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44702 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44703 wxUSE_DEBUGREPORT=no
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_DEBUGREPORT 1
44709 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44715 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44716 cat >>confdefs.h <<\_ACEOF
44717 #define wxUSE_SNGLINST_CHECKER 1
44722 if test "$wxUSE_BUSYINFO" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_BUSYINFO 1
44729 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_STD_IOSTREAM 1
44736 if test "$wxUSE_STD_STRING" = "yes"; then
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_STD_STRING 1
44743 if test "$wxUSE_STDPATHS" = "yes"; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_STDPATHS 1
44750 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44751 cat >>confdefs.h <<\_ACEOF
44752 #define wxUSE_TEXTBUFFER 1
44757 if test "$wxUSE_TEXTFILE" = "yes"; then
44758 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44759 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44760 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44762 cat >>confdefs.h <<\_ACEOF
44763 #define wxUSE_TEXTFILE 1
44769 if test "$wxUSE_CONFIG" = "yes" ; then
44770 if test "$wxUSE_TEXTFILE" != "yes"; then
44771 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44772 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_CONFIG 1
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_CONFIG_NATIVE 1
44782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44786 if test "$wxUSE_INTL" = "yes" ; then
44787 if test "$wxUSE_FILE" != "yes"; then
44788 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44789 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_INTL 1
44795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44796 GUIDIST="$GUIDIST INTL_DIST"
44800 if test "$wxUSE_XLOCALE" = "yes" ; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_XLOCALE 1
44805 { echo "$as_me:$LINENO: checking for locale_t" >&5
44806 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44807 if test "${ac_cv_type_locale_t+set}" = set; then
44808 echo $ECHO_N "(cached) $ECHO_C" >&6
44810 cat >conftest.$ac_ext <<_ACEOF
44813 cat confdefs.h >>conftest.$ac_ext
44814 cat >>conftest.$ac_ext <<_ACEOF
44815 /* end confdefs.h. */
44816 #include <xlocale.h>
44817 #include <locale.h>
44819 typedef locale_t ac__type_new_;
44823 if ((ac__type_new_ *) 0)
44825 if (sizeof (ac__type_new_))
44831 rm -f conftest.$ac_objext
44832 if { (ac_try="$ac_compile"
44833 case "(($ac_try" in
44834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44835 *) ac_try_echo=$ac_try;;
44837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44838 (eval "$ac_compile") 2>conftest.er1
44840 grep -v '^ *+' conftest.er1 >conftest.err
44842 cat conftest.err >&5
44843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44844 (exit $ac_status); } && {
44845 test -z "$ac_c_werror_flag" ||
44846 test ! -s conftest.err
44847 } && test -s conftest.$ac_objext; then
44848 ac_cv_type_locale_t=yes
44850 echo "$as_me: failed program was:" >&5
44851 sed 's/^/| /' conftest.$ac_ext >&5
44853 ac_cv_type_locale_t=no
44856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44858 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44859 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44860 if test $ac_cv_type_locale_t = yes; then
44862 cat >>confdefs.h <<_ACEOF
44863 #define HAVE_LOCALE_T 1
44871 if test "$wxUSE_LOG" = "yes"; then
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_LOG 1
44877 if test "$wxUSE_LOGGUI" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_LOGGUI 1
44884 if test "$wxUSE_LOGWINDOW" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_LOGWINDOW 1
44891 if test "$wxUSE_LOGDIALOG" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_LOG_DIALOG 1
44898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44901 if test "$wxUSE_LONGLONG" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_LONGLONG 1
44908 if test "$wxUSE_GEOMETRY" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_GEOMETRY 1
44915 if test "$wxUSE_BASE64" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_BASE64 1
44922 if test "$wxUSE_STREAMS" = "yes" ; then
44923 cat >>confdefs.h <<\_ACEOF
44924 #define wxUSE_STREAMS 1
44929 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44930 cat >>confdefs.h <<\_ACEOF
44931 #define wxUSE_PRINTF_POS_PARAMS 1
44936 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_OBJC_UNIQUIFYING 1
44944 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44945 cat >>confdefs.h <<\_ACEOF
44946 #define wxUSE_CONSOLE_EVENTLOOP 1
44950 if test "$wxUSE_UNIX" = "yes"; then
44951 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_SELECT_DISPATCHER 1
44958 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44960 for ac_header in sys/epoll.h
44962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44966 echo $ECHO_N "(cached) $ECHO_C" >&6
44968 cat >conftest.$ac_ext <<_ACEOF
44971 cat confdefs.h >>conftest.$ac_ext
44972 cat >>conftest.$ac_ext <<_ACEOF
44973 /* end confdefs.h. */
44974 $ac_includes_default
44976 #include <$ac_header>
44978 rm -f conftest.$ac_objext
44979 if { (ac_try="$ac_compile"
44980 case "(($ac_try" in
44981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44982 *) ac_try_echo=$ac_try;;
44984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44985 (eval "$ac_compile") 2>conftest.er1
44987 grep -v '^ *+' conftest.er1 >conftest.err
44989 cat conftest.err >&5
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); } && {
44992 test -z "$ac_c_werror_flag" ||
44993 test ! -s conftest.err
44994 } && test -s conftest.$ac_objext; then
44995 eval "$as_ac_Header=yes"
44997 echo "$as_me: failed program was:" >&5
44998 sed 's/^/| /' conftest.$ac_ext >&5
45000 eval "$as_ac_Header=no"
45003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45005 ac_res=`eval echo '${'$as_ac_Header'}'`
45006 { echo "$as_me:$LINENO: result: $ac_res" >&5
45007 echo "${ECHO_T}$ac_res" >&6; }
45008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45009 cat >>confdefs.h <<_ACEOF
45010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45017 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_EPOLL_DISPATCHER 1
45023 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45024 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45033 for ac_func in gettimeofday ftime
45035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45036 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45039 echo $ECHO_N "(cached) $ECHO_C" >&6
45041 cat >conftest.$ac_ext <<_ACEOF
45044 cat confdefs.h >>conftest.$ac_ext
45045 cat >>conftest.$ac_ext <<_ACEOF
45046 /* end confdefs.h. */
45047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45049 #define $ac_func innocuous_$ac_func
45051 /* System header to define __stub macros and hopefully few prototypes,
45052 which can conflict with char $ac_func (); below.
45053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45054 <limits.h> exists even on freestanding compilers. */
45057 # include <limits.h>
45059 # include <assert.h>
45064 /* Override any GCC internal prototype to avoid an error.
45065 Use char because int might match the return type of a GCC
45066 builtin and then its argument prototype would still apply. */
45071 /* The GNU C library defines this for functions which it implements
45072 to always fail with ENOSYS. Some functions are actually named
45073 something starting with __ and the normal name is an alias. */
45074 #if defined __stub_$ac_func || defined __stub___$ac_func
45081 return $ac_func ();
45086 rm -f conftest.$ac_objext conftest$ac_exeext
45087 if { (ac_try="$ac_link"
45088 case "(($ac_try" in
45089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45090 *) ac_try_echo=$ac_try;;
45092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45093 (eval "$ac_link") 2>conftest.er1
45095 grep -v '^ *+' conftest.er1 >conftest.err
45097 cat conftest.err >&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); } && {
45100 test -z "$ac_c_werror_flag" ||
45101 test ! -s conftest.err
45102 } && test -s conftest$ac_exeext &&
45103 $as_test_x conftest$ac_exeext; then
45104 eval "$as_ac_var=yes"
45106 echo "$as_me: failed program was:" >&5
45107 sed 's/^/| /' conftest.$ac_ext >&5
45109 eval "$as_ac_var=no"
45112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45113 conftest$ac_exeext conftest.$ac_ext
45115 ac_res=`eval echo '${'$as_ac_var'}'`
45116 { echo "$as_me:$LINENO: result: $ac_res" >&5
45117 echo "${ECHO_T}$ac_res" >&6; }
45118 if test `eval echo '${'$as_ac_var'}'` = yes; then
45119 cat >>confdefs.h <<_ACEOF
45120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45127 if test "$ac_cv_func_gettimeofday" = "yes"; then
45128 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45129 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45130 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45131 echo $ECHO_N "(cached) $ECHO_C" >&6
45134 cat >conftest.$ac_ext <<_ACEOF
45137 cat confdefs.h >>conftest.$ac_ext
45138 cat >>conftest.$ac_ext <<_ACEOF
45139 /* end confdefs.h. */
45141 #include <sys/time.h>
45142 #include <unistd.h>
45149 gettimeofday(&tv, NULL);
45155 rm -f conftest.$ac_objext
45156 if { (ac_try="$ac_compile"
45157 case "(($ac_try" in
45158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45159 *) ac_try_echo=$ac_try;;
45161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45162 (eval "$ac_compile") 2>conftest.er1
45164 grep -v '^ *+' conftest.er1 >conftest.err
45166 cat conftest.err >&5
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); } && {
45169 test -z "$ac_c_werror_flag" ||
45170 test ! -s conftest.err
45171 } && test -s conftest.$ac_objext; then
45172 wx_cv_func_gettimeofday_has_2_args=yes
45174 echo "$as_me: failed program was:" >&5
45175 sed 's/^/| /' conftest.$ac_ext >&5
45177 cat >conftest.$ac_ext <<_ACEOF
45180 cat confdefs.h >>conftest.$ac_ext
45181 cat >>conftest.$ac_ext <<_ACEOF
45182 /* end confdefs.h. */
45184 #include <sys/time.h>
45185 #include <unistd.h>
45198 rm -f conftest.$ac_objext
45199 if { (ac_try="$ac_compile"
45200 case "(($ac_try" in
45201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45202 *) ac_try_echo=$ac_try;;
45204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45205 (eval "$ac_compile") 2>conftest.er1
45207 grep -v '^ *+' conftest.er1 >conftest.err
45209 cat conftest.err >&5
45210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211 (exit $ac_status); } && {
45212 test -z "$ac_c_werror_flag" ||
45213 test ! -s conftest.err
45214 } && test -s conftest.$ac_objext; then
45215 wx_cv_func_gettimeofday_has_2_args=no
45217 echo "$as_me: failed program was:" >&5
45218 sed 's/^/| /' conftest.$ac_ext >&5
45221 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45222 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45223 wx_cv_func_gettimeofday_has_2_args=unknown
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45235 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45236 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45238 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45239 cat >>confdefs.h <<\_ACEOF
45240 #define WX_GETTIMEOFDAY_NO_TZ 1
45246 if test "$wxUSE_DATETIME" = "yes"; then
45247 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45248 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45249 if test "${wx_cv_var_timezone+set}" = set; then
45250 echo $ECHO_N "(cached) $ECHO_C" >&6
45254 ac_cpp='$CXXCPP $CPPFLAGS'
45255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45259 cat >conftest.$ac_ext <<_ACEOF
45262 cat confdefs.h >>conftest.$ac_ext
45263 cat >>conftest.$ac_ext <<_ACEOF
45264 /* end confdefs.h. */
45279 rm -f conftest.$ac_objext
45280 if { (ac_try="$ac_compile"
45281 case "(($ac_try" in
45282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45283 *) ac_try_echo=$ac_try;;
45285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45286 (eval "$ac_compile") 2>conftest.er1
45288 grep -v '^ *+' conftest.er1 >conftest.err
45290 cat conftest.err >&5
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); } && {
45293 test -z "$ac_cxx_werror_flag" ||
45294 test ! -s conftest.err
45295 } && test -s conftest.$ac_objext; then
45297 wx_cv_var_timezone=timezone
45300 echo "$as_me: failed program was:" >&5
45301 sed 's/^/| /' conftest.$ac_ext >&5
45304 cat >conftest.$ac_ext <<_ACEOF
45307 cat confdefs.h >>conftest.$ac_ext
45308 cat >>conftest.$ac_ext <<_ACEOF
45309 /* end confdefs.h. */
45324 rm -f conftest.$ac_objext
45325 if { (ac_try="$ac_compile"
45326 case "(($ac_try" in
45327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45328 *) ac_try_echo=$ac_try;;
45330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45331 (eval "$ac_compile") 2>conftest.er1
45333 grep -v '^ *+' conftest.er1 >conftest.err
45335 cat conftest.err >&5
45336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45337 (exit $ac_status); } && {
45338 test -z "$ac_cxx_werror_flag" ||
45339 test ! -s conftest.err
45340 } && test -s conftest.$ac_objext; then
45342 wx_cv_var_timezone=_timezone
45345 echo "$as_me: failed program was:" >&5
45346 sed 's/^/| /' conftest.$ac_ext >&5
45349 cat >conftest.$ac_ext <<_ACEOF
45352 cat confdefs.h >>conftest.$ac_ext
45353 cat >>conftest.$ac_ext <<_ACEOF
45354 /* end confdefs.h. */
45369 rm -f conftest.$ac_objext
45370 if { (ac_try="$ac_compile"
45371 case "(($ac_try" in
45372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45373 *) ac_try_echo=$ac_try;;
45375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45376 (eval "$ac_compile") 2>conftest.er1
45378 grep -v '^ *+' conftest.er1 >conftest.err
45380 cat conftest.err >&5
45381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45382 (exit $ac_status); } && {
45383 test -z "$ac_cxx_werror_flag" ||
45384 test ! -s conftest.err
45385 } && test -s conftest.$ac_objext; then
45387 wx_cv_var_timezone=__timezone
45390 echo "$as_me: failed program was:" >&5
45391 sed 's/^/| /' conftest.$ac_ext >&5
45394 if test "$USE_DOS" = 0 ; then
45395 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45396 echo "$as_me: WARNING: no timezone variable" >&2;}
45402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45414 ac_cpp='$CPP $CPPFLAGS'
45415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45422 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45423 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45425 if test "x$wx_cv_var_timezone" != x ; then
45426 cat >>confdefs.h <<_ACEOF
45427 #define WX_TIMEZONE $wx_cv_var_timezone
45433 for ac_func in localtime
45435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45439 echo $ECHO_N "(cached) $ECHO_C" >&6
45441 cat >conftest.$ac_ext <<_ACEOF
45444 cat confdefs.h >>conftest.$ac_ext
45445 cat >>conftest.$ac_ext <<_ACEOF
45446 /* end confdefs.h. */
45447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45449 #define $ac_func innocuous_$ac_func
45451 /* System header to define __stub macros and hopefully few prototypes,
45452 which can conflict with char $ac_func (); below.
45453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45454 <limits.h> exists even on freestanding compilers. */
45457 # include <limits.h>
45459 # include <assert.h>
45464 /* Override any GCC internal prototype to avoid an error.
45465 Use char because int might match the return type of a GCC
45466 builtin and then its argument prototype would still apply. */
45471 /* The GNU C library defines this for functions which it implements
45472 to always fail with ENOSYS. Some functions are actually named
45473 something starting with __ and the normal name is an alias. */
45474 #if defined __stub_$ac_func || defined __stub___$ac_func
45481 return $ac_func ();
45486 rm -f conftest.$ac_objext conftest$ac_exeext
45487 if { (ac_try="$ac_link"
45488 case "(($ac_try" in
45489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45490 *) ac_try_echo=$ac_try;;
45492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45493 (eval "$ac_link") 2>conftest.er1
45495 grep -v '^ *+' conftest.er1 >conftest.err
45497 cat conftest.err >&5
45498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45499 (exit $ac_status); } && {
45500 test -z "$ac_c_werror_flag" ||
45501 test ! -s conftest.err
45502 } && test -s conftest$ac_exeext &&
45503 $as_test_x conftest$ac_exeext; then
45504 eval "$as_ac_var=yes"
45506 echo "$as_me: failed program was:" >&5
45507 sed 's/^/| /' conftest.$ac_ext >&5
45509 eval "$as_ac_var=no"
45512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45513 conftest$ac_exeext conftest.$ac_ext
45515 ac_res=`eval echo '${'$as_ac_var'}'`
45516 { echo "$as_me:$LINENO: result: $ac_res" >&5
45517 echo "${ECHO_T}$ac_res" >&6; }
45518 if test `eval echo '${'$as_ac_var'}'` = yes; then
45519 cat >>confdefs.h <<_ACEOF
45520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45527 if test "$ac_cv_func_localtime" = "yes"; then
45528 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45529 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45530 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45531 echo $ECHO_N "(cached) $ECHO_C" >&6
45534 cat >conftest.$ac_ext <<_ACEOF
45537 cat confdefs.h >>conftest.$ac_ext
45538 cat >>conftest.$ac_ext <<_ACEOF
45539 /* end confdefs.h. */
45554 rm -f conftest.$ac_objext
45555 if { (ac_try="$ac_compile"
45556 case "(($ac_try" in
45557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45558 *) ac_try_echo=$ac_try;;
45560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45561 (eval "$ac_compile") 2>conftest.er1
45563 grep -v '^ *+' conftest.er1 >conftest.err
45565 cat conftest.err >&5
45566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45567 (exit $ac_status); } && {
45568 test -z "$ac_c_werror_flag" ||
45569 test ! -s conftest.err
45570 } && test -s conftest.$ac_objext; then
45572 wx_cv_struct_tm_has_gmtoff=yes
45575 echo "$as_me: failed program was:" >&5
45576 sed 's/^/| /' conftest.$ac_ext >&5
45578 wx_cv_struct_tm_has_gmtoff=no
45582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45585 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45586 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45589 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define WX_GMTOFF_IN_TM 1
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45600 if test "$wxUSE_SOCKETS" = "yes"; then
45601 if test "$wxUSE_MGL" = 1; then
45602 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45603 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45608 if test "$wxUSE_SOCKETS" = "yes"; then
45609 if test "$TOOLKIT" != "MSW"; then
45610 { echo "$as_me:$LINENO: checking for socket" >&5
45611 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45612 if test "${ac_cv_func_socket+set}" = set; then
45613 echo $ECHO_N "(cached) $ECHO_C" >&6
45615 cat >conftest.$ac_ext <<_ACEOF
45618 cat confdefs.h >>conftest.$ac_ext
45619 cat >>conftest.$ac_ext <<_ACEOF
45620 /* end confdefs.h. */
45621 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45623 #define socket innocuous_socket
45625 /* System header to define __stub macros and hopefully few prototypes,
45626 which can conflict with char socket (); below.
45627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45628 <limits.h> exists even on freestanding compilers. */
45631 # include <limits.h>
45633 # include <assert.h>
45638 /* Override any GCC internal prototype to avoid an error.
45639 Use char because int might match the return type of a GCC
45640 builtin and then its argument prototype would still apply. */
45645 /* The GNU C library defines this for functions which it implements
45646 to always fail with ENOSYS. Some functions are actually named
45647 something starting with __ and the normal name is an alias. */
45648 #if defined __stub_socket || defined __stub___socket
45660 rm -f conftest.$ac_objext conftest$ac_exeext
45661 if { (ac_try="$ac_link"
45662 case "(($ac_try" in
45663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45664 *) ac_try_echo=$ac_try;;
45666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45667 (eval "$ac_link") 2>conftest.er1
45669 grep -v '^ *+' conftest.er1 >conftest.err
45671 cat conftest.err >&5
45672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673 (exit $ac_status); } && {
45674 test -z "$ac_c_werror_flag" ||
45675 test ! -s conftest.err
45676 } && test -s conftest$ac_exeext &&
45677 $as_test_x conftest$ac_exeext; then
45678 ac_cv_func_socket=yes
45680 echo "$as_me: failed program was:" >&5
45681 sed 's/^/| /' conftest.$ac_ext >&5
45683 ac_cv_func_socket=no
45686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45687 conftest$ac_exeext conftest.$ac_ext
45689 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45690 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45691 if test $ac_cv_func_socket = yes; then
45695 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45696 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45697 if test "${ac_cv_lib_socket_socket+set}" = set; then
45698 echo $ECHO_N "(cached) $ECHO_C" >&6
45700 ac_check_lib_save_LIBS=$LIBS
45701 LIBS="-lsocket $LIBS"
45702 cat >conftest.$ac_ext <<_ACEOF
45705 cat confdefs.h >>conftest.$ac_ext
45706 cat >>conftest.$ac_ext <<_ACEOF
45707 /* end confdefs.h. */
45709 /* Override any GCC internal prototype to avoid an error.
45710 Use char because int might match the return type of a GCC
45711 builtin and then its argument prototype would still apply. */
45724 rm -f conftest.$ac_objext conftest$ac_exeext
45725 if { (ac_try="$ac_link"
45726 case "(($ac_try" in
45727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45728 *) ac_try_echo=$ac_try;;
45730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45731 (eval "$ac_link") 2>conftest.er1
45733 grep -v '^ *+' conftest.er1 >conftest.err
45735 cat conftest.err >&5
45736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737 (exit $ac_status); } && {
45738 test -z "$ac_c_werror_flag" ||
45739 test ! -s conftest.err
45740 } && test -s conftest$ac_exeext &&
45741 $as_test_x conftest$ac_exeext; then
45742 ac_cv_lib_socket_socket=yes
45744 echo "$as_me: failed program was:" >&5
45745 sed 's/^/| /' conftest.$ac_ext >&5
45747 ac_cv_lib_socket_socket=no
45750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45751 conftest$ac_exeext conftest.$ac_ext
45752 LIBS=$ac_check_lib_save_LIBS
45754 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45755 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45756 if test $ac_cv_lib_socket_socket = yes; then
45757 if test "$INET_LINK" != " -lsocket"; then
45758 INET_LINK="$INET_LINK -lsocket"
45762 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45763 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45776 if test "$wxUSE_SOCKETS" = "yes" ; then
45777 if test "$TOOLKIT" != "MSW"; then
45778 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45779 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45780 if test "${wx_cv_type_getsockname3+set}" = set; then
45781 echo $ECHO_N "(cached) $ECHO_C" >&6
45785 ac_cpp='$CXXCPP $CPPFLAGS'
45786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45790 cat >conftest.$ac_ext <<_ACEOF
45793 cat confdefs.h >>conftest.$ac_ext
45794 cat >>conftest.$ac_ext <<_ACEOF
45795 /* end confdefs.h. */
45797 #include <sys/types.h>
45798 #include <sys/socket.h>
45805 getsockname(0, 0, &len);
45811 rm -f conftest.$ac_objext
45812 if { (ac_try="$ac_compile"
45813 case "(($ac_try" in
45814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45815 *) ac_try_echo=$ac_try;;
45817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45818 (eval "$ac_compile") 2>conftest.er1
45820 grep -v '^ *+' conftest.er1 >conftest.err
45822 cat conftest.err >&5
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); } && {
45825 test -z "$ac_cxx_werror_flag" ||
45826 test ! -s conftest.err
45827 } && test -s conftest.$ac_objext; then
45828 wx_cv_type_getsockname3=socklen_t
45830 echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45834 CFLAGS_OLD="$CFLAGS"
45835 if test "$GCC" = yes ; then
45836 CFLAGS="-Werror $CFLAGS"
45839 cat >conftest.$ac_ext <<_ACEOF
45842 cat confdefs.h >>conftest.$ac_ext
45843 cat >>conftest.$ac_ext <<_ACEOF
45844 /* end confdefs.h. */
45846 #include <sys/types.h>
45847 #include <sys/socket.h>
45854 getsockname(0, 0, &len);
45860 rm -f conftest.$ac_objext
45861 if { (ac_try="$ac_compile"
45862 case "(($ac_try" in
45863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45864 *) ac_try_echo=$ac_try;;
45866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45867 (eval "$ac_compile") 2>conftest.er1
45869 grep -v '^ *+' conftest.er1 >conftest.err
45871 cat conftest.err >&5
45872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45873 (exit $ac_status); } && {
45874 test -z "$ac_cxx_werror_flag" ||
45875 test ! -s conftest.err
45876 } && test -s conftest.$ac_objext; then
45877 wx_cv_type_getsockname3=size_t
45879 echo "$as_me: failed program was:" >&5
45880 sed 's/^/| /' conftest.$ac_ext >&5
45882 cat >conftest.$ac_ext <<_ACEOF
45885 cat confdefs.h >>conftest.$ac_ext
45886 cat >>conftest.$ac_ext <<_ACEOF
45887 /* end confdefs.h. */
45889 #include <sys/types.h>
45890 #include <sys/socket.h>
45897 getsockname(0, 0, &len);
45903 rm -f conftest.$ac_objext
45904 if { (ac_try="$ac_compile"
45905 case "(($ac_try" in
45906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45907 *) ac_try_echo=$ac_try;;
45909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45910 (eval "$ac_compile") 2>conftest.er1
45912 grep -v '^ *+' conftest.er1 >conftest.err
45914 cat conftest.err >&5
45915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45916 (exit $ac_status); } && {
45917 test -z "$ac_cxx_werror_flag" ||
45918 test ! -s conftest.err
45919 } && test -s conftest.$ac_objext; then
45920 wx_cv_type_getsockname3=int
45922 echo "$as_me: failed program was:" >&5
45923 sed 's/^/| /' conftest.$ac_ext >&5
45925 wx_cv_type_getsockname3=unknown
45929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935 CFLAGS="$CFLAGS_OLD"
45940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45942 ac_cpp='$CPP $CPPFLAGS'
45943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45949 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45950 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45952 if test "$wx_cv_type_getsockname3" = "unknown"; then
45954 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45955 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45957 cat >>confdefs.h <<_ACEOF
45958 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45962 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45963 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45964 if test "${wx_cv_type_getsockopt5+set}" = set; then
45965 echo $ECHO_N "(cached) $ECHO_C" >&6
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45974 cat >conftest.$ac_ext <<_ACEOF
45977 cat confdefs.h >>conftest.$ac_ext
45978 cat >>conftest.$ac_ext <<_ACEOF
45979 /* end confdefs.h. */
45981 #include <sys/types.h>
45982 #include <sys/socket.h>
45989 getsockopt(0, 0, 0, 0, &len);
45995 rm -f conftest.$ac_objext
45996 if { (ac_try="$ac_compile"
45997 case "(($ac_try" in
45998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45999 *) ac_try_echo=$ac_try;;
46001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46002 (eval "$ac_compile") 2>conftest.er1
46004 grep -v '^ *+' conftest.er1 >conftest.err
46006 cat conftest.err >&5
46007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46008 (exit $ac_status); } && {
46009 test -z "$ac_cxx_werror_flag" ||
46010 test ! -s conftest.err
46011 } && test -s conftest.$ac_objext; then
46012 wx_cv_type_getsockopt5=socklen_t
46014 echo "$as_me: failed program was:" >&5
46015 sed 's/^/| /' conftest.$ac_ext >&5
46018 cat >conftest.$ac_ext <<_ACEOF
46021 cat confdefs.h >>conftest.$ac_ext
46022 cat >>conftest.$ac_ext <<_ACEOF
46023 /* end confdefs.h. */
46025 #include <sys/types.h>
46026 #include <sys/socket.h>
46033 getsockopt(0, 0, 0, 0, &len);
46039 rm -f conftest.$ac_objext
46040 if { (ac_try="$ac_compile"
46041 case "(($ac_try" in
46042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46043 *) ac_try_echo=$ac_try;;
46045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46046 (eval "$ac_compile") 2>conftest.er1
46048 grep -v '^ *+' conftest.er1 >conftest.err
46050 cat conftest.err >&5
46051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46052 (exit $ac_status); } && {
46053 test -z "$ac_cxx_werror_flag" ||
46054 test ! -s conftest.err
46055 } && test -s conftest.$ac_objext; then
46056 wx_cv_type_getsockopt5=size_t
46058 echo "$as_me: failed program was:" >&5
46059 sed 's/^/| /' conftest.$ac_ext >&5
46061 cat >conftest.$ac_ext <<_ACEOF
46064 cat confdefs.h >>conftest.$ac_ext
46065 cat >>conftest.$ac_ext <<_ACEOF
46066 /* end confdefs.h. */
46068 #include <sys/types.h>
46069 #include <sys/socket.h>
46076 getsockopt(0, 0, 0, 0, &len);
46082 rm -f conftest.$ac_objext
46083 if { (ac_try="$ac_compile"
46084 case "(($ac_try" in
46085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46086 *) ac_try_echo=$ac_try;;
46088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46089 (eval "$ac_compile") 2>conftest.er1
46091 grep -v '^ *+' conftest.er1 >conftest.err
46093 cat conftest.err >&5
46094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095 (exit $ac_status); } && {
46096 test -z "$ac_cxx_werror_flag" ||
46097 test ! -s conftest.err
46098 } && test -s conftest.$ac_objext; then
46099 wx_cv_type_getsockopt5=int
46101 echo "$as_me: failed program was:" >&5
46102 sed 's/^/| /' conftest.$ac_ext >&5
46104 wx_cv_type_getsockopt5=unknown
46108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46126 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46127 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46129 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46131 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46132 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46134 cat >>confdefs.h <<_ACEOF
46135 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46142 if test "$wxUSE_SOCKETS" = "yes" ; then
46143 if test "$wxUSE_IPV6" = "yes"; then
46144 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46145 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46146 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46147 echo $ECHO_N "(cached) $ECHO_C" >&6
46150 cat >conftest.$ac_ext <<_ACEOF
46153 cat confdefs.h >>conftest.$ac_ext
46154 cat >>conftest.$ac_ext <<_ACEOF
46155 /* end confdefs.h. */
46157 #include <sys/types.h>
46158 #include <sys/socket.h>
46159 #include <netinet/in.h>
46165 struct sockaddr_in6 sa6;
46171 rm -f conftest.$ac_objext
46172 if { (ac_try="$ac_compile"
46173 case "(($ac_try" in
46174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46175 *) ac_try_echo=$ac_try;;
46177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46178 (eval "$ac_compile") 2>conftest.er1
46180 grep -v '^ *+' conftest.er1 >conftest.err
46182 cat conftest.err >&5
46183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184 (exit $ac_status); } && {
46185 test -z "$ac_c_werror_flag" ||
46186 test ! -s conftest.err
46187 } && test -s conftest.$ac_objext; then
46188 wx_cv_type_sockaddr_in6=yes
46190 echo "$as_me: failed program was:" >&5
46191 sed 's/^/| /' conftest.$ac_ext >&5
46193 wx_cv_type_sockaddr_in6=no
46197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46201 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46202 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46204 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_IPV6 1
46210 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46211 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_SOCKETS 1
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46222 if test "$wxUSE_PROTOCOL" = "yes"; then
46223 if test "$wxUSE_SOCKETS" != "yes"; then
46224 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46225 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46230 if test "$wxUSE_PROTOCOL" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_PROTOCOL 1
46236 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_PROTOCOL_HTTP 1
46242 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46243 cat >>confdefs.h <<\_ACEOF
46244 #define wxUSE_PROTOCOL_FTP 1
46248 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_PROTOCOL_FILE 1
46255 if test "$wxUSE_FS_INET" = "yes"; then
46256 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46257 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46262 if test "$wxUSE_URL" = "yes"; then
46263 if test "$wxUSE_PROTOCOL" != "yes"; then
46264 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46265 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46268 if test "$wxUSE_URL" = "yes"; then
46269 cat >>confdefs.h <<\_ACEOF
46270 #define wxUSE_URL 1
46276 if test "$wxUSE_VARIANT" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_VARIANT 1
46283 if test "$wxUSE_FS_INET" = "yes"; then
46284 cat >>confdefs.h <<\_ACEOF
46285 #define wxUSE_FS_INET 1
46291 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46294 if test "$TOOLKIT" = "MSW"; then
46297 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46298 if test "$USE_DARWIN" = 1; then
46299 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46300 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46302 ac_cpp='$CXXCPP $CPPFLAGS'
46303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46307 cat >conftest.$ac_ext <<_ACEOF
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46313 #include <IOKit/hid/IOHIDLib.h>
46317 IOHIDQueueInterface *qi = NULL;
46318 IOHIDCallbackFunction cb = NULL;
46319 qi->setEventCallout(NULL, cb, NULL, NULL);
46324 rm -f conftest.$ac_objext
46325 if { (ac_try="$ac_compile"
46326 case "(($ac_try" in
46327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46328 *) ac_try_echo=$ac_try;;
46330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46331 (eval "$ac_compile") 2>conftest.er1
46333 grep -v '^ *+' conftest.er1 >conftest.err
46335 cat conftest.err >&5
46336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46337 (exit $ac_status); } && {
46338 test -z "$ac_cxx_werror_flag" ||
46339 test ! -s conftest.err
46340 } && test -s conftest.$ac_objext; then
46344 echo "$as_me: failed program was:" >&5
46345 sed 's/^/| /' conftest.$ac_ext >&5
46350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46352 ac_cpp='$CPP $CPPFLAGS'
46353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46357 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46358 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46362 if test "$wxUSE_MGL" != 1; then
46364 for ac_header in linux/joystick.h
46366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46370 echo $ECHO_N "(cached) $ECHO_C" >&6
46372 cat >conftest.$ac_ext <<_ACEOF
46375 cat confdefs.h >>conftest.$ac_ext
46376 cat >>conftest.$ac_ext <<_ACEOF
46377 /* end confdefs.h. */
46378 $ac_includes_default
46380 #include <$ac_header>
46382 rm -f conftest.$ac_objext
46383 if { (ac_try="$ac_compile"
46384 case "(($ac_try" in
46385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46386 *) ac_try_echo=$ac_try;;
46388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46389 (eval "$ac_compile") 2>conftest.er1
46391 grep -v '^ *+' conftest.er1 >conftest.err
46393 cat conftest.err >&5
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); } && {
46396 test -z "$ac_c_werror_flag" ||
46397 test ! -s conftest.err
46398 } && test -s conftest.$ac_objext; then
46399 eval "$as_ac_Header=yes"
46401 echo "$as_me: failed program was:" >&5
46402 sed 's/^/| /' conftest.$ac_ext >&5
46404 eval "$as_ac_Header=no"
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46409 ac_res=`eval echo '${'$as_ac_Header'}'`
46410 { echo "$as_me:$LINENO: result: $ac_res" >&5
46411 echo "${ECHO_T}$ac_res" >&6; }
46412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46413 cat >>confdefs.h <<_ACEOF
46414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46424 if test "$wxUSE_JOYSTICK" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_JOYSTICK 1
46429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46431 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46432 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46438 if test "$wxUSE_FONTENUM" = "yes" ; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_FONTENUM 1
46445 if test "$wxUSE_FONTMAP" = "yes" ; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_FONTMAP 1
46452 if test "$wxUSE_UNICODE" = "yes" ; then
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_UNICODE 1
46458 if test "$USE_WIN32" != 1; then
46459 wxUSE_UNICODE_MSLU=no
46462 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46463 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46464 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46465 if test "${ac_cv_lib_unicows_main+set}" = set; then
46466 echo $ECHO_N "(cached) $ECHO_C" >&6
46468 ac_check_lib_save_LIBS=$LIBS
46469 LIBS="-lunicows $LIBS"
46470 cat >conftest.$ac_ext <<_ACEOF
46473 cat confdefs.h >>conftest.$ac_ext
46474 cat >>conftest.$ac_ext <<_ACEOF
46475 /* end confdefs.h. */
46486 rm -f conftest.$ac_objext conftest$ac_exeext
46487 if { (ac_try="$ac_link"
46488 case "(($ac_try" in
46489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46490 *) ac_try_echo=$ac_try;;
46492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46493 (eval "$ac_link") 2>conftest.er1
46495 grep -v '^ *+' conftest.er1 >conftest.err
46497 cat conftest.err >&5
46498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499 (exit $ac_status); } && {
46500 test -z "$ac_c_werror_flag" ||
46501 test ! -s conftest.err
46502 } && test -s conftest$ac_exeext &&
46503 $as_test_x conftest$ac_exeext; then
46504 ac_cv_lib_unicows_main=yes
46506 echo "$as_me: failed program was:" >&5
46507 sed 's/^/| /' conftest.$ac_ext >&5
46509 ac_cv_lib_unicows_main=no
46512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46513 conftest$ac_exeext conftest.$ac_ext
46514 LIBS=$ac_check_lib_save_LIBS
46516 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46517 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46518 if test $ac_cv_lib_unicows_main = yes; then
46520 cat >>confdefs.h <<\_ACEOF
46521 #define wxUSE_UNICODE_MSLU 1
46527 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46528 Applications will only run on Windows NT/2000/XP!" >&5
46529 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46530 Applications will only run on Windows NT/2000/XP!" >&2;}
46531 wxUSE_UNICODE_MSLU=no
46538 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_UNICODE_UTF8 1
46544 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_UTF8_LOCALE_ONLY 1
46553 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_CONSTRAINTS 1
46558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46561 if test "$wxUSE_MDI" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_MDI 1
46567 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_MDI_ARCHITECTURE 1
46572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46576 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46584 if test "$wxUSE_HELP" = "yes"; then
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_HELP 1
46589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46591 if test "$wxUSE_MSW" = 1; then
46592 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_MS_HTML_HELP 1
46600 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46601 if test "$wxUSE_HTML" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_WXHTML_HELP 1
46607 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46608 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46609 wxUSE_WXHTML_HELP=no
46614 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46615 cat >>confdefs.h <<\_ACEOF
46616 #define wxUSE_PRINTING_ARCHITECTURE 1
46619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46622 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_POSTSCRIPT 1
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46634 if test "$wxUSE_SVG" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_SVG 1
46642 if test "$wxUSE_METAFILE" = "yes"; then
46643 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46644 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46645 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46651 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46652 -o "$wxUSE_CLIPBOARD" = "yes" \
46653 -o "$wxUSE_OLE" = "yes" \
46654 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46655 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46656 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46657 if test "${ac_cv_header_ole2_h+set}" = set; then
46658 echo $ECHO_N "(cached) $ECHO_C" >&6
46660 cat >conftest.$ac_ext <<_ACEOF
46663 cat confdefs.h >>conftest.$ac_ext
46664 cat >>conftest.$ac_ext <<_ACEOF
46665 /* end confdefs.h. */
46670 rm -f conftest.$ac_objext
46671 if { (ac_try="$ac_compile"
46672 case "(($ac_try" in
46673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46674 *) ac_try_echo=$ac_try;;
46676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46677 (eval "$ac_compile") 2>conftest.er1
46679 grep -v '^ *+' conftest.er1 >conftest.err
46681 cat conftest.err >&5
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); } && {
46684 test -z "$ac_c_werror_flag" ||
46685 test ! -s conftest.err
46686 } && test -s conftest.$ac_objext; then
46687 ac_cv_header_ole2_h=yes
46689 echo "$as_me: failed program was:" >&5
46690 sed 's/^/| /' conftest.$ac_ext >&5
46692 ac_cv_header_ole2_h=no
46695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46697 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46698 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46702 if test "$ac_cv_header_ole2_h" = "yes" ; then
46703 if test "$GCC" = yes ; then
46704 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46705 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46706 cat >conftest.$ac_ext <<_ACEOF
46709 cat confdefs.h >>conftest.$ac_ext
46710 cat >>conftest.$ac_ext <<_ACEOF
46711 /* end confdefs.h. */
46712 #include <windows.h>
46722 rm -f conftest.$ac_objext
46723 if { (ac_try="$ac_compile"
46724 case "(($ac_try" in
46725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46726 *) ac_try_echo=$ac_try;;
46728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46729 (eval "$ac_compile") 2>conftest.er1
46731 grep -v '^ *+' conftest.er1 >conftest.err
46733 cat conftest.err >&5
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); } && {
46736 test -z "$ac_c_werror_flag" ||
46737 test ! -s conftest.err
46738 } && test -s conftest.$ac_objext; then
46739 { echo "$as_me:$LINENO: result: no" >&5
46740 echo "${ECHO_T}no" >&6; }
46742 echo "$as_me: failed program was:" >&5
46743 sed 's/^/| /' conftest.$ac_ext >&5
46745 { echo "$as_me:$LINENO: result: yes" >&5
46746 echo "${ECHO_T}yes" >&6; }
46747 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46751 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46752 if test "$wxUSE_OLE" = "yes" ; then
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_OLE 1
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_OLE_AUTOMATION 1
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_ACTIVEX 1
46765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46769 if test "$wxUSE_DATAOBJ" = "yes" ; then
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_DATAOBJ 1
46776 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46777 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46780 wxUSE_DRAG_AND_DROP=no
46785 if test "$wxUSE_METAFILE" = "yes"; then
46786 cat >>confdefs.h <<\_ACEOF
46787 #define wxUSE_METAFILE 1
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_ENH_METAFILE 1
46798 if test "$wxUSE_IPC" = "yes"; then
46799 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46800 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46801 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46805 if test "$wxUSE_IPC" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_IPC 1
46810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46814 if test "$wxUSE_DATAOBJ" = "yes"; then
46815 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46816 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46817 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_DATAOBJ 1
46826 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46827 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46829 wxUSE_DRAG_AND_DROP=no
46832 if test "$wxUSE_CLIPBOARD" = "yes"; then
46833 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46834 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46835 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46839 if test "$wxUSE_CLIPBOARD" = "yes"; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_CLIPBOARD 1
46847 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46848 if test "$wxUSE_GTK" = 1; then
46849 if test "$WXGTK12" != 1; then
46850 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46851 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46852 wxUSE_DRAG_AND_DROP=no
46856 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46857 "$wxUSE_DFB" = 1; then
46858 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46859 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46860 wxUSE_DRAG_AND_DROP=no
46863 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_DRAG_AND_DROP 1
46872 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46876 if test "$wxUSE_CLIPBOARD" = "yes"; then
46877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46880 if test "$wxUSE_SPLINES" = "yes" ; then
46881 cat >>confdefs.h <<\_ACEOF
46882 #define wxUSE_SPLINES 1
46887 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_MOUSEWHEEL 1
46894 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46895 cat >>confdefs.h <<\_ACEOF
46896 #define wxUSE_UIACTIONSIMULATOR 1
46899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46904 if test "$wxUSE_CONTROLS" = "yes"; then
46908 if test "$wxUSE_ACCEL" = "yes"; then
46909 cat >>confdefs.h <<\_ACEOF
46910 #define wxUSE_ACCEL 1
46916 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_ANIMATIONCTRL 1
46922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46925 if test "$wxUSE_BUTTON" = "yes"; then
46926 cat >>confdefs.h <<\_ACEOF
46927 #define wxUSE_BUTTON 1
46933 if test "$wxUSE_BMPBUTTON" = "yes"; then
46934 cat >>confdefs.h <<\_ACEOF
46935 #define wxUSE_BMPBUTTON 1
46941 if test "$wxUSE_CALCTRL" = "yes"; then
46942 cat >>confdefs.h <<\_ACEOF
46943 #define wxUSE_CALENDARCTRL 1
46947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46950 if test "$wxUSE_CARET" = "yes"; then
46951 cat >>confdefs.h <<\_ACEOF
46952 #define wxUSE_CARET 1
46956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46959 if test "$wxUSE_COLLPANE" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_COLLPANE 1
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46968 if test "$wxUSE_COMBOBOX" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_COMBOBOX 1
46976 if test "$wxUSE_COMBOCTRL" = "yes"; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_COMBOCTRL 1
46984 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_COMMANDLINKBUTTON 1
46992 if test "$wxUSE_CHOICE" = "yes"; then
46993 cat >>confdefs.h <<\_ACEOF
46994 #define wxUSE_CHOICE 1
47000 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47001 cat >>confdefs.h <<\_ACEOF
47002 #define wxUSE_CHOICEBOOK 1
47008 if test "$wxUSE_CHECKBOX" = "yes"; then
47009 cat >>confdefs.h <<\_ACEOF
47010 #define wxUSE_CHECKBOX 1
47016 if test "$wxUSE_CHECKLST" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_CHECKLISTBOX 1
47024 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_COLOURPICKERCTRL 1
47032 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_DATEPICKCTRL 1
47040 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_DIRPICKERCTRL 1
47048 if test "$wxUSE_FILECTRL" = "yes"; then
47049 cat >>confdefs.h <<\_ACEOF
47050 #define wxUSE_FILECTRL 1
47056 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_FILEPICKERCTRL 1
47064 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47065 cat >>confdefs.h <<\_ACEOF
47066 #define wxUSE_FONTPICKERCTRL 1
47072 if test "$wxUSE_DISPLAY" = "yes"; then
47073 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47074 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47075 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47078 cat >>confdefs.h <<\_ACEOF
47079 #define wxUSE_DISPLAY 1
47082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47086 if test "$wxUSE_DETECT_SM" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_DETECT_SM 1
47093 if test "$wxUSE_GAUGE" = "yes"; then
47094 cat >>confdefs.h <<\_ACEOF
47095 #define wxUSE_GAUGE 1
47101 if test "$wxUSE_GRID" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_GRID 1
47107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47110 if test "$wxUSE_HEADERCTRL" = "yes"; then
47111 cat >>confdefs.h <<\_ACEOF
47112 #define wxUSE_HEADERCTRL 1
47118 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_HYPERLINKCTRL 1
47126 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47127 cat >>confdefs.h <<\_ACEOF
47128 #define wxUSE_BITMAPCOMBOBOX 1
47134 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47135 cat >>confdefs.h <<\_ACEOF
47136 #define wxUSE_DATAVIEWCTRL 1
47140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47143 if test "$wxUSE_IMAGLIST" = "yes"; then
47144 cat >>confdefs.h <<\_ACEOF
47145 #define wxUSE_IMAGLIST 1
47150 if test "$wxUSE_INFOBAR" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_INFOBAR 1
47157 if test "$wxUSE_LISTBOOK" = "yes"; then
47158 cat >>confdefs.h <<\_ACEOF
47159 #define wxUSE_LISTBOOK 1
47165 if test "$wxUSE_LISTBOX" = "yes"; then
47166 cat >>confdefs.h <<\_ACEOF
47167 #define wxUSE_LISTBOX 1
47173 if test "$wxUSE_LISTCTRL" = "yes"; then
47174 if test "$wxUSE_IMAGLIST" = "yes"; then
47175 cat >>confdefs.h <<\_ACEOF
47176 #define wxUSE_LISTCTRL 1
47180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47182 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47183 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47187 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_EDITABLELISTBOX 1
47195 if test "$wxUSE_NOTEBOOK" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_NOTEBOOK 1
47201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47204 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_NOTIFICATION_MESSAGE 1
47211 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47212 cat >>confdefs.h <<\_ACEOF
47213 #define wxUSE_ODCOMBOBOX 1
47217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47220 if test "$wxUSE_RADIOBOX" = "yes"; then
47221 cat >>confdefs.h <<\_ACEOF
47222 #define wxUSE_RADIOBOX 1
47228 if test "$wxUSE_RADIOBTN" = "yes"; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_RADIOBTN 1
47236 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47237 cat >>confdefs.h <<\_ACEOF
47238 #define wxUSE_REARRANGECTRL 1
47243 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47244 cat >>confdefs.h <<\_ACEOF
47245 #define wxUSE_RICHMSGDLG 1
47250 if test "$wxUSE_SASH" = "yes"; then
47251 cat >>confdefs.h <<\_ACEOF
47252 #define wxUSE_SASH 1
47255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47258 if test "$wxUSE_SCROLLBAR" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_SCROLLBAR 1
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47267 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_SEARCHCTRL 1
47275 if test "$wxUSE_SLIDER" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_SLIDER 1
47283 if test "$wxUSE_SPINBTN" = "yes"; then
47284 cat >>confdefs.h <<\_ACEOF
47285 #define wxUSE_SPINBTN 1
47291 if test "$wxUSE_SPINCTRL" = "yes"; then
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_SPINCTRL 1
47299 if test "$wxUSE_SPLITTER" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_SPLITTER 1
47304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47307 if test "$wxUSE_STATBMP" = "yes"; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_STATBMP 1
47315 if test "$wxUSE_STATBOX" = "yes"; then
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_STATBOX 1
47323 if test "$wxUSE_STATTEXT" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_STATTEXT 1
47331 if test "$wxUSE_STATLINE" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_STATLINE 1
47339 if test "$wxUSE_STATUSBAR" = "yes"; then
47340 cat >>confdefs.h <<\_ACEOF
47341 #define wxUSE_NATIVE_STATUSBAR 1
47344 cat >>confdefs.h <<\_ACEOF
47345 #define wxUSE_STATUSBAR 1
47350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47353 if test "$wxUSE_TEXTCTRL" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_TEXTCTRL 1
47359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47361 cat >>confdefs.h <<\_ACEOF
47362 #define wxUSE_RICHEDIT 1
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_RICHEDIT2 1
47371 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47372 if test "$wxUSE_OLD_COCOA" = 1 ; then
47373 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47374 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47378 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_TOGGLEBTN 1
47387 if test "$wxUSE_TOOLBAR" = "yes"; then
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_TOOLBAR 1
47394 if test "$wxUSE_UNIVERSAL" = "yes"; then
47395 wxUSE_TOOLBAR_NATIVE="no"
47397 wxUSE_TOOLBAR_NATIVE="yes"
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_TOOLBAR_NATIVE 1
47404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47407 if test "$wxUSE_TOOLTIPS" = "yes"; then
47408 if test "$wxUSE_MOTIF" = 1; then
47409 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47410 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47412 if test "$wxUSE_UNIVERSAL" = "yes"; then
47413 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47414 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_TOOLTIPS 1
47424 if test "$wxUSE_TREEBOOK" = "yes"; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_TREEBOOK 1
47432 if test "$wxUSE_TOOLBOOK" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_TOOLBOOK 1
47440 if test "$wxUSE_TREECTRL" = "yes"; then
47441 if test "$wxUSE_IMAGLIST" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_TREECTRL 1
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47449 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47450 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47454 if test "$wxUSE_POPUPWIN" = "yes"; then
47455 if test "$wxUSE_OLD_COCOA" = 1 ; then
47456 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47457 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47459 if test "$wxUSE_PM" = 1; then
47460 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47461 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47463 cat >>confdefs.h <<\_ACEOF
47464 #define wxUSE_POPUPWIN 1
47467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47474 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47475 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47476 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47477 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_DIALUP_MANAGER 1
47483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47487 if test "$wxUSE_TIPWINDOW" = "yes"; then
47488 if test "$wxUSE_PM" = 1; then
47489 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47490 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47492 cat >>confdefs.h <<\_ACEOF
47493 #define wxUSE_TIPWINDOW 1
47499 if test "$USES_CONTROLS" = 1; then
47500 cat >>confdefs.h <<\_ACEOF
47501 #define wxUSE_CONTROLS 1
47507 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47508 cat >>confdefs.h <<\_ACEOF
47509 #define wxUSE_ACCESSIBILITY 1
47512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47515 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_DRAGIMAGE 1
47520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47523 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47524 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47525 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47526 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_EXCEPTIONS 1
47532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47537 if test "$wxUSE_HTML" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_HTML 1
47543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47545 if test "$wxUSE_WEBKIT" = "yes"; then
47546 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47547 old_CPPFLAGS="$CPPFLAGS"
47548 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47549 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47550 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47551 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 cat >conftest.$ac_ext <<_ACEOF
47557 cat confdefs.h >>conftest.$ac_ext
47558 cat >>conftest.$ac_ext <<_ACEOF
47559 /* end confdefs.h. */
47561 #include <Carbon/Carbon.h>
47562 #include <WebKit/WebKit.h>
47565 #include <WebKit/HIWebView.h>
47567 rm -f conftest.$ac_objext
47568 if { (ac_try="$ac_compile"
47569 case "(($ac_try" in
47570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47571 *) ac_try_echo=$ac_try;;
47573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47574 (eval "$ac_compile") 2>conftest.er1
47576 grep -v '^ *+' conftest.er1 >conftest.err
47578 cat conftest.err >&5
47579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47580 (exit $ac_status); } && {
47581 test -z "$ac_c_werror_flag" ||
47582 test ! -s conftest.err
47583 } && test -s conftest.$ac_objext; then
47584 ac_cv_header_WebKit_HIWebView_h=yes
47586 echo "$as_me: failed program was:" >&5
47587 sed 's/^/| /' conftest.$ac_ext >&5
47589 ac_cv_header_WebKit_HIWebView_h=no
47592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47594 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47595 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47596 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_WEBKIT 1
47602 WEBKIT_LINK="-framework WebKit"
47606 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47607 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47613 CPPFLAGS="$old_CPPFLAGS"
47614 elif test "$wxUSE_OLD_COCOA" = 1; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_WEBKIT 1
47622 if test "$wxUSE_WEBKIT" = "yes"; then
47623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47628 if test "$wxUSE_XRC" = "yes"; then
47629 if test "$wxUSE_XML" != "yes"; then
47630 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47631 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_XRC 1
47639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47644 if test "$wxUSE_AUI" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_AUI 1
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47654 if test "$wxUSE_PROPGRID" = "yes"; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_PROPGRID 1
47660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47664 if test "$wxUSE_RIBBON" = "yes"; then
47665 cat >>confdefs.h <<\_ACEOF
47666 #define wxUSE_RIBBON 1
47670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47674 if test "$wxUSE_STC" = "yes"; then
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_STC 1
47680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47682 # Extract the first word of "python", so it can be a program name with args.
47683 set dummy python; ac_word=$2
47684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47686 if test "${ac_cv_path_PYTHON+set}" = set; then
47687 echo $ECHO_N "(cached) $ECHO_C" >&6
47691 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47695 for as_dir in $PATH
47698 test -z "$as_dir" && as_dir=.
47699 for ac_exec_ext in '' $ac_executable_extensions; do
47700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47701 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47712 PYTHON=$ac_cv_path_PYTHON
47713 if test -n "$PYTHON"; then
47714 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47715 echo "${ECHO_T}$PYTHON" >&6; }
47717 { echo "$as_me:$LINENO: result: no" >&5
47718 echo "${ECHO_T}no" >&6; }
47722 if test "x$PYTHON" = "x"; then
47728 if test "$wxUSE_MENUS" = "yes"; then
47729 cat >>confdefs.h <<\_ACEOF
47730 #define wxUSE_MENUS 1
47733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47736 if test "$wxUSE_METAFILE" = "yes"; then
47737 cat >>confdefs.h <<\_ACEOF
47738 #define wxUSE_METAFILE 1
47743 if test "$wxUSE_MIMETYPE" = "yes"; then
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_MIMETYPE 1
47750 if test "$wxUSE_MINIFRAME" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_MINIFRAME 1
47757 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_SYSTEM_OPTIONS 1
47764 if test "$wxUSE_TASKBARICON" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_TASKBARICON 1
47769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47773 if test "$wxUSE_VALIDATORS" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_VALIDATORS 1
47778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47781 if test "$wxUSE_PALETTE" = "yes" ; then
47782 if test "$wxUSE_DFB" = 1; then
47783 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47784 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_PALETTE 1
47794 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47795 LIBS=" -lunicows $LIBS"
47799 if test "$wxUSE_RICHTEXT" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_RICHTEXT 1
47805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47809 if test "$wxUSE_IMAGE" = "yes" ; then
47810 cat >>confdefs.h <<\_ACEOF
47811 #define wxUSE_IMAGE 1
47815 if test "$wxUSE_GIF" = "yes" ; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_GIF 1
47822 if test "$wxUSE_PCX" = "yes" ; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_PCX 1
47829 if test "$wxUSE_TGA" = "yes" ; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_TGA 1
47836 if test "$wxUSE_IFF" = "yes" ; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_IFF 1
47843 if test "$wxUSE_PNM" = "yes" ; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_PNM 1
47850 if test "$wxUSE_XPM" = "yes" ; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_XPM 1
47857 if test "$wxUSE_ICO_CUR" = "yes" ; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_ICO_CUR 1
47866 if test "$wxUSE_ABOUTDLG" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_ABOUTDLG 1
47873 if test "$wxUSE_CHOICEDLG" = "yes"; then
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_CHOICEDLG 1
47880 if test "$wxUSE_COLOURDLG" = "yes"; then
47881 cat >>confdefs.h <<\_ACEOF
47882 #define wxUSE_COLOURDLG 1
47887 if test "$wxUSE_FILEDLG" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_FILEDLG 1
47894 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47895 cat >>confdefs.h <<\_ACEOF
47896 #define wxUSE_FINDREPLDLG 1
47901 if test "$wxUSE_FONTDLG" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_FONTDLG 1
47908 if test "$wxUSE_DIRDLG" = "yes"; then
47909 if test "$wxUSE_TREECTRL" != "yes"; then
47910 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47911 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_DIRDLG 1
47920 if test "$wxUSE_MSGDLG" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_MSGDLG 1
47927 if test "$wxUSE_NUMBERDLG" = "yes"; then
47928 cat >>confdefs.h <<\_ACEOF
47929 #define wxUSE_NUMBERDLG 1
47934 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47935 cat >>confdefs.h <<\_ACEOF
47936 #define wxUSE_PROGRESSDLG 1
47941 if test "$wxUSE_SPLASH" = "yes"; then
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_SPLASH 1
47946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47949 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_STARTUP_TIPS 1
47956 if test "$wxUSE_TEXTDLG" = "yes"; then
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_TEXTDLG 1
47963 if test "$wxUSE_WIZARDDLG" = "yes"; then
47964 cat >>confdefs.h <<\_ACEOF
47965 #define wxUSE_WIZARDDLG 1
47968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47972 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47973 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_OWNER_DRAWN 1
47982 if test "$wxUSE_MSW" = 1 ; then
47984 if test "$wxUSE_DC_CACHEING" = "yes"; then
47985 cat >>confdefs.h <<\_ACEOF
47986 #define wxUSE_DC_CACHEING 1
47991 if test "$wxUSE_DIB" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_WXDIB 1
47998 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48005 if test "$wxUSE_UXTHEME" = "yes"; then
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_UXTHEME 1
48014 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_AUTOID_MANAGEMENT 1
48021 if test "$USE_WIN32" = 1 ; then
48022 if test "$wxUSE_INICONF" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_INICONF 1
48029 if test "$wxUSE_REGKEY" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_REGKEY 1
48038 if test "$wxUSE_MAC" = 1; then
48039 wxUSE_GRAPHICS_CONTEXT="yes"
48042 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48044 if test "$wxUSE_MSW" = 1; then
48045 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48046 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48047 if test "${wx_cv_lib_gdiplus+set}" = set; then
48048 echo $ECHO_N "(cached) $ECHO_C" >&6
48052 ac_cpp='$CXXCPP $CPPFLAGS'
48053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48057 cat >conftest.$ac_ext <<_ACEOF
48060 cat confdefs.h >>conftest.$ac_ext
48061 cat >>conftest.$ac_ext <<_ACEOF
48062 /* end confdefs.h. */
48063 #include <windows.h>
48064 #include <gdiplus.h>
48069 using namespace Gdiplus;
48075 rm -f conftest.$ac_objext
48076 if { (ac_try="$ac_compile"
48077 case "(($ac_try" in
48078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48079 *) ac_try_echo=$ac_try;;
48081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48082 (eval "$ac_compile") 2>conftest.er1
48084 grep -v '^ *+' conftest.er1 >conftest.err
48086 cat conftest.err >&5
48087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48088 (exit $ac_status); } && {
48089 test -z "$ac_cxx_werror_flag" ||
48090 test ! -s conftest.err
48091 } && test -s conftest.$ac_objext; then
48092 wx_cv_lib_gdiplus=yes
48094 echo "$as_me: failed program was:" >&5
48095 sed 's/^/| /' conftest.$ac_ext >&5
48097 wx_cv_lib_gdiplus=no
48101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48111 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48112 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48113 if test "$wx_cv_lib_gdiplus" = "yes"; then
48116 elif test "$wxUSE_GTK" = 1; then
48119 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48120 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48122 if test -n "$PKG_CONFIG"; then
48123 if test -n "$CAIRO_CFLAGS"; then
48124 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48126 if test -n "$PKG_CONFIG" && \
48127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48128 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48131 (exit $ac_status); }; then
48132 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48140 if test -n "$PKG_CONFIG"; then
48141 if test -n "$CAIRO_LIBS"; then
48142 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48144 if test -n "$PKG_CONFIG" && \
48145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48146 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48149 (exit $ac_status); }; then
48150 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48161 if test $pkg_failed = yes; then
48163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48164 _pkg_short_errors_supported=yes
48166 _pkg_short_errors_supported=no
48168 if test $_pkg_short_errors_supported = yes; then
48169 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48171 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48173 # Put the nasty error message in config.log where it belongs
48174 echo "$CAIRO_PKG_ERRORS" >&5
48176 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48177 echo "$as_me: WARNING: Cairo library not found" >&2;}
48179 elif test $pkg_failed = untried; then
48180 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48181 echo "$as_me: WARNING: Cairo library not found" >&2;}
48184 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48185 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48186 { echo "$as_me:$LINENO: result: yes" >&5
48187 echo "${ECHO_T}yes" >&6; }
48194 if test "$wx_has_graphics" = 1; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_GRAPHICS_CONTEXT 1
48200 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48201 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48208 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48211 if test "$wxUSE_GTK" = 1; then
48212 wxUSE_GSTREAMER="no"
48214 GST_VERSION_MAJOR=0
48215 GST_VERSION_MINOR=10
48216 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48218 if test "$wxUSE_GSTREAMER8" = "no"; then
48221 { echo "$as_me:$LINENO: checking for GST" >&5
48222 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48224 if test -n "$PKG_CONFIG"; then
48225 if test -n "$GST_CFLAGS"; then
48226 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48228 if test -n "$PKG_CONFIG" && \
48229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48230 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48233 (exit $ac_status); }; then
48234 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48242 if test -n "$PKG_CONFIG"; then
48243 if test -n "$GST_LIBS"; then
48244 pkg_cv_GST_LIBS="$GST_LIBS"
48246 if test -n "$PKG_CONFIG" && \
48247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48248 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48251 (exit $ac_status); }; then
48252 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48263 if test $pkg_failed = yes; then
48265 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48266 _pkg_short_errors_supported=yes
48268 _pkg_short_errors_supported=no
48270 if test $_pkg_short_errors_supported = yes; then
48271 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48273 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48275 # Put the nasty error message in config.log where it belongs
48276 echo "$GST_PKG_ERRORS" >&5
48279 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48280 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48281 GST_VERSION_MINOR=8
48284 elif test $pkg_failed = untried; then
48286 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48287 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48288 GST_VERSION_MINOR=8
48292 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48293 GST_LIBS=$pkg_cv_GST_LIBS
48294 { echo "$as_me:$LINENO: result: yes" >&5
48295 echo "${ECHO_T}yes" >&6; }
48297 wxUSE_GSTREAMER="yes"
48298 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48302 GST_VERSION_MINOR=8
48305 if test $GST_VERSION_MINOR = "8"; then
48306 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48309 { echo "$as_me:$LINENO: checking for GST" >&5
48310 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48312 if test -n "$PKG_CONFIG"; then
48313 if test -n "$GST_CFLAGS"; then
48314 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48316 if test -n "$PKG_CONFIG" && \
48317 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48318 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48321 (exit $ac_status); }; then
48322 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48330 if test -n "$PKG_CONFIG"; then
48331 if test -n "$GST_LIBS"; then
48332 pkg_cv_GST_LIBS="$GST_LIBS"
48334 if test -n "$PKG_CONFIG" && \
48335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48336 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48339 (exit $ac_status); }; then
48340 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48351 if test $pkg_failed = yes; then
48353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48354 _pkg_short_errors_supported=yes
48356 _pkg_short_errors_supported=no
48358 if test $_pkg_short_errors_supported = yes; then
48359 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48361 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48363 # Put the nasty error message in config.log where it belongs
48364 echo "$GST_PKG_ERRORS" >&5
48367 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48368 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48370 elif test $pkg_failed = untried; then
48372 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48373 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48376 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48377 GST_LIBS=$pkg_cv_GST_LIBS
48378 { echo "$as_me:$LINENO: result: yes" >&5
48379 echo "${ECHO_T}yes" >&6; }
48380 wxUSE_GSTREAMER="yes"
48385 if test "$wxUSE_GSTREAMER" = "yes"; then
48386 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48387 EXTRALIBS_MEDIA="$GST_LIBS"
48389 cat >>confdefs.h <<\_ACEOF
48390 #define wxUSE_GSTREAMER 1
48398 if test $USE_MEDIA = 1; then
48399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_MEDIACTRL 1
48405 if test "$wxUSE_MEDIACTRL" = "yes"; then
48406 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48407 echo "$as_me: error: GStreamer not available" >&2;}
48408 { (exit 1); exit 1; }; }
48410 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48411 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48417 if test "$cross_compiling" != "no"; then
48420 OSINFO=`uname -s -r -m`
48421 OSINFO="\"$OSINFO\""
48424 cat >>confdefs.h <<_ACEOF
48425 #define WXWIN_OS_DESCRIPTION $OSINFO
48430 if test "x$prefix" != "xNONE"; then
48433 wxPREFIX=$ac_default_prefix
48436 cat >>confdefs.h <<_ACEOF
48437 #define wxINSTALL_PREFIX "$wxPREFIX"
48443 STD_BASE_LIBS="base"
48445 BUILT_WX_LIBS="base"
48446 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48448 if test "$wxUSE_SOCKETS" = "yes" ; then
48449 STD_BASE_LIBS="net $STD_BASE_LIBS"
48450 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48452 if test "$wxUSE_XML" = "yes" ; then
48453 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48454 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48457 if test "$wxUSE_GUI" = "yes"; then
48458 STD_GUI_LIBS="adv core"
48459 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48461 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48462 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48463 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48465 if test "$wxUSE_HTML" = "yes" ; then
48466 STD_GUI_LIBS="html $STD_GUI_LIBS"
48467 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48469 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48470 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48472 if test "$wxUSE_OPENGL" = "yes" ; then
48473 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48475 if test "$wxUSE_AUI" = "yes" ; then
48476 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48478 if test "$wxUSE_PROPGRID" = "yes" ; then
48479 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48481 if test "$wxUSE_RIBBON" = "yes" ; then
48482 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48484 if test "$wxUSE_RICHTEXT" = "yes" ; then
48485 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48487 if test "$wxUSE_STC" = "yes" ; then
48488 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48490 if test "$wxUSE_XRC" = "yes" ; then
48491 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48492 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48503 if test "$wxUSE_MAC" = 1 ; then
48504 if test "$USE_DARWIN" = 1; then
48505 if test "$wxUSE_OSX_IPHONE" = 1; then
48506 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48508 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48512 if test "$wxUSE_OLD_COCOA" = 1 ; then
48513 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48514 if test "$wxUSE_MEDIACTRL" = "yes"; then
48515 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48518 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48519 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48522 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48523 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48525 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48527 if test "$wxUSE_GUI" = "yes"; then
48530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48531 erase event exec font image minimal render \
48532 shaped svg taborder vscroll widgets wrapsizer"
48534 if test "$wxUSE_MONOLITHIC" != "yes"; then
48535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48537 if test "$TOOLKIT" = "MSW"; then
48538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48539 if test "$wxUSE_UNIVERSAL" != "yes"; then
48540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48543 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48547 SAMPLES_SUBDIRS="console"
48548 if test "$wxUSE_SOCKETS" = "yes" ; then
48549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48551 if test "$wxUSE_IPC" = "yes" ; then
48552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48557 if test "x$INTELCC" = "xyes" ; then
48558 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48559 elif test "$GCC" = yes ; then
48560 CWARNINGS="-Wall -Wundef"
48563 if test "x$INTELCXX" = "xyes" ; then
48564 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48565 elif test "$GXX" = yes ; then
48566 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48567 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48568 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48569 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48570 echo $ECHO_N "(cached) $ECHO_C" >&6
48572 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48575 ac_cpp='$CXXCPP $CPPFLAGS'
48576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48580 ac_save_CXXFLAGS="$CXXFLAGS"
48581 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48582 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48583 cat >conftest.$ac_ext <<_ACEOF
48586 cat confdefs.h >>conftest.$ac_ext
48587 cat >>conftest.$ac_ext <<_ACEOF
48588 /* end confdefs.h. */
48598 rm -f conftest.$ac_objext
48599 if { (ac_try="$ac_compile"
48600 case "(($ac_try" in
48601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48602 *) ac_try_echo=$ac_try;;
48604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48605 (eval "$ac_compile") 2>conftest.er1
48607 grep -v '^ *+' conftest.er1 >conftest.err
48609 cat conftest.err >&5
48610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48611 (exit $ac_status); } && {
48612 test -z "$ac_cxx_werror_flag" ||
48613 test ! -s conftest.err
48614 } && test -s conftest.$ac_objext; then
48615 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48617 echo "$as_me: failed program was:" >&5
48618 sed 's/^/| /' conftest.$ac_ext >&5
48623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48625 CXXFLAGS="$ac_save_CXXFLAGS"
48627 ac_cpp='$CPP $CPPFLAGS'
48628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48634 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48635 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48636 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48640 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48641 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48642 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48645 (exit $ac_status); }
48646 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48647 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48650 (exit $ac_status); }
48651 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48657 if test "$wxUSE_MAC" = 1 ; then
48658 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48663 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48664 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48667 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48668 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48669 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48672 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48673 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48674 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48675 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48676 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48678 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48681 if test "x$MWCC" = "xyes"; then
48683 CC="$CC -cwd source -I-"
48684 CXX="$CXX -cwd source -I-"
48689 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48690 EXTRALIBS_XML="$EXPAT_LINK"
48691 EXTRALIBS_HTML="$MSPACK_LINK"
48692 EXTRALIBS_MEDIA="$GST_LIBS"
48693 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48694 if test "$wxUSE_GUI" = "yes"; then
48695 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48697 if test "$wxUSE_OPENGL" = "yes"; then
48698 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48701 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48703 WXCONFIG_LIBS="$LIBS"
48705 if test "$wxUSE_REGEX" = "builtin" ; then
48706 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48708 if test "$wxUSE_EXPAT" = "builtin" ; then
48709 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48711 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48712 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48714 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48715 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48717 if test "$wxUSE_LIBPNG" = "builtin" ; then
48718 wxconfig_3rdparty="png $wxconfig_3rdparty"
48720 if test "$wxUSE_ZLIB" = "builtin" ; then
48721 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48724 for i in $wxconfig_3rdparty ; do
48725 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48729 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48732 case "$wxUNIV_THEMES" in
48734 cat >>confdefs.h <<\_ACEOF
48735 #define wxUSE_ALL_THEMES 1
48741 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48742 cat >>confdefs.h <<_ACEOF
48743 #define wxUSE_THEME_$t 1
48759 if test $wxUSE_MONOLITHIC = "yes" ; then
48765 if test $wxUSE_PLUGINS = "yes" ; then
48771 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48777 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48809 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48822 TOOLKIT_DESC="GTK+"
48823 if test "$WXGTK2" = 1; then
48824 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48825 if test "$wxUSE_GTKPRINT" = "yes" ; then
48826 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48828 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48829 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48831 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48832 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48834 if test "$wxUSE_LIBHILDON" = "yes"; then
48835 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48837 if test "$wxUSE_LIBHILDON2" = "yes"; then
48838 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48841 if test "$TOOLKIT_EXTRA" != ""; then
48842 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48848 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48852 TOOLKIT_DESC="base only"
48856 if test "$wxUSE_WINE" = "yes"; then
48857 BAKEFILE_FORCE_PLATFORM=win32
48860 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48862 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48863 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48864 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48865 echo $ECHO_N "(cached) $ECHO_C" >&6
48868 echo '#include <stdio.h>
48869 const wchar_t test_var[] = L"awidetest";' > conftest.h
48871 echo '#include "conftest.h"
48874 printf("%ls", test_var);
48878 wx_cv_gcc_pch_bug="pch not supported"
48880 if $CXX conftest.h >/dev/null 2>&1
48884 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48886 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48887 grep awidetest >/dev/null
48889 wx_cv_gcc_pch_bug=no
48891 wx_cv_gcc_pch_bug=yes
48896 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48899 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48900 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48902 if test "$wx_cv_gcc_pch_bug" = yes; then
48913 if test "x$BAKEFILE_HOST" = "x"; then
48914 if test "x${host}" = "x" ; then
48915 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48916 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48917 { (exit 1); exit 1; }; }
48920 BAKEFILE_HOST="${host}"
48923 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48925 if test -n "$ac_tool_prefix"; then
48926 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48927 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48930 if test "${ac_cv_prog_RANLIB+set}" = set; then
48931 echo $ECHO_N "(cached) $ECHO_C" >&6
48933 if test -n "$RANLIB"; then
48934 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48937 for as_dir in $PATH
48940 test -z "$as_dir" && as_dir=.
48941 for ac_exec_ext in '' $ac_executable_extensions; do
48942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48943 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48953 RANLIB=$ac_cv_prog_RANLIB
48954 if test -n "$RANLIB"; then
48955 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48956 echo "${ECHO_T}$RANLIB" >&6; }
48958 { echo "$as_me:$LINENO: result: no" >&5
48959 echo "${ECHO_T}no" >&6; }
48964 if test -z "$ac_cv_prog_RANLIB"; then
48965 ac_ct_RANLIB=$RANLIB
48966 # Extract the first word of "ranlib", so it can be a program name with args.
48967 set dummy ranlib; ac_word=$2
48968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48970 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48971 echo $ECHO_N "(cached) $ECHO_C" >&6
48973 if test -n "$ac_ct_RANLIB"; then
48974 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48977 for as_dir in $PATH
48980 test -z "$as_dir" && as_dir=.
48981 for ac_exec_ext in '' $ac_executable_extensions; do
48982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48983 ac_cv_prog_ac_ct_RANLIB="ranlib"
48984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48993 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48994 if test -n "$ac_ct_RANLIB"; then
48995 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48996 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48998 { echo "$as_me:$LINENO: result: no" >&5
48999 echo "${ECHO_T}no" >&6; }
49002 if test "x$ac_ct_RANLIB" = x; then
49005 case $cross_compiling:$ac_tool_warned in
49007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49008 whose name does not start with the host triplet. If you think this
49009 configuration is useful to you, please write to autoconf@gnu.org." >&5
49010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49011 whose name does not start with the host triplet. If you think this
49012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49013 ac_tool_warned=yes ;;
49015 RANLIB=$ac_ct_RANLIB
49018 RANLIB="$ac_cv_prog_RANLIB"
49021 # Find a good install program. We prefer a C program (faster),
49022 # so one script is as good as another. But avoid the broken or
49023 # incompatible versions:
49024 # SysV /etc/install, /usr/sbin/install
49025 # SunOS /usr/etc/install
49026 # IRIX /sbin/install
49028 # AmigaOS /C/install, which installs bootblocks on floppy discs
49029 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49030 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49031 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49032 # OS/2's system install, which has a completely different semantic
49033 # ./install, which can be erroneously created by make from ./install.sh.
49034 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49035 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49036 if test -z "$INSTALL"; then
49037 if test "${ac_cv_path_install+set}" = set; then
49038 echo $ECHO_N "(cached) $ECHO_C" >&6
49040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49041 for as_dir in $PATH
49044 test -z "$as_dir" && as_dir=.
49045 # Account for people who put trailing slashes in PATH elements.
49047 ./ | .// | /cC/* | \
49048 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49049 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49052 # OSF1 and SCO ODT 3.0 have their own names for install.
49053 # Don't use installbsd from OSF since it installs stuff as root
49055 for ac_prog in ginstall scoinst install; do
49056 for ac_exec_ext in '' $ac_executable_extensions; do
49057 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49058 if test $ac_prog = install &&
49059 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49060 # AIX install. It has an incompatible calling convention.
49062 elif test $ac_prog = install &&
49063 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49064 # program-specific install script used by HP pwplus--don't use.
49067 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49080 if test "${ac_cv_path_install+set}" = set; then
49081 INSTALL=$ac_cv_path_install
49083 # As a last resort, use the slow shell script. Don't cache a
49084 # value for INSTALL within a source directory, because that will
49085 # break other packages using the cache if that directory is
49086 # removed, or if the value is a relative name.
49087 INSTALL=$ac_install_sh
49090 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49091 echo "${ECHO_T}$INSTALL" >&6; }
49093 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49094 # It thinks the first close brace ends the variable substitution.
49095 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49097 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49099 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49101 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49102 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49104 if test "$LN_S" = "ln -s"; then
49105 { echo "$as_me:$LINENO: result: yes" >&5
49106 echo "${ECHO_T}yes" >&6; }
49108 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49109 echo "${ECHO_T}no, using $LN_S" >&6; }
49113 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49114 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49115 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49116 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49117 echo $ECHO_N "(cached) $ECHO_C" >&6
49119 cat >conftest.make <<\_ACEOF
49122 @echo '@@@%%%=$(MAKE)=@@@%%%'
49124 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49125 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49126 *@@@%%%=?*=@@@%%%*)
49127 eval ac_cv_prog_make_${ac_make}_set=yes;;
49129 eval ac_cv_prog_make_${ac_make}_set=no;;
49131 rm -f conftest.make
49133 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49134 { echo "$as_me:$LINENO: result: yes" >&5
49135 echo "${ECHO_T}yes" >&6; }
49138 { echo "$as_me:$LINENO: result: no" >&5
49139 echo "${ECHO_T}no" >&6; }
49140 SET_MAKE="MAKE=${MAKE-make}"
49145 if test "x$SUNCXX" = "xyes"; then
49147 AROPTIONS="-xar -o"
49149 elif test "x$SGICC" = "xyes"; then
49154 if test -n "$ac_tool_prefix"; then
49155 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49156 set dummy ${ac_tool_prefix}ar; ac_word=$2
49157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49159 if test "${ac_cv_prog_AR+set}" = set; then
49160 echo $ECHO_N "(cached) $ECHO_C" >&6
49162 if test -n "$AR"; then
49163 ac_cv_prog_AR="$AR" # Let the user override the test.
49165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49166 for as_dir in $PATH
49169 test -z "$as_dir" && as_dir=.
49170 for ac_exec_ext in '' $ac_executable_extensions; do
49171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49172 ac_cv_prog_AR="${ac_tool_prefix}ar"
49173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49183 if test -n "$AR"; then
49184 { echo "$as_me:$LINENO: result: $AR" >&5
49185 echo "${ECHO_T}$AR" >&6; }
49187 { echo "$as_me:$LINENO: result: no" >&5
49188 echo "${ECHO_T}no" >&6; }
49193 if test -z "$ac_cv_prog_AR"; then
49195 # Extract the first word of "ar", so it can be a program name with args.
49196 set dummy ar; ac_word=$2
49197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49199 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49200 echo $ECHO_N "(cached) $ECHO_C" >&6
49202 if test -n "$ac_ct_AR"; then
49203 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49206 for as_dir in $PATH
49209 test -z "$as_dir" && as_dir=.
49210 for ac_exec_ext in '' $ac_executable_extensions; do
49211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49212 ac_cv_prog_ac_ct_AR="ar"
49213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49222 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49223 if test -n "$ac_ct_AR"; then
49224 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49225 echo "${ECHO_T}$ac_ct_AR" >&6; }
49227 { echo "$as_me:$LINENO: result: no" >&5
49228 echo "${ECHO_T}no" >&6; }
49231 if test "x$ac_ct_AR" = x; then
49234 case $cross_compiling:$ac_tool_warned in
49236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49237 whose name does not start with the host triplet. If you think this
49238 configuration is useful to you, please write to autoconf@gnu.org." >&5
49239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49240 whose name does not start with the host triplet. If you think this
49241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49242 ac_tool_warned=yes ;;
49247 AR="$ac_cv_prog_AR"
49254 if test -n "$ac_tool_prefix"; then
49255 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49256 set dummy ${ac_tool_prefix}strip; ac_word=$2
49257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49259 if test "${ac_cv_prog_STRIP+set}" = set; then
49260 echo $ECHO_N "(cached) $ECHO_C" >&6
49262 if test -n "$STRIP"; then
49263 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49266 for as_dir in $PATH
49269 test -z "$as_dir" && as_dir=.
49270 for ac_exec_ext in '' $ac_executable_extensions; do
49271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49272 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49282 STRIP=$ac_cv_prog_STRIP
49283 if test -n "$STRIP"; then
49284 { echo "$as_me:$LINENO: result: $STRIP" >&5
49285 echo "${ECHO_T}$STRIP" >&6; }
49287 { echo "$as_me:$LINENO: result: no" >&5
49288 echo "${ECHO_T}no" >&6; }
49293 if test -z "$ac_cv_prog_STRIP"; then
49295 # Extract the first word of "strip", so it can be a program name with args.
49296 set dummy strip; ac_word=$2
49297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49299 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49300 echo $ECHO_N "(cached) $ECHO_C" >&6
49302 if test -n "$ac_ct_STRIP"; then
49303 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49306 for as_dir in $PATH
49309 test -z "$as_dir" && as_dir=.
49310 for ac_exec_ext in '' $ac_executable_extensions; do
49311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49312 ac_cv_prog_ac_ct_STRIP="strip"
49313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49322 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49323 if test -n "$ac_ct_STRIP"; then
49324 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49325 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49327 { echo "$as_me:$LINENO: result: no" >&5
49328 echo "${ECHO_T}no" >&6; }
49331 if test "x$ac_ct_STRIP" = x; then
49334 case $cross_compiling:$ac_tool_warned in
49336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49337 whose name does not start with the host triplet. If you think this
49338 configuration is useful to you, please write to autoconf@gnu.org." >&5
49339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49340 whose name does not start with the host triplet. If you think this
49341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49342 ac_tool_warned=yes ;;
49347 STRIP="$ac_cv_prog_STRIP"
49350 if test -n "$ac_tool_prefix"; then
49351 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49352 set dummy ${ac_tool_prefix}nm; ac_word=$2
49353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49355 if test "${ac_cv_prog_NM+set}" = set; then
49356 echo $ECHO_N "(cached) $ECHO_C" >&6
49358 if test -n "$NM"; then
49359 ac_cv_prog_NM="$NM" # Let the user override the test.
49361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49362 for as_dir in $PATH
49365 test -z "$as_dir" && as_dir=.
49366 for ac_exec_ext in '' $ac_executable_extensions; do
49367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49368 ac_cv_prog_NM="${ac_tool_prefix}nm"
49369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49379 if test -n "$NM"; then
49380 { echo "$as_me:$LINENO: result: $NM" >&5
49381 echo "${ECHO_T}$NM" >&6; }
49383 { echo "$as_me:$LINENO: result: no" >&5
49384 echo "${ECHO_T}no" >&6; }
49389 if test -z "$ac_cv_prog_NM"; then
49391 # Extract the first word of "nm", so it can be a program name with args.
49392 set dummy nm; ac_word=$2
49393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49395 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49396 echo $ECHO_N "(cached) $ECHO_C" >&6
49398 if test -n "$ac_ct_NM"; then
49399 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49402 for as_dir in $PATH
49405 test -z "$as_dir" && as_dir=.
49406 for ac_exec_ext in '' $ac_executable_extensions; do
49407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49408 ac_cv_prog_ac_ct_NM="nm"
49409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49418 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49419 if test -n "$ac_ct_NM"; then
49420 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49421 echo "${ECHO_T}$ac_ct_NM" >&6; }
49423 { echo "$as_me:$LINENO: result: no" >&5
49424 echo "${ECHO_T}no" >&6; }
49427 if test "x$ac_ct_NM" = x; then
49430 case $cross_compiling:$ac_tool_warned in
49432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49433 whose name does not start with the host triplet. If you think this
49434 configuration is useful to you, please write to autoconf@gnu.org." >&5
49435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49436 whose name does not start with the host triplet. If you think this
49437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49438 ac_tool_warned=yes ;;
49443 NM="$ac_cv_prog_NM"
49447 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49448 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49449 INSTALL_TEST_DIR=acbftest$$
49450 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49451 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49452 rmdir $INSTALL_TEST_DIR
49453 INSTALL_DIR='$(INSTALL) -d'
49454 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49455 echo "${ECHO_T}$INSTALL -d" >&6; }
49457 INSTALL_DIR="mkdir -p"
49458 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49459 echo "${ECHO_T}mkdir -p" >&6; }
49464 case ${BAKEFILE_HOST} in
49465 *-*-cygwin* | *-*-mingw32* )
49466 LDFLAGS_GUI="-mwindows"
49472 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49473 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49474 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49475 echo $ECHO_N "(cached) $ECHO_C" >&6
49478 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49479 egrep -s GNU > /dev/null); then
49480 bakefile_cv_prog_makeisgnu="yes"
49482 bakefile_cv_prog_makeisgnu="no"
49486 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49487 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49489 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49506 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49507 case "${BAKEFILE_HOST}" in
49514 *-pc-os2_emx | *-pc-os2-emx )
49524 powerpc-apple-macos* )
49533 case "$BAKEFILE_FORCE_PLATFORM" in
49554 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49555 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49556 { (exit 1); exit 1; }; }
49571 # Check whether --enable-omf was given.
49572 if test "${enable_omf+set}" = set; then
49573 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49577 case "${BAKEFILE_HOST}" in
49579 if test "x$GCC" = "xyes"; then
49580 CFLAGS="$CFLAGS -fno-common"
49581 CXXFLAGS="$CXXFLAGS -fno-common"
49583 if test "x$XLCC" = "xyes"; then
49584 CFLAGS="$CFLAGS -qnocommon"
49585 CXXFLAGS="$CXXFLAGS -qnocommon"
49589 *-pc-os2_emx | *-pc-os2-emx )
49590 if test "x$bk_os2_use_omf" = "xyes" ; then
49593 LDFLAGS="-Zomf $LDFLAGS"
49594 CFLAGS="-Zomf $CFLAGS"
49595 CXXFLAGS="-Zomf $CXXFLAGS"
49603 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49609 SO_SUFFIX_MODULE="so"
49614 DLLPREFIX_MODULE=""
49618 case "${BAKEFILE_HOST}" in
49623 SO_SUFFIX_MODULE="sl"
49627 SO_SUFFIX_MODULE="a"
49631 SO_SUFFIX_MODULE="dll"
49632 DLLIMP_SUFFIX="dll.a"
49639 SO_SUFFIX_MODULE="dll"
49640 DLLIMP_SUFFIX="dll.a"
49650 *-pc-os2_emx | *-pc-os2-emx )
49652 SO_SUFFIX_MODULE="dll"
49653 DLLIMP_SUFFIX=$OS2_LIBEXT
49657 LIBEXT=".$OS2_LIBEXT"
49662 SO_SUFFIX_MODULE="bundle"
49666 if test "x$DLLIMP_SUFFIX" = "x" ; then
49667 DLLIMP_SUFFIX="$SO_SUFFIX"
49682 if test "x$GCC" = "xyes"; then
49686 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49687 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49690 case "${BAKEFILE_HOST}" in
49692 if test "x$GCC" != "xyes"; then
49693 LDFLAGS="$LDFLAGS -L/usr/lib"
49695 SHARED_LD_CC="${CC} -b -o"
49696 SHARED_LD_CXX="${CXX} -b -o"
49702 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49704 elif test "x$SUNCXX" = "xyes"; then
49705 SHARED_LD_CC="${CC} -G -o"
49706 SHARED_LD_CXX="${CXX} -G -o"
49712 if test "x$SUNCXX" = xyes ; then
49713 SHARED_LD_CC="${CC} -G -o"
49714 SHARED_LD_CXX="${CXX} -G -o"
49722 cat <<EOF >shared-ld-sh
49724 #-----------------------------------------------------------------------------
49725 #-- Name: distrib/mac/shared-ld-sh
49726 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49727 #-- Author: Gilles Depeyrot
49728 #-- Copyright: (c) 2002 Gilles Depeyrot
49729 #-- Licence: any use permitted
49730 #-----------------------------------------------------------------------------
49735 linking_flag="-dynamiclib"
49736 ldargs="-r -keep_private_externs -nostdlib"
49738 if test "x${D}CXX" = "x"; then
49742 while test ${D}# -gt 0; do
49749 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49750 # collect these options and values
49751 args="${D}{args} ${D}1 ${D}2"
49756 # collect these options and values
49757 ldargs="${D}{ldargs} ${D}1 ${D}2"
49762 # collect these load args
49763 ldargs="${D}{ldargs} ${D}1"
49766 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49767 # collect these options
49768 args="${D}{args} ${D}1"
49771 -dynamiclib|-bundle)
49772 linking_flag="${D}1"
49776 echo "shared-ld: unhandled option '${D}1'"
49780 *.o | *.a | *.dylib)
49781 # collect object files
49782 objects="${D}{objects} ${D}1"
49786 echo "shared-ld: unhandled argument '${D}1'"
49797 # Link one module containing all the others
49799 if test ${D}{verbose} = 1; then
49800 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49802 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49806 # Link the shared library from the single module created, but only if the
49807 # previous command didn't fail:
49809 if test ${D}{status} = 0; then
49810 if test ${D}{verbose} = 1; then
49811 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49813 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49818 # Remove intermediate module
49820 rm -f master.${D}${D}.o
49825 chmod +x shared-ld-sh
49827 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49828 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49831 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49832 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49833 if test "${bakefile_cv_gcc31+set}" = set; then
49834 echo $ECHO_N "(cached) $ECHO_C" >&6
49837 cat >conftest.$ac_ext <<_ACEOF
49840 cat confdefs.h >>conftest.$ac_ext
49841 cat >>conftest.$ac_ext <<_ACEOF
49842 /* end confdefs.h. */
49848 #if (__GNUC__ < 3) || \
49849 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49857 rm -f conftest.$ac_objext
49858 if { (ac_try="$ac_compile"
49859 case "(($ac_try" in
49860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49861 *) ac_try_echo=$ac_try;;
49863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49864 (eval "$ac_compile") 2>conftest.er1
49866 grep -v '^ *+' conftest.er1 >conftest.err
49868 cat conftest.err >&5
49869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49870 (exit $ac_status); } && {
49871 test -z "$ac_c_werror_flag" ||
49872 test ! -s conftest.err
49873 } && test -s conftest.$ac_objext; then
49875 bakefile_cv_gcc31=yes
49878 echo "$as_me: failed program was:" >&5
49879 sed 's/^/| /' conftest.$ac_ext >&5
49882 bakefile_cv_gcc31=no
49887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49890 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49891 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49892 if test "$bakefile_cv_gcc31" = "no"; then
49893 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49894 SHARED_LD_CXX="$SHARED_LD_CC"
49896 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49897 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49900 if test "x$GCC" == "xyes"; then
49901 PIC_FLAG="-dynamic -fPIC"
49903 if test "x$XLCC" = "xyes"; then
49904 PIC_FLAG="-dynamic -DPIC"
49909 if test "x$GCC" = "xyes"; then
49912 case "${BAKEFILE_HOST}" in
49914 LD_EXPFULL="-Wl,-bexpfull"
49918 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49919 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49921 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49922 set dummy makeC++SharedLib; ac_word=$2
49923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49925 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49926 echo $ECHO_N "(cached) $ECHO_C" >&6
49928 if test -n "$AIX_CXX_LD"; then
49929 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49932 for as_dir in $PATH
49935 test -z "$as_dir" && as_dir=.
49936 for ac_exec_ext in '' $ac_executable_extensions; do
49937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49938 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49946 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49949 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49950 if test -n "$AIX_CXX_LD"; then
49951 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49952 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49954 { echo "$as_me:$LINENO: result: no" >&5
49955 echo "${ECHO_T}no" >&6; }
49959 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49960 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49965 SHARED_LD_CC="${LD} -nostart -o"
49966 SHARED_LD_CXX="${LD} -nostart -o"
49970 if test "x$GCC" != "xyes"; then
49975 *-*-cygwin* | *-*-mingw32* )
49977 SHARED_LD_CC="\$(CC) -shared -o"
49978 SHARED_LD_CXX="\$(CXX) -shared -o"
49982 *-pc-os2_emx | *-pc-os2-emx )
49983 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49984 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49988 cat <<EOF >dllar.sh
49991 # dllar - a tool to build both a .dll and an .a file
49992 # from a set of object (.o) files for EMX/OS2.
49994 # Written by Andrew Zabolotny, bit@freya.etu.ru
49995 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49997 # This script will accept a set of files on the command line.
49998 # All the public symbols from the .o files will be exported into
49999 # a .DEF file, then linker will be run (through gcc) against them to
50000 # build a shared library consisting of all given .o files. All libraries
50001 # (.a) will be first decompressed into component .o files then act as
50002 # described above. You can optionally give a description (-d "description")
50003 # which will be put into .DLL. To see the list of accepted options (as well
50004 # as command-line format) simply run this program without options. The .DLL
50005 # is built to be imported by name (there is no guarantee that new versions
50006 # of the library you build will have same ordinals for same symbols).
50008 # dllar is free software; you can redistribute it and/or modify
50009 # it under the terms of the GNU General Public License as published by
50010 # the Free Software Foundation; either version 2, or (at your option)
50011 # any later version.
50013 # dllar is distributed in the hope that it will be useful,
50014 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50016 # GNU General Public License for more details.
50018 # You should have received a copy of the GNU General Public License
50019 # along with dllar; see the file COPYING. If not, write to the Free
50020 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50023 # To successfuly run this program you will need:
50024 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50025 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50027 # (used to build the .dll)
50029 # (used to create .def file from .o files)
50031 # (used to create .a file from .def file)
50032 # - GNU text utilites (cat, sort, uniq)
50033 # used to process emxexp output
50034 # - GNU file utilities (mv, rm)
50036 # - lxlite (optional, see flag below)
50037 # (used for general .dll cleanup)
50044 # basnam, variant of basename, which does _not_ remove the path, _iff_
50045 # second argument (suffix to remove) is given
50049 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50052 echo ${D}1 | sed 's/'${D}2'${D}//'
50055 echo "error in basnam ${D}*"
50061 # Cleanup temporary files and output
50064 for i in ${D}inputFiles ; do
50067 rm -rf \`basnam ${D}i !\`
50074 # Kill result in case of failure as there is just to many stupid make/nmake
50075 # things out there which doesn't do this.
50076 if [ ${D}# -eq 0 ]; then
50077 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50081 # Print usage and exit script with rc=1.
50083 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50084 echo ' [-name-mangler-script script.sh]'
50085 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50086 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50087 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50088 echo ' [*.o] [*.a]'
50089 echo '*> "output_file" should have no extension.'
50090 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50091 echo ' The import library name is derived from this and is set to "name".a,'
50092 echo ' unless overridden by -import'
50093 echo '*> "importlib_name" should have no extension.'
50094 echo ' If it has the .o, or .a extension, it is automatically removed.'
50095 echo ' This name is used as the import library name and may be longer and'
50096 echo ' more descriptive than the DLL name which has to follow the old '
50097 echo ' 8.3 convention of FAT.'
50098 echo '*> "script.sh may be given to override the output_file name by a'
50099 echo ' different name. It is mainly useful if the regular make process'
50100 echo ' of some package does not take into account OS/2 restriction of'
50101 echo ' DLL name lengths. It takes the importlib name as input and is'
50102 echo ' supposed to procude a shorter name as output. The script should'
50103 echo ' expect to get importlib_name without extension and should produce'
50104 echo ' a (max.) 8 letter name without extension.'
50105 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50106 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50107 echo ' These flags will be put at the start of GCC command line.'
50108 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50109 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50110 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50111 echo ' If the last character of a symbol is "*", all symbols beginning'
50112 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50113 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50114 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50115 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50116 echo ' C runtime DLLs.'
50117 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50118 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50119 echo ' unchanged to GCC at the end of command line.'
50120 echo '*> If you create a DLL from a library and you do not specify -o,'
50121 echo ' the basename for DLL and import library will be set to library name,'
50122 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50123 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50124 echo ' library will be renamed into gcc_s.a.'
50127 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50128 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50133 # Execute a command.
50134 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50135 # @Uses Whatever CleanUp() uses.
50141 if [ ${D}rcCmd -ne 0 ]; then
50142 echo "command failed, exit code="${D}rcCmd
50157 CFLAGS="-s -Zcrtdll"
50159 EXPORT_BY_ORDINALS=0
50164 case ${D}curDirS in
50168 curDirS=${D}{curDirS}"/"
50171 # Parse commandline
50174 while [ ${D}1 ]; do
50177 EXPORT_BY_ORDINALS=1;
50187 -name-mangler-script)
50208 exclude_symbols=${D}{exclude_symbols}${D}1" "
50212 library_flags=${D}{library_flags}${D}1" "
50231 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50234 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50235 if [ ${D}omfLinking -eq 1 ]; then
50236 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50238 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50243 if [ ${D}libsToLink -ne 0 ]; then
50244 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50246 for file in ${D}1 ; do
50247 if [ -f ${D}file ]; then
50248 inputFiles="${D}{inputFiles} ${D}file"
50252 if [ ${D}found -eq 0 ]; then
50253 echo "ERROR: No file(s) found: "${D}1
50260 done # iterate cmdline words
50263 if [ -z "${D}inputFiles" ]; then
50264 echo "dllar: no input files"
50268 # Now extract all .o files from .a files
50270 for file in ${D}inputFiles ; do
50281 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50286 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50288 if [ ${D}? -ne 0 ]; then
50289 echo "Failed to create subdirectory ./${D}dirname"
50293 # Append '!' to indicate archive
50294 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50295 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50298 for subfile in ${D}dirname/*.o* ; do
50299 if [ -f ${D}subfile ]; then
50301 if [ -s ${D}subfile ]; then
50302 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50303 newInputFiles="${D}newInputFiles ${D}subfile"
50307 if [ ${D}found -eq 0 ]; then
50308 echo "WARNING: there are no files in archive \\'${D}file\\'"
50312 newInputFiles="${D}{newInputFiles} ${D}file"
50316 inputFiles="${D}newInputFiles"
50318 # Output filename(s).
50320 if [ -z ${D}outFile ]; then
50322 set outFile ${D}inputFiles; outFile=${D}2
50325 # If it is an archive, remove the '!' and the '_%' suffixes
50326 case ${D}outFile in
50328 outFile=\`basnam ${D}outFile _%!\`
50333 case ${D}outFile in
50335 outFile=\`basnam ${D}outFile .dll\`
50338 outFile=\`basnam ${D}outFile .DLL\`
50341 outFile=\`basnam ${D}outFile .o\`
50344 outFile=\`basnam ${D}outFile .obj\`
50347 outFile=\`basnam ${D}outFile .a\`
50350 outFile=\`basnam ${D}outFile .lib\`
50355 case ${D}outimpFile in
50357 outimpFile=\`basnam ${D}outimpFile .a\`
50360 outimpFile=\`basnam ${D}outimpFile .lib\`
50365 if [ -z ${D}outimpFile ]; then
50366 outimpFile=${D}outFile
50368 defFile="${D}{outFile}.def"
50369 arcFile="${D}{outimpFile}.a"
50370 arcFile2="${D}{outimpFile}.lib"
50372 #create ${D}dllFile as something matching 8.3 restrictions,
50373 if [ -z ${D}renameScript ] ; then
50374 dllFile="${D}outFile"
50376 dllFile=\`${D}renameScript ${D}outimpFile\`
50379 if [ ${D}do_backup -ne 0 ] ; then
50380 if [ -f ${D}arcFile ] ; then
50381 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50383 if [ -f ${D}arcFile2 ] ; then
50384 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50388 # Extract public symbols from all the object files.
50389 tmpdefFile=${D}{defFile}_%
50390 rm -f ${D}tmpdefFile
50391 for file in ${D}inputFiles ; do
50396 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50401 # Create the def file.
50403 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50404 dllFile="${D}{dllFile}.dll"
50405 if [ ! -z ${D}description ]; then
50406 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50408 echo "EXPORTS" >> ${D}defFile
50410 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50411 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50413 # Checks if the export is ok or not.
50414 for word in ${D}exclude_symbols; do
50415 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50416 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50420 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50421 sed "=" < ${D}tmpdefFile | \\
50425 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50427 ' > ${D}{tmpdefFile}%
50428 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50430 rm -f ${D}{tmpdefFile}%
50432 cat ${D}tmpdefFile >> ${D}defFile
50433 rm -f ${D}tmpdefFile
50435 # Do linking, create implib, and apply lxlite.
50437 for file in ${D}inputFiles ; do
50442 gccCmdl="${D}gccCmdl ${D}file"
50446 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50447 touch "${D}{outFile}.dll"
50449 doCommand "emximp -o ${D}arcFile ${D}defFile"
50450 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50452 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50455 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50457 doCommand "emxomf -s -l ${D}arcFile"
50467 powerpc-apple-macos* | \
50468 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50478 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50479 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50480 { (exit 1); exit 1; }; }
50483 if test "x$PIC_FLAG" != "x" ; then
50484 PIC_FLAG="$PIC_FLAG -DPIC"
50487 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50488 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50490 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50491 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50506 USE_SOTWOSYMLINKS=0
50510 case "${BAKEFILE_HOST}" in
50511 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50512 *-*-k*bsd*-gnu | *-*-mirbsd* )
50513 if test "x$SUNCXX" = "xyes"; then
50516 SONAME_FLAG="-Wl,-soname,"
50520 USE_SOTWOSYMLINKS=1
50532 USE_SOTWOSYMLINKS=1
50550 # Check whether --enable-dependency-tracking was given.
50551 if test "${enable_dependency_tracking+set}" = set; then
50552 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50556 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50557 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50560 if test "x$bk_use_trackdeps" = "xno" ; then
50562 { echo "$as_me:$LINENO: result: disabled" >&5
50563 echo "${ECHO_T}disabled" >&6; }
50567 if test "x$GCC" = "xyes"; then
50569 case "${BAKEFILE_HOST}" in
50571 DEPSFLAG="-no-cpp-precomp -MMD"
50577 { echo "$as_me:$LINENO: result: gcc" >&5
50578 echo "${ECHO_T}gcc" >&6; }
50579 elif test "x$MWCC" = "xyes"; then
50582 { echo "$as_me:$LINENO: result: mwcc" >&5
50583 echo "${ECHO_T}mwcc" >&6; }
50584 elif test "x$SUNCC" = "xyes"; then
50587 { echo "$as_me:$LINENO: result: Sun cc" >&5
50588 echo "${ECHO_T}Sun cc" >&6; }
50589 elif test "x$SGICC" = "xyes"; then
50592 { echo "$as_me:$LINENO: result: SGI cc" >&5
50593 echo "${ECHO_T}SGI cc" >&6; }
50594 elif test "x$HPCC" = "xyes"; then
50597 { echo "$as_me:$LINENO: result: HP cc" >&5
50598 echo "${ECHO_T}HP cc" >&6; }
50599 elif test "x$COMPAQCC" = "xyes"; then
50602 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50603 echo "${ECHO_T}Compaq cc" >&6; }
50606 { echo "$as_me:$LINENO: result: none" >&5
50607 echo "${ECHO_T}none" >&6; }
50610 if test $DEPS_TRACKING = 1 ; then
50616 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50617 # script. It is used to track C/C++ files dependencies in portable way.
50619 # Permission is given to use this file in any way.
50621 DEPSMODE=${DEPSMODE}
50622 DEPSFLAG="${DEPSFLAG}"
50625 if test ${D}DEPSMODE = gcc ; then
50626 ${D}* ${D}{DEPSFLAG}
50629 # determine location of created files:
50630 while test ${D}# -gt 0; do
50644 objfilebase=\`basename ${D}objfile\`
50645 builddir=\`dirname ${D}objfile\`
50646 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50647 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50648 depsdir=${D}builddir/${D}DEPSDIRBASE
50649 mkdir -p ${D}depsdir
50651 # if the compiler failed, we're done:
50652 if test ${D}{status} != 0 ; then
50657 # move created file to the location we want it in:
50658 if test -f ${D}depfile ; then
50659 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50662 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50663 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50664 if test ! -f ${D}depfile ; then
50665 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50666 depfile="${D}objfile.d"
50668 if test -f ${D}depfile ; then
50669 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50675 elif test ${D}DEPSMODE = mwcc ; then
50676 ${D}* || exit ${D}?
50677 # Run mwcc again with -MM and redirect into the dep file we want
50678 # NOTE: We can't use shift here because we need ${D}* to be valid
50680 for arg in ${D}* ; do
50681 if test "${D}prevarg" = "-o"; then
50695 objfilebase=\`basename ${D}objfile\`
50696 builddir=\`dirname ${D}objfile\`
50697 depsdir=${D}builddir/${D}DEPSDIRBASE
50698 mkdir -p ${D}depsdir
50700 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50703 elif test ${D}DEPSMODE = unixcc; then
50704 ${D}* || exit ${D}?
50705 # Run compiler again with deps flag and redirect into the dep file.
50706 # It doesn't work if the '-o FILE' option is used, but without it the
50707 # dependency file will contain the wrong name for the object. So it is
50708 # removed from the command line, and the dep file is fixed with sed.
50710 while test ${D}# -gt 0; do
50717 eval arg${D}#=\\${D}1
50718 cmd="${D}cmd \\${D}arg${D}#"
50724 objfilebase=\`basename ${D}objfile\`
50725 builddir=\`dirname ${D}objfile\`
50726 depsdir=${D}builddir/${D}DEPSDIRBASE
50727 mkdir -p ${D}depsdir
50729 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50739 BK_DEPS="`pwd`/bk-deps"
50747 case ${BAKEFILE_HOST} in
50748 *-*-cygwin* | *-*-mingw32* )
50749 if test -n "$ac_tool_prefix"; then
50750 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50751 set dummy ${ac_tool_prefix}windres; ac_word=$2
50752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50754 if test "${ac_cv_prog_WINDRES+set}" = set; then
50755 echo $ECHO_N "(cached) $ECHO_C" >&6
50757 if test -n "$WINDRES"; then
50758 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50761 for as_dir in $PATH
50764 test -z "$as_dir" && as_dir=.
50765 for ac_exec_ext in '' $ac_executable_extensions; do
50766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50767 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50777 WINDRES=$ac_cv_prog_WINDRES
50778 if test -n "$WINDRES"; then
50779 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50780 echo "${ECHO_T}$WINDRES" >&6; }
50782 { echo "$as_me:$LINENO: result: no" >&5
50783 echo "${ECHO_T}no" >&6; }
50788 if test -z "$ac_cv_prog_WINDRES"; then
50789 ac_ct_WINDRES=$WINDRES
50790 # Extract the first word of "windres", so it can be a program name with args.
50791 set dummy windres; ac_word=$2
50792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50794 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50795 echo $ECHO_N "(cached) $ECHO_C" >&6
50797 if test -n "$ac_ct_WINDRES"; then
50798 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50801 for as_dir in $PATH
50804 test -z "$as_dir" && as_dir=.
50805 for ac_exec_ext in '' $ac_executable_extensions; do
50806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50807 ac_cv_prog_ac_ct_WINDRES="windres"
50808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50817 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50818 if test -n "$ac_ct_WINDRES"; then
50819 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50820 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50822 { echo "$as_me:$LINENO: result: no" >&5
50823 echo "${ECHO_T}no" >&6; }
50826 if test "x$ac_ct_WINDRES" = x; then
50829 case $cross_compiling:$ac_tool_warned in
50831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50832 whose name does not start with the host triplet. If you think this
50833 configuration is useful to you, please write to autoconf@gnu.org." >&5
50834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50835 whose name does not start with the host triplet. If you think this
50836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50837 ac_tool_warned=yes ;;
50839 WINDRES=$ac_ct_WINDRES
50842 WINDRES="$ac_cv_prog_WINDRES"
50847 *-*-darwin* | powerpc-apple-macos* )
50848 # Extract the first word of "Rez", so it can be a program name with args.
50849 set dummy Rez; ac_word=$2
50850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50852 if test "${ac_cv_prog_REZ+set}" = set; then
50853 echo $ECHO_N "(cached) $ECHO_C" >&6
50855 if test -n "$REZ"; then
50856 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50859 for as_dir in $PATH
50862 test -z "$as_dir" && as_dir=.
50863 for ac_exec_ext in '' $ac_executable_extensions; do
50864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50865 ac_cv_prog_REZ="Rez"
50866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50873 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50876 REZ=$ac_cv_prog_REZ
50877 if test -n "$REZ"; then
50878 { echo "$as_me:$LINENO: result: $REZ" >&5
50879 echo "${ECHO_T}$REZ" >&6; }
50881 { echo "$as_me:$LINENO: result: no" >&5
50882 echo "${ECHO_T}no" >&6; }
50886 # Extract the first word of "SetFile", so it can be a program name with args.
50887 set dummy SetFile; ac_word=$2
50888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50890 if test "${ac_cv_prog_SETFILE+set}" = set; then
50891 echo $ECHO_N "(cached) $ECHO_C" >&6
50893 if test -n "$SETFILE"; then
50894 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50897 for as_dir in $PATH
50900 test -z "$as_dir" && as_dir=.
50901 for ac_exec_ext in '' $ac_executable_extensions; do
50902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50903 ac_cv_prog_SETFILE="SetFile"
50904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50911 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50914 SETFILE=$ac_cv_prog_SETFILE
50915 if test -n "$SETFILE"; then
50916 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50917 echo "${ECHO_T}$SETFILE" >&6; }
50919 { echo "$as_me:$LINENO: result: no" >&5
50920 echo "${ECHO_T}no" >&6; }
50935 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50938 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50942 # Check whether --enable-precomp-headers was given.
50943 if test "${enable_precomp_headers+set}" = set; then
50944 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50953 case ${BAKEFILE_HOST} in
50959 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50960 if test "x$GCC" = "xyes"; then
50961 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50962 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50963 cat >conftest.$ac_ext <<_ACEOF
50966 cat confdefs.h >>conftest.$ac_ext
50967 cat >>conftest.$ac_ext <<_ACEOF
50968 /* end confdefs.h. */
50974 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50975 There is no PCH support
50978 There is no PCH support
50980 #if (__GNUC__ == 3) && \
50981 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50982 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50983 ( defined(__INTEL_COMPILER) )
50984 There is no PCH support
50991 rm -f conftest.$ac_objext
50992 if { (ac_try="$ac_compile"
50993 case "(($ac_try" in
50994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50995 *) ac_try_echo=$ac_try;;
50997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50998 (eval "$ac_compile") 2>conftest.er1
51000 grep -v '^ *+' conftest.er1 >conftest.err
51002 cat conftest.err >&5
51003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51004 (exit $ac_status); } && {
51005 test -z "$ac_c_werror_flag" ||
51006 test ! -s conftest.err
51007 } && test -s conftest.$ac_objext; then
51009 { echo "$as_me:$LINENO: result: yes" >&5
51010 echo "${ECHO_T}yes" >&6; }
51014 echo "$as_me: failed program was:" >&5
51015 sed 's/^/| /' conftest.$ac_ext >&5
51018 if test "$INTELCXX8" = "yes"; then
51019 { echo "$as_me:$LINENO: result: yes" >&5
51020 echo "${ECHO_T}yes" >&6; }
51022 if test "$INTELCXX10" = "yes"; then
51023 ICC_PCH_CREATE_SWITCH="-pch-create"
51024 ICC_PCH_USE_SWITCH="-pch-use"
51026 ICC_PCH_CREATE_SWITCH="-create-pch"
51027 ICC_PCH_USE_SWITCH="-use-pch"
51030 { echo "$as_me:$LINENO: result: no" >&5
51031 echo "${ECHO_T}no" >&6; }
51036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51037 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51041 cat <<EOF >bk-make-pch
51044 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51045 # script. It is used to generated precompiled headers.
51047 # Permission is given to use this file in any way.
51054 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51059 while test ${D}{#} -gt 0; do
51063 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51064 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51065 headerfile="${D}{incdir}/${D}{header}"
51068 -use-pch|-use_pch|-pch-use )
51073 if test ${D}add_to_cmdline = 1 ; then
51074 compiler="${D}{compiler} ${D}{1}"
51079 if test "x${D}{headerfile}" = "x" ; then
51080 echo "error: can't find header ${D}{header} in include paths" >&2
51082 if test -f ${D}{outfile} ; then
51083 rm -f ${D}{outfile}
51085 mkdir -p \`dirname ${D}{outfile}\`
51087 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51088 mkdir -p ${D}{builddir}/.deps
51089 if test "x${GCC_PCH}" = "x1" ; then
51090 # can do this because gcc is >= 3.4:
51091 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51092 elif test "x${ICC_PCH}" = "x1" ; then
51093 filename=pch_gen-${D}${D}
51094 file=${D}{filename}.c
51095 dfile=${D}{filename}.d
51096 cat > ${D}file <<EOT
51097 #include "${D}header"
51099 # using -MF icc complains about differing command lines in creation/use
51100 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51101 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51102 rm -f ${D}file ${D}dfile ${D}{filename}.o
51108 chmod +x bk-make-pch
51109 BK_MAKE_PCH="`pwd`/bk-make-pch"
51120 COND_BUILD_DEBUG="#"
51121 if test "x$BUILD" = "xdebug" ; then
51122 COND_BUILD_DEBUG=""
51125 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51126 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51127 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51130 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51131 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51132 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51135 COND_BUILD_DEBUG_UNICODE_0="#"
51136 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51137 COND_BUILD_DEBUG_UNICODE_0=""
51140 COND_BUILD_DEBUG_UNICODE_1="#"
51141 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51142 COND_BUILD_DEBUG_UNICODE_1=""
51145 COND_BUILD_RELEASE="#"
51146 if test "x$BUILD" = "xrelease" ; then
51147 COND_BUILD_RELEASE=""
51150 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51151 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51152 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51155 COND_BUILD_RELEASE_UNICODE_0="#"
51156 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51157 COND_BUILD_RELEASE_UNICODE_0=""
51160 COND_BUILD_RELEASE_UNICODE_1="#"
51161 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51162 COND_BUILD_RELEASE_UNICODE_1=""
51165 COND_BUILD_debug="#"
51166 if test "x$BUILD" = "xdebug" ; then
51167 COND_BUILD_debug=""
51170 COND_BUILD_debug_DEBUG_FLAG_default="#"
51171 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51172 COND_BUILD_debug_DEBUG_FLAG_default=""
51175 COND_BUILD_debug_DEBUG_INFO_default="#"
51176 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51177 COND_BUILD_debug_DEBUG_INFO_default=""
51180 COND_BUILD_debug_UNICODE_0="#"
51181 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51182 COND_BUILD_debug_UNICODE_0=""
51185 COND_BUILD_debug_UNICODE_1="#"
51186 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51187 COND_BUILD_debug_UNICODE_1=""
51190 COND_BUILD_release="#"
51191 if test "x$BUILD" = "xrelease" ; then
51192 COND_BUILD_release=""
51195 COND_BUILD_release_DEBUG_INFO_default="#"
51196 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51197 COND_BUILD_release_DEBUG_INFO_default=""
51200 COND_BUILD_release_UNICODE_0="#"
51201 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51202 COND_BUILD_release_UNICODE_0=""
51205 COND_BUILD_release_UNICODE_1="#"
51206 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51207 COND_BUILD_release_UNICODE_1=""
51210 COND_DEBUG_FLAG_0="#"
51211 if test "x$DEBUG_FLAG" = "x0" ; then
51212 COND_DEBUG_FLAG_0=""
51215 COND_DEBUG_FLAG_1="#"
51216 if test "x$DEBUG_FLAG" = "x1" ; then
51217 COND_DEBUG_FLAG_1=""
51220 COND_DEBUG_INFO_0="#"
51221 if test "x$DEBUG_INFO" = "x0" ; then
51222 COND_DEBUG_INFO_0=""
51225 COND_DEBUG_INFO_1="#"
51226 if test "x$DEBUG_INFO" = "x1" ; then
51227 COND_DEBUG_INFO_1=""
51230 COND_DEPS_TRACKING_0="#"
51231 if test "x$DEPS_TRACKING" = "x0" ; then
51232 COND_DEPS_TRACKING_0=""
51235 COND_DEPS_TRACKING_1="#"
51236 if test "x$DEPS_TRACKING" = "x1" ; then
51237 COND_DEPS_TRACKING_1=""
51241 if test "x$GCC_PCH" = "x1" ; then
51246 if test "x$ICC_PCH" = "x1" ; then
51250 COND_MONOLITHIC_0="#"
51251 if test "x$MONOLITHIC" = "x0" ; then
51252 COND_MONOLITHIC_0=""
51255 COND_MONOLITHIC_0_SHARED_0="#"
51256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51257 COND_MONOLITHIC_0_SHARED_0=""
51260 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51262 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51265 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51267 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51270 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51271 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51272 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51275 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51277 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51280 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51281 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51282 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51285 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51287 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51290 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51292 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51295 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51296 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51297 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51300 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51301 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51302 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51305 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51306 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51307 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51310 COND_MONOLITHIC_0_SHARED_1="#"
51311 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51312 COND_MONOLITHIC_0_SHARED_1=""
51315 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51316 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51317 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51320 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51321 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51325 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51326 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51327 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51330 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51331 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51332 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51335 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51336 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51337 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51340 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51341 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51342 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51345 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51347 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51350 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51352 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51355 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51357 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51360 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51362 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51365 COND_MONOLITHIC_0_USE_AUI_1="#"
51366 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51367 COND_MONOLITHIC_0_USE_AUI_1=""
51370 COND_MONOLITHIC_0_USE_GUI_1="#"
51371 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51372 COND_MONOLITHIC_0_USE_GUI_1=""
51375 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51376 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51377 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51380 COND_MONOLITHIC_0_USE_HTML_1="#"
51381 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51382 COND_MONOLITHIC_0_USE_HTML_1=""
51385 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51386 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51387 COND_MONOLITHIC_0_USE_MEDIA_1=""
51390 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51391 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51392 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51395 COND_MONOLITHIC_0_USE_QA_1="#"
51396 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51397 COND_MONOLITHIC_0_USE_QA_1=""
51400 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51401 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51402 COND_MONOLITHIC_0_USE_RIBBON_1=""
51405 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51406 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51407 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51410 COND_MONOLITHIC_0_USE_STC_1="#"
51411 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51412 COND_MONOLITHIC_0_USE_STC_1=""
51415 COND_MONOLITHIC_0_USE_XRC_1="#"
51416 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51417 COND_MONOLITHIC_0_USE_XRC_1=""
51420 COND_MONOLITHIC_1="#"
51421 if test "x$MONOLITHIC" = "x1" ; then
51422 COND_MONOLITHIC_1=""
51425 COND_MONOLITHIC_1_SHARED_0="#"
51426 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51427 COND_MONOLITHIC_1_SHARED_0=""
51430 COND_MONOLITHIC_1_SHARED_1="#"
51431 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51432 COND_MONOLITHIC_1_SHARED_1=""
51435 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51436 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51437 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51440 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51441 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51442 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51445 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51446 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51447 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51450 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51451 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51452 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51455 COND_PLATFORM_MACOSX_1="#"
51456 if test "x$PLATFORM_MACOSX" = "x1" ; then
51457 COND_PLATFORM_MACOSX_1=""
51460 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51461 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51462 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51465 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51466 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51467 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51470 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51471 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51472 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51475 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51476 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51477 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51480 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51481 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51482 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51485 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51486 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51487 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51490 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51491 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51492 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51495 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51496 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51497 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51500 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51502 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51505 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51506 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51507 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51510 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51511 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51512 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51515 COND_PLATFORM_MACOS_1="#"
51516 if test "x$PLATFORM_MACOS" = "x1" ; then
51517 COND_PLATFORM_MACOS_1=""
51520 COND_PLATFORM_MAC_0="#"
51521 if test "x$PLATFORM_MAC" = "x0" ; then
51522 COND_PLATFORM_MAC_0=""
51525 COND_PLATFORM_MAC_1="#"
51526 if test "x$PLATFORM_MAC" = "x1" ; then
51527 COND_PLATFORM_MAC_1=""
51530 COND_PLATFORM_MSDOS_0="#"
51531 if test "x$PLATFORM_MSDOS" = "x0" ; then
51532 COND_PLATFORM_MSDOS_0=""
51535 COND_PLATFORM_MSDOS_1="#"
51536 if test "x$PLATFORM_MSDOS" = "x1" ; then
51537 COND_PLATFORM_MSDOS_1=""
51540 COND_PLATFORM_OS2_1="#"
51541 if test "x$PLATFORM_OS2" = "x1" ; then
51542 COND_PLATFORM_OS2_1=""
51545 COND_PLATFORM_UNIX_0="#"
51546 if test "x$PLATFORM_UNIX" = "x0" ; then
51547 COND_PLATFORM_UNIX_0=""
51550 COND_PLATFORM_UNIX_1="#"
51551 if test "x$PLATFORM_UNIX" = "x1" ; then
51552 COND_PLATFORM_UNIX_1=""
51555 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51556 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51557 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51560 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51561 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51562 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51565 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51566 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51567 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51570 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51571 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51572 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51575 COND_PLATFORM_WIN32_0="#"
51576 if test "x$PLATFORM_WIN32" = "x0" ; then
51577 COND_PLATFORM_WIN32_0=""
51580 COND_PLATFORM_WIN32_1="#"
51581 if test "x$PLATFORM_WIN32" = "x1" ; then
51582 COND_PLATFORM_WIN32_1=""
51585 COND_PLATFORM_WIN32_1_SHARED_0="#"
51586 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51587 COND_PLATFORM_WIN32_1_SHARED_0=""
51591 if test "x$SHARED" = "x0" ; then
51595 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51596 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51597 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51600 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51601 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51602 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51605 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51606 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51607 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51610 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51611 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51612 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51615 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51616 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51617 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51620 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51621 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51622 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51625 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51626 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51627 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51630 COND_SHARED_0_USE_STC_1="#"
51631 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51632 COND_SHARED_0_USE_STC_1=""
51635 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51636 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51637 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51640 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51641 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51642 COND_SHARED_0_wxUSE_REGEX_builtin=""
51645 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51646 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51647 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51651 if test "x$SHARED" = "x1" ; then
51655 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51656 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51657 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51661 if test "x$TOOLKIT" = "x" ; then
51665 COND_TOOLKIT_COCOA="#"
51666 if test "x$TOOLKIT" = "xCOCOA" ; then
51667 COND_TOOLKIT_COCOA=""
51670 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51671 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51672 COND_TOOLKIT_COCOA_USE_GUI_1=""
51675 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51676 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51677 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51680 COND_TOOLKIT_DFB="#"
51681 if test "x$TOOLKIT" = "xDFB" ; then
51682 COND_TOOLKIT_DFB=""
51685 COND_TOOLKIT_DFB_USE_GUI_1="#"
51686 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51687 COND_TOOLKIT_DFB_USE_GUI_1=""
51690 COND_TOOLKIT_GTK="#"
51691 if test "x$TOOLKIT" = "xGTK" ; then
51692 COND_TOOLKIT_GTK=""
51695 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51696 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51697 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51700 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51701 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51702 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51705 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51706 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51707 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51710 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51711 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51712 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51715 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51716 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51717 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51720 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51721 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51722 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51725 COND_TOOLKIT_GTK_USE_GUI_1="#"
51726 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51727 COND_TOOLKIT_GTK_USE_GUI_1=""
51730 COND_TOOLKIT_MAC="#"
51731 if test "x$TOOLKIT" = "xMAC" ; then
51732 COND_TOOLKIT_MAC=""
51735 COND_TOOLKIT_MGL="#"
51736 if test "x$TOOLKIT" = "xMGL" ; then
51737 COND_TOOLKIT_MGL=""
51740 COND_TOOLKIT_MGL_USE_GUI_1="#"
51741 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51742 COND_TOOLKIT_MGL_USE_GUI_1=""
51745 COND_TOOLKIT_MOTIF="#"
51746 if test "x$TOOLKIT" = "xMOTIF" ; then
51747 COND_TOOLKIT_MOTIF=""
51750 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51751 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51752 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51755 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51756 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51757 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51760 COND_TOOLKIT_MSW="#"
51761 if test "x$TOOLKIT" = "xMSW" ; then
51762 COND_TOOLKIT_MSW=""
51765 COND_TOOLKIT_MSW_USE_GUI_1="#"
51766 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51767 COND_TOOLKIT_MSW_USE_GUI_1=""
51770 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51771 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51772 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51775 COND_TOOLKIT_MSW_WXUNIV_0="#"
51776 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51777 COND_TOOLKIT_MSW_WXUNIV_0=""
51780 COND_TOOLKIT_OSX_CARBON="#"
51781 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51782 COND_TOOLKIT_OSX_CARBON=""
51785 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51786 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51787 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51790 COND_TOOLKIT_OSX_COCOA="#"
51791 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51792 COND_TOOLKIT_OSX_COCOA=""
51795 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51796 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51797 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51800 COND_TOOLKIT_OSX_IPHONE="#"
51801 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51802 COND_TOOLKIT_OSX_IPHONE=""
51805 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51806 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51807 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51810 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51811 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51812 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51815 COND_TOOLKIT_PM="#"
51816 if test "x$TOOLKIT" = "xPM" ; then
51820 COND_TOOLKIT_PM_USE_GUI_1="#"
51821 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51822 COND_TOOLKIT_PM_USE_GUI_1=""
51825 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51826 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51827 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51830 COND_TOOLKIT_WINCE="#"
51831 if test "x$TOOLKIT" = "xWINCE" ; then
51832 COND_TOOLKIT_WINCE=""
51835 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51836 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51837 COND_TOOLKIT_WINCE_USE_GUI_1=""
51840 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51841 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51842 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51845 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51846 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51847 COND_TOOLKIT_WINCE_WXUNIV_0=""
51850 COND_TOOLKIT_X11="#"
51851 if test "x$TOOLKIT" = "xX11" ; then
51852 COND_TOOLKIT_X11=""
51855 COND_TOOLKIT_X11_USE_GUI_1="#"
51856 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51857 COND_TOOLKIT_X11_USE_GUI_1=""
51861 if test "x$UNICODE" = "x1" ; then
51865 COND_USE_CAIRO_1="#"
51866 if test "x$USE_CAIRO" = "x1" ; then
51867 COND_USE_CAIRO_1=""
51870 COND_USE_EXCEPTIONS_0="#"
51871 if test "x$USE_EXCEPTIONS" = "x0" ; then
51872 COND_USE_EXCEPTIONS_0=""
51875 COND_USE_EXCEPTIONS_1="#"
51876 if test "x$USE_EXCEPTIONS" = "x1" ; then
51877 COND_USE_EXCEPTIONS_1=""
51881 if test "x$USE_GUI" = "x0" ; then
51886 if test "x$USE_GUI" = "x1" ; then
51890 COND_USE_GUI_1_USE_OPENGL_1="#"
51891 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51892 COND_USE_GUI_1_USE_OPENGL_1=""
51895 COND_USE_GUI_1_WXUNIV_0="#"
51896 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51897 COND_USE_GUI_1_WXUNIV_0=""
51900 COND_USE_GUI_1_WXUNIV_1="#"
51901 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51902 COND_USE_GUI_1_WXUNIV_1=""
51905 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51906 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51907 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51910 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51911 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51912 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51915 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51916 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51917 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51920 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51921 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51922 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51925 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51926 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51927 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51930 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51931 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51932 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51935 COND_USE_OPENGL_1="#"
51936 if test "x$USE_OPENGL" = "x1" ; then
51937 COND_USE_OPENGL_1=""
51941 if test "x$USE_PCH" = "x1" ; then
51945 COND_USE_PLUGINS_0="#"
51946 if test "x$USE_PLUGINS" = "x0" ; then
51947 COND_USE_PLUGINS_0=""
51950 COND_USE_RTTI_0="#"
51951 if test "x$USE_RTTI" = "x0" ; then
51955 COND_USE_RTTI_1="#"
51956 if test "x$USE_RTTI" = "x1" ; then
51960 COND_USE_SOTWOSYMLINKS_1="#"
51961 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51962 COND_USE_SOTWOSYMLINKS_1=""
51965 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51966 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51967 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51970 COND_USE_SOVERLINUX_1="#"
51971 if test "x$USE_SOVERLINUX" = "x1" ; then
51972 COND_USE_SOVERLINUX_1=""
51975 COND_USE_SOVERSION_0="#"
51976 if test "x$USE_SOVERSION" = "x0" ; then
51977 COND_USE_SOVERSION_0=""
51980 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51981 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51985 COND_USE_SOVERSOLARIS_1="#"
51986 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51987 COND_USE_SOVERSOLARIS_1=""
51991 if test "x$USE_STC" = "x1" ; then
51995 COND_USE_THREADS_0="#"
51996 if test "x$USE_THREADS" = "x0" ; then
51997 COND_USE_THREADS_0=""
52000 COND_USE_THREADS_1="#"
52001 if test "x$USE_THREADS" = "x1" ; then
52002 COND_USE_THREADS_1=""
52006 if test "x$USE_XRC" = "x1" ; then
52010 COND_WINDOWS_IMPLIB_1="#"
52011 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52012 COND_WINDOWS_IMPLIB_1=""
52015 COND_WITH_PLUGIN_SDL_1="#"
52016 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52017 COND_WITH_PLUGIN_SDL_1=""
52021 if test "x$WXUNIV" = "x0" ; then
52026 if test "x$WXUNIV" = "x1" ; then
52030 COND_WXUSE_EXPAT_BUILTIN="#"
52031 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52032 COND_WXUSE_EXPAT_BUILTIN=""
52035 COND_WXUSE_LIBJPEG_BUILTIN="#"
52036 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52037 COND_WXUSE_LIBJPEG_BUILTIN=""
52040 COND_WXUSE_LIBPNG_BUILTIN="#"
52041 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52042 COND_WXUSE_LIBPNG_BUILTIN=""
52045 COND_WXUSE_LIBTIFF_BUILTIN="#"
52046 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52047 COND_WXUSE_LIBTIFF_BUILTIN=""
52050 COND_WXUSE_REGEX_BUILTIN="#"
52051 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52052 COND_WXUSE_REGEX_BUILTIN=""
52055 COND_WXUSE_ZLIB_BUILTIN="#"
52056 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52057 COND_WXUSE_ZLIB_BUILTIN=""
52060 COND_wxUSE_EXPAT_builtin="#"
52061 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52062 COND_wxUSE_EXPAT_builtin=""
52065 COND_wxUSE_LIBJPEG_builtin="#"
52066 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52067 COND_wxUSE_LIBJPEG_builtin=""
52070 COND_wxUSE_LIBPNG_builtin="#"
52071 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52072 COND_wxUSE_LIBPNG_builtin=""
52075 COND_wxUSE_LIBTIFF_builtin="#"
52076 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52077 COND_wxUSE_LIBTIFF_builtin=""
52080 COND_wxUSE_REGEX_builtin="#"
52081 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52082 COND_wxUSE_REGEX_builtin=""
52085 COND_wxUSE_ZLIB_builtin="#"
52086 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52087 COND_wxUSE_ZLIB_builtin=""
52092 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52093 { { 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
52094 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;}
52095 { (exit 1); exit 1; }; }
52098 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52099 { { 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
52100 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;}
52101 { (exit 1); exit 1; }; }
52108 ?:* ) # Drive letter, considered as absolute.
52111 INSTALL=`pwd`/${INSTALL} ;;
52114 if test "$wxUSE_GUI" = "yes"; then
52116 if test "$wxUSE_MSW" = 1 ; then
52117 if test "x$WINDRES" = "x"; then
52118 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52119 echo "$as_me: error: Required windres program not found" >&2;}
52120 { (exit 1); exit 1; }; }
52123 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52126 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52127 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52128 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52130 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52132 # Extract the first word of "DeRez", so it can be a program name with args.
52133 set dummy DeRez; ac_word=$2
52134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52136 if test "${ac_cv_prog_DEREZ+set}" = set; then
52137 echo $ECHO_N "(cached) $ECHO_C" >&6
52139 if test -n "$DEREZ"; then
52140 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52143 for as_dir in $PATH
52146 test -z "$as_dir" && as_dir=.
52147 for ac_exec_ext in '' $ac_executable_extensions; do
52148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52149 ac_cv_prog_DEREZ="DeRez"
52150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52157 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52160 DEREZ=$ac_cv_prog_DEREZ
52161 if test -n "$DEREZ"; then
52162 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52163 echo "${ECHO_T}$DEREZ" >&6; }
52165 { echo "$as_me:$LINENO: result: no" >&5
52166 echo "${ECHO_T}no" >&6; }
52171 MACSETFILE="\$(SETFILE)"
52173 if test "$wxUSE_OSX_CARBON" = 1; then
52174 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52176 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52178 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52179 RESCOMP="cat /dev/null \| $REZ"
52180 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52186 if test "$wxUSE_PM" = 1; then
52188 WXCONFIG_RESFLAGS="-ep"
52190 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52192 POSTLINK_COMMAND="@true"
52199 if test $GCC_PCH = 1
52201 if test "$wx_cv_gcc_pch_bug" = yes; then
52202 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52203 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52204 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52205 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52206 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52207 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52210 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52211 # the headers that benefit from precompilation are mostly C++ headers.
52212 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52213 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52214 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52218 if test "$wxUSE_MAC" = 1 ; then
52219 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52220 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52226 if test "$wxUSE_SHARED" = "yes"; then
52228 *-pc-os2_emx | *-pc-os2-emx )
52229 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52230 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52231 cp -p ${srcdir}/src/os2/dllnames.sh .
52232 cp -p ${srcdir}/src/os2/dllar.sh .
52236 if test "$wxUSE_OMF" = "yes"; then
52238 *-pc-os2_emx | *-pc-os2-emx )
52239 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52240 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52241 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52246 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52251 if test "$GCC" = yes; then
52252 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52253 LIBS=`echo $LIBS | sed 's/-mt//'`
52254 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52259 if test "x$SUNCXX" = xyes; then
52260 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52261 LIBS=`echo $LIBS | sed 's/-pthread//'`
52262 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52267 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52268 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52269 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52270 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52272 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52333 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52334 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52335 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52336 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52337 echo $ECHO_N "(cached) $ECHO_C" >&6
52339 cat >conftest.make <<\_ACEOF
52342 @echo '@@@%%%=$(MAKE)=@@@%%%'
52344 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52345 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52346 *@@@%%%=?*=@@@%%%*)
52347 eval ac_cv_prog_make_${ac_make}_set=yes;;
52349 eval ac_cv_prog_make_${ac_make}_set=no;;
52351 rm -f conftest.make
52353 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52354 { echo "$as_me:$LINENO: result: yes" >&5
52355 echo "${ECHO_T}yes" >&6; }
52358 { echo "$as_me:$LINENO: result: no" >&5
52359 echo "${ECHO_T}no" >&6; }
52360 SET_MAKE="MAKE=${MAKE-make}"
52365 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52368 if test "$USE_WIN32" = 1; then
52369 ac_config_commands="$ac_config_commands rcdefs.h"
52373 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52376 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52379 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52382 if test "$wx_cv_version_script" = "yes"; then
52383 ac_config_files="$ac_config_files version-script"
52386 ac_config_files="$ac_config_files Makefile"
52389 ac_config_commands="$ac_config_commands wx-config"
52393 if test "$wxWITH_SUBDIRS" != "no"; then
52394 if test "$wxUSE_GUI" = "yes"; then
52395 SUBDIRS="samples demos utils"
52397 SUBDIRS="samples utils"
52402 # Check whether --with-cppunit-prefix was given.
52403 if test "${with_cppunit_prefix+set}" = set; then
52404 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52406 cppunit_config_prefix=""
52410 # Check whether --with-cppunit-exec-prefix was given.
52411 if test "${with_cppunit_exec_prefix+set}" = set; then
52412 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52414 cppunit_config_exec_prefix=""
52418 if test x$cppunit_config_exec_prefix != x ; then
52419 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52420 if test x${CPPUNIT_CONFIG+set} != xset ; then
52421 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52424 if test x$cppunit_config_prefix != x ; then
52425 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52426 if test x${CPPUNIT_CONFIG+set} != xset ; then
52427 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52431 # Extract the first word of "cppunit-config", so it can be a program name with args.
52432 set dummy cppunit-config; ac_word=$2
52433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52435 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52436 echo $ECHO_N "(cached) $ECHO_C" >&6
52438 case $CPPUNIT_CONFIG in
52440 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52444 for as_dir in $PATH
52447 test -z "$as_dir" && as_dir=.
52448 for ac_exec_ext in '' $ac_executable_extensions; do
52449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52450 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52458 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52462 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52463 if test -n "$CPPUNIT_CONFIG"; then
52464 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52465 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52467 { echo "$as_me:$LINENO: result: no" >&5
52468 echo "${ECHO_T}no" >&6; }
52472 cppunit_version_min=1.8.0
52474 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52475 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52477 if test "$CPPUNIT_CONFIG" = "no" ; then
52478 { echo "$as_me:$LINENO: result: no" >&5
52479 echo "${ECHO_T}no" >&6; }
52482 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52483 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52484 cppunit_version=`$CPPUNIT_CONFIG --version`
52486 cppunit_major_version=`echo $cppunit_version | \
52487 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52488 cppunit_minor_version=`echo $cppunit_version | \
52489 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52490 cppunit_micro_version=`echo $cppunit_version | \
52491 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52493 cppunit_major_min=`echo $cppunit_version_min | \
52494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52495 cppunit_minor_min=`echo $cppunit_version_min | \
52496 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52497 cppunit_micro_min=`echo $cppunit_version_min | \
52498 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52500 cppunit_version_proper=`expr \
52501 $cppunit_major_version \> $cppunit_major_min \| \
52502 $cppunit_major_version \= $cppunit_major_min \& \
52503 $cppunit_minor_version \> $cppunit_minor_min \| \
52504 $cppunit_major_version \= $cppunit_major_min \& \
52505 $cppunit_minor_version \= $cppunit_minor_min \& \
52506 $cppunit_micro_version \>= $cppunit_micro_min `
52508 if test "$cppunit_version_proper" = "1" ; then
52509 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52510 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52512 { echo "$as_me:$LINENO: result: no" >&5
52513 echo "${ECHO_T}no" >&6; }
52518 if test "x$no_cppunit" = x ; then
52519 SUBDIRS="$SUBDIRS tests"
52530 for subdir in $SUBDIRS; do
52531 if test -d ${srcdir}/${subdir} ; then
52532 if test "$wxUSE_GUI" = "yes"; then
52533 if test ${subdir} = "samples"; then
52534 makefiles="samples/Makefile.in $makefiles"
52535 for sample in $SAMPLES_SUBDIRS; do
52536 if test -d $srcdir/samples/$sample; then
52537 makefiles="samples/$sample/Makefile.in $makefiles"
52541 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52542 eval "disabled=\$$disabled_var"
52543 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52544 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52547 if test ${subdir} = "samples"; then
52548 makefiles="samples/Makefile.in $makefiles"
52549 for sample in `echo $SAMPLES_SUBDIRS`; do
52550 if test -d $srcdir/samples/$sample; then
52551 makefiles="samples/$sample/Makefile.in $makefiles"
52554 elif test ${subdir} = "utils"; then
52556 for util in ifacecheck ; do
52557 if test -d $srcdir/utils/$util ; then
52558 makefiles="utils/$util/src/Makefile.in \
52563 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52567 for mkin in $makefiles ; do
52568 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52569 ac_config_files="$ac_config_files $mk"
52575 cat >confcache <<\_ACEOF
52576 # This file is a shell script that caches the results of configure
52577 # tests run on this system so they can be shared between configure
52578 # scripts and configure runs, see configure's option --config-cache.
52579 # It is not useful on other systems. If it contains results you don't
52580 # want to keep, you may remove or edit it.
52582 # config.status only pays attention to the cache file if you give it
52583 # the --recheck option to rerun configure.
52585 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52587 # following values.
52591 # The following way of writing the cache mishandles newlines in values,
52592 # but we know of no workaround that is simple, portable, and efficient.
52593 # So, we kill variables containing newlines.
52594 # Ultrix sh set writes to stderr and can't be redirected directly,
52595 # and sets the high bit in the cache file unless we assign to the vars.
52597 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52598 eval ac_val=\$$ac_var
52602 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52603 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52606 _ | IFS | as_nl) ;; #(
52607 *) $as_unset $ac_var ;;
52613 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52614 *${as_nl}ac_space=\ *)
52615 # `set' does not quote correctly, so add quotes (double-quote
52616 # substitution turns \\\\ into \\, and sed turns \\ into \).
52619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52622 # `set' quotes correctly as required by POSIX, so do not add quotes.
52623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52637 if test -w "$cache_file"; then
52638 test "x$cache_file" != "x/dev/null" &&
52639 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52640 echo "$as_me: updating cache $cache_file" >&6;}
52641 cat confcache >$cache_file
52643 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52644 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52649 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52650 # Let make expand exec_prefix.
52651 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52653 DEFS=-DHAVE_CONFIG_H
52657 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52658 # 1. Remove the extension, and $U if already installed.
52659 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52660 ac_i=`echo "$ac_i" | sed "$ac_script"`
52661 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52662 # will be set to the directory where LIBOBJS objects are built.
52663 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52664 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52666 LIBOBJS=$ac_libobjs
52668 LTLIBOBJS=$ac_ltlibobjs
52672 : ${CONFIG_STATUS=./config.status}
52673 ac_clean_files_save=$ac_clean_files
52674 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52675 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52676 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52677 cat >$CONFIG_STATUS <<_ACEOF
52679 # Generated by $as_me.
52680 # Run this file to recreate the current configuration.
52681 # Compiler output produced by configure, useful for debugging
52682 # configure, is in config.log if it exists.
52685 ac_cs_recheck=false
52687 SHELL=\${CONFIG_SHELL-$SHELL}
52690 cat >>$CONFIG_STATUS <<\_ACEOF
52691 ## --------------------- ##
52692 ## M4sh Initialization. ##
52693 ## --------------------- ##
52695 # Be more Bourne compatible
52696 DUALCASE=1; export DUALCASE # for MKS sh
52697 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52700 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52701 # is contrary to our usage. Disable this feature.
52702 alias -g '${1+"$@"}'='"$@"'
52703 setopt NO_GLOB_SUBST
52705 case `(set -o) 2>/dev/null` in
52706 *posix*) set -o posix ;;
52715 # Avoid depending upon Character Ranges.
52716 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52717 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52718 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52719 as_cr_digits='0123456789'
52720 as_cr_alnum=$as_cr_Letters$as_cr_digits
52722 # The user is always right.
52723 if test "${PATH_SEPARATOR+set}" != set; then
52724 echo "#! /bin/sh" >conf$$.sh
52725 echo "exit 0" >>conf$$.sh
52727 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52735 # Support unset when possible.
52736 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52744 # We need space, tab and new line, in precisely that order. Quoting is
52745 # there to prevent editors from complaining about space-tab.
52746 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52747 # splitting by setting IFS to empty value.)
52752 # Find who we are. Look in the path if we contain no directory separator.
52754 *[\\/]* ) as_myself=$0 ;;
52755 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52756 for as_dir in $PATH
52759 test -z "$as_dir" && as_dir=.
52760 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52766 # We did not find ourselves, most probably we were run as `sh COMMAND'
52767 # in which case we are not to be found in the path.
52768 if test "x$as_myself" = x; then
52771 if test ! -f "$as_myself"; then
52772 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52773 { (exit 1); exit 1; }
52776 # Work around bugs in pre-3.0 UWIN ksh.
52777 for as_var in ENV MAIL MAILPATH
52778 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52786 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52787 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52788 LC_TELEPHONE LC_TIME
52790 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52791 eval $as_var=C; export $as_var
52793 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52797 # Required to use basename.
52798 if expr a : '\(a\)' >/dev/null 2>&1 &&
52799 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52805 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52806 as_basename=basename
52812 # Name of the executable.
52813 as_me=`$as_basename -- "$0" ||
52814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52815 X"$0" : 'X\(//\)$' \| \
52816 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52818 sed '/^.*\/\([^/][^/]*\)\/*$/{
52837 as_lineno_1=$LINENO
52838 as_lineno_2=$LINENO
52839 test "x$as_lineno_1" != "x$as_lineno_2" &&
52840 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52842 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52843 # uniformly replaced by the line number. The first 'sed' inserts a
52844 # line-number line after each line using $LINENO; the second 'sed'
52845 # does the real work. The second script uses 'N' to pair each
52846 # line-number line with the line containing $LINENO, and appends
52847 # trailing '-' during substitution so that $LINENO is not a special
52848 # case at line end.
52849 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52850 # scripts with optimization help from Paolo Bonzini. Blame Lee
52851 # E. McMahon (1931-1989) for sed's syntax. :-)
52863 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52866 ' >$as_me.lineno &&
52867 chmod +x "$as_me.lineno" ||
52868 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52869 { (exit 1); exit 1; }; }
52871 # Don't try to exec as it changes $[0], causing all sort of problems
52872 # (the dirname of $[0] is not the place where we might find the
52873 # original and so on. Autoconf is especially sensitive to this).
52874 . "./$as_me.lineno"
52875 # Exit status is that of the last command.
52880 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52886 ECHO_C= ECHO_N= ECHO_T=
52887 case `echo -n x` in
52889 case `echo 'x\c'` in
52890 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52897 if expr a : '\(a\)' >/dev/null 2>&1 &&
52898 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52904 rm -f conf$$ conf$$.exe conf$$.file
52905 if test -d conf$$.dir; then
52906 rm -f conf$$.dir/conf$$.file
52912 if ln -s conf$$.file conf$$ 2>/dev/null; then
52914 # ... but there are two gotchas:
52915 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52916 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52917 # In both cases, we have to default to `cp -p'.
52918 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52920 elif ln conf$$.file conf$$ 2>/dev/null; then
52925 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52926 rmdir conf$$.dir 2>/dev/null
52928 if mkdir -p . 2>/dev/null; then
52931 test -d ./-p && rmdir ./-p
52935 if test -x / >/dev/null 2>&1; then
52936 as_test_x='test -x'
52938 if ls -dL / >/dev/null 2>&1; then
52945 if test -d "$1"; then
52951 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52952 ???[sx]*):;;*)false;;esac;fi
52956 as_executable_p=$as_test_x
52958 # Sed expression to map a string onto a valid CPP name.
52959 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52961 # Sed expression to map a string onto a valid variable name.
52962 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52967 # Save the log message, to keep $[0] and so on meaningful, and to
52968 # report actual input values of CONFIG_FILES etc. instead of their
52969 # values after options handling.
52971 This file was extended by wxWidgets $as_me 2.9.2, which was
52972 generated by GNU Autoconf 2.61. Invocation command line was
52974 CONFIG_FILES = $CONFIG_FILES
52975 CONFIG_HEADERS = $CONFIG_HEADERS
52976 CONFIG_LINKS = $CONFIG_LINKS
52977 CONFIG_COMMANDS = $CONFIG_COMMANDS
52980 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52985 cat >>$CONFIG_STATUS <<_ACEOF
52986 # Files that config.status was made for.
52987 config_files="$ac_config_files"
52988 config_headers="$ac_config_headers"
52989 config_commands="$ac_config_commands"
52993 cat >>$CONFIG_STATUS <<\_ACEOF
52995 \`$as_me' instantiates files from templates according to the
52996 current configuration.
52998 Usage: $0 [OPTIONS] [FILE]...
53000 -h, --help print this help, then exit
53001 -V, --version print version number and configuration settings, then exit
53002 -q, --quiet do not print progress messages
53003 -d, --debug don't remove temporary files
53004 --recheck update $as_me by reconfiguring in the same conditions
53005 --file=FILE[:TEMPLATE]
53006 instantiate the configuration file FILE
53007 --header=FILE[:TEMPLATE]
53008 instantiate the configuration header FILE
53010 Configuration files:
53013 Configuration headers:
53016 Configuration commands:
53019 Report bugs to <bug-autoconf@gnu.org>."
53022 cat >>$CONFIG_STATUS <<_ACEOF
53024 wxWidgets config.status 2.9.2
53025 configured by $0, generated by GNU Autoconf 2.61,
53026 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53028 Copyright (C) 2006 Free Software Foundation, Inc.
53029 This config.status script is free software; the Free Software Foundation
53030 gives unlimited permission to copy, distribute and modify it."
53037 cat >>$CONFIG_STATUS <<\_ACEOF
53038 # If no file are specified by the user, then we need to provide default
53039 # value. By we need to know if files were specified by the user.
53045 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53046 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53057 # Handling of the options.
53058 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53060 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53061 echo "$ac_cs_version"; exit ;;
53062 --debug | --debu | --deb | --de | --d | -d )
53064 --file | --fil | --fi | --f )
53066 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53067 ac_need_defaults=false;;
53068 --header | --heade | --head | --hea )
53070 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53071 ac_need_defaults=false;;
53073 # Conflict between --help and --header
53074 { echo "$as_me: error: ambiguous option: $1
53075 Try \`$0 --help' for more information." >&2
53076 { (exit 1); exit 1; }; };;
53077 --help | --hel | -h )
53078 echo "$ac_cs_usage"; exit ;;
53079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53080 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53083 # This is an error.
53084 -*) { echo "$as_me: error: unrecognized option: $1
53085 Try \`$0 --help' for more information." >&2
53086 { (exit 1); exit 1; }; } ;;
53088 *) ac_config_targets="$ac_config_targets $1"
53089 ac_need_defaults=false ;;
53095 ac_configure_extra_args=
53097 if $ac_cs_silent; then
53099 ac_configure_extra_args="$ac_configure_extra_args --silent"
53103 cat >>$CONFIG_STATUS <<_ACEOF
53104 if \$ac_cs_recheck; then
53105 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53106 CONFIG_SHELL=$SHELL
53107 export CONFIG_SHELL
53108 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53112 cat >>$CONFIG_STATUS <<\_ACEOF
53116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53117 ## Running $as_me. ##
53123 cat >>$CONFIG_STATUS <<_ACEOF
53129 infile="$srcdir/include/wx/msw/genrcdefs.h"
53130 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53133 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53134 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53135 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53141 cat >>$CONFIG_STATUS <<\_ACEOF
53143 # Handling of arguments.
53144 for ac_config_target in $ac_config_targets
53146 case $ac_config_target in
53147 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53148 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53149 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53150 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53151 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53152 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53153 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53154 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53155 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53157 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53158 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53159 { (exit 1); exit 1; }; };;
53164 # If the user did not use the arguments to specify the items to instantiate,
53165 # then the envvar interface is used. Set only those that are not.
53166 # We use the long form for the default assignment because of an extremely
53167 # bizarre bug on SunOS 4.1.3.
53168 if $ac_need_defaults; then
53169 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53170 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53171 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53174 # Have a temporary directory for convenience. Make it in the build tree
53175 # simply because there is no reason against having it here, and in addition,
53176 # creating and moving files from /tmp can sometimes cause problems.
53177 # Hook for its removal unless debugging.
53178 # Note that there is a small window in which the directory will not be cleaned:
53179 # after its creation but before its name has been assigned to `$tmp'.
53183 trap 'exit_status=$?
53184 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53186 trap '{ (exit 1); exit 1; }' 1 2 13 15
53188 # Create a (secure) tmp directory for tmp files.
53191 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53192 test -n "$tmp" && test -d "$tmp"
53195 tmp=./conf$$-$RANDOM
53196 (umask 077 && mkdir "$tmp")
53199 echo "$me: cannot create a temporary directory in ." >&2
53200 { (exit 1); exit 1; }
53204 # Set up the sed scripts for CONFIG_FILES section.
53207 # No need to generate the scripts if there are no CONFIG_FILES.
53208 # This happens for instance when ./config.status config.h
53209 if test -n "$CONFIG_FILES"; then
53216 for ac_last_try in false false false false false :; do
53217 cat >conf$$subs.sed <<_ACEOF
53218 SHELL!$SHELL$ac_delim
53219 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53220 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53221 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53222 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53223 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53224 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53225 exec_prefix!$exec_prefix$ac_delim
53226 prefix!$prefix$ac_delim
53227 program_transform_name!$program_transform_name$ac_delim
53228 bindir!$bindir$ac_delim
53229 sbindir!$sbindir$ac_delim
53230 libexecdir!$libexecdir$ac_delim
53231 datarootdir!$datarootdir$ac_delim
53232 datadir!$datadir$ac_delim
53233 sysconfdir!$sysconfdir$ac_delim
53234 sharedstatedir!$sharedstatedir$ac_delim
53235 localstatedir!$localstatedir$ac_delim
53236 includedir!$includedir$ac_delim
53237 oldincludedir!$oldincludedir$ac_delim
53238 docdir!$docdir$ac_delim
53239 infodir!$infodir$ac_delim
53240 htmldir!$htmldir$ac_delim
53241 dvidir!$dvidir$ac_delim
53242 pdfdir!$pdfdir$ac_delim
53243 psdir!$psdir$ac_delim
53244 libdir!$libdir$ac_delim
53245 localedir!$localedir$ac_delim
53246 mandir!$mandir$ac_delim
53247 DEFS!$DEFS$ac_delim
53248 ECHO_C!$ECHO_C$ac_delim
53249 ECHO_N!$ECHO_N$ac_delim
53250 ECHO_T!$ECHO_T$ac_delim
53251 LIBS!$LIBS$ac_delim
53252 build_alias!$build_alias$ac_delim
53253 host_alias!$host_alias$ac_delim
53254 target_alias!$target_alias$ac_delim
53255 build!$build$ac_delim
53256 build_cpu!$build_cpu$ac_delim
53257 build_vendor!$build_vendor$ac_delim
53258 build_os!$build_os$ac_delim
53259 host!$host$ac_delim
53260 host_cpu!$host_cpu$ac_delim
53261 host_vendor!$host_vendor$ac_delim
53262 host_os!$host_os$ac_delim
53263 wx_top_builddir!$wx_top_builddir$ac_delim
53265 CFLAGS!$CFLAGS$ac_delim
53266 LDFLAGS!$LDFLAGS$ac_delim
53267 CPPFLAGS!$CPPFLAGS$ac_delim
53268 ac_ct_CC!$ac_ct_CC$ac_delim
53269 EXEEXT!$EXEEXT$ac_delim
53270 OBJEXT!$OBJEXT$ac_delim
53272 GREP!$GREP$ac_delim
53273 EGREP!$EGREP$ac_delim
53275 CXXFLAGS!$CXXFLAGS$ac_delim
53276 ac_ct_CXX!$ac_ct_CXX$ac_delim
53278 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53279 CXXCPP!$CXXCPP$ac_delim
53280 subdirs!$subdirs$ac_delim
53281 PKG_CONFIG!$PKG_CONFIG$ac_delim
53282 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53283 GTK_LIBS!$GTK_LIBS$ac_delim
53284 GTK_CONFIG!$GTK_CONFIG$ac_delim
53285 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53286 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53287 XMKMF!$XMKMF$ac_delim
53288 X_CFLAGS!$X_CFLAGS$ac_delim
53289 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53290 X_LIBS!$X_LIBS$ac_delim
53291 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53292 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53293 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53294 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53295 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53296 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53297 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53298 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53299 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53300 LIBICONV!$LIBICONV$ac_delim
53301 GXX_VERSION!$GXX_VERSION$ac_delim
53302 SDL_CONFIG!$SDL_CONFIG$ac_delim
53303 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53304 SDL_LIBS!$SDL_LIBS$ac_delim
53305 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53306 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53307 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53308 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53309 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53310 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53311 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53312 HILDON_LIBS!$HILDON_LIBS$ac_delim
53313 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53314 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53317 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53319 elif $ac_last_try; then
53320 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53321 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53322 { (exit 1); exit 1; }; }
53324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53328 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53329 if test -n "$ac_eof"; then
53330 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53331 ac_eof=`expr $ac_eof + 1`
53334 cat >>$CONFIG_STATUS <<_ACEOF
53335 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53339 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53340 s/^/s,@/; s/!/@,|#_!!_#|/
53343 s/'"$ac_delim"'$/,g/; t
53345 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53346 ' >>$CONFIG_STATUS <conf$$subs.sed
53347 rm -f conf$$subs.sed
53348 cat >>$CONFIG_STATUS <<_ACEOF
53354 for ac_last_try in false false false false false :; do
53355 cat >conf$$subs.sed <<_ACEOF
53356 PYTHON!$PYTHON$ac_delim
53357 COND_PYTHON!$COND_PYTHON$ac_delim
53358 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53359 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53360 GST_CFLAGS!$GST_CFLAGS$ac_delim
53361 GST_LIBS!$GST_LIBS$ac_delim
53362 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53363 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53364 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53365 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53366 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53367 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53368 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53369 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53370 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53371 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53372 VENDOR!$VENDOR$ac_delim
53373 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53374 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53375 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53376 WXUNIV!$WXUNIV$ac_delim
53377 MONOLITHIC!$MONOLITHIC$ac_delim
53378 USE_PLUGINS!$USE_PLUGINS$ac_delim
53379 CXXWARNINGS!$CXXWARNINGS$ac_delim
53380 EXTRALIBS!$EXTRALIBS$ac_delim
53381 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53382 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53383 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53384 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53385 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53386 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53387 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53388 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53389 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53390 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53391 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53392 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53393 UNICODE!$UNICODE$ac_delim
53394 DEBUG_INFO!$DEBUG_INFO$ac_delim
53395 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53396 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53397 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53398 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53399 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53400 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53401 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53402 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53403 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53404 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53405 RANLIB!$RANLIB$ac_delim
53406 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53407 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53408 INSTALL_DATA!$INSTALL_DATA$ac_delim
53409 LN_S!$LN_S$ac_delim
53410 SET_MAKE!$SET_MAKE$ac_delim
53411 MAKE_SET!$MAKE_SET$ac_delim
53412 AROPTIONS!$AROPTIONS$ac_delim
53413 STRIP!$STRIP$ac_delim
53415 INSTALL_DIR!$INSTALL_DIR$ac_delim
53416 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53417 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53418 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53419 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53420 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53421 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53422 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53423 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53424 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53425 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53426 SO_SUFFIX!$SO_SUFFIX$ac_delim
53427 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53428 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53429 LIBPREFIX!$LIBPREFIX$ac_delim
53430 LIBEXT!$LIBEXT$ac_delim
53431 DLLPREFIX!$DLLPREFIX$ac_delim
53432 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53433 dlldir!$dlldir$ac_delim
53434 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53435 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53436 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53437 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53438 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53439 PIC_FLAG!$PIC_FLAG$ac_delim
53440 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53441 USE_SOVERSION!$USE_SOVERSION$ac_delim
53442 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53443 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53444 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53445 USE_MACVERSION!$USE_MACVERSION$ac_delim
53446 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53447 SONAME_FLAG!$SONAME_FLAG$ac_delim
53448 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53449 BK_DEPS!$BK_DEPS$ac_delim
53450 WINDRES!$WINDRES$ac_delim
53452 SETFILE!$SETFILE$ac_delim
53455 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53457 elif $ac_last_try; then
53458 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53459 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53460 { (exit 1); exit 1; }; }
53462 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53466 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53467 if test -n "$ac_eof"; then
53468 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53469 ac_eof=`expr $ac_eof + 1`
53472 cat >>$CONFIG_STATUS <<_ACEOF
53473 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53474 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53477 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53478 s/^/s,@/; s/!/@,|#_!!_#|/
53481 s/'"$ac_delim"'$/,g/; t
53483 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53484 ' >>$CONFIG_STATUS <conf$$subs.sed
53485 rm -f conf$$subs.sed
53486 cat >>$CONFIG_STATUS <<_ACEOF
53492 for ac_last_try in false false false false false :; do
53493 cat >conf$$subs.sed <<_ACEOF
53494 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53495 GCC_PCH!$GCC_PCH$ac_delim
53496 ICC_PCH!$ICC_PCH$ac_delim
53497 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53498 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53499 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53500 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53501 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53502 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53503 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53504 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53505 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53506 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53507 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53508 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53509 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53510 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53511 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53512 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53513 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53514 COND_BUILD_release!$COND_BUILD_release$ac_delim
53515 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53516 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53517 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53518 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53519 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53520 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53521 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53522 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53523 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53524 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53525 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53526 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53527 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53528 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53529 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53530 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53532 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53533 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53534 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53535 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53536 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53537 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53538 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53539 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53541 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53542 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53543 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53544 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53545 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53546 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53547 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53548 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53549 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53550 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53551 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53552 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53553 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53554 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53555 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53556 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53557 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53558 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53559 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53560 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53561 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53562 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53563 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53564 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53565 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53566 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53567 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53568 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53569 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53570 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53571 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
53572 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53573 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53574 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53576 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53577 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53579 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53580 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53581 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53582 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53583 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53584 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53585 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53586 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53587 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53588 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53589 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53590 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53593 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53595 elif $ac_last_try; then
53596 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53597 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53598 { (exit 1); exit 1; }; }
53600 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53604 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53605 if test -n "$ac_eof"; then
53606 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53607 ac_eof=`expr $ac_eof + 1`
53610 cat >>$CONFIG_STATUS <<_ACEOF
53611 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53615 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53616 s/^/s,@/; s/!/@,|#_!!_#|/
53619 s/'"$ac_delim"'$/,g/; t
53621 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53622 ' >>$CONFIG_STATUS <conf$$subs.sed
53623 rm -f conf$$subs.sed
53624 cat >>$CONFIG_STATUS <<_ACEOF
53630 for ac_last_try in false false false false false :; do
53631 cat >conf$$subs.sed <<_ACEOF
53632 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53633 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53634 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53635 COND_SHARED_0!$COND_SHARED_0$ac_delim
53636 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53637 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53638 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53639 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53640 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53641 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53642 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53643 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53644 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53645 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53646 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53647 COND_SHARED_1!$COND_SHARED_1$ac_delim
53648 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53649 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53650 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53651 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53652 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53653 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53654 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53655 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53656 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53660 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53661 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53662 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53663 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53664 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53665 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53666 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53667 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53668 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53669 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53670 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53671 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53672 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53673 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53674 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53675 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53676 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53677 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53678 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53679 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53680 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53681 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53682 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53683 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53684 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53685 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53686 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53687 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53688 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53689 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53690 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53691 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53692 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53693 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53694 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53695 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53696 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53697 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53698 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53699 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53700 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53701 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53702 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53704 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53705 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53706 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53707 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53708 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53709 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53710 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53711 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53712 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53713 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53714 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53715 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53716 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53717 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53718 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53719 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53720 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53721 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53722 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53723 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53724 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53725 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53726 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53727 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53728 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53731 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53733 elif $ac_last_try; then
53734 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53735 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53736 { (exit 1); exit 1; }; }
53738 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53742 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53743 if test -n "$ac_eof"; then
53744 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53745 ac_eof=`expr $ac_eof + 1`
53748 cat >>$CONFIG_STATUS <<_ACEOF
53749 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53753 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53754 s/^/s,@/; s/!/@,|#_!!_#|/
53757 s/'"$ac_delim"'$/,g/; t
53759 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53760 ' >>$CONFIG_STATUS <conf$$subs.sed
53761 rm -f conf$$subs.sed
53762 cat >>$CONFIG_STATUS <<_ACEOF
53768 for ac_last_try in false false false false false :; do
53769 cat >conf$$subs.sed <<_ACEOF
53770 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53771 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53772 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53773 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53774 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53775 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53776 DEREZ!$DEREZ$ac_delim
53777 SHARED!$SHARED$ac_delim
53778 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53779 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53780 USE_GUI!$USE_GUI$ac_delim
53781 AFMINSTALL!$AFMINSTALL$ac_delim
53782 WIN32INSTALL!$WIN32INSTALL$ac_delim
53783 TOOLKIT!$TOOLKIT$ac_delim
53784 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53785 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53786 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53787 cross_compiling!$cross_compiling$ac_delim
53788 WIDGET_SET!$WIDGET_SET$ac_delim
53789 WX_RELEASE!$WX_RELEASE$ac_delim
53790 WX_VERSION!$WX_VERSION$ac_delim
53791 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53792 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53793 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53794 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53795 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53796 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53797 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53798 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53799 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53800 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53801 GUIDIST!$GUIDIST$ac_delim
53802 DISTDIR!$DISTDIR$ac_delim
53803 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53804 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53805 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53806 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53807 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53808 RESCOMP!$RESCOMP$ac_delim
53809 RESFLAGS!$RESFLAGS$ac_delim
53810 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53811 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53812 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53813 LIBWXMACRES!$LIBWXMACRES$ac_delim
53814 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53815 MACSETFILE!$MACSETFILE$ac_delim
53817 DLLTOOL!$DLLTOOL$ac_delim
53818 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53819 LIBOBJS!$LIBOBJS$ac_delim
53820 LTLIBOBJS!$LTLIBOBJS$ac_delim
53823 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53825 elif $ac_last_try; then
53826 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53827 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53828 { (exit 1); exit 1; }; }
53830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53834 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53835 if test -n "$ac_eof"; then
53836 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53837 ac_eof=`expr $ac_eof + 1`
53840 cat >>$CONFIG_STATUS <<_ACEOF
53841 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53845 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53846 s/^/s,@/; s/!/@,|#_!!_#|/
53849 s/'"$ac_delim"'$/,g/; t
53851 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53852 ' >>$CONFIG_STATUS <conf$$subs.sed
53853 rm -f conf$$subs.sed
53854 cat >>$CONFIG_STATUS <<_ACEOF
53861 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53862 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53863 # trailing colons and then remove the whole line if VPATH becomes empty
53864 # (actually we leave an empty line to preserve line numbers).
53865 if test "x$srcdir" = x.; then
53866 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53867 s/:*\$(srcdir):*/:/
53868 s/:*\${srcdir}:*/:/
53870 s/^\([^=]*=[ ]*\):*/\1/
53876 cat >>$CONFIG_STATUS <<\_ACEOF
53877 fi # test -n "$CONFIG_FILES"
53880 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53883 :[FHLC]) ac_mode=$ac_tag; continue;;
53885 case $ac_mode$ac_tag in
53887 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53888 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53889 { (exit 1); exit 1; }; };;
53890 :[FH]-) ac_tag=-:-;;
53891 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53908 -) ac_f="$tmp/stdin";;
53909 *) # Look for the file first in the build tree, then in the source tree
53910 # (if the path is not absolute). The absolute path cannot be DOS-style,
53911 # because $ac_f cannot contain `:'.
53915 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53917 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53918 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53919 { (exit 1); exit 1; }; };;
53921 ac_file_inputs="$ac_file_inputs $ac_f"
53924 # Let's still pretend it is `configure' which instantiates (i.e., don't
53925 # use $as_me), people would be surprised to read:
53926 # /* config.h. Generated by config.status. */
53927 configure_input="Generated from "`IFS=:
53928 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53929 if test x"$ac_file" != x-; then
53930 configure_input="$ac_file. $configure_input"
53931 { echo "$as_me:$LINENO: creating $ac_file" >&5
53932 echo "$as_me: creating $ac_file" >&6;}
53936 *:-:* | *:-) cat >"$tmp/stdin";;
53941 ac_dir=`$as_dirname -- "$ac_file" ||
53942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53943 X"$ac_file" : 'X\(//\)[^/]' \| \
53944 X"$ac_file" : 'X\(//\)$' \| \
53945 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53951 /^X\(\/\/\)[^/].*/{
53966 -*) as_dir=./$as_dir;;
53968 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53972 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53973 *) as_qdir=$as_dir;;
53975 as_dirs="'$as_qdir' $as_dirs"
53976 as_dir=`$as_dirname -- "$as_dir" ||
53977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53978 X"$as_dir" : 'X\(//\)[^/]' \| \
53979 X"$as_dir" : 'X\(//\)$' \| \
53980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53986 /^X\(\/\/\)[^/].*/{
53999 test -d "$as_dir" && break
54001 test -z "$as_dirs" || eval "mkdir $as_dirs"
54002 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54003 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54004 { (exit 1); exit 1; }; }; }
54008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54010 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54011 # A ".." for each directory in $ac_dir_suffix.
54012 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54013 case $ac_top_builddir_sub in
54014 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54015 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54018 ac_abs_top_builddir=$ac_pwd
54019 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54020 # for backward compatibility:
54021 ac_top_builddir=$ac_top_build_prefix
54024 .) # We are building in place.
54026 ac_top_srcdir=$ac_top_builddir_sub
54027 ac_abs_top_srcdir=$ac_pwd ;;
54028 [\\/]* | ?:[\\/]* ) # Absolute name.
54029 ac_srcdir=$srcdir$ac_dir_suffix;
54030 ac_top_srcdir=$srcdir
54031 ac_abs_top_srcdir=$srcdir ;;
54032 *) # Relative name.
54033 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54034 ac_top_srcdir=$ac_top_build_prefix$srcdir
54035 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54037 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54047 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54048 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54052 cat >>$CONFIG_STATUS <<\_ACEOF
54053 # If the template does not know about datarootdir, expand it.
54054 # FIXME: This hack should be removed a few years after 2.60.
54055 ac_datarootdir_hack=; ac_datarootdir_seen=
54057 case `sed -n '/datarootdir/ {
54066 ' $ac_file_inputs` in
54067 *datarootdir*) ac_datarootdir_seen=yes;;
54068 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54069 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54070 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54072 cat >>$CONFIG_STATUS <<_ACEOF
54073 ac_datarootdir_hack='
54074 s&@datadir@&$datadir&g
54075 s&@docdir@&$docdir&g
54076 s&@infodir@&$infodir&g
54077 s&@localedir@&$localedir&g
54078 s&@mandir@&$mandir&g
54079 s&\\\${datarootdir}&$datarootdir&g' ;;
54083 # Neutralize VPATH when `$srcdir' = `.'.
54084 # Shell code in configure.ac might set extrasub.
54085 # FIXME: do we really want to maintain this feature?
54086 cat >>$CONFIG_STATUS <<_ACEOF
54090 cat >>$CONFIG_STATUS <<\_ACEOF
54092 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54093 s&@configure_input@&$configure_input&;t t
54094 s&@top_builddir@&$ac_top_builddir_sub&;t t
54095 s&@srcdir@&$ac_srcdir&;t t
54096 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54097 s&@top_srcdir@&$ac_top_srcdir&;t t
54098 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54099 s&@builddir@&$ac_builddir&;t t
54100 s&@abs_builddir@&$ac_abs_builddir&;t t
54101 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54102 s&@INSTALL@&$ac_INSTALL&;t t
54103 $ac_datarootdir_hack
54104 " $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
54106 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54107 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54108 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54109 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54110 which seems to be undefined. Please make sure it is defined." >&5
54111 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54112 which seems to be undefined. Please make sure it is defined." >&2;}
54116 -) cat "$tmp/out"; rm -f "$tmp/out";;
54117 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54126 # Transform confdefs.h into a sed script `conftest.defines', that
54127 # substitutes the proper values into config.h.in to produce config.h.
54128 rm -f conftest.defines conftest.tail
54129 # First, append a space to every undef/define line, to ease matching.
54130 echo 's/$/ /' >conftest.defines
54131 # Then, protect against being on the right side of a sed subst, or in
54132 # an unquoted here document, in config.status. If some macros were
54133 # called several times there might be several #defines for the same
54134 # symbol, which is useless. But do not sort them, since the last
54135 # AC_DEFINE must be honored.
54136 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54137 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54138 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54139 # PARAMS is the parameter list in the macro definition--in most cases, it's
54140 # just an empty string.
54141 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54142 ac_dB='\\)[ (].*,\\1define\\2'
54150 s/^[ ]*#[ ]*define[ ][ ]*//
54155 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54156 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54157 ' >>conftest.defines
54159 # Remove the space that was appended to ease matching.
54160 # Then replace #undef with comments. This is necessary, for
54161 # example, in the case of _POSIX_SOURCE, which is predefined and required
54162 # on some systems where configure will not decide to define it.
54163 # (The regexp can be short, since the line contains either #define or #undef.)
54165 s,^[ #]*u.*,/* & */,' >>conftest.defines
54167 # Break up conftest.defines:
54168 ac_max_sed_lines=50
54170 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54171 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54172 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54174 ac_in='$ac_file_inputs'
54175 ac_out='"$tmp/out1"'
54176 ac_nxt='"$tmp/out2"'
54180 # Write a here document:
54181 cat >>$CONFIG_STATUS <<_ACEOF
54182 # First, check the format of the line:
54183 cat >"\$tmp/defines.sed" <<\\CEOF
54184 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54185 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54189 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54191 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54192 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54193 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54194 grep . conftest.tail >/dev/null || break
54195 rm -f conftest.defines
54196 mv conftest.tail conftest.defines
54198 rm -f conftest.defines conftest.tail
54200 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54201 cat >>$CONFIG_STATUS <<\_ACEOF
54202 if test x"$ac_file" != x-; then
54203 echo "/* $configure_input */" >"$tmp/config.h"
54204 cat "$ac_result" >>"$tmp/config.h"
54205 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54206 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54207 echo "$as_me: $ac_file is unchanged" >&6;}
54210 mv "$tmp/config.h" $ac_file
54213 echo "/* $configure_input */"
54219 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54220 echo "$as_me: executing $ac_file commands" >&6;}
54225 case $ac_file$ac_mode in
54227 mkdir -p $outdir &&
54228 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54230 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54231 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54232 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54233 "wx-config":C) rm -f wx-config
54234 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54241 { (exit 0); exit 0; }
54243 chmod +x $CONFIG_STATUS
54244 ac_clean_files=$ac_clean_files_save
54247 # configure is writing to config.log, and then calls config.status.
54248 # config.status does its own redirection, appending to config.log.
54249 # Unfortunately, on DOS this fails, as config.log is still kept open
54250 # by configure, so config.status won't be able to write to it; its
54251 # output is simply discarded. So we exec the FD to /dev/null,
54252 # effectively closing config.log, so it can be properly (re)opened and
54253 # appended to by config.status. When coming back to configure, we
54254 # need to make the FD available again.
54255 if test "$no_create" != yes; then
54257 ac_config_status_args=
54258 test "$silent" = yes &&
54259 ac_config_status_args="$ac_config_status_args --quiet"
54261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54264 # would make configure fail if this is the last instruction.
54265 $ac_cs_success || { (exit 1); exit 1; }
54269 # CONFIG_SUBDIRS section.
54271 if test "$no_recursion" != yes; then
54273 # Remove --cache-file and --srcdir arguments so they do not pile up.
54274 ac_sub_configure_args=
54276 eval "set x $ac_configure_args"
54280 if test -n "$ac_prev"; then
54285 -cache-file | --cache-file | --cache-fil | --cache-fi \
54286 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54287 ac_prev=cache_file ;;
54288 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54289 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54292 --config-cache | -C)
54294 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54296 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54298 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54300 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54304 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54306 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54310 # Always prepend --prefix to ensure using the same prefix
54311 # in subdir configurations.
54312 ac_arg="--prefix=$prefix"
54314 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54316 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54319 if test "$silent" = yes; then
54320 ac_sub_configure_args="--silent $ac_sub_configure_args"
54324 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54326 # Do not complain, so a configure script can configure whichever
54327 # parts of a large source tree are present.
54328 test -d "$srcdir/$ac_dir" || continue
54330 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54331 echo "$as_me:$LINENO: $ac_msg" >&5
54335 -*) as_dir=./$as_dir;;
54337 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54341 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54342 *) as_qdir=$as_dir;;
54344 as_dirs="'$as_qdir' $as_dirs"
54345 as_dir=`$as_dirname -- "$as_dir" ||
54346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54347 X"$as_dir" : 'X\(//\)[^/]' \| \
54348 X"$as_dir" : 'X\(//\)$' \| \
54349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54355 /^X\(\/\/\)[^/].*/{
54368 test -d "$as_dir" && break
54370 test -z "$as_dirs" || eval "mkdir $as_dirs"
54371 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54372 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54373 { (exit 1); exit 1; }; }; }
54377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54379 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54380 # A ".." for each directory in $ac_dir_suffix.
54381 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54382 case $ac_top_builddir_sub in
54383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54387 ac_abs_top_builddir=$ac_pwd
54388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54389 # for backward compatibility:
54390 ac_top_builddir=$ac_top_build_prefix
54393 .) # We are building in place.
54395 ac_top_srcdir=$ac_top_builddir_sub
54396 ac_abs_top_srcdir=$ac_pwd ;;
54397 [\\/]* | ?:[\\/]* ) # Absolute name.
54398 ac_srcdir=$srcdir$ac_dir_suffix;
54399 ac_top_srcdir=$srcdir
54400 ac_abs_top_srcdir=$srcdir ;;
54401 *) # Relative name.
54402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54403 ac_top_srcdir=$ac_top_build_prefix$srcdir
54404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54411 # Check for guested configure; otherwise get Cygnus style configure.
54412 if test -f "$ac_srcdir/configure.gnu"; then
54413 ac_sub_configure=$ac_srcdir/configure.gnu
54414 elif test -f "$ac_srcdir/configure"; then
54415 ac_sub_configure=$ac_srcdir/configure
54416 elif test -f "$ac_srcdir/configure.in"; then
54417 # This should be Cygnus configure.
54418 ac_sub_configure=$ac_aux_dir/configure
54420 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54421 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54425 # The recursion is here.
54426 if test -n "$ac_sub_configure"; then
54427 # Make the cache file name correct relative to the subdirectory.
54428 case $cache_file in
54429 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54430 *) # Relative name.
54431 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54434 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54435 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54436 # The eval makes quoting arguments work.
54437 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54438 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54439 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54440 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54441 { (exit 1); exit 1; }; }
54450 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54452 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54453 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54454 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54455 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54456 if test "$wxUSE_UNICODE" = "yes"; then
54457 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54458 echo " (using UTF-8)"
54460 echo " (using wchar_t)"
54466 echo " What level of wxWidgets compatibility should be enabled?"
54467 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54468 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54470 echo " Which libraries should wxWidgets use?"
54471 echo " STL ${wxUSE_STL}"
54472 echo " jpeg ${wxUSE_LIBJPEG-none}"
54473 echo " png ${wxUSE_LIBPNG-none}"
54474 echo " regex ${wxUSE_REGEX}"
54475 echo " tiff ${wxUSE_LIBTIFF-none}"
54476 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54477 echo " xpm ${wxUSE_LIBXPM-none}"
54479 echo " zlib ${wxUSE_ZLIB}"
54480 echo " expat ${wxUSE_EXPAT}"
54481 echo " libmspack ${wxUSE_LIBMSPACK}"
54482 echo " sdl ${wxUSE_LIBSDL}"