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.3.
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.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
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.3 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.3:";;
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 standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --disable-controls disable compilation of all standard controls
1808 --enable-markup support wxControl::SetLabelMarkup
1809 --enable-accel use accelerators
1810 --enable-animatectrl use wxAnimationCtrl class
1811 --enable-bannerwindow use wxBannerWindow class
1812 --enable-artstd use standard XPM icons in wxArtProvider
1813 --enable-arttango use Tango icons in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-treelist use wxTreeListCtrl class
1876 --enable-commondlg use all common dialogs
1877 --enable-aboutdlg use wxAboutBox
1878 --enable-choicedlg use wxChoiceDialog
1879 --enable-coldlg use wxColourDialog
1880 --enable-filedlg use wxFileDialog
1881 --enable-finddlg use wxFindReplaceDialog
1882 --enable-fontdlg use wxFontDialog
1883 --enable-dirdlg use wxDirDialog
1884 --enable-msgdlg use wxMessageDialog
1885 --enable-numberdlg use wxNumberEntryDialog
1886 --enable-splash use wxSplashScreen
1887 --enable-textdlg use wxTextDialog
1888 --enable-tipdlg use startup tips
1889 --enable-progressdlg use wxProgressDialog
1890 --enable-wizarddlg use wxWizard
1891 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1892 --enable-miniframe use wxMiniFrame class
1893 --enable-tooltips use wxToolTip class
1894 --enable-splines use spline drawing code
1895 --enable-mousewheel use mousewheel
1896 --enable-validators use wxValidator and derived classes
1897 --enable-busyinfo use wxBusyInfo
1898 --enable-hotkey use wxWindow::RegisterHotKey()
1899 --enable-joystick use wxJoystick
1900 --enable-metafiles use wxMetaFile
1901 --enable-dragimage use wxDragImage
1902 --enable-accessibility enable accessibility support
1903 --enable-uiactionsim use wxUIActionSimulator (experimental)
1904 --enable-dctransform use wxDC::SetTransformMatrix and related
1905 --enable-palette use wxPalette class
1906 --enable-image use wxImage class
1907 --enable-gif use gif images (GIF file format)
1908 --enable-pcx use pcx images (PCX file format)
1909 --enable-tga use tga images (TGA file format)
1910 --enable-iff use iff images (IFF file format)
1911 --enable-pnm use pnm images (PNM file format)
1912 --enable-xpm use xpm images (XPM file format)
1913 --enable-ico_cur use Windows ICO and CUR formats
1914 --enable-dccache cache temporary wxDC objects (Win32 only)
1915 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1916 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1917 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1918 --enable-wxdib use wxDIB class (Win32 only)
1919 --enable-autoidman use automatic ids management
1920 --disable-largefile omit support for large files
1921 --disable-gtktest do not try to compile and run a test GTK+ program
1922 --disable-gtktest Do not try to compile and run a test GTK program
1923 --disable-sdltest Do not try to compile and run a test SDL program
1924 --enable-omf use OMF object format (OS/2)
1925 --disable-dependency-tracking
1926 don't use dependency tracking even if the compiler
1928 --disable-precomp-headers
1929 don't use precompiled headers even if compiler can
1932 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1933 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1934 --without-subdirs don't generate makefiles for samples/demos/...
1935 --with-flavour=NAME specify a name to identify this build
1936 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1937 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1938 --with-motif use Motif/Lesstif
1939 --with-osx_carbon use Mac OS X (Carbon)
1940 --with-osx_cocoa use Mac OS X (Cocoa)
1941 --with-osx_iphone use iPhone OS X port
1942 --with-osx use Mac OS X (default port, currently Carbon)
1943 --with-carbon same as --with-osx_carbon
1944 --with-cocoa same as --with-osx_cocoa
1945 --with-iphone same as --with-osx_iphone
1946 --with-mac same as --with-osx
1947 --with-old_cocoa use old, deprecated, Cocoa port
1948 --with-wine use Wine
1949 --with-msw use MS-Windows
1950 --with-pm use OS/2 Presentation Manager
1951 --with-mgl use SciTech MGL
1952 --with-directfb use DirectFB
1953 --with-microwin use MicroWindows
1955 --with-libpng use libpng (PNG image format)
1956 --with-libjpeg use libjpeg (JPEG file format)
1957 --with-libtiff use libtiff (TIFF file format)
1958 --with-libxpm use libxpm (XPM file format)
1959 --with-libiconv use libiconv (character conversion)
1960 --with-libmspack use libmspack (CHM help files loading)
1961 --without-gtkprint don't use GTK printing support
1962 --without-gnomeprint don't use GNOME printing libraries
1963 --with-gnomevfs use GNOME VFS for associating MIME types
1964 --with-hildon use Hildon framework for Nokia 770/800/810
1965 --with-opengl use OpenGL (or Mesa)
1966 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1967 --with-sdl use SDL for audio on Unix
1968 --with-regex enable support for wxRegEx class
1969 --with-zlib use zlib for LZW compression
1970 --with-expat enable XML support using expat parser
1971 --with-macosx-sdk=PATH use an OS X SDK at PATH
1972 --with-macosx-version-min=VER build binaries which require at least this OS X version
1973 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1974 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1975 --with-x use the X Window System
1976 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1977 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1978 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1979 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1980 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1982 Some influential environment variables:
1983 CC C compiler command
1984 CFLAGS C compiler flags
1985 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1986 nonstandard directory <lib dir>
1987 LIBS libraries to pass to the linker, e.g. -l<library>
1988 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1989 you have headers in a nonstandard directory <include dir>
1991 CXX C++ compiler command
1992 CXXFLAGS C++ compiler flags
1993 CXXCPP C++ preprocessor
1994 PKG_CONFIG path to pkg-config utility
1996 C compiler flags for DIRECTFB, overriding pkg-config
1998 linker flags for DIRECTFB, overriding pkg-config
1999 XMKMF Path to xmkmf, Makefile generator for X Window System
2001 C compiler flags for PANGOX, overriding pkg-config
2002 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2004 C compiler flags for PANGOFT2, overriding pkg-config
2006 linker flags for PANGOFT2, overriding pkg-config
2008 C compiler flags for PANGOXFT, overriding pkg-config
2010 linker flags for PANGOXFT, overriding pkg-config
2012 C compiler flags for GTKPRINT, overriding pkg-config
2014 linker flags for GTKPRINT, overriding pkg-config
2015 LIBGNOMEPRINTUI_CFLAGS
2016 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2017 LIBGNOMEPRINTUI_LIBS
2018 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2020 C compiler flags for GNOMEVFS, overriding pkg-config
2022 linker flags for GNOMEVFS, overriding pkg-config
2024 C compiler flags for HILDON, overriding pkg-config
2025 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2027 C compiler flags for HILDON2, overriding pkg-config
2029 linker flags for HILDON2, overriding pkg-config
2031 C compiler flags for CAIRO, overriding pkg-config
2032 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2033 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2034 GST_LIBS linker flags for GST, overriding pkg-config
2036 Use these variables to override the choices made by `configure' or to help
2037 it to find libraries and programs with nonstandard names/locations.
2039 Report bugs to <wx-dev@lists.wxwidgets.org>.
2044 if test "$ac_init_help" = "recursive"; then
2045 # If there are subdirs, report their specific --help.
2046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2047 test -d "$ac_dir" || continue
2051 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2053 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2054 # A ".." for each directory in $ac_dir_suffix.
2055 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2056 case $ac_top_builddir_sub in
2057 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2058 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2061 ac_abs_top_builddir=$ac_pwd
2062 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2063 # for backward compatibility:
2064 ac_top_builddir=$ac_top_build_prefix
2067 .) # We are building in place.
2069 ac_top_srcdir=$ac_top_builddir_sub
2070 ac_abs_top_srcdir=$ac_pwd ;;
2071 [\\/]* | ?:[\\/]* ) # Absolute name.
2072 ac_srcdir=$srcdir$ac_dir_suffix;
2073 ac_top_srcdir=$srcdir
2074 ac_abs_top_srcdir=$srcdir ;;
2076 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2077 ac_top_srcdir=$ac_top_build_prefix$srcdir
2078 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2080 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2082 cd "$ac_dir" || { ac_status=$?; continue; }
2083 # Check for guested configure.
2084 if test -f "$ac_srcdir/configure.gnu"; then
2086 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2087 elif test -f "$ac_srcdir/configure"; then
2089 $SHELL "$ac_srcdir/configure" --help=recursive
2091 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2093 cd "$ac_pwd" || { ac_status=$?; break; }
2097 test -n "$ac_init_help" && exit $ac_status
2098 if $ac_init_version; then
2100 wxWidgets configure 2.9.3
2101 generated by GNU Autoconf 2.61
2103 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2104 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2105 This configure script is free software; the Free Software Foundation
2106 gives unlimited permission to copy, distribute and modify it.
2110 cat >config.log <<_ACEOF
2111 This file contains any messages produced by compilers while
2112 running configure, to aid debugging if configure makes a mistake.
2114 It was created by wxWidgets $as_me 2.9.3, which was
2115 generated by GNU Autoconf 2.61. Invocation command line was
2127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir=.
2151 echo "PATH: $as_dir"
2167 # Keep a trace of the command line.
2168 # Strip out --no-create and --no-recursion so they do not pile up.
2169 # Strip out --silent because we don't want to record it for future runs.
2170 # Also quote any args containing shell meta-characters.
2171 # Make two passes to allow for proper duplicate-argument suppression.
2175 ac_must_keep_next=false
2181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2183 | -silent | --silent | --silen | --sile | --sil)
2186 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2189 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2191 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2192 if test $ac_must_keep_next = true; then
2193 ac_must_keep_next=false # Got value, back to normal.
2196 *=* | --config-cache | -C | -disable-* | --disable-* \
2197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2199 | -with-* | --with-* | -without-* | --without-* | --x)
2200 case "$ac_configure_args0 " in
2201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2204 -* ) ac_must_keep_next=true ;;
2207 ac_configure_args="$ac_configure_args '$ac_arg'"
2212 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2213 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2215 # When interrupted or exit'd, cleanup temporary files, and complete
2216 # config.log. We remove comments because anyway the quotes in there
2217 # would cause problems or look ugly.
2218 # WARNING: Use '\'' to represent an apostrophe within the trap.
2219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2220 trap 'exit_status=$?
2221 # Save into config.log some information that might help in debugging.
2226 ## ---------------- ##
2227 ## Cache variables. ##
2228 ## ---------------- ##
2231 # The following way of writing the cache mishandles newlines in values,
2233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2234 eval ac_val=\$$ac_var
2238 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2242 _ | IFS | as_nl) ;; #(
2243 *) $as_unset $ac_var ;;
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2263 ## ----------------- ##
2264 ## Output variables. ##
2265 ## ----------------- ##
2268 for ac_var in $ac_subst_vars
2270 eval ac_val=\$$ac_var
2272 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2274 echo "$ac_var='\''$ac_val'\''"
2278 if test -n "$ac_subst_files"; then
2280 ## ------------------- ##
2281 ## File substitutions. ##
2282 ## ------------------- ##
2285 for ac_var in $ac_subst_files
2287 eval ac_val=\$$ac_var
2289 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 echo "$ac_var='\''$ac_val'\''"
2296 if test -s confdefs.h; then
2306 test "$ac_signal" != 0 &&
2307 echo "$as_me: caught signal $ac_signal"
2308 echo "$as_me: exit $exit_status"
2310 rm -f core *.core core.conftest.* &&
2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2314 for ac_signal in 1 2 13 15; do
2315 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2320 rm -f -r conftest* confdefs.h
2322 # Predefined preprocessor variables.
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_STRING "$PACKAGE_STRING"
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer explicitly selected file to automatically selected ones.
2351 if test -n "$CONFIG_SITE"; then
2352 set x "$CONFIG_SITE"
2353 elif test "x$prefix" != xNONE; then
2354 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2356 set x "$ac_default_prefix/share/config.site" \
2357 "$ac_default_prefix/etc/config.site"
2362 if test -r "$ac_site_file"; then
2363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2364 echo "$as_me: loading site script $ac_site_file" >&6;}
2365 sed 's/^/| /' "$ac_site_file" >&5
2370 if test -r "$cache_file"; then
2371 # Some versions of bash will fail to source /dev/null (special
2372 # files actually), so we avoid doing that.
2373 if test -f "$cache_file"; then
2374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2375 echo "$as_me: loading cache $cache_file" >&6;}
2377 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2378 *) . "./$cache_file";;
2382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2383 echo "$as_me: creating cache $cache_file" >&6;}
2387 # Check that the precious variables saved in the cache have kept the same
2389 ac_cache_corrupted=false
2390 for ac_var in $ac_precious_vars; do
2391 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2392 eval ac_new_set=\$ac_env_${ac_var}_set
2393 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2394 eval ac_new_val=\$ac_env_${ac_var}_value
2395 case $ac_old_set,$ac_new_set in
2397 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2399 ac_cache_corrupted=: ;;
2401 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2402 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2403 ac_cache_corrupted=: ;;
2406 if test "x$ac_old_val" != "x$ac_new_val"; then
2407 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2408 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2409 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2410 echo "$as_me: former value: $ac_old_val" >&2;}
2411 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2412 echo "$as_me: current value: $ac_new_val" >&2;}
2413 ac_cache_corrupted=:
2416 # Pass precious variables to config.status.
2417 if test "$ac_new_set" = set; then
2419 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2420 *) ac_arg=$ac_var=$ac_new_val ;;
2422 case " $ac_configure_args " in
2423 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2424 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2428 if $ac_cache_corrupted; then
2429 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2430 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2431 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2432 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2433 { (exit 1); exit 1; }; }
2461 ac_cpp='$CPP $CPPFLAGS'
2462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2471 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2472 if test -f "$ac_dir/install-sh"; then
2474 ac_install_sh="$ac_aux_dir/install-sh -c"
2476 elif test -f "$ac_dir/install.sh"; then
2478 ac_install_sh="$ac_aux_dir/install.sh -c"
2480 elif test -f "$ac_dir/shtool"; then
2482 ac_install_sh="$ac_aux_dir/shtool install -c"
2486 if test -z "$ac_aux_dir"; then
2487 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2488 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2489 { (exit 1); exit 1; }; }
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2501 # Make sure we can run config.sub.
2502 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2503 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2504 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2505 { (exit 1); exit 1; }; }
2507 { echo "$as_me:$LINENO: checking build system type" >&5
2508 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2509 if test "${ac_cv_build+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 ac_build_alias=$build_alias
2513 test "x$ac_build_alias" = x &&
2514 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2515 test "x$ac_build_alias" = x &&
2516 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2517 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2518 { (exit 1); exit 1; }; }
2519 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2525 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2526 echo "${ECHO_T}$ac_cv_build" >&6; }
2527 case $ac_cv_build in
2529 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2530 echo "$as_me: error: invalid value of canonical build" >&2;}
2531 { (exit 1); exit 1; }; };;
2534 ac_save_IFS=$IFS; IFS='-'
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2544 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2547 { echo "$as_me:$LINENO: checking host system type" >&5
2548 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2549 if test "${ac_cv_host+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 if test "x$host_alias" = x; then
2553 ac_cv_host=$ac_cv_build
2555 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2556 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2557 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2558 { (exit 1); exit 1; }; }
2562 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2563 echo "${ECHO_T}$ac_cv_host" >&6; }
2566 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2567 echo "$as_me: error: invalid value of canonical host" >&2;}
2568 { (exit 1); exit 1; }; };;
2571 ac_save_IFS=$IFS; IFS='-'
2577 # Remember, the first character of IFS is used to create $*,
2578 # except with old shells:
2581 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2585 if test "$cross_compiling" != "no"; then
2586 HOST_PREFIX="${host_alias}-"
2587 HOST_SUFFIX="-$host_alias"
2594 wx_major_version_number=2
2595 wx_minor_version_number=9
2597 wx_subrelease_number=0
2599 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2600 WX_VERSION=$WX_RELEASE.$wx_release_number
2601 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2603 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2606 wx_top_builddir="`pwd`"
2619 USE_BSD= USE_DARWIN= USE_FREEBSD=
2625 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2633 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2635 DEFAULT_wxUSE_OLD_COCOA=0
2637 DEFAULT_wxUSE_OSX_CARBON=0
2638 DEFAULT_wxUSE_OSX_COCOA=0
2639 DEFAULT_wxUSE_OSX_IPHONE=0
2641 DEFAULT_wxUSE_MICROWIN=0
2642 DEFAULT_wxUSE_MOTIF=0
2648 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2649 DEFAULT_DEFAULT_wxUSE_GTK=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2652 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2653 DEFAULT_DEFAULT_wxUSE_MGL=0
2654 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2656 DEFAULT_DEFAULT_wxUSE_MSW=0
2657 DEFAULT_DEFAULT_wxUSE_PM=0
2658 DEFAULT_DEFAULT_wxUSE_X11=0
2659 DEFAULT_DEFAULT_wxUSE_DFB=0
2663 DYLIB_RPATH_INSTALL=
2664 DYLIB_RPATH_POSTLINK=
2666 DEFAULT_STD_FLAG=yes
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2672 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2673 cat >>confdefs.h <<\_ACEOF
2678 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2682 cat >>confdefs.h <<\_ACEOF
2687 if test "x$TMP" = "xalpha"; then
2689 cat >>confdefs.h <<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 *-*-gnu* | *-*-k*bsd*-gnu )
2699 if test "x$TMP" = "xalpha"; then
2701 cat >>confdefs.h <<\_ACEOF
2706 DEFAULT_DEFAULT_wxUSE_GTK=1
2708 *-*-irix5* | *-*-irix6* )
2711 cat >>confdefs.h <<\_ACEOF
2715 cat >>confdefs.h <<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2723 cat >>confdefs.h <<\_ACEOF
2727 DEFAULT_DEFAULT_wxUSE_X11=1
2733 cat >>confdefs.h <<\_ACEOF
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SOLARIS__ 1
2741 cat >>confdefs.h <<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2752 cat >>confdefs.h <<\_ACEOF
2756 cat >>confdefs.h <<\_ACEOF
2760 cat >>confdefs.h <<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __FREEBSD__ 1
2773 cat >>confdefs.h <<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_GTK=1
2779 *-*-openbsd*|*-*-mirbsd*)
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __OPENBSD__ 1
2786 cat >>confdefs.h <<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_GTK=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __NETBSD__ 1
2799 cat >>confdefs.h <<\_ACEOF
2803 DEFAULT_DEFAULT_wxUSE_GTK=1
2804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2806 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2811 cat >>confdefs.h <<\_ACEOF
2815 cat >>confdefs.h <<\_ACEOF
2819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2825 cat >>confdefs.h <<\_ACEOF
2829 cat >>confdefs.h <<\_ACEOF
2833 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2838 cat >>confdefs.h <<\_ACEOF
2842 cat >>confdefs.h <<\_ACEOF
2846 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2852 cat >>confdefs.h <<\_ACEOF
2856 cat >>confdefs.h <<\_ACEOF
2860 cat >>confdefs.h <<\_ACEOF
2864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __UNIXWARE__ 1
2877 *-*-cygwin* | *-*-mingw32* )
2879 DEFAULT_DEFAULT_wxUSE_MSW=1
2885 cat >>confdefs.h <<\_ACEOF
2890 DEFAULT_DEFAULT_wxUSE_MGL=1
2893 *-pc-os2_emx | *-pc-os2-emx )
2894 cat >>confdefs.h <<\_ACEOF
2899 cat >>confdefs.h <<\_ACEOF
2904 DEFAULT_DEFAULT_wxUSE_PM=1
2906 LDFLAGS="$LDFLAGS -Zcrtdll"
2907 ac_executable_extensions=".exe"
2908 export ac_executable_extensions
2912 for ac_dir in $PATH; do
2914 if test -z "$ac_TEMP_PATH"; then
2915 ac_TEMP_PATH="$ac_dir"
2917 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2920 export PATH="$ac_TEMP_PATH"
2928 cat >>confdefs.h <<\_ACEOF
2932 cat >>confdefs.h <<\_ACEOF
2933 #define __DARWIN__ 1
2936 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2942 cat >>confdefs.h <<\_ACEOF
2946 cat >>confdefs.h <<\_ACEOF
2947 #define __DARWIN__ 1
2950 cat >>confdefs.h <<\_ACEOF
2951 #define TARGET_CARBON 1
2954 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2959 cat >>confdefs.h <<\_ACEOF
2966 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2967 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2968 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2969 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2971 DEFAULT_DEFAULT_wxUSE_X11=1
2972 DEFAULT_wxUSE_SHARED=no
2977 DEFAULT_wxUSE_ALL_FEATURES=yes
2979 DEFAULT_wxUSE_STD_CONTAINERS=no
2980 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2981 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2983 DEFAULT_wxUSE_DMALLOC=no
2984 DEFAULT_wxUSE_LIBGNOMEVFS=no
2985 DEFAULT_wxUSE_LIBHILDON=no
2986 DEFAULT_wxUSE_LIBHILDON2=no
2987 DEFAULT_wxUSE_LIBMSPACK=no
2988 DEFAULT_wxUSE_LIBSDL=no
2990 DEFAULT_wxUSE_ACCESSIBILITY=no
2991 DEFAULT_wxUSE_IPV6=no
2992 DEFAULT_wxUSE_GSTREAMER8=no
2994 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2995 DEFAULT_wxUSE_UNICODE_UTF8=auto
2996 DEFAULT_wxUSE_OPENGL=auto
2997 DEFAULT_wxUSE_MEDIACTRL=auto
2998 DEFAULT_wxUSE_COMPILER_TLS=auto
2999 DEFAULT_wxUSE_HOTKEY=auto
3000 DEFAULT_wxUSE_METAFILE=auto
3002 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3004 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3005 DEFAULT_wxUSE_MAC_ARCH=no
3007 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3009 DEFAULT_wxUSE_GTK2=yes
3011 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3017 enablestring=disable
3019 if test -z "$defaultval"; then
3020 if test x"$enablestring" = xdisable; then
3027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3028 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3029 # Check whether --enable-gui was given.
3030 if test "${enable_gui+set}" = set; then
3031 enableval=$enable_gui;
3032 if test "$enableval" = yes; then
3033 wx_cv_use_gui='wxUSE_GUI=yes'
3035 wx_cv_use_gui='wxUSE_GUI=no'
3040 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3045 eval "$wx_cv_use_gui"
3047 if test x"$enablestring" = xdisable; then
3048 if test $wxUSE_GUI = no; then
3057 { echo "$as_me:$LINENO: result: $result" >&5
3058 echo "${ECHO_T}$result" >&6; }
3063 if test -z "$defaultval"; then
3064 if test x"$enablestring" = xdisable; then
3071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3072 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3073 # Check whether --enable-monolithic was given.
3074 if test "${enable_monolithic+set}" = set; then
3075 enableval=$enable_monolithic;
3076 if test "$enableval" = yes; then
3077 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3084 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3089 eval "$wx_cv_use_monolithic"
3091 if test x"$enablestring" = xdisable; then
3092 if test $wxUSE_MONOLITHIC = no; then
3098 result=$wxUSE_MONOLITHIC
3101 { echo "$as_me:$LINENO: result: $result" >&5
3102 echo "${ECHO_T}$result" >&6; }
3107 if test -z "$defaultval"; then
3108 if test x"$enablestring" = xdisable; then
3115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3116 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3117 # Check whether --enable-plugins was given.
3118 if test "${enable_plugins+set}" = set; then
3119 enableval=$enable_plugins;
3120 if test "$enableval" = yes; then
3121 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3123 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3128 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3133 eval "$wx_cv_use_plugins"
3135 if test x"$enablestring" = xdisable; then
3136 if test $wxUSE_PLUGINS = no; then
3142 result=$wxUSE_PLUGINS
3145 { echo "$as_me:$LINENO: result: $result" >&5
3146 echo "${ECHO_T}$result" >&6; }
3150 defaultval=$wxUSE_ALL_FEATURES
3151 if test -z "$defaultval"; then
3152 if test x"$withstring" = xwithout; then
3158 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3159 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3161 # Check whether --with-subdirs was given.
3162 if test "${with_subdirs+set}" = set; then
3163 withval=$with_subdirs;
3164 if test "$withval" = yes; then
3165 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3172 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3177 eval "$wx_cv_use_subdirs"
3179 if test x"$withstring" = xwithout; then
3180 if test $wxWITH_SUBDIRS = yes; then
3186 result=$wxWITH_SUBDIRS
3189 { echo "$as_me:$LINENO: result: $result" >&5
3190 echo "${ECHO_T}$result" >&6; }
3193 # Check whether --with-flavour was given.
3194 if test "${with_flavour+set}" = set; then
3195 withval=$with_flavour; WX_FLAVOUR="$withval"
3201 if test -z "$defaultval"; then
3202 if test x"$enablestring" = xdisable; then
3209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3210 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3211 # Check whether --enable-official_build was given.
3212 if test "${enable_official_build+set}" = set; then
3213 enableval=$enable_official_build;
3214 if test "$enableval" = yes; then
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3227 eval "$wx_cv_use_official_build"
3229 if test x"$enablestring" = xdisable; then
3230 if test $wxUSE_OFFICIAL_BUILD = no; then
3236 result=$wxUSE_OFFICIAL_BUILD
3239 { echo "$as_me:$LINENO: result: $result" >&5
3240 echo "${ECHO_T}$result" >&6; }
3242 # Check whether --enable-vendor was given.
3243 if test "${enable_vendor+set}" = set; then
3244 enableval=$enable_vendor; VENDOR="$enableval"
3247 if test "x$VENDOR" = "x"; then
3252 enablestring=disable
3254 if test -z "$defaultval"; then
3255 if test x"$enablestring" = xdisable; then
3262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3263 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3264 # Check whether --enable-all-features was given.
3265 if test "${enable_all_features+set}" = set; then
3266 enableval=$enable_all_features;
3267 if test "$enableval" = yes; then
3268 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3280 eval "$wx_cv_use_all_features"
3282 if test x"$enablestring" = xdisable; then
3283 if test $wxUSE_ALL_FEATURES = no; then
3289 result=$wxUSE_ALL_FEATURES
3292 { echo "$as_me:$LINENO: result: $result" >&5
3293 echo "${ECHO_T}$result" >&6; }
3296 if test "$wxUSE_ALL_FEATURES" = "no"; then
3297 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3298 DEFAULT_wxUSE_MEDIACTRL=no
3302 if test "$wxUSE_GUI" = "yes"; then
3307 if test -z "$defaultval"; then
3308 if test x"$enablestring" = xdisable; then
3315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3317 # Check whether --enable-universal was given.
3318 if test "${enable_universal+set}" = set; then
3319 enableval=$enable_universal;
3320 if test "$enableval" = yes; then
3321 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3328 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3333 eval "$wx_cv_use_universal"
3335 if test x"$enablestring" = xdisable; then
3336 if test $wxUSE_UNIVERSAL = no; then
3342 result=$wxUSE_UNIVERSAL
3345 { echo "$as_me:$LINENO: result: $result" >&5
3346 echo "${ECHO_T}$result" >&6; }
3348 if test "$wxUSE_UNIVERSAL" = "yes"; then
3350 # Check whether --with-themes was given.
3351 if test "${with_themes+set}" = set; then
3352 withval=$with_themes; wxUNIV_THEMES="$withval"
3358 # Check whether --with-gtk was given.
3359 if test "${with_gtk+set}" = set; then
3360 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3364 # Check whether --with-motif was given.
3365 if test "${with_motif+set}" = set; then
3366 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3370 # Check whether --with-osx_carbon was given.
3371 if test "${with_osx_carbon+set}" = set; then
3372 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3376 # Check whether --with-osx_cocoa was given.
3377 if test "${with_osx_cocoa+set}" = set; then
3378 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3382 # Check whether --with-osx_iphone was given.
3383 if test "${with_osx_iphone+set}" = set; then
3384 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3388 # Check whether --with-osx was given.
3389 if test "${with_osx+set}" = set; then
3390 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3394 # Check whether --with-carbon was given.
3395 if test "${with_carbon+set}" = set; then
3396 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3400 # Check whether --with-cocoa was given.
3401 if test "${with_cocoa+set}" = set; then
3402 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3406 # Check whether --with-iphone was given.
3407 if test "${with_iphone+set}" = set; then
3408 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-mac was given.
3413 if test "${with_mac+set}" = set; then
3414 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-old_cocoa was given.
3419 if test "${with_old_cocoa+set}" = set; then
3420 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-wine was given.
3425 if test "${with_wine+set}" = set; then
3426 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3430 # Check whether --with-msw was given.
3431 if test "${with_msw+set}" = set; then
3432 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3436 # Check whether --with-pm was given.
3437 if test "${with_pm+set}" = set; then
3438 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3442 # Check whether --with-mgl was given.
3443 if test "${with_mgl+set}" = set; then
3444 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3448 # Check whether --with-directfb was given.
3449 if test "${with_directfb+set}" = set; then
3450 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3454 # Check whether --with-microwin was given.
3455 if test "${with_microwin+set}" = set; then
3456 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3460 # Check whether --with-x11 was given.
3461 if test "${with_x11+set}" = set; then
3462 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3468 if test -z "$defaultval"; then
3469 if test x"$enablestring" = xdisable; then
3476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3477 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3478 # Check whether --enable-nanox was given.
3479 if test "${enable_nanox+set}" = set; then
3480 enableval=$enable_nanox;
3481 if test "$enableval" = yes; then
3482 wx_cv_use_nanox='wxUSE_NANOX=yes'
3484 wx_cv_use_nanox='wxUSE_NANOX=no'
3489 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3494 eval "$wx_cv_use_nanox"
3496 if test x"$enablestring" = xdisable; then
3497 if test $wxUSE_NANOX = no; then
3506 { echo "$as_me:$LINENO: result: $result" >&5
3507 echo "${ECHO_T}$result" >&6; }
3510 # Check whether --enable-gtk2 was given.
3511 if test "${enable_gtk2+set}" = set; then
3512 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3518 if test -z "$defaultval"; then
3519 if test x"$enablestring" = xdisable; then
3526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3528 # Check whether --enable-gpe was given.
3529 if test "${enable_gpe+set}" = set; then
3530 enableval=$enable_gpe;
3531 if test "$enableval" = yes; then
3532 wx_cv_use_gpe='wxUSE_GPE=yes'
3534 wx_cv_use_gpe='wxUSE_GPE=no'
3539 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3544 eval "$wx_cv_use_gpe"
3546 if test x"$enablestring" = xdisable; then
3547 if test $wxUSE_GPE = no; then
3556 { echo "$as_me:$LINENO: result: $result" >&5
3557 echo "${ECHO_T}$result" >&6; }
3561 { echo "$as_me:$LINENO: checking for toolkit" >&5
3562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3566 # In Wine, we need to default to MSW, not GTK or MOTIF
3567 if test "$wxUSE_WINE" = "yes"; then
3568 DEFAULT_DEFAULT_wxUSE_GTK=0
3569 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3570 DEFAULT_DEFAULT_wxUSE_MSW=1
3577 if test "$wxUSE_GUI" = "yes"; then
3579 if test "$USE_BEOS" = 1; then
3580 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3581 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3582 { (exit 1); exit 1; }; }
3585 if test "$TOOLKIT_GIVEN" = 1; then
3586 for toolkit in $ALL_TOOLKITS; do
3588 eval "value=\$${var}"
3589 if test "x$value" = "xno"; then
3591 elif test "x$value" != "x"; then
3595 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3596 eval "wx${toolkit}_VERSION=$value"
3600 for toolkit in $ALL_TOOLKITS; do
3601 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3602 eval "wxUSE_$toolkit=\$${var}"
3606 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3607 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3608 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3611 *-pc-os2_emx | *-pc-os2-emx )
3612 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3615 case "$NUM_TOOLKITS" in
3619 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3620 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3621 { (exit 1); exit 1; }; }
3624 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3625 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3626 { (exit 1); exit 1; }; }
3629 # to be removed when --disable-gtk2 isn't needed
3630 if test "x$wxUSE_GTK2" = "xyes"; then
3633 elif test "x$wxUSE_GTK2" = "xno"; then
3638 for toolkit in $ALL_TOOLKITS; do
3640 eval "value=\$${var}"
3641 if test "$value" = 1; then
3642 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3643 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3644 echo "${ECHO_T}$toolkit_echo" >&6; }
3648 if test "x$host_alias" != "x"; then
3649 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3650 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3652 { echo "$as_me:$LINENO: result: base only" >&5
3653 echo "${ECHO_T}base only" >&6; }
3658 if test "$wxUSE_OSX_CARBON" = 1 \
3659 -o "$wxUSE_OSX_COCOA" = 1 \
3660 -o "$wxUSE_OSX_IPHONE" = 1; then
3666 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3667 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3669 # Check whether --with-libpng was given.
3670 if test "${with_libpng+set}" = set; then
3671 withval=$with_libpng;
3672 if test "$withval" = yes; then
3673 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3674 elif test "$withval" = no; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3676 elif test "$withval" = sys; then
3677 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3678 elif test "$withval" = builtin; then
3679 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3681 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3682 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3683 { (exit 1); exit 1; }; }
3688 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3693 eval "$wx_cv_use_libpng"
3695 if test "$wxUSE_LIBPNG" = yes; then
3696 { echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6; }
3698 elif test "$wxUSE_LIBPNG" = no; then
3699 { echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6; }
3701 elif test "$wxUSE_LIBPNG" = sys; then
3702 { echo "$as_me:$LINENO: result: system version" >&5
3703 echo "${ECHO_T}system version" >&6; }
3704 elif test "$wxUSE_LIBPNG" = builtin; then
3705 { echo "$as_me:$LINENO: result: builtin version" >&5
3706 echo "${ECHO_T}builtin version" >&6; }
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3714 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3715 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3717 # Check whether --with-libjpeg was given.
3718 if test "${with_libjpeg+set}" = set; then
3719 withval=$with_libjpeg;
3720 if test "$withval" = yes; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3722 elif test "$withval" = no; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3724 elif test "$withval" = sys; then
3725 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3726 elif test "$withval" = builtin; then
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3731 { (exit 1); exit 1; }; }
3736 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3741 eval "$wx_cv_use_libjpeg"
3743 if test "$wxUSE_LIBJPEG" = yes; then
3744 { echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6; }
3746 elif test "$wxUSE_LIBJPEG" = no; then
3747 { echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6; }
3749 elif test "$wxUSE_LIBJPEG" = sys; then
3750 { echo "$as_me:$LINENO: result: system version" >&5
3751 echo "${ECHO_T}system version" >&6; }
3752 elif test "$wxUSE_LIBJPEG" = builtin; then
3753 { echo "$as_me:$LINENO: result: builtin version" >&5
3754 echo "${ECHO_T}builtin version" >&6; }
3756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3757 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3758 { (exit 1); exit 1; }; }
3762 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3763 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3765 # Check whether --with-libtiff was given.
3766 if test "${with_libtiff+set}" = set; then
3767 withval=$with_libtiff;
3768 if test "$withval" = yes; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3770 elif test "$withval" = no; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3772 elif test "$withval" = sys; then
3773 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3774 elif test "$withval" = builtin; then
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3778 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3779 { (exit 1); exit 1; }; }
3784 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3789 eval "$wx_cv_use_libtiff"
3791 if test "$wxUSE_LIBTIFF" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBTIFF" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBTIFF" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBTIFF" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3810 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3811 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3813 # Check whether --with-libxpm was given.
3814 if test "${with_libxpm+set}" = set; then
3815 withval=$with_libxpm;
3816 if test "$withval" = yes; then
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3818 elif test "$withval" = no; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3820 elif test "$withval" = sys; then
3821 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3822 elif test "$withval" = builtin; then
3823 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3826 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3827 { (exit 1); exit 1; }; }
3832 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3837 eval "$wx_cv_use_libxpm"
3839 if test "$wxUSE_LIBXPM" = yes; then
3840 { echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6; }
3842 elif test "$wxUSE_LIBXPM" = no; then
3843 { echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6; }
3845 elif test "$wxUSE_LIBXPM" = sys; then
3846 { echo "$as_me:$LINENO: result: system version" >&5
3847 echo "${ECHO_T}system version" >&6; }
3848 elif test "$wxUSE_LIBXPM" = builtin; then
3849 { echo "$as_me:$LINENO: result: builtin version" >&5
3850 echo "${ECHO_T}builtin version" >&6; }
3852 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3853 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3854 { (exit 1); exit 1; }; }
3859 defaultval=$wxUSE_ALL_FEATURES
3860 if test -z "$defaultval"; then
3861 if test x"$withstring" = xwithout; then
3867 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3868 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3870 # Check whether --with-libiconv was given.
3871 if test "${with_libiconv+set}" = set; then
3872 withval=$with_libiconv;
3873 if test "$withval" = yes; then
3874 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3881 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3886 eval "$wx_cv_use_libiconv"
3888 if test x"$withstring" = xwithout; then
3889 if test $wxUSE_LIBICONV = yes; then
3895 result=$wxUSE_LIBICONV
3898 { echo "$as_me:$LINENO: result: $result" >&5
3899 echo "${ECHO_T}$result" >&6; }
3903 defaultval=$wxUSE_ALL_FEATURES
3904 if test -z "$defaultval"; then
3905 if test x"$withstring" = xwithout; then
3911 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3912 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3914 # Check whether --with-libmspack was given.
3915 if test "${with_libmspack+set}" = set; then
3916 withval=$with_libmspack;
3917 if test "$withval" = yes; then
3918 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3925 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3930 eval "$wx_cv_use_libmspack"
3932 if test x"$withstring" = xwithout; then
3933 if test $wxUSE_LIBMSPACK = yes; then
3939 result=$wxUSE_LIBMSPACK
3942 { echo "$as_me:$LINENO: result: $result" >&5
3943 echo "${ECHO_T}$result" >&6; }
3947 defaultval=$wxUSE_ALL_FEATURES
3948 if test -z "$defaultval"; then
3949 if test x"$withstring" = xwithout; then
3955 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3956 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3958 # Check whether --with-gtkprint was given.
3959 if test "${with_gtkprint+set}" = set; then
3960 withval=$with_gtkprint;
3961 if test "$withval" = yes; then
3962 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3969 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3974 eval "$wx_cv_use_gtkprint"
3976 if test x"$withstring" = xwithout; then
3977 if test $wxUSE_GTKPRINT = yes; then
3983 result=$wxUSE_GTKPRINT
3986 { echo "$as_me:$LINENO: result: $result" >&5
3987 echo "${ECHO_T}$result" >&6; }
3991 defaultval=$wxUSE_ALL_FEATURES
3992 if test -z "$defaultval"; then
3993 if test x"$withstring" = xwithout; then
3999 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4000 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4002 # Check whether --with-gnomeprint was given.
4003 if test "${with_gnomeprint+set}" = set; then
4004 withval=$with_gnomeprint;
4005 if test "$withval" = yes; then
4006 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4013 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4018 eval "$wx_cv_use_gnomeprint"
4020 if test x"$withstring" = xwithout; then
4021 if test $wxUSE_LIBGNOMEPRINT = yes; then
4027 result=$wxUSE_LIBGNOMEPRINT
4030 { echo "$as_me:$LINENO: result: $result" >&5
4031 echo "${ECHO_T}$result" >&6; }
4035 defaultval=$wxUSE_ALL_FEATURES
4036 if test -z "$defaultval"; then
4037 if test x"$withstring" = xwithout; then
4043 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4044 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4046 # Check whether --with-gnomevfs was given.
4047 if test "${with_gnomevfs+set}" = set; then
4048 withval=$with_gnomevfs;
4049 if test "$withval" = yes; then
4050 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4057 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4062 eval "$wx_cv_use_gnomevfs"
4064 if test x"$withstring" = xwithout; then
4065 if test $wxUSE_LIBGNOMEVFS = yes; then
4071 result=$wxUSE_LIBGNOMEVFS
4074 { echo "$as_me:$LINENO: result: $result" >&5
4075 echo "${ECHO_T}$result" >&6; }
4079 defaultval=$wxUSE_ALL_FEATURES
4080 if test -z "$defaultval"; then
4081 if test x"$withstring" = xwithout; then
4087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4088 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4090 # Check whether --with-hildon was given.
4091 if test "${with_hildon+set}" = set; then
4092 withval=$with_hildon;
4093 if test "$withval" = yes; then
4094 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4101 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4106 eval "$wx_cv_use_hildon"
4108 if test x"$withstring" = xwithout; then
4109 if test $wxUSE_LIBHILDON = yes; then
4115 result=$wxUSE_LIBHILDON
4118 { echo "$as_me:$LINENO: result: $result" >&5
4119 echo "${ECHO_T}$result" >&6; }
4123 defaultval=$wxUSE_ALL_FEATURES
4124 if test -z "$defaultval"; then
4125 if test x"$withstring" = xwithout; then
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4134 # Check whether --with-opengl was given.
4135 if test "${with_opengl+set}" = set; then
4136 withval=$with_opengl;
4137 if test "$withval" = yes; then
4138 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4140 wx_cv_use_opengl='wxUSE_OPENGL=no'
4145 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4150 eval "$wx_cv_use_opengl"
4152 if test x"$withstring" = xwithout; then
4153 if test $wxUSE_OPENGL = yes; then
4159 result=$wxUSE_OPENGL
4162 { echo "$as_me:$LINENO: result: $result" >&5
4163 echo "${ECHO_T}$result" >&6; }
4170 defaultval=$wxUSE_ALL_FEATURES
4171 if test -z "$defaultval"; then
4172 if test x"$withstring" = xwithout; then
4178 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4179 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4181 # Check whether --with-dmalloc was given.
4182 if test "${with_dmalloc+set}" = set; then
4183 withval=$with_dmalloc;
4184 if test "$withval" = yes; then
4185 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4192 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4197 eval "$wx_cv_use_dmalloc"
4199 if test x"$withstring" = xwithout; then
4200 if test $wxUSE_DMALLOC = yes; then
4206 result=$wxUSE_DMALLOC
4209 { echo "$as_me:$LINENO: result: $result" >&5
4210 echo "${ECHO_T}$result" >&6; }
4214 defaultval=$wxUSE_ALL_FEATURES
4215 if test -z "$defaultval"; then
4216 if test x"$withstring" = xwithout; then
4222 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4223 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4225 # Check whether --with-sdl was given.
4226 if test "${with_sdl+set}" = set; then
4228 if test "$withval" = yes; then
4229 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4231 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4236 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4241 eval "$wx_cv_use_sdl"
4243 if test x"$withstring" = xwithout; then
4244 if test $wxUSE_LIBSDL = yes; then
4250 result=$wxUSE_LIBSDL
4253 { echo "$as_me:$LINENO: result: $result" >&5
4254 echo "${ECHO_T}$result" >&6; }
4257 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4258 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4260 # Check whether --with-regex was given.
4261 if test "${with_regex+set}" = set; then
4262 withval=$with_regex;
4263 if test "$withval" = yes; then
4264 wx_cv_use_regex='wxUSE_REGEX=yes'
4265 elif test "$withval" = no; then
4266 wx_cv_use_regex='wxUSE_REGEX=no'
4267 elif test "$withval" = sys; then
4268 wx_cv_use_regex='wxUSE_REGEX=sys'
4269 elif test "$withval" = builtin; then
4270 wx_cv_use_regex='wxUSE_REGEX=builtin'
4272 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4273 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4274 { (exit 1); exit 1; }; }
4279 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4284 eval "$wx_cv_use_regex"
4286 if test "$wxUSE_REGEX" = yes; then
4287 { echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6; }
4289 elif test "$wxUSE_REGEX" = no; then
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4292 elif test "$wxUSE_REGEX" = sys; then
4293 { echo "$as_me:$LINENO: result: system version" >&5
4294 echo "${ECHO_T}system version" >&6; }
4295 elif test "$wxUSE_REGEX" = builtin; then
4296 { echo "$as_me:$LINENO: result: builtin version" >&5
4297 echo "${ECHO_T}builtin version" >&6; }
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4305 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4306 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4308 # Check whether --with-zlib was given.
4309 if test "${with_zlib+set}" = set; then
4311 if test "$withval" = yes; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4313 elif test "$withval" = no; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=no'
4315 elif test "$withval" = sys; then
4316 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4317 elif test "$withval" = builtin; then
4318 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4322 { (exit 1); exit 1; }; }
4327 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4332 eval "$wx_cv_use_zlib"
4334 if test "$wxUSE_ZLIB" = yes; then
4335 { echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6; }
4337 elif test "$wxUSE_ZLIB" = no; then
4338 { echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6; }
4340 elif test "$wxUSE_ZLIB" = sys; then
4341 { echo "$as_me:$LINENO: result: system version" >&5
4342 echo "${ECHO_T}system version" >&6; }
4343 elif test "$wxUSE_ZLIB" = builtin; then
4344 { echo "$as_me:$LINENO: result: builtin version" >&5
4345 echo "${ECHO_T}builtin version" >&6; }
4347 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4348 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4349 { (exit 1); exit 1; }; }
4353 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4354 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4356 # Check whether --with-expat was given.
4357 if test "${with_expat+set}" = set; then
4358 withval=$with_expat;
4359 if test "$withval" = yes; then
4360 wx_cv_use_expat='wxUSE_EXPAT=yes'
4361 elif test "$withval" = no; then
4362 wx_cv_use_expat='wxUSE_EXPAT=no'
4363 elif test "$withval" = sys; then
4364 wx_cv_use_expat='wxUSE_EXPAT=sys'
4365 elif test "$withval" = builtin; then
4366 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4375 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4380 eval "$wx_cv_use_expat"
4382 if test "$wxUSE_EXPAT" = yes; then
4383 { echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6; }
4385 elif test "$wxUSE_EXPAT" = no; then
4386 { echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6; }
4388 elif test "$wxUSE_EXPAT" = sys; then
4389 { echo "$as_me:$LINENO: result: system version" >&5
4390 echo "${ECHO_T}system version" >&6; }
4391 elif test "$wxUSE_EXPAT" = builtin; then
4392 { echo "$as_me:$LINENO: result: builtin version" >&5
4393 echo "${ECHO_T}builtin version" >&6; }
4395 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4396 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4397 { (exit 1); exit 1; }; }
4401 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4402 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4404 # Check whether --with-macosx-sdk was given.
4405 if test "${with_macosx_sdk+set}" = set; then
4406 withval=$with_macosx_sdk;
4407 wxUSE_MACOSX_SDK=$withval
4408 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4412 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4413 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4415 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4416 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4418 # Check whether --with-macosx-version-min was given.
4419 if test "${with_macosx_version_min+set}" = set; then
4420 withval=$with_macosx_version_min;
4421 wxUSE_MACOSX_VERSION_MIN=$withval
4422 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4426 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4427 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4430 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4431 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4432 # Check whether --enable-debug was given.
4433 if test "${enable_debug+set}" = set; then
4434 enableval=$enable_debug;
4435 if test "$enableval" = yes; then
4437 elif test "$enableval" = no; then
4439 elif test "$enableval" = max; then
4441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4443 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4444 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4445 { (exit 1); exit 1; }; }
4454 case "$wxUSE_DEBUG" in
4456 DEFAULT_wxUSE_DEBUG_FLAG=yes
4457 DEFAULT_wxUSE_DEBUG_INFO=yes
4459 DEFAULT_wxUSE_OPTIMISE=no
4463 DEFAULT_wxUSE_DEBUG_FLAG=no
4464 DEFAULT_wxUSE_DEBUG_INFO=no
4468 DEFAULT_wxUSE_DEBUG_FLAG=yes
4469 DEFAULT_wxUSE_DEBUG_INFO=no
4474 enablestring=disable
4476 if test -z "$defaultval"; then
4477 if test x"$enablestring" = xdisable; then
4484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4485 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4486 # Check whether --enable-debug_flag was given.
4487 if test "${enable_debug_flag+set}" = set; then
4488 enableval=$enable_debug_flag;
4489 if test "$enableval" = yes; then
4490 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4497 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4502 eval "$wx_cv_use_debug_flag"
4504 if test x"$enablestring" = xdisable; then
4505 if test $wxUSE_DEBUG_FLAG = no; then
4511 result=$wxUSE_DEBUG_FLAG
4514 { echo "$as_me:$LINENO: result: $result" >&5
4515 echo "${ECHO_T}$result" >&6; }
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_info was given.
4531 if test "${enable_debug_info+set}" = set; then
4532 enableval=$enable_debug_info;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4541 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4546 eval "$wx_cv_use_debug_info"
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_INFO = no; then
4555 result=$wxUSE_DEBUG_INFO
4558 { echo "$as_me:$LINENO: result: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4566 if test -z "$defaultval"; then
4567 if test x"$enablestring" = xdisable; then
4574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4576 # Check whether --enable-debug_gdb was given.
4577 if test "${enable_debug_gdb+set}" = set; then
4578 enableval=$enable_debug_gdb;
4579 if test "$enableval" = yes; then
4580 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4587 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4592 eval "$wx_cv_use_debug_gdb"
4594 if test x"$enablestring" = xdisable; then
4595 if test $wxUSE_DEBUG_GDB = no; then
4601 result=$wxUSE_DEBUG_GDB
4604 { echo "$as_me:$LINENO: result: $result" >&5
4605 echo "${ECHO_T}$result" >&6; }
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4620 # Check whether --enable-debug_cntxt was given.
4621 if test "${enable_debug_cntxt+set}" = set; then
4622 enableval=$enable_debug_cntxt;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4631 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4636 eval "$wx_cv_use_debug_cntxt"
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_DEBUG_CONTEXT = no; then
4645 result=$wxUSE_DEBUG_CONTEXT
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4664 # Check whether --enable-mem_tracing was given.
4665 if test "${enable_mem_tracing+set}" = set; then
4666 enableval=$enable_mem_tracing;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4675 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4680 eval "$wx_cv_use_mem_tracing"
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_MEM_TRACING = no; then
4689 result=$wxUSE_MEM_TRACING
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4698 enablestring=disable
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4710 # Check whether --enable-shared was given.
4711 if test "${enable_shared+set}" = set; then
4712 enableval=$enable_shared;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_shared='wxUSE_SHARED=yes'
4716 wx_cv_use_shared='wxUSE_SHARED=no'
4721 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4726 eval "$wx_cv_use_shared"
4728 if test x"$enablestring" = xdisable; then
4729 if test $wxUSE_SHARED = no; then
4735 result=$wxUSE_SHARED
4738 { echo "$as_me:$LINENO: result: $result" >&5
4739 echo "${ECHO_T}$result" >&6; }
4744 if test -z "$defaultval"; then
4745 if test x"$enablestring" = xdisable; then
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4754 # Check whether --enable-stl was given.
4755 if test "${enable_stl+set}" = set; then
4756 enableval=$enable_stl;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_stl='wxUSE_STL=yes'
4760 wx_cv_use_stl='wxUSE_STL=no'
4765 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4770 eval "$wx_cv_use_stl"
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_STL = no; then
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4785 if test "$wxUSE_STL" = "yes"; then
4786 DEFAULT_wxUSE_STD_CONTAINERS=yes
4787 DEFAULT_wxUSE_STD_IOSTREAM=yes
4788 DEFAULT_wxUSE_STD_STRING=yes
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4803 # Check whether --enable-std_containers was given.
4804 if test "${enable_std_containers+set}" = set; then
4805 enableval=$enable_std_containers;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4809 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4814 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4819 eval "$wx_cv_use_std_containers"
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_STD_CONTAINERS = no; then
4828 result=$wxUSE_STD_CONTAINERS
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4847 # Check whether --enable-std_iostreams was given.
4848 if test "${enable_std_iostreams+set}" = set; then
4849 enableval=$enable_std_iostreams;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4853 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4858 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4863 eval "$wx_cv_use_std_iostreams"
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_STD_IOSTREAM = no; then
4872 result=$wxUSE_STD_IOSTREAM
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4891 # Check whether --enable-std_string was given.
4892 if test "${enable_std_string+set}" = set; then
4893 enableval=$enable_std_string;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4897 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4902 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4907 eval "$wx_cv_use_std_string"
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_STD_STRING = no; then
4916 result=$wxUSE_STD_STRING
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4935 # Check whether --enable-std_string_conv_in_wxstring was given.
4936 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4937 enableval=$enable_std_string_conv_in_wxstring;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4941 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4946 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4951 eval "$wx_cv_use_std_string_conv_in_wxstring"
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4960 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4967 enablestring=disable
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4979 # Check whether --enable-unicode was given.
4980 if test "${enable_unicode+set}" = set; then
4981 enableval=$enable_unicode;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4985 wx_cv_use_unicode='wxUSE_UNICODE=no'
4990 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4995 eval "$wx_cv_use_unicode"
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_UNICODE = no; then
5004 result=$wxUSE_UNICODE
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5023 # Check whether --enable-mslu was given.
5024 if test "${enable_mslu+set}" = set; then
5025 enableval=$enable_mslu;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5029 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5034 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5039 eval "$wx_cv_use_mslu"
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_UNICODE_MSLU = no; then
5048 result=$wxUSE_UNICODE_MSLU
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5057 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5058 # Check whether --enable-utf8 was given.
5059 if test "${enable_utf8+set}" = set; then
5060 enableval=$enable_utf8;
5061 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5065 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5070 eval "$wx_cv_use_utf8"
5072 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5073 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5078 if test -z "$defaultval"; then
5079 if test x"$enablestring" = xdisable; then
5086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5088 # Check whether --enable-utf8only was given.
5089 if test "${enable_utf8only+set}" = set; then
5090 enableval=$enable_utf8only;
5091 if test "$enableval" = yes; then
5092 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5094 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5099 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5104 eval "$wx_cv_use_utf8only"
5106 if test x"$enablestring" = xdisable; then
5107 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5113 result=$wxUSE_UNICODE_UTF8_LOCALE
5116 { echo "$as_me:$LINENO: result: $result" >&5
5117 echo "${ECHO_T}$result" >&6; }
5122 if test -z "$defaultval"; then
5123 if test x"$enablestring" = xdisable; then
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5132 # Check whether --enable-extended_rtti was given.
5133 if test "${enable_extended_rtti+set}" = set; then
5134 enableval=$enable_extended_rtti;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5138 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5143 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5148 eval "$wx_cv_use_extended_rtti"
5150 if test x"$enablestring" = xdisable; then
5151 if test $wxUSE_EXTENDED_RTTI = no; then
5157 result=$wxUSE_EXTENDED_RTTI
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5163 if test "$USE_OS2" = 1; then
5164 DEFAULT_wxUSE_OMF=no
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5178 # Check whether --enable-omf was given.
5179 if test "${enable_omf+set}" = set; then
5180 enableval=$enable_omf;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_omf='wxUSE_OMF=yes'
5184 wx_cv_use_omf='wxUSE_OMF=no'
5189 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5194 eval "$wx_cv_use_omf"
5196 if test x"$enablestring" = xdisable; then
5197 if test $wxUSE_OMF = no; then
5206 { echo "$as_me:$LINENO: result: $result" >&5
5207 echo "${ECHO_T}$result" >&6; }
5212 enablestring=disable
5214 if test -z "$defaultval"; then
5215 if test x"$enablestring" = xdisable; then
5222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5223 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5224 # Check whether --enable-optimise was given.
5225 if test "${enable_optimise+set}" = set; then
5226 enableval=$enable_optimise;
5227 if test "$enableval" = yes; then
5228 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5230 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5235 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5240 eval "$wx_cv_use_optimise"
5242 if test x"$enablestring" = xdisable; then
5243 if test $wxUSE_OPTIMISE = no; then
5249 result=$wxUSE_OPTIMISE
5252 { echo "$as_me:$LINENO: result: $result" >&5
5253 echo "${ECHO_T}$result" >&6; }
5259 if test -z "$defaultval"; then
5260 if test x"$enablestring" = xdisable; then
5267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5268 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5269 # Check whether --enable-profile was given.
5270 if test "${enable_profile+set}" = set; then
5271 enableval=$enable_profile;
5272 if test "$enableval" = yes; then
5273 wx_cv_use_profile='wxUSE_PROFILE=yes'
5275 wx_cv_use_profile='wxUSE_PROFILE=no'
5280 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5285 eval "$wx_cv_use_profile"
5287 if test x"$enablestring" = xdisable; then
5288 if test $wxUSE_PROFILE = no; then
5294 result=$wxUSE_PROFILE
5297 { echo "$as_me:$LINENO: result: $result" >&5
5298 echo "${ECHO_T}$result" >&6; }
5303 if test -z "$defaultval"; then
5304 if test x"$enablestring" = xdisable; then
5311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5313 # Check whether --enable-no_rtti was given.
5314 if test "${enable_no_rtti+set}" = set; then
5315 enableval=$enable_no_rtti;
5316 if test "$enableval" = yes; then
5317 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5319 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5324 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5329 eval "$wx_cv_use_no_rtti"
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_NO_RTTI = no; then
5338 result=$wxUSE_NO_RTTI
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5357 # Check whether --enable-no_exceptions was given.
5358 if test "${enable_no_exceptions+set}" = set; then
5359 enableval=$enable_no_exceptions;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5363 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5368 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5373 eval "$wx_cv_use_no_exceptions"
5375 if test x"$enablestring" = xdisable; then
5376 if test $wxUSE_NO_EXCEPTIONS = no; then
5382 result=$wxUSE_NO_EXCEPTIONS
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5401 # Check whether --enable-permissive was given.
5402 if test "${enable_permissive+set}" = set; then
5403 enableval=$enable_permissive;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5407 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5412 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5417 eval "$wx_cv_use_permissive"
5419 if test x"$enablestring" = xdisable; then
5420 if test $wxUSE_PERMISSIVE = no; then
5426 result=$wxUSE_PERMISSIVE
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5445 # Check whether --enable-no_deps was given.
5446 if test "${enable_no_deps+set}" = set; then
5447 enableval=$enable_no_deps;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5451 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5456 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5461 eval "$wx_cv_use_no_deps"
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_NO_DEPS = no; then
5470 result=$wxUSE_NO_DEPS
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5477 enablestring=disable
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5489 # Check whether --enable-vararg_macros was given.
5490 if test "${enable_vararg_macros+set}" = set; then
5491 enableval=$enable_vararg_macros;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5495 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5500 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5505 eval "$wx_cv_use_vararg_macros"
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_VARARG_MACROS = no; then
5514 result=$wxUSE_VARARG_MACROS
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5525 # Check whether --enable-universal_binary was given.
5526 if test "${enable_universal_binary+set}" = set; then
5527 enableval=$enable_universal_binary;
5528 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5532 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5537 eval "$wx_cv_use_universal_binary"
5539 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5540 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5546 # Check whether --enable-macosx_arch was given.
5547 if test "${enable_macosx_arch+set}" = set; then
5548 enableval=$enable_macosx_arch;
5549 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5553 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5558 eval "$wx_cv_use_macosx_arch"
5560 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5561 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5567 if test -z "$defaultval"; then
5568 if test x"$enablestring" = xdisable; then
5575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5577 # Check whether --enable-compat26 was given.
5578 if test "${enable_compat26+set}" = set; then
5579 enableval=$enable_compat26;
5580 if test "$enableval" = yes; then
5581 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5583 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5588 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5593 eval "$wx_cv_use_compat26"
5595 if test x"$enablestring" = xdisable; then
5596 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5602 result=$WXWIN_COMPATIBILITY_2_6
5605 { echo "$as_me:$LINENO: result: $result" >&5
5606 echo "${ECHO_T}$result" >&6; }
5609 enablestring=disable
5611 if test -z "$defaultval"; then
5612 if test x"$enablestring" = xdisable; then
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5621 # Check whether --enable-compat28 was given.
5622 if test "${enable_compat28+set}" = set; then
5623 enableval=$enable_compat28;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5627 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5632 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5637 eval "$wx_cv_use_compat28"
5639 if test x"$enablestring" = xdisable; then
5640 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5646 result=$WXWIN_COMPATIBILITY_2_8
5649 { echo "$as_me:$LINENO: result: $result" >&5
5650 echo "${ECHO_T}$result" >&6; }
5654 enablestring=disable
5656 if test -z "$defaultval"; then
5657 if test x"$enablestring" = xdisable; then
5664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5665 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5666 # Check whether --enable-rpath was given.
5667 if test "${enable_rpath+set}" = set; then
5668 enableval=$enable_rpath;
5669 if test "$enableval" = yes; then
5670 wx_cv_use_rpath='wxUSE_RPATH=yes'
5672 wx_cv_use_rpath='wxUSE_RPATH=no'
5677 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5682 eval "$wx_cv_use_rpath"
5684 if test x"$enablestring" = xdisable; then
5685 if test $wxUSE_RPATH = no; then
5694 { echo "$as_me:$LINENO: result: $result" >&5
5695 echo "${ECHO_T}$result" >&6; }
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5711 # Check whether --enable-objc_uniquifying was given.
5712 if test "${enable_objc_uniquifying+set}" = set; then
5713 enableval=$enable_objc_uniquifying;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5717 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5722 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5727 eval "$wx_cv_use_objc_uniquifying"
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5736 result=$wxUSE_OBJC_UNIQUIFYING
5739 { echo "$as_me:$LINENO: result: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5744 enablestring=disable
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5756 # Check whether --enable-visibility was given.
5757 if test "${enable_visibility+set}" = set; then
5758 enableval=$enable_visibility;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5762 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5767 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5772 eval "$wx_cv_use_visibility"
5774 if test x"$enablestring" = xdisable; then
5775 if test $wxUSE_VISIBILITY = no; then
5781 result=$wxUSE_VISIBILITY
5784 { echo "$as_me:$LINENO: result: $result" >&5
5785 echo "${ECHO_T}$result" >&6; }
5788 enablestring=disable
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5800 # Check whether --enable-tls was given.
5801 if test "${enable_tls+set}" = set; then
5802 enableval=$enable_tls;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5806 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5811 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5816 eval "$wx_cv_use_tls"
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_COMPILER_TLS = no; then
5825 result=$wxUSE_COMPILER_TLS
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5846 # Check whether --enable-intl was given.
5847 if test "${enable_intl+set}" = set; then
5848 enableval=$enable_intl;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_intl='wxUSE_INTL=yes'
5852 wx_cv_use_intl='wxUSE_INTL=no'
5857 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5862 eval "$wx_cv_use_intl"
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_INTL = no; then
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5890 # Check whether --enable-xlocale was given.
5891 if test "${enable_xlocale+set}" = set; then
5892 enableval=$enable_xlocale;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5896 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5901 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5906 eval "$wx_cv_use_xlocale"
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_XLOCALE = no; then
5915 result=$wxUSE_XLOCALE
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5934 # Check whether --enable-config was given.
5935 if test "${enable_config+set}" = set; then
5936 enableval=$enable_config;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_config='wxUSE_CONFIG=yes'
5940 wx_cv_use_config='wxUSE_CONFIG=no'
5945 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5950 eval "$wx_cv_use_config"
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_CONFIG = no; then
5959 result=$wxUSE_CONFIG
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5968 defaultval=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5979 # Check whether --enable-protocols was given.
5980 if test "${enable_protocols+set}" = set; then
5981 enableval=$enable_protocols;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5985 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5990 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5995 eval "$wx_cv_use_protocols"
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_PROTOCOL = no; then
6004 result=$wxUSE_PROTOCOL
6007 { echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6; }
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6023 # Check whether --enable-ftp was given.
6024 if test "${enable_ftp+set}" = set; then
6025 enableval=$enable_ftp;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6029 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6034 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6039 eval "$wx_cv_use_ftp"
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_PROTOCOL_FTP = no; then
6048 result=$wxUSE_PROTOCOL_FTP
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6067 # Check whether --enable-http was given.
6068 if test "${enable_http+set}" = set; then
6069 enableval=$enable_http;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6073 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6078 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6083 eval "$wx_cv_use_http"
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_PROTOCOL_HTTP = no; then
6092 result=$wxUSE_PROTOCOL_HTTP
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6111 # Check whether --enable-fileproto was given.
6112 if test "${enable_fileproto+set}" = set; then
6113 enableval=$enable_fileproto;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6117 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6122 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6127 eval "$wx_cv_use_fileproto"
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_PROTOCOL_FILE = no; then
6136 result=$wxUSE_PROTOCOL_FILE
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6155 # Check whether --enable-sockets was given.
6156 if test "${enable_sockets+set}" = set; then
6157 enableval=$enable_sockets;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6161 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6166 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6171 eval "$wx_cv_use_sockets"
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_SOCKETS = no; then
6180 result=$wxUSE_SOCKETS
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6199 # Check whether --enable-ipv6 was given.
6200 if test "${enable_ipv6+set}" = set; then
6201 enableval=$enable_ipv6;
6202 if test "$enableval" = yes; then
6203 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6205 wx_cv_use_ipv6='wxUSE_IPV6=no'
6210 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6215 eval "$wx_cv_use_ipv6"
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_IPV6 = no; then
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6243 # Check whether --enable-ole was given.
6244 if test "${enable_ole+set}" = set; then
6245 enableval=$enable_ole;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_ole='wxUSE_OLE=yes'
6249 wx_cv_use_ole='wxUSE_OLE=no'
6254 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6259 eval "$wx_cv_use_ole"
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_OLE = no; then
6271 { echo "$as_me:$LINENO: result: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6276 defaultval=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6287 # Check whether --enable-dataobj was given.
6288 if test "${enable_dataobj+set}" = set; then
6289 enableval=$enable_dataobj;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6293 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6298 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6303 eval "$wx_cv_use_dataobj"
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_DATAOBJ = no; then
6312 result=$wxUSE_DATAOBJ
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6321 defaultval=$wxUSE_ALL_FEATURES
6322 if test -z "$defaultval"; then
6323 if test x"$enablestring" = xdisable; then
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6332 # Check whether --enable-ipc was given.
6333 if test "${enable_ipc+set}" = set; then
6334 enableval=$enable_ipc;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_ipc='wxUSE_IPC=yes'
6338 wx_cv_use_ipc='wxUSE_IPC=no'
6343 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6348 eval "$wx_cv_use_ipc"
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_IPC = no; then
6360 { echo "$as_me:$LINENO: result: $result" >&5
6361 echo "${ECHO_T}$result" >&6; }
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6377 # Check whether --enable-baseevtloop was given.
6378 if test "${enable_baseevtloop+set}" = set; then
6379 enableval=$enable_baseevtloop;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6383 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6388 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6393 eval "$wx_cv_use_baseevtloop"
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6402 result=$wxUSE_CONSOLE_EVENTLOOP
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6421 # Check whether --enable-epollloop was given.
6422 if test "${enable_epollloop+set}" = set; then
6423 enableval=$enable_epollloop;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6427 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6432 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6437 eval "$wx_cv_use_epollloop"
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_EPOLL_DISPATCHER = no; then
6446 result=$wxUSE_EPOLL_DISPATCHER
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6465 # Check whether --enable-selectloop was given.
6466 if test "${enable_selectloop+set}" = set; then
6467 enableval=$enable_selectloop;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6471 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6476 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6481 eval "$wx_cv_use_selectloop"
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_SELECT_DISPATCHER = no; then
6490 result=$wxUSE_SELECT_DISPATCHER
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6499 defaultval=$wxUSE_ALL_FEATURES
6500 if test -z "$defaultval"; then
6501 if test x"$enablestring" = xdisable; then
6508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6510 # Check whether --enable-any was given.
6511 if test "${enable_any+set}" = set; then
6512 enableval=$enable_any;
6513 if test "$enableval" = yes; then
6514 wx_cv_use_any='wxUSE_ANY=yes'
6516 wx_cv_use_any='wxUSE_ANY=no'
6521 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6526 eval "$wx_cv_use_any"
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_ANY = no; then
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6554 # Check whether --enable-apple_ieee was given.
6555 if test "${enable_apple_ieee+set}" = set; then
6556 enableval=$enable_apple_ieee;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6560 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6565 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6570 eval "$wx_cv_use_apple_ieee"
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_APPLE_IEEE = no; then
6579 result=$wxUSE_APPLE_IEEE
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6598 # Check whether --enable-arcstream was given.
6599 if test "${enable_arcstream+set}" = set; then
6600 enableval=$enable_arcstream;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6604 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6609 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6614 eval "$wx_cv_use_arcstream"
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_ARCHIVE_STREAMS = no; then
6623 result=$wxUSE_ARCHIVE_STREAMS
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6642 # Check whether --enable-base64 was given.
6643 if test "${enable_base64+set}" = set; then
6644 enableval=$enable_base64;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_base64='wxUSE_BASE64=yes'
6648 wx_cv_use_base64='wxUSE_BASE64=no'
6653 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6658 eval "$wx_cv_use_base64"
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_BASE64 = no; then
6667 result=$wxUSE_BASE64
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6686 # Check whether --enable-backtrace was given.
6687 if test "${enable_backtrace+set}" = set; then
6688 enableval=$enable_backtrace;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6692 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6697 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6702 eval "$wx_cv_use_backtrace"
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_STACKWALKER = no; then
6711 result=$wxUSE_STACKWALKER
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6730 # Check whether --enable-catch_segvs was given.
6731 if test "${enable_catch_segvs+set}" = set; then
6732 enableval=$enable_catch_segvs;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6736 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6741 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6746 eval "$wx_cv_use_catch_segvs"
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6755 result=$wxUSE_ON_FATAL_EXCEPTION
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6774 # Check whether --enable-cmdline was given.
6775 if test "${enable_cmdline+set}" = set; then
6776 enableval=$enable_cmdline;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6780 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6785 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6790 eval "$wx_cv_use_cmdline"
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_CMDLINE_PARSER = no; then
6799 result=$wxUSE_CMDLINE_PARSER
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6818 # Check whether --enable-datetime was given.
6819 if test "${enable_datetime+set}" = set; then
6820 enableval=$enable_datetime;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6824 wx_cv_use_datetime='wxUSE_DATETIME=no'
6829 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6834 eval "$wx_cv_use_datetime"
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_DATETIME = no; then
6843 result=$wxUSE_DATETIME
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6862 # Check whether --enable-debugreport was given.
6863 if test "${enable_debugreport+set}" = set; then
6864 enableval=$enable_debugreport;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6868 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6873 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6878 eval "$wx_cv_use_debugreport"
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_DEBUGREPORT = no; then
6887 result=$wxUSE_DEBUGREPORT
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6906 # Check whether --enable-dialupman was given.
6907 if test "${enable_dialupman+set}" = set; then
6908 enableval=$enable_dialupman;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6912 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6917 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6922 eval "$wx_cv_use_dialupman"
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_DIALUP_MANAGER = no; then
6931 result=$wxUSE_DIALUP_MANAGER
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6950 # Check whether --enable-dynlib was given.
6951 if test "${enable_dynlib+set}" = set; then
6952 enableval=$enable_dynlib;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6956 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6961 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6966 eval "$wx_cv_use_dynlib"
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_DYNLIB_CLASS = no; then
6975 result=$wxUSE_DYNLIB_CLASS
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6994 # Check whether --enable-dynamicloader was given.
6995 if test "${enable_dynamicloader+set}" = set; then
6996 enableval=$enable_dynamicloader;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7000 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7005 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7010 eval "$wx_cv_use_dynamicloader"
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_DYNAMIC_LOADER = no; then
7019 result=$wxUSE_DYNAMIC_LOADER
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7038 # Check whether --enable-exceptions was given.
7039 if test "${enable_exceptions+set}" = set; then
7040 enableval=$enable_exceptions;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7044 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7049 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7054 eval "$wx_cv_use_exceptions"
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_EXCEPTIONS = no; then
7063 result=$wxUSE_EXCEPTIONS
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7082 # Check whether --enable-ffile was given.
7083 if test "${enable_ffile+set}" = set; then
7084 enableval=$enable_ffile;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_ffile='wxUSE_FFILE=yes'
7088 wx_cv_use_ffile='wxUSE_FFILE=no'
7093 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7098 eval "$wx_cv_use_ffile"
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_FFILE = no; then
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7126 # Check whether --enable-file was given.
7127 if test "${enable_file+set}" = set; then
7128 enableval=$enable_file;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_file='wxUSE_FILE=yes'
7132 wx_cv_use_file='wxUSE_FILE=no'
7137 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7142 eval "$wx_cv_use_file"
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FILE = no; then
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7170 # Check whether --enable-filehistory was given.
7171 if test "${enable_filehistory+set}" = set; then
7172 enableval=$enable_filehistory;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7176 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7181 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7186 eval "$wx_cv_use_filehistory"
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_FILE_HISTORY = no; then
7195 result=$wxUSE_FILE_HISTORY
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7214 # Check whether --enable-filesystem was given.
7215 if test "${enable_filesystem+set}" = set; then
7216 enableval=$enable_filesystem;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7220 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7225 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7230 eval "$wx_cv_use_filesystem"
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FILESYSTEM = no; then
7239 result=$wxUSE_FILESYSTEM
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7258 # Check whether --enable-fontenum was given.
7259 if test "${enable_fontenum+set}" = set; then
7260 enableval=$enable_fontenum;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7264 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7269 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7274 eval "$wx_cv_use_fontenum"
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_FONTENUM = no; then
7283 result=$wxUSE_FONTENUM
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7302 # Check whether --enable-fontmap was given.
7303 if test "${enable_fontmap+set}" = set; then
7304 enableval=$enable_fontmap;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7308 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7313 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7318 eval "$wx_cv_use_fontmap"
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_FONTMAP = no; then
7327 result=$wxUSE_FONTMAP
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7346 # Check whether --enable-fs_archive was given.
7347 if test "${enable_fs_archive+set}" = set; then
7348 enableval=$enable_fs_archive;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7352 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7357 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7362 eval "$wx_cv_use_fs_archive"
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FS_ARCHIVE = no; then
7371 result=$wxUSE_FS_ARCHIVE
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7390 # Check whether --enable-fs_inet was given.
7391 if test "${enable_fs_inet+set}" = set; then
7392 enableval=$enable_fs_inet;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7396 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7401 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7406 eval "$wx_cv_use_fs_inet"
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_FS_INET = no; then
7415 result=$wxUSE_FS_INET
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7434 # Check whether --enable-fs_zip was given.
7435 if test "${enable_fs_zip+set}" = set; then
7436 enableval=$enable_fs_zip;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7440 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7445 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7450 eval "$wx_cv_use_fs_zip"
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_FS_ZIP = no; then
7459 result=$wxUSE_FS_ZIP
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7478 # Check whether --enable-fswatcher was given.
7479 if test "${enable_fswatcher+set}" = set; then
7480 enableval=$enable_fswatcher;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7484 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7489 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7494 eval "$wx_cv_use_fswatcher"
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_FSWATCHER = no; then
7503 result=$wxUSE_FSWATCHER
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7522 # Check whether --enable-geometry was given.
7523 if test "${enable_geometry+set}" = set; then
7524 enableval=$enable_geometry;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7528 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7533 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7538 eval "$wx_cv_use_geometry"
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_GEOMETRY = no; then
7547 result=$wxUSE_GEOMETRY
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7566 # Check whether --enable-log was given.
7567 if test "${enable_log+set}" = set; then
7568 enableval=$enable_log;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_log='wxUSE_LOG=yes'
7572 wx_cv_use_log='wxUSE_LOG=no'
7577 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7582 eval "$wx_cv_use_log"
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_LOG = no; then
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7610 # Check whether --enable-longlong was given.
7611 if test "${enable_longlong+set}" = set; then
7612 enableval=$enable_longlong;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7616 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7621 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7626 eval "$wx_cv_use_longlong"
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_LONGLONG = no; then
7635 result=$wxUSE_LONGLONG
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7654 # Check whether --enable-mimetype was given.
7655 if test "${enable_mimetype+set}" = set; then
7656 enableval=$enable_mimetype;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7660 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7665 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7670 eval "$wx_cv_use_mimetype"
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_MIMETYPE = no; then
7679 result=$wxUSE_MIMETYPE
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7698 # Check whether --enable-printfposparam was given.
7699 if test "${enable_printfposparam+set}" = set; then
7700 enableval=$enable_printfposparam;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7704 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7709 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7714 eval "$wx_cv_use_printfposparam"
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7723 result=$wxUSE_PRINTF_POS_PARAMS
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7742 # Check whether --enable-snglinst was given.
7743 if test "${enable_snglinst+set}" = set; then
7744 enableval=$enable_snglinst;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7748 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7753 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7758 eval "$wx_cv_use_snglinst"
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_SNGLINST_CHECKER = no; then
7767 result=$wxUSE_SNGLINST_CHECKER
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7786 # Check whether --enable-sound was given.
7787 if test "${enable_sound+set}" = set; then
7788 enableval=$enable_sound;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_sound='wxUSE_SOUND=yes'
7792 wx_cv_use_sound='wxUSE_SOUND=no'
7797 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7802 eval "$wx_cv_use_sound"
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_SOUND = no; then
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7830 # Check whether --enable-stdpaths was given.
7831 if test "${enable_stdpaths+set}" = set; then
7832 enableval=$enable_stdpaths;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7836 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7841 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7846 eval "$wx_cv_use_stdpaths"
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_STDPATHS = no; then
7855 result=$wxUSE_STDPATHS
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7874 # Check whether --enable-stopwatch was given.
7875 if test "${enable_stopwatch+set}" = set; then
7876 enableval=$enable_stopwatch;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7880 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7885 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7890 eval "$wx_cv_use_stopwatch"
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_STOPWATCH = no; then
7899 result=$wxUSE_STOPWATCH
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7918 # Check whether --enable-streams was given.
7919 if test "${enable_streams+set}" = set; then
7920 enableval=$enable_streams;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_streams='wxUSE_STREAMS=yes'
7924 wx_cv_use_streams='wxUSE_STREAMS=no'
7929 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7934 eval "$wx_cv_use_streams"
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_STREAMS = no; then
7943 result=$wxUSE_STREAMS
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7962 # Check whether --enable-sysoptions was given.
7963 if test "${enable_sysoptions+set}" = set; then
7964 enableval=$enable_sysoptions;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7968 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7973 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7978 eval "$wx_cv_use_sysoptions"
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_SYSTEM_OPTIONS = no; then
7987 result=$wxUSE_SYSTEM_OPTIONS
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8006 # Check whether --enable-tarstream was given.
8007 if test "${enable_tarstream+set}" = set; then
8008 enableval=$enable_tarstream;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8012 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8017 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8022 eval "$wx_cv_use_tarstream"
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_TARSTREAM = no; then
8031 result=$wxUSE_TARSTREAM
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8050 # Check whether --enable-textbuf was given.
8051 if test "${enable_textbuf+set}" = set; then
8052 enableval=$enable_textbuf;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8056 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8061 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8066 eval "$wx_cv_use_textbuf"
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_TEXTBUFFER = no; then
8075 result=$wxUSE_TEXTBUFFER
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8094 # Check whether --enable-textfile was given.
8095 if test "${enable_textfile+set}" = set; then
8096 enableval=$enable_textfile;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8100 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8105 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8110 eval "$wx_cv_use_textfile"
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_TEXTFILE = no; then
8119 result=$wxUSE_TEXTFILE
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8138 # Check whether --enable-timer was given.
8139 if test "${enable_timer+set}" = set; then
8140 enableval=$enable_timer;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_timer='wxUSE_TIMER=yes'
8144 wx_cv_use_timer='wxUSE_TIMER=no'
8149 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8154 eval "$wx_cv_use_timer"
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_TIMER = no; then
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8171 defaultval=$wxUSE_ALL_FEATURES
8172 if test -z "$defaultval"; then
8173 if test x"$enablestring" = xdisable; then
8180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8182 # Check whether --enable-variant was given.
8183 if test "${enable_variant+set}" = set; then
8184 enableval=$enable_variant;
8185 if test "$enableval" = yes; then
8186 wx_cv_use_variant='wxUSE_VARIANT=yes'
8188 wx_cv_use_variant='wxUSE_VARIANT=no'
8193 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8198 eval "$wx_cv_use_variant"
8200 if test x"$enablestring" = xdisable; then
8201 if test $wxUSE_VARIANT = no; then
8207 result=$wxUSE_VARIANT
8210 { echo "$as_me:$LINENO: result: $result" >&5
8211 echo "${ECHO_T}$result" >&6; }
8215 defaultval=$wxUSE_ALL_FEATURES
8216 if test -z "$defaultval"; then
8217 if test x"$enablestring" = xdisable; then
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8226 # Check whether --enable-zipstream was given.
8227 if test "${enable_zipstream+set}" = set; then
8228 enableval=$enable_zipstream;
8229 if test "$enableval" = yes; then
8230 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8232 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8237 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8242 eval "$wx_cv_use_zipstream"
8244 if test x"$enablestring" = xdisable; then
8245 if test $wxUSE_ZIPSTREAM = no; then
8251 result=$wxUSE_ZIPSTREAM
8254 { echo "$as_me:$LINENO: result: $result" >&5
8255 echo "${ECHO_T}$result" >&6; }
8260 defaultval=$wxUSE_ALL_FEATURES
8261 if test -z "$defaultval"; then
8262 if test x"$enablestring" = xdisable; then
8269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8271 # Check whether --enable-url was given.
8272 if test "${enable_url+set}" = set; then
8273 enableval=$enable_url;
8274 if test "$enableval" = yes; then
8275 wx_cv_use_url='wxUSE_URL=yes'
8277 wx_cv_use_url='wxUSE_URL=no'
8282 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8287 eval "$wx_cv_use_url"
8289 if test x"$enablestring" = xdisable; then
8290 if test $wxUSE_URL = no; then
8299 { echo "$as_me:$LINENO: result: $result" >&5
8300 echo "${ECHO_T}$result" >&6; }
8304 defaultval=$wxUSE_ALL_FEATURES
8305 if test -z "$defaultval"; then
8306 if test x"$enablestring" = xdisable; then
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8315 # Check whether --enable-protocol was given.
8316 if test "${enable_protocol+set}" = set; then
8317 enableval=$enable_protocol;
8318 if test "$enableval" = yes; then
8319 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8321 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8326 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8331 eval "$wx_cv_use_protocol"
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_PROTOCOL = no; then
8340 result=$wxUSE_PROTOCOL
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8359 # Check whether --enable-protocol_http was given.
8360 if test "${enable_protocol_http+set}" = set; then
8361 enableval=$enable_protocol_http;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8365 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8370 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8375 eval "$wx_cv_use_protocol_http"
8377 if test x"$enablestring" = xdisable; then
8378 if test $wxUSE_PROTOCOL_HTTP = no; then
8384 result=$wxUSE_PROTOCOL_HTTP
8387 { echo "$as_me:$LINENO: result: $result" >&5
8388 echo "${ECHO_T}$result" >&6; }
8392 defaultval=$wxUSE_ALL_FEATURES
8393 if test -z "$defaultval"; then
8394 if test x"$enablestring" = xdisable; then
8401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8403 # Check whether --enable-protocol_ftp was given.
8404 if test "${enable_protocol_ftp+set}" = set; then
8405 enableval=$enable_protocol_ftp;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8409 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8414 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8419 eval "$wx_cv_use_protocol_ftp"
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_PROTOCOL_FTP = no; then
8428 result=$wxUSE_PROTOCOL_FTP
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8447 # Check whether --enable-protocol_file was given.
8448 if test "${enable_protocol_file+set}" = set; then
8449 enableval=$enable_protocol_file;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8453 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8458 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8463 eval "$wx_cv_use_protocol_file"
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL_FILE = no; then
8472 result=$wxUSE_PROTOCOL_FILE
8475 { echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8481 defaultval=$wxUSE_ALL_FEATURES
8482 if test -z "$defaultval"; then
8483 if test x"$enablestring" = xdisable; then
8490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8492 # Check whether --enable-threads was given.
8493 if test "${enable_threads+set}" = set; then
8494 enableval=$enable_threads;
8495 if test "$enableval" = yes; then
8496 wx_cv_use_threads='wxUSE_THREADS=yes'
8498 wx_cv_use_threads='wxUSE_THREADS=no'
8503 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8508 eval "$wx_cv_use_threads"
8510 if test x"$enablestring" = xdisable; then
8511 if test $wxUSE_THREADS = no; then
8517 result=$wxUSE_THREADS
8520 { echo "$as_me:$LINENO: result: $result" >&5
8521 echo "${ECHO_T}$result" >&6; }
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8537 # Check whether --enable-iniconf was given.
8538 if test "${enable_iniconf+set}" = set; then
8539 enableval=$enable_iniconf;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8543 wx_cv_use_iniconf='wxUSE_INICONF=no'
8548 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8553 eval "$wx_cv_use_iniconf"
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_INICONF = no; then
8562 result=$wxUSE_INICONF
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8581 # Check whether --enable-regkey was given.
8582 if test "${enable_regkey+set}" = set; then
8583 enableval=$enable_regkey;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8587 wx_cv_use_regkey='wxUSE_REGKEY=no'
8592 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8597 eval "$wx_cv_use_regkey"
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_REGKEY = no; then
8606 result=$wxUSE_REGKEY
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8613 if test "$wxUSE_GUI" = "yes"; then
8618 defaultval=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x"$enablestring" = xdisable; then
8627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8629 # Check whether --enable-docview was given.
8630 if test "${enable_docview+set}" = set; then
8631 enableval=$enable_docview;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8635 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8640 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8645 eval "$wx_cv_use_docview"
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8654 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8657 { echo "$as_me:$LINENO: result: $result" >&5
8658 echo "${ECHO_T}$result" >&6; }
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8673 # Check whether --enable-help was given.
8674 if test "${enable_help+set}" = set; then
8675 enableval=$enable_help;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_help='wxUSE_HELP=yes'
8679 wx_cv_use_help='wxUSE_HELP=no'
8684 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8689 eval "$wx_cv_use_help"
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_HELP = no; then
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8717 # Check whether --enable-mshtmlhelp was given.
8718 if test "${enable_mshtmlhelp+set}" = set; then
8719 enableval=$enable_mshtmlhelp;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8723 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8728 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8733 eval "$wx_cv_use_mshtmlhelp"
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_MS_HTML_HELP = no; then
8742 result=$wxUSE_MS_HTML_HELP
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8761 # Check whether --enable-html was given.
8762 if test "${enable_html+set}" = set; then
8763 enableval=$enable_html;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_html='wxUSE_HTML=yes'
8767 wx_cv_use_html='wxUSE_HTML=no'
8772 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8777 eval "$wx_cv_use_html"
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_HTML = no; then
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8805 # Check whether --enable-htmlhelp was given.
8806 if test "${enable_htmlhelp+set}" = set; then
8807 enableval=$enable_htmlhelp;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8811 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8816 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8821 eval "$wx_cv_use_htmlhelp"
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_WXHTML_HELP = no; then
8830 result=$wxUSE_WXHTML_HELP
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8849 # Check whether --enable-xrc was given.
8850 if test "${enable_xrc+set}" = set; then
8851 enableval=$enable_xrc;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_xrc='wxUSE_XRC=yes'
8855 wx_cv_use_xrc='wxUSE_XRC=no'
8860 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8865 eval "$wx_cv_use_xrc"
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_XRC = no; then
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8893 # Check whether --enable-aui was given.
8894 if test "${enable_aui+set}" = set; then
8895 enableval=$enable_aui;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_aui='wxUSE_AUI=yes'
8899 wx_cv_use_aui='wxUSE_AUI=no'
8904 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8909 eval "$wx_cv_use_aui"
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_AUI = no; then
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8937 # Check whether --enable-propgrid was given.
8938 if test "${enable_propgrid+set}" = set; then
8939 enableval=$enable_propgrid;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8943 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8948 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8953 eval "$wx_cv_use_propgrid"
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_PROPGRID = no; then
8962 result=$wxUSE_PROPGRID
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8981 # Check whether --enable-ribbon was given.
8982 if test "${enable_ribbon+set}" = set; then
8983 enableval=$enable_ribbon;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8987 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8992 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8997 eval "$wx_cv_use_ribbon"
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_RIBBON = no; then
9006 result=$wxUSE_RIBBON
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9025 # Check whether --enable-stc was given.
9026 if test "${enable_stc+set}" = set; then
9027 enableval=$enable_stc;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_stc='wxUSE_STC=yes'
9031 wx_cv_use_stc='wxUSE_STC=no'
9036 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9041 eval "$wx_cv_use_stc"
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_STC = no; then
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9069 # Check whether --enable-constraints was given.
9070 if test "${enable_constraints+set}" = set; then
9071 enableval=$enable_constraints;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9075 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9080 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9085 eval "$wx_cv_use_constraints"
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_CONSTRAINTS = no; then
9094 result=$wxUSE_CONSTRAINTS
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9113 # Check whether --enable-loggui was given.
9114 if test "${enable_loggui+set}" = set; then
9115 enableval=$enable_loggui;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9119 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9124 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9129 eval "$wx_cv_use_loggui"
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_LOGGUI = no; then
9138 result=$wxUSE_LOGGUI
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9157 # Check whether --enable-logwin was given.
9158 if test "${enable_logwin+set}" = set; then
9159 enableval=$enable_logwin;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9163 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9168 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9173 eval "$wx_cv_use_logwin"
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_LOGWINDOW = no; then
9182 result=$wxUSE_LOGWINDOW
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9201 # Check whether --enable-logdialog was given.
9202 if test "${enable_logdialog+set}" = set; then
9203 enableval=$enable_logdialog;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9207 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9212 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9217 eval "$wx_cv_use_logdialog"
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_LOGDIALOG = no; then
9226 result=$wxUSE_LOGDIALOG
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9245 # Check whether --enable-mdi was given.
9246 if test "${enable_mdi+set}" = set; then
9247 enableval=$enable_mdi;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_mdi='wxUSE_MDI=yes'
9251 wx_cv_use_mdi='wxUSE_MDI=no'
9256 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9261 eval "$wx_cv_use_mdi"
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_MDI = no; then
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9289 # Check whether --enable-mdidoc was given.
9290 if test "${enable_mdidoc+set}" = set; then
9291 enableval=$enable_mdidoc;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9295 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9300 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9305 eval "$wx_cv_use_mdidoc"
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_MDI_ARCHITECTURE = no; then
9314 result=$wxUSE_MDI_ARCHITECTURE
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9322 defaultval=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x"$enablestring" = xdisable; then
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9333 # Check whether --enable-mediactrl was given.
9334 if test "${enable_mediactrl+set}" = set; then
9335 enableval=$enable_mediactrl;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9339 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9344 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9349 eval "$wx_cv_use_mediactrl"
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_MEDIACTRL = no; then
9358 result=$wxUSE_MEDIACTRL
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9366 defaultval=$wxUSE_ALL_FEATURES
9367 if test -z "$defaultval"; then
9368 if test x"$enablestring" = xdisable; then
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9377 # Check whether --enable-gstreamer8 was given.
9378 if test "${enable_gstreamer8+set}" = set; then
9379 enableval=$enable_gstreamer8;
9380 if test "$enableval" = yes; then
9381 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9383 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9388 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9393 eval "$wx_cv_use_gstreamer8"
9395 if test x"$enablestring" = xdisable; then
9396 if test $wxUSE_GSTREAMER8 = no; then
9402 result=$wxUSE_GSTREAMER8
9405 { echo "$as_me:$LINENO: result: $result" >&5
9406 echo "${ECHO_T}$result" >&6; }
9410 defaultval=$wxUSE_ALL_FEATURES
9411 if test -z "$defaultval"; then
9412 if test x"$enablestring" = xdisable; then
9419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9420 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9421 # Check whether --enable-webkit was given.
9422 if test "${enable_webkit+set}" = set; then
9423 enableval=$enable_webkit;
9424 if test "$enableval" = yes; then
9425 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9427 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9432 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9437 eval "$wx_cv_use_webkit"
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_WEBKIT = no; then
9446 result=$wxUSE_WEBKIT
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9465 # Check whether --enable-richtext was given.
9466 if test "${enable_richtext+set}" = set; then
9467 enableval=$enable_richtext;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9471 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9481 eval "$wx_cv_use_richtext"
9483 if test x"$enablestring" = xdisable; then
9484 if test $wxUSE_RICHTEXT = no; then
9490 result=$wxUSE_RICHTEXT
9493 { echo "$as_me:$LINENO: result: $result" >&5
9494 echo "${ECHO_T}$result" >&6; }
9498 defaultval=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x"$enablestring" = xdisable; then
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9509 # Check whether --enable-postscript was given.
9510 if test "${enable_postscript+set}" = set; then
9511 enableval=$enable_postscript;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9525 eval "$wx_cv_use_postscript"
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_POSTSCRIPT = no; then
9534 result=$wxUSE_POSTSCRIPT
9537 { echo "$as_me:$LINENO: result: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9542 defaultval=$wxUSE_ALL_FEATURES
9543 if test -z "$defaultval"; then
9544 if test x"$enablestring" = xdisable; then
9551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9553 # Check whether --enable-printarch was given.
9554 if test "${enable_printarch+set}" = set; then
9555 enableval=$enable_printarch;
9556 if test "$enableval" = yes; then
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9569 eval "$wx_cv_use_printarch"
9571 if test x"$enablestring" = xdisable; then
9572 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9578 result=$wxUSE_PRINTING_ARCHITECTURE
9581 { echo "$as_me:$LINENO: result: $result" >&5
9582 echo "${ECHO_T}$result" >&6; }
9586 defaultval=$wxUSE_ALL_FEATURES
9587 if test -z "$defaultval"; then
9588 if test x"$enablestring" = xdisable; then
9595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9597 # Check whether --enable-svg was given.
9598 if test "${enable_svg+set}" = set; then
9599 enableval=$enable_svg;
9600 if test "$enableval" = yes; then
9601 wx_cv_use_svg='wxUSE_SVG=yes'
9603 wx_cv_use_svg='wxUSE_SVG=no'
9608 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9613 eval "$wx_cv_use_svg"
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_SVG = no; then
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9629 if test "$wxUSE_MAC" != 1; then
9632 defaultval=$wxUSE_ALL_FEATURES
9633 if test -z "$defaultval"; then
9634 if test x"$enablestring" = xdisable; then
9641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9643 # Check whether --enable-graphics_ctx was given.
9644 if test "${enable_graphics_ctx+set}" = set; then
9645 enableval=$enable_graphics_ctx;
9646 if test "$enableval" = yes; then
9647 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9649 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9654 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9659 eval "$wx_cv_use_graphics_ctx"
9661 if test x"$enablestring" = xdisable; then
9662 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9668 result=$wxUSE_GRAPHICS_CONTEXT
9671 { echo "$as_me:$LINENO: result: $result" >&5
9672 echo "${ECHO_T}$result" >&6; }
9679 defaultval=$wxUSE_ALL_FEATURES
9680 if test -z "$defaultval"; then
9681 if test x"$enablestring" = xdisable; then
9688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9690 # Check whether --enable-clipboard was given.
9691 if test "${enable_clipboard+set}" = set; then
9692 enableval=$enable_clipboard;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9696 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9706 eval "$wx_cv_use_clipboard"
9708 if test x"$enablestring" = xdisable; then
9709 if test $wxUSE_CLIPBOARD = no; then
9715 result=$wxUSE_CLIPBOARD
9718 { echo "$as_me:$LINENO: result: $result" >&5
9719 echo "${ECHO_T}$result" >&6; }
9723 defaultval=$wxUSE_ALL_FEATURES
9724 if test -z "$defaultval"; then
9725 if test x"$enablestring" = xdisable; then
9732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9734 # Check whether --enable-dnd was given.
9735 if test "${enable_dnd+set}" = set; then
9736 enableval=$enable_dnd;
9737 if test "$enableval" = yes; then
9738 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9745 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9750 eval "$wx_cv_use_dnd"
9752 if test x"$enablestring" = xdisable; then
9753 if test $wxUSE_DRAG_AND_DROP = no; then
9759 result=$wxUSE_DRAG_AND_DROP
9762 { echo "$as_me:$LINENO: result: $result" >&5
9763 echo "${ECHO_T}$result" >&6; }
9767 DEFAULT_wxUSE_CONTROLS=none
9769 enablestring=disable
9771 if test -z "$defaultval"; then
9772 if test x"$enablestring" = xdisable; then
9779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9781 # Check whether --enable-controls was given.
9782 if test "${enable_controls+set}" = set; then
9783 enableval=$enable_controls;
9784 if test "$enableval" = yes; then
9785 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9787 wx_cv_use_controls='wxUSE_CONTROLS=no'
9792 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9797 eval "$wx_cv_use_controls"
9799 if test x"$enablestring" = xdisable; then
9800 if test $wxUSE_CONTROLS = no; then
9806 result=$wxUSE_CONTROLS
9809 { echo "$as_me:$LINENO: result: $result" >&5
9810 echo "${ECHO_T}$result" >&6; }
9813 if test "$wxUSE_CONTROLS" = "no"; then
9814 DEFAULT_wxUSE_ACCEL=no
9815 DEFAULT_wxUSE_ANIMATIONCTRL=no
9816 DEFAULT_wxUSE_BANNERWINDOW=no
9817 DEFAULT_wxUSE_BMPBUTTON=no
9818 DEFAULT_wxUSE_BUTTON=no
9819 DEFAULT_wxUSE_CALCTRL=no
9820 DEFAULT_wxUSE_CARET=no
9821 DEFAULT_wxUSE_CHECKBOX=no
9822 DEFAULT_wxUSE_CHECKLISTBOX=no
9823 DEFAULT_wxUSE_CHOICE=no
9824 DEFAULT_wxUSE_CHOICEBOOK=no
9825 DEFAULT_wxUSE_COLLPANE=no
9826 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9827 DEFAULT_wxUSE_COMBOBOX=no
9828 DEFAULT_wxUSE_COMBOBOX=no
9829 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9830 DEFAULT_wxUSE_DATAVIEWCTRL=no
9831 DEFAULT_wxUSE_DATEPICKCTRL=no
9832 DEFAULT_wxUSE_DETECT_SM=no
9833 DEFAULT_wxUSE_DIRPICKERCTRL=no
9834 DEFAULT_wxUSE_DISPLAY=no
9835 DEFAULT_wxUSE_FILECTRL=no
9836 DEFAULT_wxUSE_FILEPICKERCTRL=no
9837 DEFAULT_wxUSE_FONTPICKERCTRL=no
9838 DEFAULT_wxUSE_GAUGE=no
9839 DEFAULT_wxUSE_GRID=no
9840 DEFAULT_wxUSE_HEADERCTRL=no
9841 DEFAULT_wxUSE_HYPERLINKCTRL=no
9842 DEFAULT_wxUSE_IMAGLIST=no
9843 DEFAULT_wxUSE_LISTBOOK=no
9844 DEFAULT_wxUSE_LISTBOX=no
9845 DEFAULT_wxUSE_LISTCTRL=no
9846 DEFAULT_wxUSE_MARKUP=no
9847 DEFAULT_wxUSE_NOTEBOOK=no
9848 DEFAULT_wxUSE_POPUPWIN=no
9849 DEFAULT_wxUSE_RADIOBOX=no
9850 DEFAULT_wxUSE_RADIOBTN=no
9851 DEFAULT_wxUSE_RICHMSGDLG=no
9852 DEFAULT_wxUSE_REARRANGECTRL=no
9853 DEFAULT_wxUSE_SASH=no
9854 DEFAULT_wxUSE_SCROLLBAR=no
9855 DEFAULT_wxUSE_SEARCHCTRL=no
9856 DEFAULT_wxUSE_SLIDER=no
9857 DEFAULT_wxUSE_SPINBTN=no
9858 DEFAULT_wxUSE_SPINCTRL=no
9859 DEFAULT_wxUSE_SPLITTER=no
9860 DEFAULT_wxUSE_STATBMP=no
9861 DEFAULT_wxUSE_STATBOX=no
9862 DEFAULT_wxUSE_STATLINE=no
9863 DEFAULT_wxUSE_STATUSBAR=no
9864 DEFAULT_wxUSE_TIPWINDOW=no
9865 DEFAULT_wxUSE_TOGGLEBTN=no
9866 DEFAULT_wxUSE_TOOLBAR=no
9867 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9868 DEFAULT_wxUSE_TOOLBOOK=no
9869 DEFAULT_wxUSE_TOOLTIPS=no
9870 DEFAULT_wxUSE_TREEBOOK=no
9871 DEFAULT_wxUSE_TREECTRL=no
9872 DEFAULT_wxUSE_TREELISTCTRL=no
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9888 # Check whether --enable-markup was given.
9889 if test "${enable_markup+set}" = set; then
9890 enableval=$enable_markup;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_markup='wxUSE_MARKUP=yes'
9894 wx_cv_use_markup='wxUSE_MARKUP=no'
9899 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9904 eval "$wx_cv_use_markup"
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_MARKUP = no; then
9913 result=$wxUSE_MARKUP
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9922 defaultval=$wxUSE_ALL_FEATURES
9923 if test -z "$defaultval"; then
9924 if test x"$enablestring" = xdisable; then
9931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9933 # Check whether --enable-accel was given.
9934 if test "${enable_accel+set}" = set; then
9935 enableval=$enable_accel;
9936 if test "$enableval" = yes; then
9937 wx_cv_use_accel='wxUSE_ACCEL=yes'
9939 wx_cv_use_accel='wxUSE_ACCEL=no'
9944 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9949 eval "$wx_cv_use_accel"
9951 if test x"$enablestring" = xdisable; then
9952 if test $wxUSE_ACCEL = no; then
9961 { echo "$as_me:$LINENO: result: $result" >&5
9962 echo "${ECHO_T}$result" >&6; }
9966 defaultval=$wxUSE_ALL_FEATURES
9967 if test -z "$defaultval"; then
9968 if test x"$enablestring" = xdisable; then
9975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9977 # Check whether --enable-animatectrl was given.
9978 if test "${enable_animatectrl+set}" = set; then
9979 enableval=$enable_animatectrl;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9983 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9988 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9993 eval "$wx_cv_use_animatectrl"
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_ANIMATIONCTRL = no; then
10002 result=$wxUSE_ANIMATIONCTRL
10005 { echo "$as_me:$LINENO: result: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10021 # Check whether --enable-bannerwindow was given.
10022 if test "${enable_bannerwindow+set}" = set; then
10023 enableval=$enable_bannerwindow;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10027 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10032 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10037 eval "$wx_cv_use_bannerwindow"
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_BANNERWINDOW = no; then
10046 result=$wxUSE_BANNERWINDOW
10049 { echo "$as_me:$LINENO: result: $result" >&5
10050 echo "${ECHO_T}$result" >&6; }
10054 defaultval=$wxUSE_ALL_FEATURES
10055 if test -z "$defaultval"; then
10056 if test x"$enablestring" = xdisable; then
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10065 # Check whether --enable-artstd was given.
10066 if test "${enable_artstd+set}" = set; then
10067 enableval=$enable_artstd;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10071 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10076 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10081 eval "$wx_cv_use_artstd"
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_ARTPROVIDER_STD = no; then
10090 result=$wxUSE_ARTPROVIDER_STD
10093 { echo "$as_me:$LINENO: result: $result" >&5
10094 echo "${ECHO_T}$result" >&6; }
10098 defaultval=$wxUSE_ALL_FEATURES
10099 if test -z "$defaultval"; then
10100 if test x"$enablestring" = xdisable; then
10107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10109 # Check whether --enable-arttango was given.
10110 if test "${enable_arttango+set}" = set; then
10111 enableval=$enable_arttango;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10115 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10120 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10125 eval "$wx_cv_use_arttango"
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10134 result=$wxUSE_ARTPROVIDER_TANGO
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10153 # Check whether --enable-bmpbutton was given.
10154 if test "${enable_bmpbutton+set}" = set; then
10155 enableval=$enable_bmpbutton;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10159 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10164 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10169 eval "$wx_cv_use_bmpbutton"
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_BMPBUTTON = no; then
10178 result=$wxUSE_BMPBUTTON
10181 { echo "$as_me:$LINENO: result: $result" >&5
10182 echo "${ECHO_T}$result" >&6; }
10186 defaultval=$wxUSE_ALL_FEATURES
10187 if test -z "$defaultval"; then
10188 if test x"$enablestring" = xdisable; then
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10197 # Check whether --enable-bmpcombobox was given.
10198 if test "${enable_bmpcombobox+set}" = set; then
10199 enableval=$enable_bmpcombobox;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10203 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10208 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10213 eval "$wx_cv_use_bmpcombobox"
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_BITMAPCOMBOBOX = no; then
10222 result=$wxUSE_BITMAPCOMBOBOX
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10241 # Check whether --enable-button was given.
10242 if test "${enable_button+set}" = set; then
10243 enableval=$enable_button;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_button='wxUSE_BUTTON=yes'
10247 wx_cv_use_button='wxUSE_BUTTON=no'
10252 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10257 eval "$wx_cv_use_button"
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_BUTTON = no; then
10266 result=$wxUSE_BUTTON
10269 { echo "$as_me:$LINENO: result: $result" >&5
10270 echo "${ECHO_T}$result" >&6; }
10274 defaultval=$wxUSE_ALL_FEATURES
10275 if test -z "$defaultval"; then
10276 if test x"$enablestring" = xdisable; then
10283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10285 # Check whether --enable-calendar was given.
10286 if test "${enable_calendar+set}" = set; then
10287 enableval=$enable_calendar;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10291 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10296 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10301 eval "$wx_cv_use_calendar"
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_CALCTRL = no; then
10310 result=$wxUSE_CALCTRL
10313 { echo "$as_me:$LINENO: result: $result" >&5
10314 echo "${ECHO_T}$result" >&6; }
10318 defaultval=$wxUSE_ALL_FEATURES
10319 if test -z "$defaultval"; then
10320 if test x"$enablestring" = xdisable; then
10327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10329 # Check whether --enable-caret was given.
10330 if test "${enable_caret+set}" = set; then
10331 enableval=$enable_caret;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_caret='wxUSE_CARET=yes'
10335 wx_cv_use_caret='wxUSE_CARET=no'
10340 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10345 eval "$wx_cv_use_caret"
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_CARET = no; then
10354 result=$wxUSE_CARET
10357 { echo "$as_me:$LINENO: result: $result" >&5
10358 echo "${ECHO_T}$result" >&6; }
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10373 # Check whether --enable-checkbox was given.
10374 if test "${enable_checkbox+set}" = set; then
10375 enableval=$enable_checkbox;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10379 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10384 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10389 eval "$wx_cv_use_checkbox"
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_CHECKBOX = no; then
10398 result=$wxUSE_CHECKBOX
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10406 defaultval=$wxUSE_ALL_FEATURES
10407 if test -z "$defaultval"; then
10408 if test x"$enablestring" = xdisable; then
10415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10417 # Check whether --enable-checklst was given.
10418 if test "${enable_checklst+set}" = set; then
10419 enableval=$enable_checklst;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10423 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10428 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10433 eval "$wx_cv_use_checklst"
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_CHECKLST = no; then
10442 result=$wxUSE_CHECKLST
10445 { echo "$as_me:$LINENO: result: $result" >&5
10446 echo "${ECHO_T}$result" >&6; }
10450 defaultval=$wxUSE_ALL_FEATURES
10451 if test -z "$defaultval"; then
10452 if test x"$enablestring" = xdisable; then
10459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10461 # Check whether --enable-choice was given.
10462 if test "${enable_choice+set}" = set; then
10463 enableval=$enable_choice;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_choice='wxUSE_CHOICE=yes'
10467 wx_cv_use_choice='wxUSE_CHOICE=no'
10472 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10477 eval "$wx_cv_use_choice"
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_CHOICE = no; then
10486 result=$wxUSE_CHOICE
10489 { echo "$as_me:$LINENO: result: $result" >&5
10490 echo "${ECHO_T}$result" >&6; }
10494 defaultval=$wxUSE_ALL_FEATURES
10495 if test -z "$defaultval"; then
10496 if test x"$enablestring" = xdisable; then
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10505 # Check whether --enable-choicebook was given.
10506 if test "${enable_choicebook+set}" = set; then
10507 enableval=$enable_choicebook;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10511 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10516 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10521 eval "$wx_cv_use_choicebook"
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_CHOICEBOOK = no; then
10530 result=$wxUSE_CHOICEBOOK
10533 { echo "$as_me:$LINENO: result: $result" >&5
10534 echo "${ECHO_T}$result" >&6; }
10538 defaultval=$wxUSE_ALL_FEATURES
10539 if test -z "$defaultval"; then
10540 if test x"$enablestring" = xdisable; then
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10549 # Check whether --enable-collpane was given.
10550 if test "${enable_collpane+set}" = set; then
10551 enableval=$enable_collpane;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10555 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10560 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10565 eval "$wx_cv_use_collpane"
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_COLLPANE = no; then
10574 result=$wxUSE_COLLPANE
10577 { echo "$as_me:$LINENO: result: $result" >&5
10578 echo "${ECHO_T}$result" >&6; }
10582 defaultval=$wxUSE_ALL_FEATURES
10583 if test -z "$defaultval"; then
10584 if test x"$enablestring" = xdisable; then
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10593 # Check whether --enable-colourpicker was given.
10594 if test "${enable_colourpicker+set}" = set; then
10595 enableval=$enable_colourpicker;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10599 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10604 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10609 eval "$wx_cv_use_colourpicker"
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_COLOURPICKERCTRL = no; then
10618 result=$wxUSE_COLOURPICKERCTRL
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10637 # Check whether --enable-combobox was given.
10638 if test "${enable_combobox+set}" = set; then
10639 enableval=$enable_combobox;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10643 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10648 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10653 eval "$wx_cv_use_combobox"
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_COMBOBOX = no; then
10662 result=$wxUSE_COMBOBOX
10665 { echo "$as_me:$LINENO: result: $result" >&5
10666 echo "${ECHO_T}$result" >&6; }
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10681 # Check whether --enable-comboctrl was given.
10682 if test "${enable_comboctrl+set}" = set; then
10683 enableval=$enable_comboctrl;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10687 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10692 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10697 eval "$wx_cv_use_comboctrl"
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_COMBOCTRL = no; then
10706 result=$wxUSE_COMBOCTRL
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10725 # Check whether --enable-commandlinkbutton was given.
10726 if test "${enable_commandlinkbutton+set}" = set; then
10727 enableval=$enable_commandlinkbutton;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10731 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10736 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10741 eval "$wx_cv_use_commandlinkbutton"
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_COMMANDLINKBUTTON = no; then
10750 result=$wxUSE_COMMANDLINKBUTTON
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10758 defaultval=$wxUSE_ALL_FEATURES
10759 if test -z "$defaultval"; then
10760 if test x"$enablestring" = xdisable; then
10767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10769 # Check whether --enable-dataviewctrl was given.
10770 if test "${enable_dataviewctrl+set}" = set; then
10771 enableval=$enable_dataviewctrl;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10775 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10780 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10785 eval "$wx_cv_use_dataviewctrl"
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_DATAVIEWCTRL = no; then
10794 result=$wxUSE_DATAVIEWCTRL
10797 { echo "$as_me:$LINENO: result: $result" >&5
10798 echo "${ECHO_T}$result" >&6; }
10802 defaultval=$wxUSE_ALL_FEATURES
10803 if test -z "$defaultval"; then
10804 if test x"$enablestring" = xdisable; then
10811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10813 # Check whether --enable-datepick was given.
10814 if test "${enable_datepick+set}" = set; then
10815 enableval=$enable_datepick;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10819 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10824 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10829 eval "$wx_cv_use_datepick"
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_DATEPICKCTRL = no; then
10838 result=$wxUSE_DATEPICKCTRL
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10857 # Check whether --enable-detect_sm was given.
10858 if test "${enable_detect_sm+set}" = set; then
10859 enableval=$enable_detect_sm;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10863 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10868 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10873 eval "$wx_cv_use_detect_sm"
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_DETECT_SM = no; then
10882 result=$wxUSE_DETECT_SM
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10901 # Check whether --enable-dirpicker was given.
10902 if test "${enable_dirpicker+set}" = set; then
10903 enableval=$enable_dirpicker;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10907 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10912 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10917 eval "$wx_cv_use_dirpicker"
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_DIRPICKERCTRL = no; then
10926 result=$wxUSE_DIRPICKERCTRL
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10945 # Check whether --enable-display was given.
10946 if test "${enable_display+set}" = set; then
10947 enableval=$enable_display;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_display='wxUSE_DISPLAY=yes'
10951 wx_cv_use_display='wxUSE_DISPLAY=no'
10956 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10961 eval "$wx_cv_use_display"
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_DISPLAY = no; then
10970 result=$wxUSE_DISPLAY
10973 { echo "$as_me:$LINENO: result: $result" >&5
10974 echo "${ECHO_T}$result" >&6; }
10978 defaultval=$wxUSE_ALL_FEATURES
10979 if test -z "$defaultval"; then
10980 if test x"$enablestring" = xdisable; then
10987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10989 # Check whether --enable-editablebox was given.
10990 if test "${enable_editablebox+set}" = set; then
10991 enableval=$enable_editablebox;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10995 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11000 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11005 eval "$wx_cv_use_editablebox"
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_EDITABLELISTBOX = no; then
11014 result=$wxUSE_EDITABLELISTBOX
11017 { echo "$as_me:$LINENO: result: $result" >&5
11018 echo "${ECHO_T}$result" >&6; }
11022 defaultval=$wxUSE_ALL_FEATURES
11023 if test -z "$defaultval"; then
11024 if test x"$enablestring" = xdisable; then
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11033 # Check whether --enable-filectrl was given.
11034 if test "${enable_filectrl+set}" = set; then
11035 enableval=$enable_filectrl;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11039 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11044 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11049 eval "$wx_cv_use_filectrl"
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_FILECTRL = no; then
11058 result=$wxUSE_FILECTRL
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11077 # Check whether --enable-filepicker was given.
11078 if test "${enable_filepicker+set}" = set; then
11079 enableval=$enable_filepicker;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11083 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11088 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11093 eval "$wx_cv_use_filepicker"
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_FILEPICKERCTRL = no; then
11102 result=$wxUSE_FILEPICKERCTRL
11105 { echo "$as_me:$LINENO: result: $result" >&5
11106 echo "${ECHO_T}$result" >&6; }
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11121 # Check whether --enable-fontpicker was given.
11122 if test "${enable_fontpicker+set}" = set; then
11123 enableval=$enable_fontpicker;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11127 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11132 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11137 eval "$wx_cv_use_fontpicker"
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_FONTPICKERCTRL = no; then
11146 result=$wxUSE_FONTPICKERCTRL
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11165 # Check whether --enable-gauge was given.
11166 if test "${enable_gauge+set}" = set; then
11167 enableval=$enable_gauge;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11171 wx_cv_use_gauge='wxUSE_GAUGE=no'
11176 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11181 eval "$wx_cv_use_gauge"
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_GAUGE = no; then
11190 result=$wxUSE_GAUGE
11193 { echo "$as_me:$LINENO: result: $result" >&5
11194 echo "${ECHO_T}$result" >&6; }
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11209 # Check whether --enable-grid was given.
11210 if test "${enable_grid+set}" = set; then
11211 enableval=$enable_grid;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_grid='wxUSE_GRID=yes'
11215 wx_cv_use_grid='wxUSE_GRID=no'
11220 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11225 eval "$wx_cv_use_grid"
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_GRID = no; then
11237 { echo "$as_me:$LINENO: result: $result" >&5
11238 echo "${ECHO_T}$result" >&6; }
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11253 # Check whether --enable-headerctrl was given.
11254 if test "${enable_headerctrl+set}" = set; then
11255 enableval=$enable_headerctrl;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11259 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11264 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11269 eval "$wx_cv_use_headerctrl"
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_HEADERCTRL = no; then
11278 result=$wxUSE_HEADERCTRL
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11297 # Check whether --enable-hyperlink was given.
11298 if test "${enable_hyperlink+set}" = set; then
11299 enableval=$enable_hyperlink;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11303 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11308 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11313 eval "$wx_cv_use_hyperlink"
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_HYPERLINKCTRL = no; then
11322 result=$wxUSE_HYPERLINKCTRL
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11341 # Check whether --enable-imaglist was given.
11342 if test "${enable_imaglist+set}" = set; then
11343 enableval=$enable_imaglist;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11347 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11352 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11357 eval "$wx_cv_use_imaglist"
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_IMAGLIST = no; then
11366 result=$wxUSE_IMAGLIST
11369 { echo "$as_me:$LINENO: result: $result" >&5
11370 echo "${ECHO_T}$result" >&6; }
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11385 # Check whether --enable-infobar was given.
11386 if test "${enable_infobar+set}" = set; then
11387 enableval=$enable_infobar;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11391 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11396 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11401 eval "$wx_cv_use_infobar"
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_INFOBAR = no; then
11410 result=$wxUSE_INFOBAR
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11429 # Check whether --enable-listbook was given.
11430 if test "${enable_listbook+set}" = set; then
11431 enableval=$enable_listbook;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11435 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11440 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11445 eval "$wx_cv_use_listbook"
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_LISTBOOK = no; then
11454 result=$wxUSE_LISTBOOK
11457 { echo "$as_me:$LINENO: result: $result" >&5
11458 echo "${ECHO_T}$result" >&6; }
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11473 # Check whether --enable-listbox was given.
11474 if test "${enable_listbox+set}" = set; then
11475 enableval=$enable_listbox;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11479 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11484 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11489 eval "$wx_cv_use_listbox"
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_LISTBOX = no; then
11498 result=$wxUSE_LISTBOX
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11517 # Check whether --enable-listctrl was given.
11518 if test "${enable_listctrl+set}" = set; then
11519 enableval=$enable_listctrl;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11523 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11528 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11533 eval "$wx_cv_use_listctrl"
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_LISTCTRL = no; then
11542 result=$wxUSE_LISTCTRL
11545 { echo "$as_me:$LINENO: result: $result" >&5
11546 echo "${ECHO_T}$result" >&6; }
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11561 # Check whether --enable-notebook was given.
11562 if test "${enable_notebook+set}" = set; then
11563 enableval=$enable_notebook;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11567 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11572 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11577 eval "$wx_cv_use_notebook"
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_NOTEBOOK = no; then
11586 result=$wxUSE_NOTEBOOK
11589 { echo "$as_me:$LINENO: result: $result" >&5
11590 echo "${ECHO_T}$result" >&6; }
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11605 # Check whether --enable-notifmsg was given.
11606 if test "${enable_notifmsg+set}" = set; then
11607 enableval=$enable_notifmsg;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11611 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11616 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11621 eval "$wx_cv_use_notifmsg"
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11630 result=$wxUSE_NOTIFICATION_MESSAGE
11633 { echo "$as_me:$LINENO: result: $result" >&5
11634 echo "${ECHO_T}$result" >&6; }
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11649 # Check whether --enable-odcombobox was given.
11650 if test "${enable_odcombobox+set}" = set; then
11651 enableval=$enable_odcombobox;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11655 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11660 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11665 eval "$wx_cv_use_odcombobox"
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_ODCOMBOBOX = no; then
11674 result=$wxUSE_ODCOMBOBOX
11677 { echo "$as_me:$LINENO: result: $result" >&5
11678 echo "${ECHO_T}$result" >&6; }
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11693 # Check whether --enable-popupwin was given.
11694 if test "${enable_popupwin+set}" = set; then
11695 enableval=$enable_popupwin;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11699 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11704 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11709 eval "$wx_cv_use_popupwin"
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_POPUPWIN = no; then
11718 result=$wxUSE_POPUPWIN
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11737 # Check whether --enable-radiobox was given.
11738 if test "${enable_radiobox+set}" = set; then
11739 enableval=$enable_radiobox;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11743 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11748 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11753 eval "$wx_cv_use_radiobox"
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_RADIOBOX = no; then
11762 result=$wxUSE_RADIOBOX
11765 { echo "$as_me:$LINENO: result: $result" >&5
11766 echo "${ECHO_T}$result" >&6; }
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11781 # Check whether --enable-radiobtn was given.
11782 if test "${enable_radiobtn+set}" = set; then
11783 enableval=$enable_radiobtn;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11787 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11792 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11797 eval "$wx_cv_use_radiobtn"
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_RADIOBTN = no; then
11806 result=$wxUSE_RADIOBTN
11809 { echo "$as_me:$LINENO: result: $result" >&5
11810 echo "${ECHO_T}$result" >&6; }
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11825 # Check whether --enable-richmsgdlg was given.
11826 if test "${enable_richmsgdlg+set}" = set; then
11827 enableval=$enable_richmsgdlg;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11831 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11836 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11841 eval "$wx_cv_use_richmsgdlg"
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_RICHMSGDLG = no; then
11850 result=$wxUSE_RICHMSGDLG
11853 { echo "$as_me:$LINENO: result: $result" >&5
11854 echo "${ECHO_T}$result" >&6; }
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11869 # Check whether --enable-rearrangectrl was given.
11870 if test "${enable_rearrangectrl+set}" = set; then
11871 enableval=$enable_rearrangectrl;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11875 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11880 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11885 eval "$wx_cv_use_rearrangectrl"
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_REARRANGECTRL = no; then
11894 result=$wxUSE_REARRANGECTRL
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11913 # Check whether --enable-sash was given.
11914 if test "${enable_sash+set}" = set; then
11915 enableval=$enable_sash;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_sash='wxUSE_SASH=yes'
11919 wx_cv_use_sash='wxUSE_SASH=no'
11924 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11929 eval "$wx_cv_use_sash"
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_SASH = no; then
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11957 # Check whether --enable-scrollbar was given.
11958 if test "${enable_scrollbar+set}" = set; then
11959 enableval=$enable_scrollbar;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11963 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11968 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11973 eval "$wx_cv_use_scrollbar"
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_SCROLLBAR = no; then
11982 result=$wxUSE_SCROLLBAR
11985 { echo "$as_me:$LINENO: result: $result" >&5
11986 echo "${ECHO_T}$result" >&6; }
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12001 # Check whether --enable-searchctrl was given.
12002 if test "${enable_searchctrl+set}" = set; then
12003 enableval=$enable_searchctrl;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12007 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12012 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12017 eval "$wx_cv_use_searchctrl"
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_SEARCHCTRL = no; then
12026 result=$wxUSE_SEARCHCTRL
12029 { echo "$as_me:$LINENO: result: $result" >&5
12030 echo "${ECHO_T}$result" >&6; }
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12045 # Check whether --enable-slider was given.
12046 if test "${enable_slider+set}" = set; then
12047 enableval=$enable_slider;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_slider='wxUSE_SLIDER=yes'
12051 wx_cv_use_slider='wxUSE_SLIDER=no'
12056 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12061 eval "$wx_cv_use_slider"
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_SLIDER = no; then
12070 result=$wxUSE_SLIDER
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12089 # Check whether --enable-spinbtn was given.
12090 if test "${enable_spinbtn+set}" = set; then
12091 enableval=$enable_spinbtn;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12095 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12100 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12105 eval "$wx_cv_use_spinbtn"
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_SPINBTN = no; then
12114 result=$wxUSE_SPINBTN
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12133 # Check whether --enable-spinctrl was given.
12134 if test "${enable_spinctrl+set}" = set; then
12135 enableval=$enable_spinctrl;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12139 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12144 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12149 eval "$wx_cv_use_spinctrl"
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_SPINCTRL = no; then
12158 result=$wxUSE_SPINCTRL
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12177 # Check whether --enable-splitter was given.
12178 if test "${enable_splitter+set}" = set; then
12179 enableval=$enable_splitter;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12183 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12188 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12193 eval "$wx_cv_use_splitter"
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_SPLITTER = no; then
12202 result=$wxUSE_SPLITTER
12205 { echo "$as_me:$LINENO: result: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12221 # Check whether --enable-statbmp was given.
12222 if test "${enable_statbmp+set}" = set; then
12223 enableval=$enable_statbmp;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12227 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12232 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12237 eval "$wx_cv_use_statbmp"
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_STATBMP = no; then
12246 result=$wxUSE_STATBMP
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12265 # Check whether --enable-statbox was given.
12266 if test "${enable_statbox+set}" = set; then
12267 enableval=$enable_statbox;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12271 wx_cv_use_statbox='wxUSE_STATBOX=no'
12276 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12281 eval "$wx_cv_use_statbox"
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_STATBOX = no; then
12290 result=$wxUSE_STATBOX
12293 { echo "$as_me:$LINENO: result: $result" >&5
12294 echo "${ECHO_T}$result" >&6; }
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12309 # Check whether --enable-statline was given.
12310 if test "${enable_statline+set}" = set; then
12311 enableval=$enable_statline;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_statline='wxUSE_STATLINE=yes'
12315 wx_cv_use_statline='wxUSE_STATLINE=no'
12320 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12325 eval "$wx_cv_use_statline"
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_STATLINE = no; then
12334 result=$wxUSE_STATLINE
12337 { echo "$as_me:$LINENO: result: $result" >&5
12338 echo "${ECHO_T}$result" >&6; }
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12352 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12353 # Check whether --enable-stattext was given.
12354 if test "${enable_stattext+set}" = set; then
12355 enableval=$enable_stattext;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12359 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12364 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12369 eval "$wx_cv_use_stattext"
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_STATTEXT = no; then
12378 result=$wxUSE_STATTEXT
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12397 # Check whether --enable-statusbar was given.
12398 if test "${enable_statusbar+set}" = set; then
12399 enableval=$enable_statusbar;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12403 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12408 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12413 eval "$wx_cv_use_statusbar"
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_STATUSBAR = no; then
12422 result=$wxUSE_STATUSBAR
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12441 # Check whether --enable-taskbaricon was given.
12442 if test "${enable_taskbaricon+set}" = set; then
12443 enableval=$enable_taskbaricon;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12447 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12452 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12457 eval "$wx_cv_use_taskbaricon"
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_TASKBARICON = no; then
12466 result=$wxUSE_TASKBARICON
12469 { echo "$as_me:$LINENO: result: $result" >&5
12470 echo "${ECHO_T}$result" >&6; }
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12485 # Check whether --enable-tbarnative was given.
12486 if test "${enable_tbarnative+set}" = set; then
12487 enableval=$enable_tbarnative;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12491 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12496 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12501 eval "$wx_cv_use_tbarnative"
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_TOOLBAR_NATIVE = no; then
12510 result=$wxUSE_TOOLBAR_NATIVE
12513 { echo "$as_me:$LINENO: result: $result" >&5
12514 echo "${ECHO_T}$result" >&6; }
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12529 # Check whether --enable-textctrl was given.
12530 if test "${enable_textctrl+set}" = set; then
12531 enableval=$enable_textctrl;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12535 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12540 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12545 eval "$wx_cv_use_textctrl"
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TEXTCTRL = no; then
12554 result=$wxUSE_TEXTCTRL
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 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}-tipwindow" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12573 # Check whether --enable-tipwindow was given.
12574 if test "${enable_tipwindow+set}" = set; then
12575 enableval=$enable_tipwindow;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12579 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12584 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12589 eval "$wx_cv_use_tipwindow"
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_TIPWINDOW = no; then
12598 result=$wxUSE_TIPWINDOW
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}-togglebtn" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12617 # Check whether --enable-togglebtn was given.
12618 if test "${enable_togglebtn+set}" = set; then
12619 enableval=$enable_togglebtn;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12623 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12628 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12633 eval "$wx_cv_use_togglebtn"
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_TOGGLEBTN = no; then
12642 result=$wxUSE_TOGGLEBTN
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}-toolbar" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12661 # Check whether --enable-toolbar was given.
12662 if test "${enable_toolbar+set}" = set; then
12663 enableval=$enable_toolbar;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12667 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12672 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12677 eval "$wx_cv_use_toolbar"
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_TOOLBAR = no; then
12686 result=$wxUSE_TOOLBAR
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}-toolbook" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12705 # Check whether --enable-toolbook was given.
12706 if test "${enable_toolbook+set}" = set; then
12707 enableval=$enable_toolbook;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12711 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12716 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12721 eval "$wx_cv_use_toolbook"
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_TOOLBOOK = no; then
12730 result=$wxUSE_TOOLBOOK
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}-treebook" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12749 # Check whether --enable-treebook was given.
12750 if test "${enable_treebook+set}" = set; then
12751 enableval=$enable_treebook;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12755 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12760 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12765 eval "$wx_cv_use_treebook"
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TREEBOOK = no; then
12774 result=$wxUSE_TREEBOOK
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}-treectrl" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12793 # Check whether --enable-treectrl was given.
12794 if test "${enable_treectrl+set}" = set; then
12795 enableval=$enable_treectrl;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12799 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12804 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12809 eval "$wx_cv_use_treectrl"
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_TREECTRL = no; then
12818 result=$wxUSE_TREECTRL
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}-treelist" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
12837 # Check whether --enable-treelist was given.
12838 if test "${enable_treelist+set}" = set; then
12839 enableval=$enable_treelist;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12843 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12848 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12853 eval "$wx_cv_use_treelist"
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_TREELISTCTRL = no; then
12862 result=$wxUSE_TREELISTCTRL
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12883 # Check whether --enable-commondlg was given.
12884 if test "${enable_commondlg+set}" = set; then
12885 enableval=$enable_commondlg;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12889 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12894 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12899 eval "$wx_cv_use_commondlg"
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_COMMONDLGS = no; then
12908 result=$wxUSE_COMMONDLGS
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12927 # Check whether --enable-aboutdlg was given.
12928 if test "${enable_aboutdlg+set}" = set; then
12929 enableval=$enable_aboutdlg;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12933 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12938 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12943 eval "$wx_cv_use_aboutdlg"
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_ABOUTDLG = no; then
12952 result=$wxUSE_ABOUTDLG
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12971 # Check whether --enable-choicedlg was given.
12972 if test "${enable_choicedlg+set}" = set; then
12973 enableval=$enable_choicedlg;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12977 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12982 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12987 eval "$wx_cv_use_choicedlg"
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_CHOICEDLG = no; then
12996 result=$wxUSE_CHOICEDLG
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13015 # Check whether --enable-coldlg was given.
13016 if test "${enable_coldlg+set}" = set; then
13017 enableval=$enable_coldlg;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13021 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13026 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13031 eval "$wx_cv_use_coldlg"
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_COLOURDLG = no; then
13040 result=$wxUSE_COLOURDLG
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13048 defaultval=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x"$enablestring" = xdisable; then
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13059 # Check whether --enable-filedlg was given.
13060 if test "${enable_filedlg+set}" = set; then
13061 enableval=$enable_filedlg;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13065 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13070 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13075 eval "$wx_cv_use_filedlg"
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_FILEDLG = no; then
13084 result=$wxUSE_FILEDLG
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13103 # Check whether --enable-finddlg was given.
13104 if test "${enable_finddlg+set}" = set; then
13105 enableval=$enable_finddlg;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13109 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13114 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13119 eval "$wx_cv_use_finddlg"
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_FINDREPLDLG = no; then
13128 result=$wxUSE_FINDREPLDLG
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13147 # Check whether --enable-fontdlg was given.
13148 if test "${enable_fontdlg+set}" = set; then
13149 enableval=$enable_fontdlg;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13153 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13158 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13163 eval "$wx_cv_use_fontdlg"
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_FONTDLG = no; then
13172 result=$wxUSE_FONTDLG
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13191 # Check whether --enable-dirdlg was given.
13192 if test "${enable_dirdlg+set}" = set; then
13193 enableval=$enable_dirdlg;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13197 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13202 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13207 eval "$wx_cv_use_dirdlg"
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_DIRDLG = no; then
13216 result=$wxUSE_DIRDLG
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13235 # Check whether --enable-msgdlg was given.
13236 if test "${enable_msgdlg+set}" = set; then
13237 enableval=$enable_msgdlg;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13241 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13246 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13251 eval "$wx_cv_use_msgdlg"
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_MSGDLG = no; then
13260 result=$wxUSE_MSGDLG
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}-numberdlg" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13279 # Check whether --enable-numberdlg was given.
13280 if test "${enable_numberdlg+set}" = set; then
13281 enableval=$enable_numberdlg;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13285 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13290 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13295 eval "$wx_cv_use_numberdlg"
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_NUMBERDLG = no; then
13304 result=$wxUSE_NUMBERDLG
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}-splash" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13323 # Check whether --enable-splash was given.
13324 if test "${enable_splash+set}" = set; then
13325 enableval=$enable_splash;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_splash='wxUSE_SPLASH=yes'
13329 wx_cv_use_splash='wxUSE_SPLASH=no'
13334 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13339 eval "$wx_cv_use_splash"
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_SPLASH = no; then
13348 result=$wxUSE_SPLASH
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}-textdlg" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13367 # Check whether --enable-textdlg was given.
13368 if test "${enable_textdlg+set}" = set; then
13369 enableval=$enable_textdlg;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13373 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13378 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13383 eval "$wx_cv_use_textdlg"
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_TEXTDLG = no; then
13392 result=$wxUSE_TEXTDLG
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}-tipdlg" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13411 # Check whether --enable-tipdlg was given.
13412 if test "${enable_tipdlg+set}" = set; then
13413 enableval=$enable_tipdlg;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13417 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13422 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13427 eval "$wx_cv_use_tipdlg"
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_STARTUP_TIPS = no; then
13436 result=$wxUSE_STARTUP_TIPS
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}-progressdlg" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13455 # Check whether --enable-progressdlg was given.
13456 if test "${enable_progressdlg+set}" = set; then
13457 enableval=$enable_progressdlg;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13461 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13466 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13471 eval "$wx_cv_use_progressdlg"
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_PROGRESSDLG = no; then
13480 result=$wxUSE_PROGRESSDLG
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}-wizarddlg" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13499 # Check whether --enable-wizarddlg was given.
13500 if test "${enable_wizarddlg+set}" = set; then
13501 enableval=$enable_wizarddlg;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13505 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13510 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13515 eval "$wx_cv_use_wizarddlg"
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_WIZARDDLG = no; then
13524 result=$wxUSE_WIZARDDLG
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13545 # Check whether --enable-menus was given.
13546 if test "${enable_menus+set}" = set; then
13547 enableval=$enable_menus;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_menus='wxUSE_MENUS=yes'
13551 wx_cv_use_menus='wxUSE_MENUS=no'
13556 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13561 eval "$wx_cv_use_menus"
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_MENUS = no; then
13570 result=$wxUSE_MENUS
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13589 # Check whether --enable-miniframe was given.
13590 if test "${enable_miniframe+set}" = set; then
13591 enableval=$enable_miniframe;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13595 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13600 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13605 eval "$wx_cv_use_miniframe"
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_MINIFRAME = no; then
13614 result=$wxUSE_MINIFRAME
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13633 # Check whether --enable-tooltips was given.
13634 if test "${enable_tooltips+set}" = set; then
13635 enableval=$enable_tooltips;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13639 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13644 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13649 eval "$wx_cv_use_tooltips"
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_TOOLTIPS = no; then
13658 result=$wxUSE_TOOLTIPS
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13677 # Check whether --enable-splines was given.
13678 if test "${enable_splines+set}" = set; then
13679 enableval=$enable_splines;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_splines='wxUSE_SPLINES=yes'
13683 wx_cv_use_splines='wxUSE_SPLINES=no'
13688 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13693 eval "$wx_cv_use_splines"
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_SPLINES = no; then
13702 result=$wxUSE_SPLINES
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13721 # Check whether --enable-mousewheel was given.
13722 if test "${enable_mousewheel+set}" = set; then
13723 enableval=$enable_mousewheel;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13727 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13732 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13737 eval "$wx_cv_use_mousewheel"
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_MOUSEWHEEL = no; then
13746 result=$wxUSE_MOUSEWHEEL
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 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}-validators" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13765 # Check whether --enable-validators was given.
13766 if test "${enable_validators+set}" = set; then
13767 enableval=$enable_validators;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13771 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13776 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13781 eval "$wx_cv_use_validators"
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_VALIDATORS = no; then
13790 result=$wxUSE_VALIDATORS
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}-busyinfo" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13809 # Check whether --enable-busyinfo was given.
13810 if test "${enable_busyinfo+set}" = set; then
13811 enableval=$enable_busyinfo;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13815 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13820 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13825 eval "$wx_cv_use_busyinfo"
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_BUSYINFO = no; then
13834 result=$wxUSE_BUSYINFO
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}-hotkey" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
13853 # Check whether --enable-hotkey was given.
13854 if test "${enable_hotkey+set}" = set; then
13855 enableval=$enable_hotkey;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
13859 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
13864 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
13869 eval "$wx_cv_use_hotkey"
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_HOTKEY = no; then
13878 result=$wxUSE_HOTKEY
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}-joystick" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13897 # Check whether --enable-joystick was given.
13898 if test "${enable_joystick+set}" = set; then
13899 enableval=$enable_joystick;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13903 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13908 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13913 eval "$wx_cv_use_joystick"
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_JOYSTICK = no; then
13922 result=$wxUSE_JOYSTICK
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}-metafile" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13941 # Check whether --enable-metafile was given.
13942 if test "${enable_metafile+set}" = set; then
13943 enableval=$enable_metafile;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13947 wx_cv_use_metafile='wxUSE_METAFILE=no'
13952 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13957 eval "$wx_cv_use_metafile"
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_METAFILE = no; then
13966 result=$wxUSE_METAFILE
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}-dragimage" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13985 # Check whether --enable-dragimage was given.
13986 if test "${enable_dragimage+set}" = set; then
13987 enableval=$enable_dragimage;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13991 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13996 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14001 eval "$wx_cv_use_dragimage"
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_DRAGIMAGE = no; then
14010 result=$wxUSE_DRAGIMAGE
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}-accessibility" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14029 # Check whether --enable-accessibility was given.
14030 if test "${enable_accessibility+set}" = set; then
14031 enableval=$enable_accessibility;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14035 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14040 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14045 eval "$wx_cv_use_accessibility"
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_ACCESSIBILITY = no; then
14054 result=$wxUSE_ACCESSIBILITY
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}-uiactionsim" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14073 # Check whether --enable-uiactionsim was given.
14074 if test "${enable_uiactionsim+set}" = set; then
14075 enableval=$enable_uiactionsim;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14079 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14084 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14089 eval "$wx_cv_use_uiactionsim"
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_UIACTIONSIMULATOR = no; then
14098 result=$wxUSE_UIACTIONSIMULATOR
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}-dctransform" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14117 # Check whether --enable-dctransform was given.
14118 if test "${enable_dctransform+set}" = set; then
14119 enableval=$enable_dctransform;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14123 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14128 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14133 eval "$wx_cv_use_dctransform"
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14142 result=$wxUSE_DC_TRANSFORM_MATRIX
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}-palette" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14163 # Check whether --enable-palette was given.
14164 if test "${enable_palette+set}" = set; then
14165 enableval=$enable_palette;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_palette='wxUSE_PALETTE=yes'
14169 wx_cv_use_palette='wxUSE_PALETTE=no'
14174 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14179 eval "$wx_cv_use_palette"
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_PALETTE = no; then
14188 result=$wxUSE_PALETTE
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}-image" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14207 # Check whether --enable-image was given.
14208 if test "${enable_image+set}" = set; then
14209 enableval=$enable_image;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_image='wxUSE_IMAGE=yes'
14213 wx_cv_use_image='wxUSE_IMAGE=no'
14218 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14223 eval "$wx_cv_use_image"
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_IMAGE = no; then
14232 result=$wxUSE_IMAGE
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}-gif" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14251 # Check whether --enable-gif was given.
14252 if test "${enable_gif+set}" = set; then
14253 enableval=$enable_gif;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_gif='wxUSE_GIF=yes'
14257 wx_cv_use_gif='wxUSE_GIF=no'
14262 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14267 eval "$wx_cv_use_gif"
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_GIF = no; then
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}-pcx" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14295 # Check whether --enable-pcx was given.
14296 if test "${enable_pcx+set}" = set; then
14297 enableval=$enable_pcx;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_pcx='wxUSE_PCX=yes'
14301 wx_cv_use_pcx='wxUSE_PCX=no'
14306 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14311 eval "$wx_cv_use_pcx"
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_PCX = no; then
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}-tga" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14339 # Check whether --enable-tga was given.
14340 if test "${enable_tga+set}" = set; then
14341 enableval=$enable_tga;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_tga='wxUSE_TGA=yes'
14345 wx_cv_use_tga='wxUSE_TGA=no'
14350 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14355 eval "$wx_cv_use_tga"
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_TGA = no; then
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14372 defaultval=$wxUSE_ALL_FEATURES
14373 if test -z "$defaultval"; then
14374 if test x"$enablestring" = xdisable; then
14381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14383 # Check whether --enable-iff was given.
14384 if test "${enable_iff+set}" = set; then
14385 enableval=$enable_iff;
14386 if test "$enableval" = yes; then
14387 wx_cv_use_iff='wxUSE_IFF=yes'
14389 wx_cv_use_iff='wxUSE_IFF=no'
14394 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14399 eval "$wx_cv_use_iff"
14401 if test x"$enablestring" = xdisable; then
14402 if test $wxUSE_IFF = no; then
14411 { echo "$as_me:$LINENO: result: $result" >&5
14412 echo "${ECHO_T}$result" >&6; }
14416 defaultval=$wxUSE_ALL_FEATURES
14417 if test -z "$defaultval"; then
14418 if test x"$enablestring" = xdisable; then
14425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14426 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14427 # Check whether --enable-pnm was given.
14428 if test "${enable_pnm+set}" = set; then
14429 enableval=$enable_pnm;
14430 if test "$enableval" = yes; then
14431 wx_cv_use_pnm='wxUSE_PNM=yes'
14433 wx_cv_use_pnm='wxUSE_PNM=no'
14438 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14443 eval "$wx_cv_use_pnm"
14445 if test x"$enablestring" = xdisable; then
14446 if test $wxUSE_PNM = no; then
14455 { echo "$as_me:$LINENO: result: $result" >&5
14456 echo "${ECHO_T}$result" >&6; }
14460 defaultval=$wxUSE_ALL_FEATURES
14461 if test -z "$defaultval"; then
14462 if test x"$enablestring" = xdisable; then
14469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14470 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14471 # Check whether --enable-xpm was given.
14472 if test "${enable_xpm+set}" = set; then
14473 enableval=$enable_xpm;
14474 if test "$enableval" = yes; then
14475 wx_cv_use_xpm='wxUSE_XPM=yes'
14477 wx_cv_use_xpm='wxUSE_XPM=no'
14482 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14487 eval "$wx_cv_use_xpm"
14489 if test x"$enablestring" = xdisable; then
14490 if test $wxUSE_XPM = no; then
14499 { echo "$as_me:$LINENO: result: $result" >&5
14500 echo "${ECHO_T}$result" >&6; }
14504 defaultval=$wxUSE_ALL_FEATURES
14505 if test -z "$defaultval"; then
14506 if test x"$enablestring" = xdisable; then
14513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14514 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14515 # Check whether --enable-ico_cur was given.
14516 if test "${enable_ico_cur+set}" = set; then
14517 enableval=$enable_ico_cur;
14518 if test "$enableval" = yes; then
14519 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14521 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14526 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14531 eval "$wx_cv_use_ico_cur"
14533 if test x"$enablestring" = xdisable; then
14534 if test $wxUSE_ICO_CUR = no; then
14540 result=$wxUSE_ICO_CUR
14543 { echo "$as_me:$LINENO: result: $result" >&5
14544 echo "${ECHO_T}$result" >&6; }
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14561 # Check whether --enable-dccache was given.
14562 if test "${enable_dccache+set}" = set; then
14563 enableval=$enable_dccache;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14567 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14572 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14577 eval "$wx_cv_use_dccache"
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_DC_CACHEING = no; then
14586 result=$wxUSE_DC_CACHEING
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14605 # Check whether --enable-ps-in-msw was given.
14606 if test "${enable_ps_in_msw+set}" = set; then
14607 enableval=$enable_ps_in_msw;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14611 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14616 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14621 eval "$wx_cv_use_ps_in_msw"
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14630 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14633 { echo "$as_me:$LINENO: result: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14649 # Check whether --enable-ownerdrawn was given.
14650 if test "${enable_ownerdrawn+set}" = set; then
14651 enableval=$enable_ownerdrawn;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14655 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14660 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14665 eval "$wx_cv_use_ownerdrawn"
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_OWNER_DRAWN = no; then
14674 result=$wxUSE_OWNER_DRAWN
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14693 # Check whether --enable-uxtheme was given.
14694 if test "${enable_uxtheme+set}" = set; then
14695 enableval=$enable_uxtheme;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14699 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14704 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14709 eval "$wx_cv_use_uxtheme"
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_UXTHEME = no; then
14718 result=$wxUSE_UXTHEME
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14737 # Check whether --enable-wxdib was given.
14738 if test "${enable_wxdib+set}" = set; then
14739 enableval=$enable_wxdib;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_wxdib='wxUSE_DIB=yes'
14743 wx_cv_use_wxdib='wxUSE_DIB=no'
14748 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14753 eval "$wx_cv_use_wxdib"
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_DIB = no; then
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14769 if test "$wxUSE_MSW" != 1; then
14770 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14775 defaultval=$wxUSE_ALL_FEATURES
14776 if test -z "$defaultval"; then
14777 if test x"$enablestring" = xdisable; then
14784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14785 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14786 # Check whether --enable-autoidman was given.
14787 if test "${enable_autoidman+set}" = set; then
14788 enableval=$enable_autoidman;
14789 if test "$enableval" = yes; then
14790 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14792 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14797 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14802 eval "$wx_cv_use_autoidman"
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14811 result=$wxUSE_AUTOID_MANAGEMENT
14814 { echo "$as_me:$LINENO: result: $result" >&5
14815 echo "${ECHO_T}$result" >&6; }
14821 cat >confcache <<\_ACEOF
14822 # This file is a shell script that caches the results of configure
14823 # tests run on this system so they can be shared between configure
14824 # scripts and configure runs, see configure's option --config-cache.
14825 # It is not useful on other systems. If it contains results you don't
14826 # want to keep, you may remove or edit it.
14828 # config.status only pays attention to the cache file if you give it
14829 # the --recheck option to rerun configure.
14831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14833 # following values.
14837 # The following way of writing the cache mishandles newlines in values,
14838 # but we know of no workaround that is simple, portable, and efficient.
14839 # So, we kill variables containing newlines.
14840 # Ultrix sh set writes to stderr and can't be redirected directly,
14841 # and sets the high bit in the cache file unless we assign to the vars.
14843 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14844 eval ac_val=\$$ac_var
14848 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14849 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14852 _ | IFS | as_nl) ;; #(
14853 *) $as_unset $ac_var ;;
14859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14860 *${as_nl}ac_space=\ *)
14861 # `set' does not quote correctly, so add quotes (double-quote
14862 # substitution turns \\\\ into \\, and sed turns \\ into \).
14865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14868 # `set' quotes correctly as required by POSIX, so do not add quotes.
14869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14883 if test -w "$cache_file"; then
14884 test "x$cache_file" != "x/dev/null" &&
14885 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14886 echo "$as_me: updating cache $cache_file" >&6;}
14887 cat confcache >$cache_file
14889 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14890 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14897 ac_cpp='$CPP $CPPFLAGS'
14898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14901 if test -n "$ac_tool_prefix"; then
14902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14903 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14906 if test "${ac_cv_prog_CC+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 if test -n "$CC"; then
14910 ac_cv_prog_CC="$CC" # Let the user override the test.
14912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14913 for as_dir in $PATH
14916 test -z "$as_dir" && as_dir=.
14917 for ac_exec_ext in '' $ac_executable_extensions; do
14918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14919 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14930 if test -n "$CC"; then
14931 { echo "$as_me:$LINENO: result: $CC" >&5
14932 echo "${ECHO_T}$CC" >&6; }
14934 { echo "$as_me:$LINENO: result: no" >&5
14935 echo "${ECHO_T}no" >&6; }
14940 if test -z "$ac_cv_prog_CC"; then
14942 # Extract the first word of "gcc", so it can be a program name with args.
14943 set dummy gcc; ac_word=$2
14944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 if test -n "$ac_ct_CC"; then
14950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14953 for as_dir in $PATH
14956 test -z "$as_dir" && as_dir=.
14957 for ac_exec_ext in '' $ac_executable_extensions; do
14958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14959 ac_cv_prog_ac_ct_CC="gcc"
14960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14970 if test -n "$ac_ct_CC"; then
14971 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14972 echo "${ECHO_T}$ac_ct_CC" >&6; }
14974 { echo "$as_me:$LINENO: result: no" >&5
14975 echo "${ECHO_T}no" >&6; }
14978 if test "x$ac_ct_CC" = x; then
14981 case $cross_compiling:$ac_tool_warned in
14983 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14984 whose name does not start with the host triplet. If you think this
14985 configuration is useful to you, please write to autoconf@gnu.org." >&5
14986 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14987 whose name does not start with the host triplet. If you think this
14988 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14989 ac_tool_warned=yes ;;
14994 CC="$ac_cv_prog_CC"
14997 if test -z "$CC"; then
14998 if test -n "$ac_tool_prefix"; then
14999 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15000 set dummy ${ac_tool_prefix}cc; ac_word=$2
15001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CC+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 if test -n "$CC"; then
15007 ac_cv_prog_CC="$CC" # Let the user override the test.
15009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 for as_dir in $PATH
15013 test -z "$as_dir" && as_dir=.
15014 for ac_exec_ext in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CC="${ac_tool_prefix}cc"
15017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15027 if test -n "$CC"; then
15028 { echo "$as_me:$LINENO: result: $CC" >&5
15029 echo "${ECHO_T}$CC" >&6; }
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15038 if test -z "$CC"; then
15039 # Extract the first word of "cc", so it can be a program name with args.
15040 set dummy cc; ac_word=$2
15041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15043 if test "${ac_cv_prog_CC+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 if test -n "$CC"; then
15047 ac_cv_prog_CC="$CC" # Let the user override the test.
15049 ac_prog_rejected=no
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $PATH
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15058 ac_prog_rejected=yes
15062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15069 if test $ac_prog_rejected = yes; then
15070 # We found a bogon in the path, so make sure we never use it.
15071 set dummy $ac_cv_prog_CC
15073 if test $# != 0; then
15074 # We chose a different compiler from the bogus one.
15075 # However, it has the same basename, so the bogon will be chosen
15076 # first if we set CC to just the basename; use the full file name.
15078 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15084 if test -n "$CC"; then
15085 { echo "$as_me:$LINENO: result: $CC" >&5
15086 echo "${ECHO_T}$CC" >&6; }
15088 { echo "$as_me:$LINENO: result: no" >&5
15089 echo "${ECHO_T}no" >&6; }
15094 if test -z "$CC"; then
15095 if test -n "$ac_tool_prefix"; then
15096 for ac_prog in cl.exe
15098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15102 if test "${ac_cv_prog_CC+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 if test -n "$CC"; then
15106 ac_cv_prog_CC="$CC" # Let the user override the test.
15108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15109 for as_dir in $PATH
15112 test -z "$as_dir" && as_dir=.
15113 for ac_exec_ext in '' $ac_executable_extensions; do
15114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15115 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15126 if test -n "$CC"; then
15127 { echo "$as_me:$LINENO: result: $CC" >&5
15128 echo "${ECHO_T}$CC" >&6; }
15130 { echo "$as_me:$LINENO: result: no" >&5
15131 echo "${ECHO_T}no" >&6; }
15135 test -n "$CC" && break
15138 if test -z "$CC"; then
15140 for ac_prog in cl.exe
15142 # Extract the first word of "$ac_prog", so it can be a program name with args.
15143 set dummy $ac_prog; ac_word=$2
15144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 if test -n "$ac_ct_CC"; then
15150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15159 ac_cv_prog_ac_ct_CC="$ac_prog"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15170 if test -n "$ac_ct_CC"; then
15171 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15172 echo "${ECHO_T}$ac_ct_CC" >&6; }
15174 { echo "$as_me:$LINENO: result: no" >&5
15175 echo "${ECHO_T}no" >&6; }
15179 test -n "$ac_ct_CC" && break
15182 if test "x$ac_ct_CC" = x; then
15185 case $cross_compiling:$ac_tool_warned in
15187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15188 whose name does not start with the host triplet. If you think this
15189 configuration is useful to you, please write to autoconf@gnu.org." >&5
15190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15191 whose name does not start with the host triplet. If you think this
15192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15193 ac_tool_warned=yes ;;
15202 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15203 See \`config.log' for more details." >&5
15204 echo "$as_me: error: no acceptable C compiler found in \$PATH
15205 See \`config.log' for more details." >&2;}
15206 { (exit 1); exit 1; }; }
15208 # Provide some information about the compiler.
15209 echo "$as_me:$LINENO: checking for C compiler version" >&5
15210 ac_compiler=`set X $ac_compile; echo $2`
15211 { (ac_try="$ac_compiler --version >&5"
15212 case "(($ac_try" in
15213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15214 *) ac_try_echo=$ac_try;;
15216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15217 (eval "$ac_compiler --version >&5") 2>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }
15221 { (ac_try="$ac_compiler -v >&5"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_compiler -v >&5") 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }
15231 { (ac_try="$ac_compiler -V >&5"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_compiler -V >&5") 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }
15242 cat >conftest.$ac_ext <<_ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15257 ac_clean_files_save=$ac_clean_files
15258 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15259 # Try to create an executable without -o first, disregard a.out.
15260 # It will help us diagnose broken compilers, and finding out an intuition
15262 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15263 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15264 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15266 # List of possible output files, starting from the most likely.
15267 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15268 # only as a last resort. b.out is created by i960 compilers.
15269 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15271 # The IRIX 6 linker writes into existing files which may not be
15272 # executable, retaining their permissions. Remove them first so a
15273 # subsequent execution test works.
15275 for ac_file in $ac_files
15278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15284 if { (ac_try="$ac_link_default"
15285 case "(($ac_try" in
15286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15287 *) ac_try_echo=$ac_try;;
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_link_default") 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; then
15294 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15295 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15296 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15297 # so that the user can short-circuit this test for compilers unknown to
15299 for ac_file in $ac_files ''
15301 test -f "$ac_file" || continue
15303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15306 # We found the default executable, but exeext='' is most
15310 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15312 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15314 # We set ac_cv_exeext here because the later test for it is not
15315 # safe: cross compilers may not add the suffix if given an `-o'
15316 # argument, so we may need to know it at that point already.
15317 # Even if this section looks crufty: it has the advantage of
15318 # actually working.
15324 test "$ac_cv_exeext" = no && ac_cv_exeext=
15330 { echo "$as_me:$LINENO: result: $ac_file" >&5
15331 echo "${ECHO_T}$ac_file" >&6; }
15332 if test -z "$ac_file"; then
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15336 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15337 See \`config.log' for more details." >&5
15338 echo "$as_me: error: C compiler cannot create executables
15339 See \`config.log' for more details." >&2;}
15340 { (exit 77); exit 77; }; }
15343 ac_exeext=$ac_cv_exeext
15345 # Check that the compiler produces executables we can run. If not, either
15346 # the compiler is broken, or we cross compile.
15347 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15348 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15349 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15350 # If not cross compiling, check that we can run a simple program.
15351 if test "$cross_compiling" != yes; then
15352 if { ac_try='./$ac_file'
15353 { (case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_try") 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; }; then
15364 if test "$cross_compiling" = maybe; then
15365 cross_compiling=yes
15367 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15368 If you meant to cross compile, use \`--host'.
15369 See \`config.log' for more details." >&5
15370 echo "$as_me: error: cannot run C compiled programs.
15371 If you meant to cross compile, use \`--host'.
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; }
15377 { echo "$as_me:$LINENO: result: yes" >&5
15378 echo "${ECHO_T}yes" >&6; }
15380 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15381 ac_clean_files=$ac_clean_files_save
15382 # Check that the compiler produces executables we can run. If not, either
15383 # the compiler is broken, or we cross compile.
15384 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15385 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15386 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15387 echo "${ECHO_T}$cross_compiling" >&6; }
15389 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15390 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15391 if { (ac_try="$ac_link"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_link") 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; then
15401 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15402 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15403 # work properly (i.e., refer to `conftest.exe'), while it won't with
15405 for ac_file in conftest.exe conftest conftest.*; do
15406 test -f "$ac_file" || continue
15408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15409 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15415 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15416 See \`config.log' for more details." >&5
15417 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15418 See \`config.log' for more details." >&2;}
15419 { (exit 1); exit 1; }; }
15422 rm -f conftest$ac_cv_exeext
15423 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15424 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15426 rm -f conftest.$ac_ext
15427 EXEEXT=$ac_cv_exeext
15429 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15430 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15431 if test "${ac_cv_objext+set}" = set; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 cat >conftest.$ac_ext <<_ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15449 rm -f conftest.o conftest.obj
15450 if { (ac_try="$ac_compile"
15451 case "(($ac_try" in
15452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15453 *) ac_try_echo=$ac_try;;
15455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15456 (eval "$ac_compile") 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; then
15460 for ac_file in conftest.o conftest.obj conftest.*; do
15461 test -f "$ac_file" || continue;
15463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15464 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15472 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15473 See \`config.log' for more details." >&5
15474 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15475 See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; }
15479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15481 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15482 echo "${ECHO_T}$ac_cv_objext" >&6; }
15483 OBJEXT=$ac_cv_objext
15485 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15486 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15487 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 cat >conftest.$ac_ext <<_ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15517 grep -v '^ *+' conftest.er1 >conftest.err
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 ac_compiler_gnu=yes
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15537 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15538 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15539 GCC=`test $ac_compiler_gnu = yes && echo yes`
15540 ac_test_CFLAGS=${CFLAGS+set}
15541 ac_save_CFLAGS=$CFLAGS
15542 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15543 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15544 if test "${ac_cv_prog_cc_g+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 ac_save_c_werror_flag=$ac_c_werror_flag
15548 ac_c_werror_flag=yes
15551 cat >conftest.$ac_ext <<_ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15566 rm -f conftest.$ac_objext
15567 if { (ac_try="$ac_compile"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_compile") 2>conftest.er1
15575 grep -v '^ *+' conftest.er1 >conftest.err
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest.$ac_objext; then
15583 ac_cv_prog_cc_g=yes
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.$ac_ext >&5
15589 cat >conftest.$ac_ext <<_ACEOF
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15604 rm -f conftest.$ac_objext
15605 if { (ac_try="$ac_compile"
15606 case "(($ac_try" in
15607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15608 *) ac_try_echo=$ac_try;;
15610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611 (eval "$ac_compile") 2>conftest.er1
15613 grep -v '^ *+' conftest.er1 >conftest.err
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } && {
15618 test -z "$ac_c_werror_flag" ||
15619 test ! -s conftest.err
15620 } && test -s conftest.$ac_objext; then
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15626 ac_c_werror_flag=$ac_save_c_werror_flag
15628 cat >conftest.$ac_ext <<_ACEOF
15631 cat confdefs.h >>conftest.$ac_ext
15632 cat >>conftest.$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15643 rm -f conftest.$ac_objext
15644 if { (ac_try="$ac_compile"
15645 case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_compile") 2>conftest.er1
15652 grep -v '^ *+' conftest.er1 >conftest.err
15654 cat conftest.err >&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } && {
15657 test -z "$ac_c_werror_flag" ||
15658 test ! -s conftest.err
15659 } && test -s conftest.$ac_objext; then
15660 ac_cv_prog_cc_g=yes
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15675 ac_c_werror_flag=$ac_save_c_werror_flag
15677 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15678 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15679 if test "$ac_test_CFLAGS" = set; then
15680 CFLAGS=$ac_save_CFLAGS
15681 elif test $ac_cv_prog_cc_g = yes; then
15682 if test "$GCC" = yes; then
15688 if test "$GCC" = yes; then
15694 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15695 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15696 if test "${ac_cv_prog_cc_c89+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 ac_cv_prog_cc_c89=no
15701 cat >conftest.$ac_ext <<_ACEOF
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 #include <stdarg.h>
15709 #include <sys/types.h>
15710 #include <sys/stat.h>
15711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15712 struct buf { int x; };
15713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15714 static char *e (p, i)
15720 static char *f (char * (*g) (char **, int), char **p, ...)
15725 s = g (p, va_arg (v,int));
15730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15731 function prototypes and stuff, but not '\xHH' hex character constants.
15732 These don't provoke an error unfortunately, instead are silently treated
15733 as 'x'. The following induces an error, until -std is added to get
15734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15735 array size at least. It's necessary to write '\x00'==0 to get something
15736 that's true only with -std. */
15737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15740 inside strings and character constants. */
15742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15744 int test (int i, double x);
15745 struct s1 {int (*f) (int a);};
15746 struct s2 {int (*f) (double a);};
15747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15761 CC="$ac_save_CC $ac_arg"
15762 rm -f conftest.$ac_objext
15763 if { (ac_try="$ac_compile"
15764 case "(($ac_try" in
15765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15766 *) ac_try_echo=$ac_try;;
15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15769 (eval "$ac_compile") 2>conftest.er1
15771 grep -v '^ *+' conftest.er1 >conftest.err
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } && {
15776 test -z "$ac_c_werror_flag" ||
15777 test ! -s conftest.err
15778 } && test -s conftest.$ac_objext; then
15779 ac_cv_prog_cc_c89=$ac_arg
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15787 rm -f core conftest.err conftest.$ac_objext
15788 test "x$ac_cv_prog_cc_c89" != "xno" && break
15790 rm -f conftest.$ac_ext
15795 case "x$ac_cv_prog_cc_c89" in
15797 { echo "$as_me:$LINENO: result: none needed" >&5
15798 echo "${ECHO_T}none needed" >&6; } ;;
15800 { echo "$as_me:$LINENO: result: unsupported" >&5
15801 echo "${ECHO_T}unsupported" >&6; } ;;
15803 CC="$CC $ac_cv_prog_cc_c89"
15804 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15805 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15810 ac_cpp='$CPP $CPPFLAGS'
15811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15823 ac_cpp='$CPP $CPPFLAGS'
15824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15828 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15829 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15830 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15833 cat >conftest.$ac_ext <<_ACEOF
15836 cat confdefs.h >>conftest.$ac_ext
15837 cat >>conftest.$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15844 #ifndef __INTEL_COMPILER
15852 rm -f conftest.$ac_objext
15853 if { (ac_try="$ac_compile"
15854 case "(($ac_try" in
15855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15856 *) ac_try_echo=$ac_try;;
15858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15859 (eval "$ac_compile") 2>conftest.er1
15861 grep -v '^ *+' conftest.er1 >conftest.err
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } && {
15866 test -z "$ac_c_werror_flag" ||
15867 test ! -s conftest.err
15868 } && test -s conftest.$ac_objext; then
15869 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.$ac_ext >&5
15874 bakefile_cv_c_compiler___INTEL_COMPILER=no
15878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15882 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15883 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15884 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15890 ac_cpp='$CPP $CPPFLAGS'
15891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15898 if test "$INTELCC" = "yes"; then
15902 ac_cpp='$CPP $CPPFLAGS'
15903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15907 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15908 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15909 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 cat >conftest.$ac_ext <<_ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15923 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15931 rm -f conftest.$ac_objext
15932 if { (ac_try="$ac_compile"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_compile") 2>conftest.er1
15940 grep -v '^ *+' conftest.er1 >conftest.err
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && {
15945 test -z "$ac_c_werror_flag" ||
15946 test ! -s conftest.err
15947 } && test -s conftest.$ac_objext; then
15948 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15953 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15961 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15962 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15963 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15969 ac_cpp='$CPP $CPPFLAGS'
15970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15979 ac_cpp='$CPP $CPPFLAGS'
15980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15984 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15985 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15986 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 cat >conftest.$ac_ext <<_ACEOF
15992 cat confdefs.h >>conftest.$ac_ext
15993 cat >>conftest.$ac_ext <<_ACEOF
15994 /* end confdefs.h. */
16000 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16008 rm -f conftest.$ac_objext
16009 if { (ac_try="$ac_compile"
16010 case "(($ac_try" in
16011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16012 *) ac_try_echo=$ac_try;;
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015 (eval "$ac_compile") 2>conftest.er1
16017 grep -v '^ *+' conftest.er1 >conftest.err
16019 cat conftest.err >&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } && {
16022 test -z "$ac_c_werror_flag" ||
16023 test ! -s conftest.err
16024 } && test -s conftest.$ac_objext; then
16025 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16030 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16038 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16039 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16040 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16046 ac_cpp='$CPP $CPPFLAGS'
16047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16055 if test "x$GCC" != "xyes"; then
16056 if test "xCC" = "xC"; then
16057 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16058 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16059 if test "${bakefile_cv_c_exto+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16062 cat >conftest.$ac_ext <<_ACEOF
16065 cat confdefs.h >>conftest.$ac_ext
16066 cat >>conftest.$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16077 rm -f conftest.$ac_objext conftest.$ac_ext.o
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; then
16083 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16085 conftest.$ac_ext.o)
16086 bakefile_cv_c_exto="-ext o"
16093 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16094 See \`config.log' for more details." >&5
16095 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16096 See \`config.log' for more details." >&2;}
16097 { (exit 1); exit 1; }; }
16101 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16104 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16105 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16106 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16107 if test "c" = "c"; then
16108 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16110 if test "c" = "cxx"; then
16111 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16115 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16116 unset ac_cv_prog_cc_g
16117 ac_test_CFLAGS=${CFLAGS+set}
16118 ac_save_CFLAGS=$CFLAGS
16119 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16120 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16121 if test "${ac_cv_prog_cc_g+set}" = set; then
16122 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 ac_save_c_werror_flag=$ac_c_werror_flag
16125 ac_c_werror_flag=yes
16128 cat >conftest.$ac_ext <<_ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16143 rm -f conftest.$ac_objext
16144 if { (ac_try="$ac_compile"
16145 case "(($ac_try" in
16146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16147 *) ac_try_echo=$ac_try;;
16149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16150 (eval "$ac_compile") 2>conftest.er1
16152 grep -v '^ *+' conftest.er1 >conftest.err
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } && {
16157 test -z "$ac_c_werror_flag" ||
16158 test ! -s conftest.err
16159 } && test -s conftest.$ac_objext; then
16160 ac_cv_prog_cc_g=yes
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16166 cat >conftest.$ac_ext <<_ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16181 rm -f conftest.$ac_objext
16182 if { (ac_try="$ac_compile"
16183 case "(($ac_try" in
16184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16185 *) ac_try_echo=$ac_try;;
16187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16188 (eval "$ac_compile") 2>conftest.er1
16190 grep -v '^ *+' conftest.er1 >conftest.err
16192 cat conftest.err >&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); } && {
16195 test -z "$ac_c_werror_flag" ||
16196 test ! -s conftest.err
16197 } && test -s conftest.$ac_objext; then
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16203 ac_c_werror_flag=$ac_save_c_werror_flag
16205 cat >conftest.$ac_ext <<_ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16229 grep -v '^ *+' conftest.er1 >conftest.err
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 ac_cv_prog_cc_g=yes
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16252 ac_c_werror_flag=$ac_save_c_werror_flag
16254 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16255 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16256 if test "$ac_test_CFLAGS" = set; then
16257 CFLAGS=$ac_save_CFLAGS
16258 elif test $ac_cv_prog_cc_g = yes; then
16259 if test "$GCC" = yes; then
16265 if test "$GCC" = yes; then
16279 ac_cpp='$CPP $CPPFLAGS'
16280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16286 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 cat >conftest.$ac_ext <<_ACEOF
16292 cat confdefs.h >>conftest.$ac_ext
16293 cat >>conftest.$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16308 rm -f conftest.$ac_objext
16309 if { (ac_try="$ac_compile"
16310 case "(($ac_try" in
16311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16312 *) ac_try_echo=$ac_try;;
16314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16315 (eval "$ac_compile") 2>conftest.er1
16317 grep -v '^ *+' conftest.er1 >conftest.err
16319 cat conftest.err >&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } && {
16322 test -z "$ac_c_werror_flag" ||
16323 test ! -s conftest.err
16324 } && test -s conftest.$ac_objext; then
16325 bakefile_cv_c_compiler___xlC__=yes
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16330 bakefile_cv_c_compiler___xlC__=no
16334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16338 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16339 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16340 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16346 ac_cpp='$CPP $CPPFLAGS'
16347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16364 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16365 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16366 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 cat >conftest.$ac_ext <<_ACEOF
16372 cat confdefs.h >>conftest.$ac_ext
16373 cat >>conftest.$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16388 rm -f conftest.$ac_objext
16389 if { (ac_try="$ac_compile"
16390 case "(($ac_try" in
16391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16392 *) ac_try_echo=$ac_try;;
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_compile") 2>conftest.er1
16397 grep -v '^ *+' conftest.er1 >conftest.err
16399 cat conftest.err >&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } && {
16402 test -z "$ac_c_werror_flag" ||
16403 test ! -s conftest.err
16404 } && test -s conftest.$ac_objext; then
16405 bakefile_cv_c_compiler___MWERKS__=yes
16407 echo "$as_me: failed program was:" >&5
16408 sed 's/^/| /' conftest.$ac_ext >&5
16410 bakefile_cv_c_compiler___MWERKS__=no
16414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16418 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16419 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16420 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16426 ac_cpp='$CPP $CPPFLAGS'
16427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16433 if test "$MWCC" != "yes"; then
16437 ac_cpp='$CPP $CPPFLAGS'
16438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16442 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16443 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16444 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 cat >conftest.$ac_ext <<_ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16466 rm -f conftest.$ac_objext
16467 if { (ac_try="$ac_compile"
16468 case "(($ac_try" in
16469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_compile") 2>conftest.er1
16475 grep -v '^ *+' conftest.er1 >conftest.err
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } && {
16480 test -z "$ac_c_werror_flag" ||
16481 test ! -s conftest.err
16482 } && test -s conftest.$ac_objext; then
16483 bakefile_cv_c_compiler___xlC__=yes
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16488 bakefile_cv_c_compiler___xlC__=no
16492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16496 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16497 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16498 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16504 ac_cpp='$CPP $CPPFLAGS'
16505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16518 ac_cpp='$CPP $CPPFLAGS'
16519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16523 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16524 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16525 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16528 cat >conftest.$ac_ext <<_ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16539 #ifndef _SGI_COMPILER_VERSION
16547 rm -f conftest.$ac_objext
16548 if { (ac_try="$ac_compile"
16549 case "(($ac_try" in
16550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16551 *) ac_try_echo=$ac_try;;
16553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16554 (eval "$ac_compile") 2>conftest.er1
16556 grep -v '^ *+' conftest.er1 >conftest.err
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } && {
16561 test -z "$ac_c_werror_flag" ||
16562 test ! -s conftest.err
16563 } && test -s conftest.$ac_objext; then
16564 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.$ac_ext >&5
16569 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16577 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16578 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16579 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16585 ac_cpp='$CPP $CPPFLAGS'
16586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16595 if test "$INTELCC" != "yes"; then
16599 ac_cpp='$CPP $CPPFLAGS'
16600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16604 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16605 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16606 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 cat >conftest.$ac_ext <<_ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16628 rm -f conftest.$ac_objext
16629 if { (ac_try="$ac_compile"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_compile") 2>conftest.er1
16637 grep -v '^ *+' conftest.er1 >conftest.err
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } && {
16642 test -z "$ac_c_werror_flag" ||
16643 test ! -s conftest.err
16644 } && test -s conftest.$ac_objext; then
16645 bakefile_cv_c_compiler___SUNPRO_C=yes
16647 echo "$as_me: failed program was:" >&5
16648 sed 's/^/| /' conftest.$ac_ext >&5
16650 bakefile_cv_c_compiler___SUNPRO_C=no
16654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16658 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16659 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16666 ac_cpp='$CPP $CPPFLAGS'
16667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16680 ac_cpp='$CPP $CPPFLAGS'
16681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16685 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16686 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16687 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 cat >conftest.$ac_ext <<_ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16718 grep -v '^ *+' conftest.er1 >conftest.err
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16726 bakefile_cv_c_compiler___HP_cc=yes
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16731 bakefile_cv_c_compiler___HP_cc=no
16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16739 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16740 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16741 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
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
16760 ac_cpp='$CPP $CPPFLAGS'
16761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16765 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16766 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16767 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 cat >conftest.$ac_ext <<_ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16789 rm -f conftest.$ac_objext
16790 if { (ac_try="$ac_compile"
16791 case "(($ac_try" in
16792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16793 *) ac_try_echo=$ac_try;;
16795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16796 (eval "$ac_compile") 2>conftest.er1
16798 grep -v '^ *+' conftest.er1 >conftest.err
16800 cat conftest.err >&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } && {
16803 test -z "$ac_c_werror_flag" ||
16804 test ! -s conftest.err
16805 } && test -s conftest.$ac_objext; then
16806 bakefile_cv_c_compiler___DECC=yes
16808 echo "$as_me: failed program was:" >&5
16809 sed 's/^/| /' conftest.$ac_ext >&5
16811 bakefile_cv_c_compiler___DECC=no
16815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16819 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16820 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16821 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16827 ac_cpp='$CPP $CPPFLAGS'
16828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16840 ac_cpp='$CPP $CPPFLAGS'
16841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16845 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16846 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16847 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 cat >conftest.$ac_ext <<_ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16869 rm -f conftest.$ac_objext
16870 if { (ac_try="$ac_compile"
16871 case "(($ac_try" in
16872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16873 *) ac_try_echo=$ac_try;;
16875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876 (eval "$ac_compile") 2>conftest.er1
16878 grep -v '^ *+' conftest.er1 >conftest.err
16880 cat conftest.err >&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } && {
16883 test -z "$ac_c_werror_flag" ||
16884 test ! -s conftest.err
16885 } && test -s conftest.$ac_objext; then
16886 bakefile_cv_c_compiler___SUNPRO_C=yes
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.$ac_ext >&5
16891 bakefile_cv_c_compiler___SUNPRO_C=no
16895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16900 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16901 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16907 ac_cpp='$CPP $CPPFLAGS'
16908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16921 ac_cpp='$CPP $CPPFLAGS'
16922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16925 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16926 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16927 # On Suns, sometimes $CPP names a directory.
16928 if test -n "$CPP" && test -d "$CPP"; then
16931 if test -z "$CPP"; then
16932 if test "${ac_cv_prog_CPP+set}" = set; then
16933 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 # Double quotes because CPP needs to be expanded
16936 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16938 ac_preproc_ok=false
16939 for ac_c_preproc_warn_flag in '' yes
16941 # Use a header file that comes with gcc, so configuring glibc
16942 # with a fresh cross-compiler works.
16943 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16944 # <limits.h> exists even on freestanding compilers.
16945 # On the NeXT, cc -E runs the code through the compiler's parser,
16946 # not just through cpp. "Syntax error" is here to catch this case.
16947 cat >conftest.$ac_ext <<_ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16954 # include <limits.h>
16956 # include <assert.h>
16960 if { (ac_try="$ac_cpp conftest.$ac_ext"
16961 case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16968 grep -v '^ *+' conftest.er1 >conftest.err
16970 cat conftest.err >&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } >/dev/null && {
16973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16974 test ! -s conftest.err
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16981 # Broken: fails on valid input.
16985 rm -f conftest.err conftest.$ac_ext
16987 # OK, works on sane cases. Now check whether nonexistent headers
16988 # can be detected and how.
16989 cat >conftest.$ac_ext <<_ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 #include <ac_nonexistent.h>
16997 if { (ac_try="$ac_cpp conftest.$ac_ext"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17000 *) ac_try_echo=$ac_try;;
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17005 grep -v '^ *+' conftest.er1 >conftest.err
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } >/dev/null && {
17010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17011 test ! -s conftest.err
17013 # Broken: success on invalid input.
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17019 # Passes both tests.
17024 rm -f conftest.err conftest.$ac_ext
17027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17028 rm -f conftest.err conftest.$ac_ext
17029 if $ac_preproc_ok; then
17034 ac_cv_prog_CPP=$CPP
17037 CPP=$ac_cv_prog_CPP
17039 ac_cv_prog_CPP=$CPP
17041 { echo "$as_me:$LINENO: result: $CPP" >&5
17042 echo "${ECHO_T}$CPP" >&6; }
17043 ac_preproc_ok=false
17044 for ac_c_preproc_warn_flag in '' yes
17046 # Use a header file that comes with gcc, so configuring glibc
17047 # with a fresh cross-compiler works.
17048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17049 # <limits.h> exists even on freestanding compilers.
17050 # On the NeXT, cc -E runs the code through the compiler's parser,
17051 # not just through cpp. "Syntax error" is here to catch this case.
17052 cat >conftest.$ac_ext <<_ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17059 # include <limits.h>
17061 # include <assert.h>
17065 if { (ac_try="$ac_cpp conftest.$ac_ext"
17066 case "(($ac_try" in
17067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17068 *) ac_try_echo=$ac_try;;
17070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17073 grep -v '^ *+' conftest.er1 >conftest.err
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } >/dev/null && {
17078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17079 test ! -s conftest.err
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17086 # Broken: fails on valid input.
17090 rm -f conftest.err conftest.$ac_ext
17092 # OK, works on sane cases. Now check whether nonexistent headers
17093 # can be detected and how.
17094 cat >conftest.$ac_ext <<_ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 #include <ac_nonexistent.h>
17102 if { (ac_try="$ac_cpp conftest.$ac_ext"
17103 case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17110 grep -v '^ *+' conftest.er1 >conftest.err
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } >/dev/null && {
17115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17116 test ! -s conftest.err
17118 # Broken: success on invalid input.
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17124 # Passes both tests.
17129 rm -f conftest.err conftest.$ac_ext
17132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17133 rm -f conftest.err conftest.$ac_ext
17134 if $ac_preproc_ok; then
17137 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17138 See \`config.log' for more details." >&5
17139 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17140 See \`config.log' for more details." >&2;}
17141 { (exit 1); exit 1; }; }
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17151 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17152 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17153 if test "${ac_cv_path_GREP+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 # Extract the first word of "grep ggrep" to use in msg output
17157 if test -z "$GREP"; then
17158 set dummy grep ggrep; ac_prog_name=$2
17159 if test "${ac_cv_path_GREP+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 ac_path_GREP_found=false
17163 # Loop through the user's path and test for each of PROGNAME-LIST
17164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17165 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17168 test -z "$as_dir" && as_dir=.
17169 for ac_prog in grep ggrep; do
17170 for ac_exec_ext in '' $ac_executable_extensions; do
17171 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17172 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17173 # Check for GNU ac_path_GREP and select it if it is found.
17174 # Check for GNU $ac_path_GREP
17175 case `"$ac_path_GREP" --version 2>&1` in
17177 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17180 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17183 cat "conftest.in" "conftest.in" >"conftest.tmp"
17184 mv "conftest.tmp" "conftest.in"
17185 cp "conftest.in" "conftest.nl"
17186 echo 'GREP' >> "conftest.nl"
17187 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17188 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17189 ac_count=`expr $ac_count + 1`
17190 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17191 # Best one so far, save it but keep looking for a better one
17192 ac_cv_path_GREP="$ac_path_GREP"
17193 ac_path_GREP_max=$ac_count
17195 # 10*(2^10) chars as input seems more than enough
17196 test $ac_count -gt 10 && break
17198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17202 $ac_path_GREP_found && break 3
17212 GREP="$ac_cv_path_GREP"
17213 if test -z "$GREP"; then
17214 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17215 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17216 { (exit 1); exit 1; }; }
17220 ac_cv_path_GREP=$GREP
17225 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17226 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17227 GREP="$ac_cv_path_GREP"
17230 { echo "$as_me:$LINENO: checking for egrep" >&5
17231 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17232 if test "${ac_cv_path_EGREP+set}" = set; then
17233 echo $ECHO_N "(cached) $ECHO_C" >&6
17235 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17236 then ac_cv_path_EGREP="$GREP -E"
17238 # Extract the first word of "egrep" to use in msg output
17239 if test -z "$EGREP"; then
17240 set dummy egrep; ac_prog_name=$2
17241 if test "${ac_cv_path_EGREP+set}" = set; then
17242 echo $ECHO_N "(cached) $ECHO_C" >&6
17244 ac_path_EGREP_found=false
17245 # Loop through the user's path and test for each of PROGNAME-LIST
17246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17250 test -z "$as_dir" && as_dir=.
17251 for ac_prog in egrep; do
17252 for ac_exec_ext in '' $ac_executable_extensions; do
17253 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17254 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17255 # Check for GNU ac_path_EGREP and select it if it is found.
17256 # Check for GNU $ac_path_EGREP
17257 case `"$ac_path_EGREP" --version 2>&1` in
17259 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17262 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17265 cat "conftest.in" "conftest.in" >"conftest.tmp"
17266 mv "conftest.tmp" "conftest.in"
17267 cp "conftest.in" "conftest.nl"
17268 echo 'EGREP' >> "conftest.nl"
17269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17271 ac_count=`expr $ac_count + 1`
17272 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17273 # Best one so far, save it but keep looking for a better one
17274 ac_cv_path_EGREP="$ac_path_EGREP"
17275 ac_path_EGREP_max=$ac_count
17277 # 10*(2^10) chars as input seems more than enough
17278 test $ac_count -gt 10 && break
17280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17284 $ac_path_EGREP_found && break 3
17294 EGREP="$ac_cv_path_EGREP"
17295 if test -z "$EGREP"; then
17296 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17297 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17298 { (exit 1); exit 1; }; }
17302 ac_cv_path_EGREP=$EGREP
17308 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17309 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17310 EGREP="$ac_cv_path_EGREP"
17313 if test $ac_cv_c_compiler_gnu = yes; then
17314 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17315 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17316 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17319 ac_pattern="Autoconf.*'x'"
17320 cat >conftest.$ac_ext <<_ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17330 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17331 ac_cv_prog_gcc_traditional=yes
17333 ac_cv_prog_gcc_traditional=no
17338 if test $ac_cv_prog_gcc_traditional = no; then
17339 cat >conftest.$ac_ext <<_ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 #include <termio.h>
17348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17349 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17350 ac_cv_prog_gcc_traditional=yes
17356 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17357 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17358 if test $ac_cv_prog_gcc_traditional = yes; then
17359 CC="$CC -traditional"
17364 CXXFLAGS=${CXXFLAGS:=}
17366 ac_cpp='$CXXCPP $CPPFLAGS'
17367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17370 if test -z "$CXX"; then
17371 if test -n "$CCC"; then
17374 if test -n "$ac_tool_prefix"; then
17375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17381 if test "${ac_cv_prog_CXX+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 if test -n "$CXX"; then
17385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17388 for as_dir in $PATH
17391 test -z "$as_dir" && as_dir=.
17392 for ac_exec_ext in '' $ac_executable_extensions; do
17393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17404 CXX=$ac_cv_prog_CXX
17405 if test -n "$CXX"; then
17406 { echo "$as_me:$LINENO: result: $CXX" >&5
17407 echo "${ECHO_T}$CXX" >&6; }
17409 { echo "$as_me:$LINENO: result: no" >&5
17410 echo "${ECHO_T}no" >&6; }
17414 test -n "$CXX" && break
17417 if test -z "$CXX"; then
17419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17421 # Extract the first word of "$ac_prog", so it can be a program name with args.
17422 set dummy $ac_prog; ac_word=$2
17423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17425 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 if test -n "$ac_ct_CXX"; then
17429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17432 for as_dir in $PATH
17435 test -z "$as_dir" && as_dir=.
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17438 ac_cv_prog_ac_ct_CXX="$ac_prog"
17439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17449 if test -n "$ac_ct_CXX"; then
17450 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17451 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17453 { echo "$as_me:$LINENO: result: no" >&5
17454 echo "${ECHO_T}no" >&6; }
17458 test -n "$ac_ct_CXX" && break
17461 if test "x$ac_ct_CXX" = x; then
17464 case $cross_compiling:$ac_tool_warned in
17466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17467 whose name does not start with the host triplet. If you think this
17468 configuration is useful to you, please write to autoconf@gnu.org." >&5
17469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17470 whose name does not start with the host triplet. If you think this
17471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17472 ac_tool_warned=yes ;;
17480 # Provide some information about the compiler.
17481 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17482 ac_compiler=`set X $ac_compile; echo $2`
17483 { (ac_try="$ac_compiler --version >&5"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_compiler --version >&5") 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }
17493 { (ac_try="$ac_compiler -v >&5"
17494 case "(($ac_try" in
17495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17496 *) ac_try_echo=$ac_try;;
17498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17499 (eval "$ac_compiler -v >&5") 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }
17503 { (ac_try="$ac_compiler -V >&5"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compiler -V >&5") 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }
17514 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17515 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17516 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17519 cat >conftest.$ac_ext <<_ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17537 rm -f conftest.$ac_objext
17538 if { (ac_try="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17546 grep -v '^ *+' conftest.er1 >conftest.err
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } && {
17551 test -z "$ac_cxx_werror_flag" ||
17552 test ! -s conftest.err
17553 } && test -s conftest.$ac_objext; then
17554 ac_compiler_gnu=yes
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17563 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17566 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17568 GXX=`test $ac_compiler_gnu = yes && echo yes`
17569 ac_test_CXXFLAGS=${CXXFLAGS+set}
17570 ac_save_CXXFLAGS=$CXXFLAGS
17571 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17572 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17573 if test "${ac_cv_prog_cxx_g+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17577 ac_cxx_werror_flag=yes
17578 ac_cv_prog_cxx_g=no
17580 cat >conftest.$ac_ext <<_ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17604 grep -v '^ *+' conftest.er1 >conftest.err
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_cxx_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 ac_cv_prog_cxx_g=yes
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17618 cat >conftest.$ac_ext <<_ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17633 rm -f conftest.$ac_objext
17634 if { (ac_try="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17642 grep -v '^ *+' conftest.er1 >conftest.err
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_cxx_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17657 cat >conftest.$ac_ext <<_ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17672 rm -f conftest.$ac_objext
17673 if { (ac_try="$ac_compile"
17674 case "(($ac_try" in
17675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17676 *) ac_try_echo=$ac_try;;
17678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17679 (eval "$ac_compile") 2>conftest.er1
17681 grep -v '^ *+' conftest.er1 >conftest.err
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } && {
17686 test -z "$ac_cxx_werror_flag" ||
17687 test ! -s conftest.err
17688 } && test -s conftest.$ac_objext; then
17689 ac_cv_prog_cxx_g=yes
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17704 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17706 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17707 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17708 if test "$ac_test_CXXFLAGS" = set; then
17709 CXXFLAGS=$ac_save_CXXFLAGS
17710 elif test $ac_cv_prog_cxx_g = yes; then
17711 if test "$GXX" = yes; then
17717 if test "$GXX" = yes; then
17724 ac_cpp='$CPP $CPPFLAGS'
17725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17737 ac_cpp='$CXXCPP $CPPFLAGS'
17738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17742 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17743 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17744 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17745 echo $ECHO_N "(cached) $ECHO_C" >&6
17747 cat >conftest.$ac_ext <<_ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17758 #ifndef __INTEL_COMPILER
17766 rm -f conftest.$ac_objext
17767 if { (ac_try="$ac_compile"
17768 case "(($ac_try" in
17769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17770 *) ac_try_echo=$ac_try;;
17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17773 (eval "$ac_compile") 2>conftest.er1
17775 grep -v '^ *+' conftest.er1 >conftest.err
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } && {
17780 test -z "$ac_cxx_werror_flag" ||
17781 test ! -s conftest.err
17782 } && test -s conftest.$ac_objext; then
17783 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17788 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17796 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17797 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17798 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17804 ac_cpp='$CPP $CPPFLAGS'
17805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17812 if test "$INTELCXX" = "yes"; then
17816 ac_cpp='$CXXCPP $CPPFLAGS'
17817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17821 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17822 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17823 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 cat >conftest.$ac_ext <<_ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17837 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17845 rm -f conftest.$ac_objext
17846 if { (ac_try="$ac_compile"
17847 case "(($ac_try" in
17848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17849 *) ac_try_echo=$ac_try;;
17851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17852 (eval "$ac_compile") 2>conftest.er1
17854 grep -v '^ *+' conftest.er1 >conftest.err
17856 cat conftest.err >&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } && {
17859 test -z "$ac_cxx_werror_flag" ||
17860 test ! -s conftest.err
17861 } && test -s conftest.$ac_objext; then
17862 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17867 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17876 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17877 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17893 ac_cpp='$CXXCPP $CPPFLAGS'
17894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17898 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17899 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17900 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17901 echo $ECHO_N "(cached) $ECHO_C" >&6
17903 cat >conftest.$ac_ext <<_ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17914 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17922 rm -f conftest.$ac_objext
17923 if { (ac_try="$ac_compile"
17924 case "(($ac_try" in
17925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17926 *) ac_try_echo=$ac_try;;
17928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17929 (eval "$ac_compile") 2>conftest.er1
17931 grep -v '^ *+' conftest.er1 >conftest.err
17933 cat conftest.err >&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } && {
17936 test -z "$ac_cxx_werror_flag" ||
17937 test ! -s conftest.err
17938 } && test -s conftest.$ac_objext; then
17939 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17944 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17952 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17953 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17954 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17960 ac_cpp='$CPP $CPPFLAGS'
17961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17969 if test "x$GCXX" != "xyes"; then
17970 if test "xCXX" = "xC"; then
17971 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17972 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17973 if test "${bakefile_cv_c_exto+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 cat >conftest.$ac_ext <<_ACEOF
17979 cat confdefs.h >>conftest.$ac_ext
17980 cat >>conftest.$ac_ext <<_ACEOF
17981 /* end confdefs.h. */
17991 rm -f conftest.$ac_objext conftest.$ac_ext.o
17992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17993 (eval $ac_compile) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; then
17997 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17999 conftest.$ac_ext.o)
18000 bakefile_cv_c_exto="-ext o"
18007 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18008 See \`config.log' for more details." >&5
18009 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18010 See \`config.log' for more details." >&2;}
18011 { (exit 1); exit 1; }; }
18015 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18018 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18019 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18020 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18021 if test "c" = "c"; then
18022 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18024 if test "c" = "cxx"; then
18025 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18029 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18030 unset ac_cv_prog_cc_g
18031 ac_test_CFLAGS=${CFLAGS+set}
18032 ac_save_CFLAGS=$CFLAGS
18033 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18035 if test "${ac_cv_prog_cc_g+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 ac_save_c_werror_flag=$ac_c_werror_flag
18039 ac_c_werror_flag=yes
18042 cat >conftest.$ac_ext <<_ACEOF
18045 cat confdefs.h >>conftest.$ac_ext
18046 cat >>conftest.$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18057 rm -f conftest.$ac_objext
18058 if { (ac_try="$ac_compile"
18059 case "(($ac_try" in
18060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18061 *) ac_try_echo=$ac_try;;
18063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18064 (eval "$ac_compile") 2>conftest.er1
18066 grep -v '^ *+' conftest.er1 >conftest.err
18068 cat conftest.err >&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } && {
18071 test -z "$ac_c_werror_flag" ||
18072 test ! -s conftest.err
18073 } && test -s conftest.$ac_objext; then
18074 ac_cv_prog_cc_g=yes
18076 echo "$as_me: failed program was:" >&5
18077 sed 's/^/| /' conftest.$ac_ext >&5
18080 cat >conftest.$ac_ext <<_ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18104 grep -v '^ *+' conftest.er1 >conftest.err
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18117 ac_c_werror_flag=$ac_save_c_werror_flag
18119 cat >conftest.$ac_ext <<_ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18143 grep -v '^ *+' conftest.er1 >conftest.err
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_c_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 ac_cv_prog_cc_g=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18166 ac_c_werror_flag=$ac_save_c_werror_flag
18168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18169 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18170 if test "$ac_test_CFLAGS" = set; then
18171 CFLAGS=$ac_save_CFLAGS
18172 elif test $ac_cv_prog_cc_g = yes; then
18173 if test "$GCC" = yes; then
18179 if test "$GCC" = yes; then
18193 ac_cpp='$CXXCPP $CPPFLAGS'
18194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18198 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18199 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18200 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18201 echo $ECHO_N "(cached) $ECHO_C" >&6
18203 cat >conftest.$ac_ext <<_ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18222 rm -f conftest.$ac_objext
18223 if { (ac_try="$ac_compile"
18224 case "(($ac_try" in
18225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18226 *) ac_try_echo=$ac_try;;
18228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18229 (eval "$ac_compile") 2>conftest.er1
18231 grep -v '^ *+' conftest.er1 >conftest.err
18233 cat conftest.err >&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } && {
18236 test -z "$ac_cxx_werror_flag" ||
18237 test ! -s conftest.err
18238 } && test -s conftest.$ac_objext; then
18239 bakefile_cv_cxx_compiler___xlC__=yes
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18244 bakefile_cv_cxx_compiler___xlC__=no
18248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18253 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18254 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18260 ac_cpp='$CPP $CPPFLAGS'
18261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18273 ac_cpp='$CXXCPP $CPPFLAGS'
18274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18278 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18279 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18280 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18283 cat >conftest.$ac_ext <<_ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18311 grep -v '^ *+' conftest.er1 >conftest.err
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_cxx_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18319 bakefile_cv_cxx_compiler___MWERKS__=yes
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18324 bakefile_cv_cxx_compiler___MWERKS__=no
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18333 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18334 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347 if test "$MWCXX" != "yes"; then
18351 ac_cpp='$CXXCPP $CPPFLAGS'
18352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18356 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18357 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18358 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.$ac_ext <<_ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18380 rm -f conftest.$ac_objext
18381 if { (ac_try="$ac_compile"
18382 case "(($ac_try" in
18383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18384 *) ac_try_echo=$ac_try;;
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_compile") 2>conftest.er1
18389 grep -v '^ *+' conftest.er1 >conftest.err
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && {
18394 test -z "$ac_cxx_werror_flag" ||
18395 test ! -s conftest.err
18396 } && test -s conftest.$ac_objext; then
18397 bakefile_cv_cxx_compiler___xlC__=yes
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18402 bakefile_cv_cxx_compiler___xlC__=no
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18412 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18418 ac_cpp='$CPP $CPPFLAGS'
18419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18432 ac_cpp='$CXXCPP $CPPFLAGS'
18433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18437 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18438 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18439 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18440 echo $ECHO_N "(cached) $ECHO_C" >&6
18442 cat >conftest.$ac_ext <<_ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18453 #ifndef _SGI_COMPILER_VERSION
18461 rm -f conftest.$ac_objext
18462 if { (ac_try="$ac_compile"
18463 case "(($ac_try" in
18464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_compile") 2>conftest.er1
18470 grep -v '^ *+' conftest.er1 >conftest.err
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && {
18475 test -z "$ac_cxx_werror_flag" ||
18476 test ! -s conftest.err
18477 } && test -s conftest.$ac_objext; then
18478 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18483 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18492 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18493 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18499 ac_cpp='$CPP $CPPFLAGS'
18500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18509 if test "$INTELCXX" != "yes"; then
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18518 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18519 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18520 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18523 cat >conftest.$ac_ext <<_ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18534 #ifndef __SUNPRO_CC
18542 rm -f conftest.$ac_objext
18543 if { (ac_try="$ac_compile"
18544 case "(($ac_try" in
18545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18546 *) ac_try_echo=$ac_try;;
18548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18549 (eval "$ac_compile") 2>conftest.er1
18551 grep -v '^ *+' conftest.er1 >conftest.err
18553 cat conftest.err >&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } && {
18556 test -z "$ac_cxx_werror_flag" ||
18557 test ! -s conftest.err
18558 } && test -s conftest.$ac_objext; then
18559 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18564 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18572 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18573 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18574 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18580 ac_cpp='$CPP $CPPFLAGS'
18581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18594 ac_cpp='$CXXCPP $CPPFLAGS'
18595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18599 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18600 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18601 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 cat >conftest.$ac_ext <<_ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18623 rm -f conftest.$ac_objext
18624 if { (ac_try="$ac_compile"
18625 case "(($ac_try" in
18626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627 *) ac_try_echo=$ac_try;;
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_compile") 2>conftest.er1
18632 grep -v '^ *+' conftest.er1 >conftest.err
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_cxx_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest.$ac_objext; then
18640 bakefile_cv_cxx_compiler___HP_aCC=yes
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18645 bakefile_cv_cxx_compiler___HP_aCC=no
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18655 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18661 ac_cpp='$CPP $CPPFLAGS'
18662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18674 ac_cpp='$CXXCPP $CPPFLAGS'
18675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18679 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18680 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18681 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18682 echo $ECHO_N "(cached) $ECHO_C" >&6
18684 cat >conftest.$ac_ext <<_ACEOF
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h. */
18703 rm -f conftest.$ac_objext
18704 if { (ac_try="$ac_compile"
18705 case "(($ac_try" in
18706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18707 *) ac_try_echo=$ac_try;;
18709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18710 (eval "$ac_compile") 2>conftest.er1
18712 grep -v '^ *+' conftest.er1 >conftest.err
18714 cat conftest.err >&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } && {
18717 test -z "$ac_cxx_werror_flag" ||
18718 test ! -s conftest.err
18719 } && test -s conftest.$ac_objext; then
18720 bakefile_cv_cxx_compiler___DECCXX=yes
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18725 bakefile_cv_cxx_compiler___DECCXX=no
18729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18734 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18735 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18741 ac_cpp='$CPP $CPPFLAGS'
18742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18754 ac_cpp='$CXXCPP $CPPFLAGS'
18755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18759 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18760 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18761 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18764 cat >conftest.$ac_ext <<_ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18775 #ifndef __SUNPRO_CC
18783 rm -f conftest.$ac_objext
18784 if { (ac_try="$ac_compile"
18785 case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_compile") 2>conftest.er1
18792 grep -v '^ *+' conftest.er1 >conftest.err
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_cxx_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest.$ac_objext; then
18800 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18805 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18814 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18815 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18821 ac_cpp='$CPP $CPPFLAGS'
18822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18834 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18835 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18836 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18837 { (exit 1); exit 1; }; }
18840 if test "x$SUNCXX" != xyes; then
18841 if test -n "$ac_tool_prefix"; then
18842 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18843 set dummy ${ac_tool_prefix}ar; ac_word=$2
18844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18846 if test "${ac_cv_prog_AR+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 if test -n "$AR"; then
18850 ac_cv_prog_AR="$AR" # Let the user override the test.
18852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18853 for as_dir in $PATH
18856 test -z "$as_dir" && as_dir=.
18857 for ac_exec_ext in '' $ac_executable_extensions; do
18858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18859 ac_cv_prog_AR="${ac_tool_prefix}ar"
18860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18870 if test -n "$AR"; then
18871 { echo "$as_me:$LINENO: result: $AR" >&5
18872 echo "${ECHO_T}$AR" >&6; }
18874 { echo "$as_me:$LINENO: result: no" >&5
18875 echo "${ECHO_T}no" >&6; }
18880 if test -z "$ac_cv_prog_AR"; then
18882 # Extract the first word of "ar", so it can be a program name with args.
18883 set dummy ar; ac_word=$2
18884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18886 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18887 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 if test -n "$ac_ct_AR"; then
18890 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18893 for as_dir in $PATH
18896 test -z "$as_dir" && as_dir=.
18897 for ac_exec_ext in '' $ac_executable_extensions; do
18898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18899 ac_cv_prog_ac_ct_AR="ar"
18900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18909 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18910 if test -n "$ac_ct_AR"; then
18911 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18912 echo "${ECHO_T}$ac_ct_AR" >&6; }
18914 { echo "$as_me:$LINENO: result: no" >&5
18915 echo "${ECHO_T}no" >&6; }
18918 if test "x$ac_ct_AR" = x; then
18921 case $cross_compiling:$ac_tool_warned in
18923 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18924 whose name does not start with the host triplet. If you think this
18925 configuration is useful to you, please write to autoconf@gnu.org." >&5
18926 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18927 whose name does not start with the host triplet. If you think this
18928 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18929 ac_tool_warned=yes ;;
18934 AR="$ac_cv_prog_AR"
18937 if test "x$AR" = "x" ; then
18938 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18939 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18940 { (exit 1); exit 1; }; }
18945 if test "$wxUSE_MAC" = 1; then
18947 retest_macosx_linking=no
18950 if test "x$wxUSE_MAC_ARCH" != xno; then
18951 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18954 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18955 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18956 # Implicitly turn on the new --with-macosx-sdk using the default
18957 # SDK which provides the behaviour this option has always had.
18958 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18959 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18960 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18961 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18962 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18963 wxUSE_MACOSX_SDK=yes
18966 # Complain to user if he specified an argument to --enable-universal_binary
18967 # and also 1) specified --with-macosx-sdk using the default (yes) or
18968 # 2) specified --with-macosx-sdk using a path or 3) specified
18969 # --without-macosx-sdk (no).
18970 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18971 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18972 See \`config.log' for more details." >&5
18973 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18974 See \`config.log' for more details." >&2;}
18975 { (exit 1); exit 1; }; }
18977 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18978 # special-case the empty string because the below test simply
18979 # converts "no" to the empty string anyway.
18980 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18981 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18982 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18985 OSX_ARCH_OPTS="-arch ppc -arch i386"
18986 if test "$wxUSE_OSX_COCOA" = 1; then
18987 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18989 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18990 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18991 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18992 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18994 retest_macosx_linking=yes
18996 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18997 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19001 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19002 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19003 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19004 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19005 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19007 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19009 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19010 # TODO: Search for most recent SDK and use it.
19011 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19015 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19016 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19017 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19018 if ! test -d "$wxUSE_MACOSX_SDK"; then
19019 { { echo "$as_me:$LINENO: error: not found
19020 See \`config.log' for more details." >&5
19021 echo "$as_me: error: not found
19022 See \`config.log' for more details." >&2;}
19023 { (exit 1); exit 1; }; }
19025 { echo "$as_me:$LINENO: result: exists" >&5
19026 echo "${ECHO_T}exists" >&6; }
19028 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19029 retest_macosx_linking=yes
19032 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19033 wxUSE_MACOSX_VERSION_MIN=
19034 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19035 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19036 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19037 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19039 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/'`
19041 # If that failed, try again with the new key
19042 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19044 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/'`
19048 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19049 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19050 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19051 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19053 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19054 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19055 wxUSE_MACOSX_VERSION_MIN=
19058 wxUSE_MACOSX_VERSION_MIN=
19060 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19061 for ac_prog in sw_vers
19063 # Extract the first word of "$ac_prog", so it can be a program name with args.
19064 set dummy $ac_prog; ac_word=$2
19065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19067 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 if test -n "$OSX_SW_VERS"; then
19071 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19074 for as_dir in $PATH
19077 test -z "$as_dir" && as_dir=.
19078 for ac_exec_ext in '' $ac_executable_extensions; do
19079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19080 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19090 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19091 if test -n "$OSX_SW_VERS"; then
19092 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19093 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19095 { echo "$as_me:$LINENO: result: no" >&5
19096 echo "${ECHO_T}no" >&6; }
19100 test -n "$OSX_SW_VERS" && break
19103 if test "$OSX_SW_VERS" != ""; then
19104 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19106 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19107 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19111 case "$OSX_VERSION" in
19113 wxUSE_MACOSX_VERSION_MIN=10.4
19117 if test "$wxUSE_OSX_CARBON" = 1; then
19118 # otherwise configure stops on leopard for universal_binary
19119 wxUSE_MACOSX_VERSION_MIN=10.4
19121 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19122 wxUSE_MACOSX_VERSION_MIN=10.5
19129 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19133 if test "$wxUSE_OSX_CARBON" = 1; then
19137 if test "x$NEEDS_GCC40" == "xyes"; then
19138 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19139 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19140 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19141 if test "x$CC" = "xgcc"; then
19142 CCVERSION=`$CC --version | grep 4.[2-9].`
19143 if test "x$CCVERSION" != "x"; then
19144 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19149 if test "x$CXX" = "xg++"; then
19150 CCVERSION=`$CXX --version | grep 4.[2-9].`
19151 if test "x$CCVERSION" != "x"; then
19157 if test "x$MACOSX_SDK_OPTS" != "x"; then
19158 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19159 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19160 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19163 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19164 if test "$wxUSE_OSX_IPHONE" = 1; then
19165 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19167 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19169 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19170 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19171 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19172 retest_macosx_linking=yes
19175 if test "x$retest_macosx_linking" = "xyes"; then
19177 ac_cpp='$CPP $CPPFLAGS'
19178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19182 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19183 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19184 cat >conftest.$ac_ext <<_ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19199 rm -f conftest.$ac_objext conftest$ac_exeext
19200 if { (ac_try="$ac_link"
19201 case "(($ac_try" in
19202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19203 *) ac_try_echo=$ac_try;;
19205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19206 (eval "$ac_link") 2>conftest.er1
19208 grep -v '^ *+' conftest.er1 >conftest.err
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } && {
19213 test -z "$ac_c_werror_flag" ||
19214 test ! -s conftest.err
19215 } && test -s conftest$ac_exeext &&
19216 $as_test_x conftest$ac_exeext; then
19217 { echo "$as_me:$LINENO: result: yes" >&5
19218 echo "${ECHO_T}yes" >&6; }
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19224 See \`config.log' for more details." >&5
19225 echo "$as_me: error: no. Try a different SDK
19226 See \`config.log' for more details." >&2;}
19227 { (exit 1); exit 1; }; }; exit 1
19230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19231 conftest$ac_exeext conftest.$ac_ext
19233 ac_cpp='$CPP $CPPFLAGS'
19234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19245 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19246 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19247 cat >conftest.$ac_ext <<_ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19262 rm -f conftest.$ac_objext conftest$ac_exeext
19263 if { (ac_try="$ac_link"
19264 case "(($ac_try" in
19265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19266 *) ac_try_echo=$ac_try;;
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_link") 2>conftest.er1
19271 grep -v '^ *+' conftest.er1 >conftest.err
19273 cat conftest.err >&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && {
19276 test -z "$ac_cxx_werror_flag" ||
19277 test ! -s conftest.err
19278 } && test -s conftest$ac_exeext &&
19279 $as_test_x conftest$ac_exeext; then
19280 { echo "$as_me:$LINENO: result: yes" >&5
19281 echo "${ECHO_T}yes" >&6; }
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19286 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19287 See \`config.log' for more details." >&5
19288 echo "$as_me: error: no. Try a different SDK
19289 See \`config.log' for more details." >&2;}
19290 { (exit 1); exit 1; }; }; exit 1
19293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19294 conftest$ac_exeext conftest.$ac_ext
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19307 INSTALL_PROGRAM="cp -fp"
19308 INSTALL_DATA="cp -fp"
19315 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19316 CXXFLAGS="-qunique $CXXFLAGS"
19320 powerpc-*-darwin* )
19321 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19322 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19323 cat >conftest.$ac_ext <<_ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19333 #ifndef __POWERPC__
19334 choke me for lack of PowerPC
19341 rm -f conftest.$ac_objext
19342 if { (ac_try="$ac_compile"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_compile") 2>conftest.er1
19350 grep -v '^ *+' conftest.er1 >conftest.err
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } && {
19355 test -z "$ac_c_werror_flag" ||
19356 test ! -s conftest.err
19357 } && test -s conftest.$ac_objext; then
19358 { echo "$as_me:$LINENO: result: yes" >&5
19359 echo "${ECHO_T}yes" >&6; }
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19364 { echo "$as_me:$LINENO: result: no" >&5
19365 echo "${ECHO_T}no" >&6; }
19366 cat >>confdefs.h <<\_ACEOF
19367 #define __POWERPC__ 1
19373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19380 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19381 cat >conftest.$ac_ext <<_ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 #include <CoreFoundation/CFBase.h>
19397 rm -f conftest.$ac_objext
19398 if { (ac_try="$ac_compile"
19399 case "(($ac_try" in
19400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19401 *) ac_try_echo=$ac_try;;
19403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19404 (eval "$ac_compile") 2>conftest.er1
19406 grep -v '^ *+' conftest.er1 >conftest.err
19408 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } && {
19411 test -z "$ac_c_werror_flag" ||
19412 test ! -s conftest.err
19413 } && test -s conftest.$ac_objext; then
19414 { echo "$as_me:$LINENO: result: yes" >&5
19415 echo "${ECHO_T}yes" >&6; }
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 { echo "$as_me:$LINENO: result: no" >&5
19421 echo "${ECHO_T}no" >&6; }
19422 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19423 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19424 cat >conftest.$ac_ext <<_ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 #define __CF_USE_FRAMEWORK_INCLUDES__
19431 #include <CoreFoundation/CFBase.h>
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19450 grep -v '^ *+' conftest.er1 >conftest.err
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 { echo "$as_me:$LINENO: result: yes" >&5
19459 echo "${ECHO_T}yes" >&6; }
19460 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19465 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19466 See \`config.log' for more details." >&5
19467 echo "$as_me: error: no. CoreFoundation not available.
19468 See \`config.log' for more details." >&2;}
19469 { (exit 1); exit 1; }; }
19473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19483 doesnt_want_win32=0
19486 if test "$wxUSE_MSW" = 1 ; then
19489 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19490 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19491 if test "${wx_cv_nocygwin+set}" = set; then
19492 echo $ECHO_N "(cached) $ECHO_C" >&6
19495 cat >conftest.$ac_ext <<_ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19514 rm -f conftest.$ac_objext
19515 if { (ac_try="$ac_compile"
19516 case "(($ac_try" in
19517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19518 *) ac_try_echo=$ac_try;;
19520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19521 (eval "$ac_compile") 2>conftest.er1
19523 grep -v '^ *+' conftest.er1 >conftest.err
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } && {
19528 test -z "$ac_c_werror_flag" ||
19529 test ! -s conftest.err
19530 } && test -s conftest.$ac_objext; then
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.$ac_ext >&5
19540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19544 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19545 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19547 if test "$wx_cv_nocygwin" = "yes"; then
19550 doesnt_want_win32=1
19553 if test "$wants_win32" = 1 ; then
19554 BAKEFILE_FORCE_PLATFORM=win32
19562 if test "$wxUSE_WINE" = "yes"; then
19564 LDFLAGS_GUI="-mwindows"
19567 if test "$wants_win32" = 1 ; then
19570 cat >>confdefs.h <<\_ACEOF
19571 #define __WIN32__ 1
19574 cat >>confdefs.h <<\_ACEOF
19575 #define __WIN95__ 1
19578 cat >>confdefs.h <<\_ACEOF
19579 #define __WINDOWS__ 1
19582 cat >>confdefs.h <<\_ACEOF
19583 #define __GNUWIN32__ 1
19586 cat >>confdefs.h <<\_ACEOF
19591 if test "$doesnt_want_win32" = 1 ; then
19596 if test "$USE_UNIX" = 1 ; then
19598 cat >>confdefs.h <<\_ACEOF
19605 *-pc-os2_emx | *-pc-os2-emx )
19606 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19607 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19608 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19609 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19612 ac_check_lib_save_LIBS=$LIBS
19613 LIBS="-lcExt $LIBS"
19614 cat >conftest.$ac_ext <<_ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19636 rm -f conftest.$ac_objext conftest$ac_exeext
19637 if { (ac_try="$ac_link"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_link") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1 >conftest.err
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest$ac_exeext &&
19653 $as_test_x conftest$ac_exeext; then
19654 ac_cv_lib_cExt_drand48=yes
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19659 ac_cv_lib_cExt_drand48=no
19662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19663 conftest$ac_exeext conftest.$ac_ext
19664 LIBS=$ac_check_lib_save_LIBS
19666 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19667 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19668 if test $ac_cv_lib_cExt_drand48 = yes; then
19669 LIBS="$LIBS -lcExt"
19673 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19675 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19676 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19677 if test "${wx_cv_gccversion+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 if test "$cross_compiling" = yes; then
19682 wx_cv_gccversion="EMX2"
19685 cat >conftest.$ac_ext <<_ACEOF
19688 cat confdefs.h >>conftest.$ac_ext
19689 cat >>conftest.$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19696 FILE *f=fopen("conftestval", "w");
19701 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19703 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19713 rm -f conftest$ac_exeext
19714 if { (ac_try="$ac_link"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_link") 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19724 { (case "(($ac_try" in
19725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19726 *) ac_try_echo=$ac_try;;
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_try") 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; }; then
19733 wx_cv_gccversion=`cat conftestval`
19735 echo "$as_me: program exited with status $ac_status" >&5
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19739 ( exit $ac_status )
19740 wx_cv_gccversion="EMX2"
19742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19748 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19749 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19750 if test "$wx_cv_gccversion" = "EMX2"; then
19751 LIBS="$LIBS -lstdcpp"
19752 LDFLAGS="$LDFLAGS -Zsysv-signals"
19754 if test "$wx_cv_gccversion" = "EMX3"; then
19755 LIBS="$LIBS -lstdcxx -lgcc"
19756 LDFLAGS="$LDFLAGS -Zsysv-signals"
19758 LIBS="$LIBS -lstdc++"
19761 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19762 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19763 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19770 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19771 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19772 if test "${ac_cv_string_strcasecmp+set}" = set; then
19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 cat >conftest.$ac_ext <<_ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19783 #include <string.h>
19789 strcasecmp("foo", "bar");
19795 rm -f conftest.$ac_objext conftest$ac_exeext
19796 if { (ac_try="$ac_link"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_link") 2>conftest.er1
19804 grep -v '^ *+' conftest.er1 >conftest.err
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest$ac_exeext &&
19812 $as_test_x conftest$ac_exeext; then
19813 ac_cv_string_strcasecmp=yes
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 ac_cv_string_strcasecmp=no
19822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19823 conftest$ac_exeext conftest.$ac_ext
19826 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19827 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19829 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19830 cat >>confdefs.h <<\_ACEOF
19831 #define HAVE_STRCASECMP_IN_STRING_H 1
19835 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19836 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19837 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19838 echo $ECHO_N "(cached) $ECHO_C" >&6
19841 cat >conftest.$ac_ext <<_ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19848 #include <strings.h>
19854 strcasecmp("foo", "bar");
19860 rm -f conftest.$ac_objext conftest$ac_exeext
19861 if { (ac_try="$ac_link"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_link") 2>conftest.er1
19869 grep -v '^ *+' conftest.er1 >conftest.err
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest$ac_exeext &&
19877 $as_test_x conftest$ac_exeext; then
19878 ac_cv_strings_strcasecmp=yes
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19883 ac_cv_strings_strcasecmp=no
19887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19888 conftest$ac_exeext conftest.$ac_ext
19891 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19892 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19894 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19895 cat >>confdefs.h <<\_ACEOF
19896 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19900 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19901 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19902 { (exit 1); exit 1; }; }
19910 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19911 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19912 if test "${ac_cv_header_stdc+set}" = set; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 cat >conftest.$ac_ext <<_ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #include <stdlib.h>
19922 #include <stdarg.h>
19923 #include <string.h>
19934 rm -f conftest.$ac_objext
19935 if { (ac_try="$ac_compile"
19936 case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_compile") 2>conftest.er1
19943 grep -v '^ *+' conftest.er1 >conftest.err
19945 cat conftest.err >&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest.$ac_objext; then
19951 ac_cv_header_stdc=yes
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 ac_cv_header_stdc=no
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 if test $ac_cv_header_stdc = yes; then
19962 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19963 cat >conftest.$ac_ext <<_ACEOF
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 #include <string.h>
19972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19973 $EGREP "memchr" >/dev/null 2>&1; then
19976 ac_cv_header_stdc=no
19982 if test $ac_cv_header_stdc = yes; then
19983 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19984 cat >conftest.$ac_ext <<_ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 #include <stdlib.h>
19993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19994 $EGREP "free" >/dev/null 2>&1; then
19997 ac_cv_header_stdc=no
20003 if test $ac_cv_header_stdc = yes; then
20004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20005 if test "$cross_compiling" = yes; then
20008 cat >conftest.$ac_ext <<_ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20015 #include <stdlib.h>
20016 #if ((' ' & 0x0FF) == 0x020)
20017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20020 # define ISLOWER(c) \
20021 (('a' <= (c) && (c) <= 'i') \
20022 || ('j' <= (c) && (c) <= 'r') \
20023 || ('s' <= (c) && (c) <= 'z'))
20024 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20032 for (i = 0; i < 256; i++)
20033 if (XOR (islower (i), ISLOWER (i))
20034 || toupper (i) != TOUPPER (i))
20039 rm -f conftest$ac_exeext
20040 if { (ac_try="$ac_link"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_link") 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20050 { (case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_try") 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20061 echo "$as_me: program exited with status $ac_status" >&5
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20065 ( exit $ac_status )
20066 ac_cv_header_stdc=no
20068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20074 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20075 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20076 if test $ac_cv_header_stdc = yes; then
20078 cat >>confdefs.h <<\_ACEOF
20079 #define STDC_HEADERS 1
20084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20094 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20095 inttypes.h stdint.h unistd.h
20097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20098 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20101 echo $ECHO_N "(cached) $ECHO_C" >&6
20103 cat >conftest.$ac_ext <<_ACEOF
20106 cat confdefs.h >>conftest.$ac_ext
20107 cat >>conftest.$ac_ext <<_ACEOF
20108 /* end confdefs.h. */
20109 $ac_includes_default
20111 #include <$ac_header>
20113 rm -f conftest.$ac_objext
20114 if { (ac_try="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20122 grep -v '^ *+' conftest.er1 >conftest.err
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.$ac_objext; then
20130 eval "$as_ac_Header=yes"
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20135 eval "$as_ac_Header=no"
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 ac_res=`eval echo '${'$as_ac_Header'}'`
20141 { echo "$as_me:$LINENO: result: $ac_res" >&5
20142 echo "${ECHO_T}$ac_res" >&6; }
20143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20144 cat >>confdefs.h <<_ACEOF
20145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20155 for ac_header in langinfo.h wchar.h
20157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.$ac_ext <<_ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20171 #include <$ac_header>
20173 rm -f conftest.$ac_objext
20174 if { (ac_try="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20182 grep -v '^ *+' conftest.er1 >conftest.err
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_c_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.$ac_objext; then
20190 eval "$as_ac_Header=yes"
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20195 eval "$as_ac_Header=no"
20198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 ac_res=`eval echo '${'$as_ac_Header'}'`
20201 { echo "$as_me:$LINENO: result: $ac_res" >&5
20202 echo "${ECHO_T}$ac_res" >&6; }
20203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20204 cat >>confdefs.h <<_ACEOF
20205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20213 if test "$ac_cv_header_wchar_h" != "yes"; then
20215 for ac_header in wcstr.h
20217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20221 echo $ECHO_N "(cached) $ECHO_C" >&6
20223 cat >conftest.$ac_ext <<_ACEOF
20226 cat confdefs.h >>conftest.$ac_ext
20227 cat >>conftest.$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20231 #include <$ac_header>
20233 rm -f conftest.$ac_objext
20234 if { (ac_try="$ac_compile"
20235 case "(($ac_try" in
20236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20237 *) ac_try_echo=$ac_try;;
20239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20240 (eval "$ac_compile") 2>conftest.er1
20242 grep -v '^ *+' conftest.er1 >conftest.err
20244 cat conftest.err >&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } && {
20247 test -z "$ac_c_werror_flag" ||
20248 test ! -s conftest.err
20249 } && test -s conftest.$ac_objext; then
20250 eval "$as_ac_Header=yes"
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20255 eval "$as_ac_Header=no"
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 ac_res=`eval echo '${'$as_ac_Header'}'`
20261 { echo "$as_me:$LINENO: result: $ac_res" >&5
20262 echo "${ECHO_T}$ac_res" >&6; }
20263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20264 cat >>confdefs.h <<_ACEOF
20265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20275 *-pc-os2_emx | *-pc-os2-emx )
20276 if test $ac_cv_header_langinfo_h = "yes" \
20277 -a \( "$wx_cv_gccversion" = "EMX2" \
20278 -o "$wx_cv_gccversion" = "EMX3" \
20279 -o "$wx_cv_gccversion" = "Innotek5" \); then
20280 LIBS="$LIBS -lintl"
20285 if test "$USE_UNIX" = 1 ; then
20287 for ac_header in sys/select.h
20289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 cat >conftest.$ac_ext <<_ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20303 #include <$ac_header>
20305 rm -f conftest.$ac_objext
20306 if { (ac_try="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20314 grep -v '^ *+' conftest.er1 >conftest.err
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20322 eval "$as_ac_Header=yes"
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.$ac_ext >&5
20327 eval "$as_ac_Header=no"
20330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20332 ac_res=`eval echo '${'$as_ac_Header'}'`
20333 { echo "$as_me:$LINENO: result: $ac_res" >&5
20334 echo "${ECHO_T}$ac_res" >&6; }
20335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20336 cat >>confdefs.h <<_ACEOF
20337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20347 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20348 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20349 if test "${ac_cv_c_const+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 cat >conftest.$ac_ext <<_ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20362 /* FIXME: Include the comments suggested by Paul. */
20363 #ifndef __cplusplus
20364 /* Ultrix mips cc rejects this. */
20365 typedef int charset[2];
20367 /* SunOS 4.1.1 cc rejects this. */
20368 char const *const *pcpcc;
20370 /* NEC SVR4.0.2 mips cc rejects this. */
20371 struct point {int x, y;};
20372 static struct point const zero = {0,0};
20373 /* AIX XL C 1.02.0.0 rejects this.
20374 It does not let you subtract one const X* pointer from another in
20375 an arm of an if-expression whose if-part is not a constant
20377 const char *g = "string";
20378 pcpcc = &g + (g ? g-g : 0);
20379 /* HPUX 7.0 cc rejects these. */
20381 ppc = (char**) pcpcc;
20382 pcpcc = (char const *const *) ppc;
20383 { /* SCO 3.2v4 cc rejects this. */
20385 char const *s = 0 ? (char *) 0 : (char const *) 0;
20390 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20391 int x[] = {25, 17};
20392 const int *foo = &x[0];
20395 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20396 typedef const int *iptr;
20400 { /* AIX XL C 1.02.0.0 rejects this saying
20401 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20402 struct s { int j; const int *ap[3]; };
20403 struct s *b; b->j = 5;
20405 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20406 const int foo = 10;
20407 if (!foo) return 0;
20409 return !cs[0] && !zero.x;
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20425 grep -v '^ *+' conftest.er1 >conftest.err
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && {
20430 test -z "$ac_c_werror_flag" ||
20431 test ! -s conftest.err
20432 } && test -s conftest.$ac_objext; then
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20444 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20445 if test $ac_cv_c_const = no; then
20447 cat >>confdefs.h <<\_ACEOF
20453 { echo "$as_me:$LINENO: checking for inline" >&5
20454 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20455 if test "${ac_cv_c_inline+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20459 for ac_kw in inline __inline__ __inline; do
20460 cat >conftest.$ac_ext <<_ACEOF
20463 cat confdefs.h >>conftest.$ac_ext
20464 cat >>conftest.$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20466 #ifndef __cplusplus
20468 static $ac_kw foo_t static_foo () {return 0; }
20469 $ac_kw foo_t foo () {return 0; }
20473 rm -f conftest.$ac_objext
20474 if { (ac_try="$ac_compile"
20475 case "(($ac_try" in
20476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20477 *) ac_try_echo=$ac_try;;
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_compile") 2>conftest.er1
20482 grep -v '^ *+' conftest.er1 >conftest.err
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } && {
20487 test -z "$ac_c_werror_flag" ||
20488 test ! -s conftest.err
20489 } && test -s conftest.$ac_objext; then
20490 ac_cv_c_inline=$ac_kw
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499 test "$ac_cv_c_inline" != no && break
20503 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20504 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20507 case $ac_cv_c_inline in
20510 case $ac_cv_c_inline in
20512 *) ac_val=$ac_cv_c_inline;;
20514 cat >>confdefs.h <<_ACEOF
20515 #ifndef __cplusplus
20516 #define inline $ac_val
20523 { echo "$as_me:$LINENO: checking for short" >&5
20524 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20525 if test "${ac_cv_type_short+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 cat >conftest.$ac_ext <<_ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20535 typedef short ac__type_new_;
20539 if ((ac__type_new_ *) 0)
20541 if (sizeof (ac__type_new_))
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20556 grep -v '^ *+' conftest.er1 >conftest.err
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.$ac_objext; then
20564 ac_cv_type_short=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20569 ac_cv_type_short=no
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20574 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20575 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20577 # The cast to long int works around a bug in the HP C Compiler
20578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20580 # This bug is HP SR number 8606223364.
20581 { echo "$as_me:$LINENO: checking size of short" >&5
20582 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20583 if test "${ac_cv_sizeof_short+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20586 if test "$cross_compiling" = yes; then
20587 # Depending upon the size, compute the lo and hi bounds.
20588 cat >conftest.$ac_ext <<_ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20595 typedef short ac__type_sizeof_;
20599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20615 grep -v '^ *+' conftest.er1 >conftest.err
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20625 cat >conftest.$ac_ext <<_ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 typedef short ac__type_sizeof_;
20636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20643 rm -f conftest.$ac_objext
20644 if { (ac_try="$ac_compile"
20645 case "(($ac_try" in
20646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20647 *) ac_try_echo=$ac_try;;
20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20650 (eval "$ac_compile") 2>conftest.er1
20652 grep -v '^ *+' conftest.er1 >conftest.err
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } && {
20657 test -z "$ac_c_werror_flag" ||
20658 test ! -s conftest.err
20659 } && test -s conftest.$ac_objext; then
20660 ac_hi=$ac_mid; break
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20665 ac_lo=`expr $ac_mid + 1`
20666 if test $ac_lo -le $ac_mid; then
20670 ac_mid=`expr 2 '*' $ac_mid + 1`
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20679 cat >conftest.$ac_ext <<_ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 typedef short ac__type_sizeof_;
20690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20697 rm -f conftest.$ac_objext
20698 if { (ac_try="$ac_compile"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_compile") 2>conftest.er1
20706 grep -v '^ *+' conftest.er1 >conftest.err
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && {
20711 test -z "$ac_c_werror_flag" ||
20712 test ! -s conftest.err
20713 } && test -s conftest.$ac_objext; then
20716 cat >conftest.$ac_ext <<_ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20723 typedef short ac__type_sizeof_;
20727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20734 rm -f conftest.$ac_objext
20735 if { (ac_try="$ac_compile"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_compile") 2>conftest.er1
20743 grep -v '^ *+' conftest.er1 >conftest.err
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && {
20748 test -z "$ac_c_werror_flag" ||
20749 test ! -s conftest.err
20750 } && test -s conftest.$ac_objext; then
20751 ac_lo=$ac_mid; break
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20756 ac_hi=`expr '(' $ac_mid ')' - 1`
20757 if test $ac_mid -le $ac_hi; then
20761 ac_mid=`expr 2 '*' $ac_mid`
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 # Binary search between lo and hi bounds.
20778 while test "x$ac_lo" != "x$ac_hi"; do
20779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20780 cat >conftest.$ac_ext <<_ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 $ac_includes_default
20787 typedef short ac__type_sizeof_;
20791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20798 rm -f conftest.$ac_objext
20799 if { (ac_try="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20807 grep -v '^ *+' conftest.er1 >conftest.err
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } && {
20812 test -z "$ac_c_werror_flag" ||
20813 test ! -s conftest.err
20814 } && test -s conftest.$ac_objext; then
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20820 ac_lo=`expr '(' $ac_mid ')' + 1`
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826 ?*) ac_cv_sizeof_short=$ac_lo;;
20827 '') if test "$ac_cv_type_short" = yes; then
20828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20829 See \`config.log' for more details." >&5
20830 echo "$as_me: error: cannot compute sizeof (short)
20831 See \`config.log' for more details." >&2;}
20832 { (exit 77); exit 77; }; }
20834 ac_cv_sizeof_short=0
20838 cat >conftest.$ac_ext <<_ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef short ac__type_sizeof_;
20846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20849 #include <stdlib.h>
20854 FILE *f = fopen ("conftest.val", "w");
20857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20859 long int i = longval ();
20860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20862 fprintf (f, "%ld\n", i);
20866 unsigned long int i = ulongval ();
20867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20869 fprintf (f, "%lu\n", i);
20871 return ferror (f) || fclose (f) != 0;
20877 rm -f conftest$ac_exeext
20878 if { (ac_try="$ac_link"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_link") 2>&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20888 { (case "(($ac_try" in
20889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20890 *) ac_try_echo=$ac_try;;
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_try") 2>&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_sizeof_short=`cat conftest.val`
20899 echo "$as_me: program exited with status $ac_status" >&5
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20903 ( exit $ac_status )
20904 if test "$ac_cv_type_short" = yes; then
20905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20906 See \`config.log' for more details." >&5
20907 echo "$as_me: error: cannot compute sizeof (short)
20908 See \`config.log' for more details." >&2;}
20909 { (exit 77); exit 77; }; }
20911 ac_cv_sizeof_short=0
20914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20919 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20923 cat >>confdefs.h <<_ACEOF
20924 #define SIZEOF_SHORT $ac_cv_sizeof_short
20928 { echo "$as_me:$LINENO: checking for void *" >&5
20929 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20930 if test "${ac_cv_type_void_p+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 cat >conftest.$ac_ext <<_ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 typedef void * ac__type_new_;
20944 if ((ac__type_new_ *) 0)
20946 if (sizeof (ac__type_new_))
20952 rm -f conftest.$ac_objext
20953 if { (ac_try="$ac_compile"
20954 case "(($ac_try" in
20955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20956 *) ac_try_echo=$ac_try;;
20958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20959 (eval "$ac_compile") 2>conftest.er1
20961 grep -v '^ *+' conftest.er1 >conftest.err
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } && {
20966 test -z "$ac_c_werror_flag" ||
20967 test ! -s conftest.err
20968 } && test -s conftest.$ac_objext; then
20969 ac_cv_type_void_p=yes
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 ac_cv_type_void_p=no
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20979 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20980 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20982 # The cast to long int works around a bug in the HP C Compiler
20983 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20984 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20985 # This bug is HP SR number 8606223364.
20986 { echo "$as_me:$LINENO: checking size of void *" >&5
20987 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20988 if test "${ac_cv_sizeof_void_p+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 if test "$cross_compiling" = yes; then
20992 # Depending upon the size, compute the lo and hi bounds.
20993 cat >conftest.$ac_ext <<_ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 $ac_includes_default
21000 typedef void * ac__type_sizeof_;
21004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21011 rm -f conftest.$ac_objext
21012 if { (ac_try="$ac_compile"
21013 case "(($ac_try" in
21014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21015 *) ac_try_echo=$ac_try;;
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21018 (eval "$ac_compile") 2>conftest.er1
21020 grep -v '^ *+' conftest.er1 >conftest.err
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } && {
21025 test -z "$ac_c_werror_flag" ||
21026 test ! -s conftest.err
21027 } && test -s conftest.$ac_objext; then
21030 cat >conftest.$ac_ext <<_ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 $ac_includes_default
21037 typedef void * ac__type_sizeof_;
21041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21048 rm -f conftest.$ac_objext
21049 if { (ac_try="$ac_compile"
21050 case "(($ac_try" in
21051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21052 *) ac_try_echo=$ac_try;;
21054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21055 (eval "$ac_compile") 2>conftest.er1
21057 grep -v '^ *+' conftest.er1 >conftest.err
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } && {
21062 test -z "$ac_c_werror_flag" ||
21063 test ! -s conftest.err
21064 } && test -s conftest.$ac_objext; then
21065 ac_hi=$ac_mid; break
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21070 ac_lo=`expr $ac_mid + 1`
21071 if test $ac_lo -le $ac_mid; then
21075 ac_mid=`expr 2 '*' $ac_mid + 1`
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21084 cat >conftest.$ac_ext <<_ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21091 typedef void * ac__type_sizeof_;
21095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21102 rm -f conftest.$ac_objext
21103 if { (ac_try="$ac_compile"
21104 case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_compile") 2>conftest.er1
21111 grep -v '^ *+' conftest.er1 >conftest.err
21113 cat conftest.err >&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } && {
21116 test -z "$ac_c_werror_flag" ||
21117 test ! -s conftest.err
21118 } && test -s conftest.$ac_objext; then
21121 cat >conftest.$ac_ext <<_ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127 $ac_includes_default
21128 typedef void * ac__type_sizeof_;
21132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21139 rm -f conftest.$ac_objext
21140 if { (ac_try="$ac_compile"
21141 case "(($ac_try" in
21142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21143 *) ac_try_echo=$ac_try;;
21145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21146 (eval "$ac_compile") 2>conftest.er1
21148 grep -v '^ *+' conftest.er1 >conftest.err
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } && {
21153 test -z "$ac_c_werror_flag" ||
21154 test ! -s conftest.err
21155 } && test -s conftest.$ac_objext; then
21156 ac_lo=$ac_mid; break
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21161 ac_hi=`expr '(' $ac_mid ')' - 1`
21162 if test $ac_mid -le $ac_hi; then
21166 ac_mid=`expr 2 '*' $ac_mid`
21169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21182 # Binary search between lo and hi bounds.
21183 while test "x$ac_lo" != "x$ac_hi"; do
21184 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21185 cat >conftest.$ac_ext <<_ACEOF
21188 cat confdefs.h >>conftest.$ac_ext
21189 cat >>conftest.$ac_ext <<_ACEOF
21190 /* end confdefs.h. */
21191 $ac_includes_default
21192 typedef void * ac__type_sizeof_;
21196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21203 rm -f conftest.$ac_objext
21204 if { (ac_try="$ac_compile"
21205 case "(($ac_try" in
21206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21207 *) ac_try_echo=$ac_try;;
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_compile") 2>conftest.er1
21212 grep -v '^ *+' conftest.er1 >conftest.err
21214 cat conftest.err >&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } && {
21217 test -z "$ac_c_werror_flag" ||
21218 test ! -s conftest.err
21219 } && test -s conftest.$ac_objext; then
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.$ac_ext >&5
21225 ac_lo=`expr '(' $ac_mid ')' + 1`
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21232 '') if test "$ac_cv_type_void_p" = yes; then
21233 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21234 See \`config.log' for more details." >&5
21235 echo "$as_me: error: cannot compute sizeof (void *)
21236 See \`config.log' for more details." >&2;}
21237 { (exit 77); exit 77; }; }
21239 ac_cv_sizeof_void_p=0
21243 cat >conftest.$ac_ext <<_ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 $ac_includes_default
21250 typedef void * ac__type_sizeof_;
21251 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21252 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21254 #include <stdlib.h>
21259 FILE *f = fopen ("conftest.val", "w");
21262 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21264 long int i = longval ();
21265 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21267 fprintf (f, "%ld\n", i);
21271 unsigned long int i = ulongval ();
21272 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21274 fprintf (f, "%lu\n", i);
21276 return ferror (f) || fclose (f) != 0;
21282 rm -f conftest$ac_exeext
21283 if { (ac_try="$ac_link"
21284 case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_link") 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21293 { (case "(($ac_try" in
21294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21295 *) ac_try_echo=$ac_try;;
21297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21298 (eval "$ac_try") 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; }; then
21302 ac_cv_sizeof_void_p=`cat conftest.val`
21304 echo "$as_me: program exited with status $ac_status" >&5
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21308 ( exit $ac_status )
21309 if test "$ac_cv_type_void_p" = yes; then
21310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21311 See \`config.log' for more details." >&5
21312 echo "$as_me: error: cannot compute sizeof (void *)
21313 See \`config.log' for more details." >&2;}
21314 { (exit 77); exit 77; }; }
21316 ac_cv_sizeof_void_p=0
21319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21323 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21324 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21328 cat >>confdefs.h <<_ACEOF
21329 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21333 { echo "$as_me:$LINENO: checking for int" >&5
21334 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21335 if test "${ac_cv_type_int+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21338 cat >conftest.$ac_ext <<_ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345 typedef int ac__type_new_;
21349 if ((ac__type_new_ *) 0)
21351 if (sizeof (ac__type_new_))
21357 rm -f conftest.$ac_objext
21358 if { (ac_try="$ac_compile"
21359 case "(($ac_try" in
21360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21361 *) ac_try_echo=$ac_try;;
21363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21364 (eval "$ac_compile") 2>conftest.er1
21366 grep -v '^ *+' conftest.er1 >conftest.err
21368 cat conftest.err >&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); } && {
21371 test -z "$ac_c_werror_flag" ||
21372 test ! -s conftest.err
21373 } && test -s conftest.$ac_objext; then
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21384 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21385 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21387 # The cast to long int works around a bug in the HP C Compiler
21388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21390 # This bug is HP SR number 8606223364.
21391 { echo "$as_me:$LINENO: checking size of int" >&5
21392 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21393 if test "${ac_cv_sizeof_int+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 if test "$cross_compiling" = yes; then
21397 # Depending upon the size, compute the lo and hi bounds.
21398 cat >conftest.$ac_ext <<_ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405 typedef int ac__type_sizeof_;
21409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21416 rm -f conftest.$ac_objext
21417 if { (ac_try="$ac_compile"
21418 case "(($ac_try" in
21419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420 *) ac_try_echo=$ac_try;;
21422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_compile") 2>conftest.er1
21425 grep -v '^ *+' conftest.er1 >conftest.err
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && {
21430 test -z "$ac_c_werror_flag" ||
21431 test ! -s conftest.err
21432 } && test -s conftest.$ac_objext; then
21435 cat >conftest.$ac_ext <<_ACEOF
21438 cat confdefs.h >>conftest.$ac_ext
21439 cat >>conftest.$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21441 $ac_includes_default
21442 typedef int ac__type_sizeof_;
21446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21453 rm -f conftest.$ac_objext
21454 if { (ac_try="$ac_compile"
21455 case "(($ac_try" in
21456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21457 *) ac_try_echo=$ac_try;;
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_compile") 2>conftest.er1
21462 grep -v '^ *+' conftest.er1 >conftest.err
21464 cat conftest.err >&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } && {
21467 test -z "$ac_c_werror_flag" ||
21468 test ! -s conftest.err
21469 } && test -s conftest.$ac_objext; then
21470 ac_hi=$ac_mid; break
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21475 ac_lo=`expr $ac_mid + 1`
21476 if test $ac_lo -le $ac_mid; then
21480 ac_mid=`expr 2 '*' $ac_mid + 1`
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21489 cat >conftest.$ac_ext <<_ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef int ac__type_sizeof_;
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21507 rm -f conftest.$ac_objext
21508 if { (ac_try="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21516 grep -v '^ *+' conftest.er1 >conftest.err
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.$ac_objext; then
21526 cat >conftest.$ac_ext <<_ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 $ac_includes_default
21533 typedef int ac__type_sizeof_;
21537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21544 rm -f conftest.$ac_objext
21545 if { (ac_try="$ac_compile"
21546 case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_compile") 2>conftest.er1
21553 grep -v '^ *+' conftest.er1 >conftest.err
21555 cat conftest.err >&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } && {
21558 test -z "$ac_c_werror_flag" ||
21559 test ! -s conftest.err
21560 } && test -s conftest.$ac_objext; then
21561 ac_lo=$ac_mid; break
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21566 ac_hi=`expr '(' $ac_mid ')' - 1`
21567 if test $ac_mid -le $ac_hi; then
21571 ac_mid=`expr 2 '*' $ac_mid`
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21587 # Binary search between lo and hi bounds.
21588 while test "x$ac_lo" != "x$ac_hi"; do
21589 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21590 cat >conftest.$ac_ext <<_ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21597 typedef int ac__type_sizeof_;
21601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21608 rm -f conftest.$ac_objext
21609 if { (ac_try="$ac_compile"
21610 case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_compile") 2>conftest.er1
21617 grep -v '^ *+' conftest.er1 >conftest.err
21619 cat conftest.err >&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } && {
21622 test -z "$ac_c_werror_flag" ||
21623 test ! -s conftest.err
21624 } && test -s conftest.$ac_objext; then
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21630 ac_lo=`expr '(' $ac_mid ')' + 1`
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21636 ?*) ac_cv_sizeof_int=$ac_lo;;
21637 '') if test "$ac_cv_type_int" = yes; then
21638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21639 See \`config.log' for more details." >&5
21640 echo "$as_me: error: cannot compute sizeof (int)
21641 See \`config.log' for more details." >&2;}
21642 { (exit 77); exit 77; }; }
21648 cat >conftest.$ac_ext <<_ACEOF
21651 cat confdefs.h >>conftest.$ac_ext
21652 cat >>conftest.$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21654 $ac_includes_default
21655 typedef int ac__type_sizeof_;
21656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21659 #include <stdlib.h>
21664 FILE *f = fopen ("conftest.val", "w");
21667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21669 long int i = longval ();
21670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21672 fprintf (f, "%ld\n", i);
21676 unsigned long int i = ulongval ();
21677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21679 fprintf (f, "%lu\n", i);
21681 return ferror (f) || fclose (f) != 0;
21687 rm -f conftest$ac_exeext
21688 if { (ac_try="$ac_link"
21689 case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_link") 2>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21698 { (case "(($ac_try" in
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_try") 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 ac_cv_sizeof_int=`cat conftest.val`
21709 echo "$as_me: program exited with status $ac_status" >&5
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.$ac_ext >&5
21713 ( exit $ac_status )
21714 if test "$ac_cv_type_int" = yes; then
21715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21716 See \`config.log' for more details." >&5
21717 echo "$as_me: error: cannot compute sizeof (int)
21718 See \`config.log' for more details." >&2;}
21719 { (exit 77); exit 77; }; }
21724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21729 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21733 cat >>confdefs.h <<_ACEOF
21734 #define SIZEOF_INT $ac_cv_sizeof_int
21738 { echo "$as_me:$LINENO: checking for long" >&5
21739 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21740 if test "${ac_cv_type_long+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 cat >conftest.$ac_ext <<_ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long ac__type_new_;
21754 if ((ac__type_new_ *) 0)
21756 if (sizeof (ac__type_new_))
21762 rm -f conftest.$ac_objext
21763 if { (ac_try="$ac_compile"
21764 case "(($ac_try" in
21765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21766 *) ac_try_echo=$ac_try;;
21768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21769 (eval "$ac_compile") 2>conftest.er1
21771 grep -v '^ *+' conftest.er1 >conftest.err
21773 cat conftest.err >&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } && {
21776 test -z "$ac_c_werror_flag" ||
21777 test ! -s conftest.err
21778 } && test -s conftest.$ac_objext; then
21779 ac_cv_type_long=yes
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.$ac_ext >&5
21787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21789 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21790 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21792 # The cast to long int works around a bug in the HP C Compiler
21793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21795 # This bug is HP SR number 8606223364.
21796 { echo "$as_me:$LINENO: checking size of long" >&5
21797 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21798 if test "${ac_cv_sizeof_long+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21801 if test "$cross_compiling" = yes; then
21802 # Depending upon the size, compute the lo and hi bounds.
21803 cat >conftest.$ac_ext <<_ACEOF
21806 cat confdefs.h >>conftest.$ac_ext
21807 cat >>conftest.$ac_ext <<_ACEOF
21808 /* end confdefs.h. */
21809 $ac_includes_default
21810 typedef long ac__type_sizeof_;
21814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21821 rm -f conftest.$ac_objext
21822 if { (ac_try="$ac_compile"
21823 case "(($ac_try" in
21824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21825 *) ac_try_echo=$ac_try;;
21827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21828 (eval "$ac_compile") 2>conftest.er1
21830 grep -v '^ *+' conftest.er1 >conftest.err
21832 cat conftest.err >&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); } && {
21835 test -z "$ac_c_werror_flag" ||
21836 test ! -s conftest.err
21837 } && test -s conftest.$ac_objext; then
21840 cat >conftest.$ac_ext <<_ACEOF
21843 cat confdefs.h >>conftest.$ac_ext
21844 cat >>conftest.$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846 $ac_includes_default
21847 typedef long ac__type_sizeof_;
21851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21858 rm -f conftest.$ac_objext
21859 if { (ac_try="$ac_compile"
21860 case "(($ac_try" in
21861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21862 *) ac_try_echo=$ac_try;;
21864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21865 (eval "$ac_compile") 2>conftest.er1
21867 grep -v '^ *+' conftest.er1 >conftest.err
21869 cat conftest.err >&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); } && {
21872 test -z "$ac_c_werror_flag" ||
21873 test ! -s conftest.err
21874 } && test -s conftest.$ac_objext; then
21875 ac_hi=$ac_mid; break
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21880 ac_lo=`expr $ac_mid + 1`
21881 if test $ac_lo -le $ac_mid; then
21885 ac_mid=`expr 2 '*' $ac_mid + 1`
21888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.$ac_ext >&5
21894 cat >conftest.$ac_ext <<_ACEOF
21897 cat confdefs.h >>conftest.$ac_ext
21898 cat >>conftest.$ac_ext <<_ACEOF
21899 /* end confdefs.h. */
21900 $ac_includes_default
21901 typedef long ac__type_sizeof_;
21905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21912 rm -f conftest.$ac_objext
21913 if { (ac_try="$ac_compile"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_compile") 2>conftest.er1
21921 grep -v '^ *+' conftest.er1 >conftest.err
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } && {
21926 test -z "$ac_c_werror_flag" ||
21927 test ! -s conftest.err
21928 } && test -s conftest.$ac_objext; then
21931 cat >conftest.$ac_ext <<_ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 $ac_includes_default
21938 typedef long ac__type_sizeof_;
21942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21949 rm -f conftest.$ac_objext
21950 if { (ac_try="$ac_compile"
21951 case "(($ac_try" in
21952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21953 *) ac_try_echo=$ac_try;;
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_compile") 2>conftest.er1
21958 grep -v '^ *+' conftest.er1 >conftest.err
21960 cat conftest.err >&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } && {
21963 test -z "$ac_c_werror_flag" ||
21964 test ! -s conftest.err
21965 } && test -s conftest.$ac_objext; then
21966 ac_lo=$ac_mid; break
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21971 ac_hi=`expr '(' $ac_mid ')' - 1`
21972 if test $ac_mid -le $ac_hi; then
21976 ac_mid=`expr 2 '*' $ac_mid`
21979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 # Binary search between lo and hi bounds.
21993 while test "x$ac_lo" != "x$ac_hi"; do
21994 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21995 cat >conftest.$ac_ext <<_ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 $ac_includes_default
22002 typedef long ac__type_sizeof_;
22006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22013 rm -f conftest.$ac_objext
22014 if { (ac_try="$ac_compile"
22015 case "(($ac_try" in
22016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_compile") 2>conftest.er1
22022 grep -v '^ *+' conftest.er1 >conftest.err
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } && {
22027 test -z "$ac_c_werror_flag" ||
22028 test ! -s conftest.err
22029 } && test -s conftest.$ac_objext; then
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22035 ac_lo=`expr '(' $ac_mid ')' + 1`
22038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22041 ?*) ac_cv_sizeof_long=$ac_lo;;
22042 '') if test "$ac_cv_type_long" = yes; then
22043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22044 See \`config.log' for more details." >&5
22045 echo "$as_me: error: cannot compute sizeof (long)
22046 See \`config.log' for more details." >&2;}
22047 { (exit 77); exit 77; }; }
22049 ac_cv_sizeof_long=0
22053 cat >conftest.$ac_ext <<_ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059 $ac_includes_default
22060 typedef long ac__type_sizeof_;
22061 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22062 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22064 #include <stdlib.h>
22069 FILE *f = fopen ("conftest.val", "w");
22072 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22074 long int i = longval ();
22075 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22077 fprintf (f, "%ld\n", i);
22081 unsigned long int i = ulongval ();
22082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22084 fprintf (f, "%lu\n", i);
22086 return ferror (f) || fclose (f) != 0;
22092 rm -f conftest$ac_exeext
22093 if { (ac_try="$ac_link"
22094 case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_link") 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22103 { (case "(($ac_try" in
22104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22105 *) ac_try_echo=$ac_try;;
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_try") 2>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; }; then
22112 ac_cv_sizeof_long=`cat conftest.val`
22114 echo "$as_me: program exited with status $ac_status" >&5
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22118 ( exit $ac_status )
22119 if test "$ac_cv_type_long" = yes; then
22120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22121 See \`config.log' for more details." >&5
22122 echo "$as_me: error: cannot compute sizeof (long)
22123 See \`config.log' for more details." >&2;}
22124 { (exit 77); exit 77; }; }
22126 ac_cv_sizeof_long=0
22129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22133 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22134 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22138 cat >>confdefs.h <<_ACEOF
22139 #define SIZEOF_LONG $ac_cv_sizeof_long
22143 { echo "$as_me:$LINENO: checking for size_t" >&5
22144 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22145 if test "${ac_cv_type_size_t+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 cat >conftest.$ac_ext <<_ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 $ac_includes_default
22155 typedef size_t ac__type_new_;
22159 if ((ac__type_new_ *) 0)
22161 if (sizeof (ac__type_new_))
22167 rm -f conftest.$ac_objext
22168 if { (ac_try="$ac_compile"
22169 case "(($ac_try" in
22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 *) ac_try_echo=$ac_try;;
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_compile") 2>conftest.er1
22176 grep -v '^ *+' conftest.er1 >conftest.err
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } && {
22181 test -z "$ac_c_werror_flag" ||
22182 test ! -s conftest.err
22183 } && test -s conftest.$ac_objext; then
22184 ac_cv_type_size_t=yes
22186 echo "$as_me: failed program was:" >&5
22187 sed 's/^/| /' conftest.$ac_ext >&5
22189 ac_cv_type_size_t=no
22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22195 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22197 # The cast to long int works around a bug in the HP C Compiler
22198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22200 # This bug is HP SR number 8606223364.
22201 { echo "$as_me:$LINENO: checking size of size_t" >&5
22202 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22203 if test "${ac_cv_sizeof_size_t+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 if test "$cross_compiling" = yes; then
22207 # Depending upon the size, compute the lo and hi bounds.
22208 cat >conftest.$ac_ext <<_ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef size_t ac__type_sizeof_;
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22230 *) ac_try_echo=$ac_try;;
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22235 grep -v '^ *+' conftest.er1 >conftest.err
22237 cat conftest.err >&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.$ac_objext; then
22245 cat >conftest.$ac_ext <<_ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 $ac_includes_default
22252 typedef size_t ac__type_sizeof_;
22256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22263 rm -f conftest.$ac_objext
22264 if { (ac_try="$ac_compile"
22265 case "(($ac_try" in
22266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_compile") 2>conftest.er1
22272 grep -v '^ *+' conftest.er1 >conftest.err
22274 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } && {
22277 test -z "$ac_c_werror_flag" ||
22278 test ! -s conftest.err
22279 } && test -s conftest.$ac_objext; then
22280 ac_hi=$ac_mid; break
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22285 ac_lo=`expr $ac_mid + 1`
22286 if test $ac_lo -le $ac_mid; then
22290 ac_mid=`expr 2 '*' $ac_mid + 1`
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22299 cat >conftest.$ac_ext <<_ACEOF
22302 cat confdefs.h >>conftest.$ac_ext
22303 cat >>conftest.$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22305 $ac_includes_default
22306 typedef size_t ac__type_sizeof_;
22310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22317 rm -f conftest.$ac_objext
22318 if { (ac_try="$ac_compile"
22319 case "(($ac_try" in
22320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321 *) ac_try_echo=$ac_try;;
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_compile") 2>conftest.er1
22326 grep -v '^ *+' conftest.er1 >conftest.err
22328 cat conftest.err >&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } && {
22331 test -z "$ac_c_werror_flag" ||
22332 test ! -s conftest.err
22333 } && test -s conftest.$ac_objext; then
22336 cat >conftest.$ac_ext <<_ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342 $ac_includes_default
22343 typedef size_t ac__type_sizeof_;
22347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22354 rm -f conftest.$ac_objext
22355 if { (ac_try="$ac_compile"
22356 case "(($ac_try" in
22357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_compile") 2>conftest.er1
22363 grep -v '^ *+' conftest.er1 >conftest.err
22365 cat conftest.err >&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && {
22368 test -z "$ac_c_werror_flag" ||
22369 test ! -s conftest.err
22370 } && test -s conftest.$ac_objext; then
22371 ac_lo=$ac_mid; break
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22376 ac_hi=`expr '(' $ac_mid ')' - 1`
22377 if test $ac_mid -le $ac_hi; then
22381 ac_mid=`expr 2 '*' $ac_mid`
22384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 # Binary search between lo and hi bounds.
22398 while test "x$ac_lo" != "x$ac_hi"; do
22399 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22400 cat >conftest.$ac_ext <<_ACEOF
22403 cat confdefs.h >>conftest.$ac_ext
22404 cat >>conftest.$ac_ext <<_ACEOF
22405 /* end confdefs.h. */
22406 $ac_includes_default
22407 typedef size_t ac__type_sizeof_;
22411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22418 rm -f conftest.$ac_objext
22419 if { (ac_try="$ac_compile"
22420 case "(($ac_try" in
22421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22422 *) ac_try_echo=$ac_try;;
22424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22425 (eval "$ac_compile") 2>conftest.er1
22427 grep -v '^ *+' conftest.er1 >conftest.err
22429 cat conftest.err >&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } && {
22432 test -z "$ac_c_werror_flag" ||
22433 test ! -s conftest.err
22434 } && test -s conftest.$ac_objext; then
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22440 ac_lo=`expr '(' $ac_mid ')' + 1`
22443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22447 '') if test "$ac_cv_type_size_t" = yes; then
22448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22449 See \`config.log' for more details." >&5
22450 echo "$as_me: error: cannot compute sizeof (size_t)
22451 See \`config.log' for more details." >&2;}
22452 { (exit 77); exit 77; }; }
22454 ac_cv_sizeof_size_t=0
22458 cat >conftest.$ac_ext <<_ACEOF
22461 cat confdefs.h >>conftest.$ac_ext
22462 cat >>conftest.$ac_ext <<_ACEOF
22463 /* end confdefs.h. */
22464 $ac_includes_default
22465 typedef size_t ac__type_sizeof_;
22466 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22467 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22469 #include <stdlib.h>
22474 FILE *f = fopen ("conftest.val", "w");
22477 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22479 long int i = longval ();
22480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22482 fprintf (f, "%ld\n", i);
22486 unsigned long int i = ulongval ();
22487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22489 fprintf (f, "%lu\n", i);
22491 return ferror (f) || fclose (f) != 0;
22497 rm -f conftest$ac_exeext
22498 if { (ac_try="$ac_link"
22499 case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_link") 2>&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22508 { (case "(($ac_try" in
22509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510 *) ac_try_echo=$ac_try;;
22512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22513 (eval "$ac_try") 2>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); }; }; then
22517 ac_cv_sizeof_size_t=`cat conftest.val`
22519 echo "$as_me: program exited with status $ac_status" >&5
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 ( exit $ac_status )
22524 if test "$ac_cv_type_size_t" = yes; then
22525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22526 See \`config.log' for more details." >&5
22527 echo "$as_me: error: cannot compute sizeof (size_t)
22528 See \`config.log' for more details." >&2;}
22529 { (exit 77); exit 77; }; }
22531 ac_cv_sizeof_size_t=0
22534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22538 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22539 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22543 cat >>confdefs.h <<_ACEOF
22544 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22551 { echo "$as_me:$LINENO: checking for long long" >&5
22552 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22553 if test "${ac_cv_type_long_long+set}" = set; then
22554 echo $ECHO_N "(cached) $ECHO_C" >&6
22556 cat >conftest.$ac_ext <<_ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 $ac_includes_default
22563 typedef long long ac__type_new_;
22567 if ((ac__type_new_ *) 0)
22569 if (sizeof (ac__type_new_))
22575 rm -f conftest.$ac_objext
22576 if { (ac_try="$ac_compile"
22577 case "(($ac_try" in
22578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22579 *) ac_try_echo=$ac_try;;
22581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22582 (eval "$ac_compile") 2>conftest.er1
22584 grep -v '^ *+' conftest.er1 >conftest.err
22586 cat conftest.err >&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } && {
22589 test -z "$ac_c_werror_flag" ||
22590 test ! -s conftest.err
22591 } && test -s conftest.$ac_objext; then
22592 ac_cv_type_long_long=yes
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.$ac_ext >&5
22597 ac_cv_type_long_long=no
22600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22602 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22603 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22605 # The cast to long int works around a bug in the HP C Compiler
22606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22608 # This bug is HP SR number 8606223364.
22609 { echo "$as_me:$LINENO: checking size of long long" >&5
22610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22611 if test "${ac_cv_sizeof_long_long+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 if test "$cross_compiling" = yes; then
22615 # Depending upon the size, compute the lo and hi bounds.
22616 cat >conftest.$ac_ext <<_ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 $ac_includes_default
22623 typedef long long ac__type_sizeof_;
22627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22634 rm -f conftest.$ac_objext
22635 if { (ac_try="$ac_compile"
22636 case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_compile") 2>conftest.er1
22643 grep -v '^ *+' conftest.er1 >conftest.err
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } && {
22648 test -z "$ac_c_werror_flag" ||
22649 test ! -s conftest.err
22650 } && test -s conftest.$ac_objext; then
22653 cat >conftest.$ac_ext <<_ACEOF
22656 cat confdefs.h >>conftest.$ac_ext
22657 cat >>conftest.$ac_ext <<_ACEOF
22658 /* end confdefs.h. */
22659 $ac_includes_default
22660 typedef long long ac__type_sizeof_;
22664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22671 rm -f conftest.$ac_objext
22672 if { (ac_try="$ac_compile"
22673 case "(($ac_try" in
22674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22675 *) ac_try_echo=$ac_try;;
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_compile") 2>conftest.er1
22680 grep -v '^ *+' conftest.er1 >conftest.err
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && {
22685 test -z "$ac_c_werror_flag" ||
22686 test ! -s conftest.err
22687 } && test -s conftest.$ac_objext; then
22688 ac_hi=$ac_mid; break
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22693 ac_lo=`expr $ac_mid + 1`
22694 if test $ac_lo -le $ac_mid; then
22698 ac_mid=`expr 2 '*' $ac_mid + 1`
22701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22707 cat >conftest.$ac_ext <<_ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 $ac_includes_default
22714 typedef long long ac__type_sizeof_;
22718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22725 rm -f conftest.$ac_objext
22726 if { (ac_try="$ac_compile"
22727 case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_compile") 2>conftest.er1
22734 grep -v '^ *+' conftest.er1 >conftest.err
22736 cat conftest.err >&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); } && {
22739 test -z "$ac_c_werror_flag" ||
22740 test ! -s conftest.err
22741 } && test -s conftest.$ac_objext; then
22744 cat >conftest.$ac_ext <<_ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 $ac_includes_default
22751 typedef long long ac__type_sizeof_;
22755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22762 rm -f conftest.$ac_objext
22763 if { (ac_try="$ac_compile"
22764 case "(($ac_try" in
22765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22769 (eval "$ac_compile") 2>conftest.er1
22771 grep -v '^ *+' conftest.er1 >conftest.err
22773 cat conftest.err >&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } && {
22776 test -z "$ac_c_werror_flag" ||
22777 test ! -s conftest.err
22778 } && test -s conftest.$ac_objext; then
22779 ac_lo=$ac_mid; break
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22784 ac_hi=`expr '(' $ac_mid ')' - 1`
22785 if test $ac_mid -le $ac_hi; then
22789 ac_mid=`expr 2 '*' $ac_mid`
22792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 # Binary search between lo and hi bounds.
22806 while test "x$ac_lo" != "x$ac_hi"; do
22807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22808 cat >conftest.$ac_ext <<_ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814 $ac_includes_default
22815 typedef long long ac__type_sizeof_;
22819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22826 rm -f conftest.$ac_objext
22827 if { (ac_try="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22830 *) ac_try_echo=$ac_try;;
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22835 grep -v '^ *+' conftest.er1 >conftest.err
22837 cat conftest.err >&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } && {
22840 test -z "$ac_c_werror_flag" ||
22841 test ! -s conftest.err
22842 } && test -s conftest.$ac_objext; then
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.$ac_ext >&5
22848 ac_lo=`expr '(' $ac_mid ')' + 1`
22851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22855 '') if test "$ac_cv_type_long_long" = yes; then
22856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22857 See \`config.log' for more details." >&5
22858 echo "$as_me: error: cannot compute sizeof (long long)
22859 See \`config.log' for more details." >&2;}
22860 { (exit 77); exit 77; }; }
22862 ac_cv_sizeof_long_long=0
22866 cat >conftest.$ac_ext <<_ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872 $ac_includes_default
22873 typedef long long ac__type_sizeof_;
22874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22877 #include <stdlib.h>
22882 FILE *f = fopen ("conftest.val", "w");
22885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22887 long int i = longval ();
22888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22890 fprintf (f, "%ld\n", i);
22894 unsigned long int i = ulongval ();
22895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22897 fprintf (f, "%lu\n", i);
22899 return ferror (f) || fclose (f) != 0;
22905 rm -f conftest$ac_exeext
22906 if { (ac_try="$ac_link"
22907 case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_link") 2>&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22916 { (case "(($ac_try" in
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22918 *) ac_try_echo=$ac_try;;
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22921 (eval "$ac_try") 2>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; }; then
22925 ac_cv_sizeof_long_long=`cat conftest.val`
22927 echo "$as_me: program exited with status $ac_status" >&5
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22931 ( exit $ac_status )
22932 if test "$ac_cv_type_long_long" = yes; then
22933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22934 See \`config.log' for more details." >&5
22935 echo "$as_me: error: cannot compute sizeof (long long)
22936 See \`config.log' for more details." >&2;}
22937 { (exit 77); exit 77; }; }
22939 ac_cv_sizeof_long_long=0
22942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22947 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22951 cat >>confdefs.h <<_ACEOF
22952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22958 { echo "$as_me:$LINENO: checking for long long" >&5
22959 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22960 if test "${ac_cv_type_long_long+set}" = set; then
22961 echo $ECHO_N "(cached) $ECHO_C" >&6
22963 cat >conftest.$ac_ext <<_ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969 $ac_includes_default
22970 typedef long long ac__type_new_;
22974 if ((ac__type_new_ *) 0)
22976 if (sizeof (ac__type_new_))
22982 rm -f conftest.$ac_objext
22983 if { (ac_try="$ac_compile"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22991 grep -v '^ *+' conftest.er1 >conftest.err
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then
22999 ac_cv_type_long_long=yes
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23004 ac_cv_type_long_long=no
23007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23010 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23012 # The cast to long int works around a bug in the HP C Compiler
23013 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23014 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23015 # This bug is HP SR number 8606223364.
23016 { echo "$as_me:$LINENO: checking size of long long" >&5
23017 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23018 if test "${ac_cv_sizeof_long_long+set}" = set; then
23019 echo $ECHO_N "(cached) $ECHO_C" >&6
23021 if test "$cross_compiling" = yes; then
23022 # Depending upon the size, compute the lo and hi bounds.
23023 cat >conftest.$ac_ext <<_ACEOF
23026 cat confdefs.h >>conftest.$ac_ext
23027 cat >>conftest.$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23029 $ac_includes_default
23030 typedef long long ac__type_sizeof_;
23034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23041 rm -f conftest.$ac_objext
23042 if { (ac_try="$ac_compile"
23043 case "(($ac_try" in
23044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23045 *) ac_try_echo=$ac_try;;
23047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23048 (eval "$ac_compile") 2>conftest.er1
23050 grep -v '^ *+' conftest.er1 >conftest.err
23052 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } && {
23055 test -z "$ac_c_werror_flag" ||
23056 test ! -s conftest.err
23057 } && test -s conftest.$ac_objext; then
23060 cat >conftest.$ac_ext <<_ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 $ac_includes_default
23067 typedef long long ac__type_sizeof_;
23071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23082 *) ac_try_echo=$ac_try;;
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23087 grep -v '^ *+' conftest.er1 >conftest.err
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.$ac_objext; then
23095 ac_hi=$ac_mid; break
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23100 ac_lo=`expr $ac_mid + 1`
23101 if test $ac_lo -le $ac_mid; then
23105 ac_mid=`expr 2 '*' $ac_mid + 1`
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23111 echo "$as_me: failed program was:" >&5
23112 sed 's/^/| /' conftest.$ac_ext >&5
23114 cat >conftest.$ac_ext <<_ACEOF
23117 cat confdefs.h >>conftest.$ac_ext
23118 cat >>conftest.$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 $ac_includes_default
23121 typedef long long ac__type_sizeof_;
23125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23132 rm -f conftest.$ac_objext
23133 if { (ac_try="$ac_compile"
23134 case "(($ac_try" in
23135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23136 *) ac_try_echo=$ac_try;;
23138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23139 (eval "$ac_compile") 2>conftest.er1
23141 grep -v '^ *+' conftest.er1 >conftest.err
23143 cat conftest.err >&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && {
23146 test -z "$ac_c_werror_flag" ||
23147 test ! -s conftest.err
23148 } && test -s conftest.$ac_objext; then
23151 cat >conftest.$ac_ext <<_ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23157 $ac_includes_default
23158 typedef long long ac__type_sizeof_;
23162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23169 rm -f conftest.$ac_objext
23170 if { (ac_try="$ac_compile"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_compile") 2>conftest.er1
23178 grep -v '^ *+' conftest.er1 >conftest.err
23180 cat conftest.err >&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } && {
23183 test -z "$ac_c_werror_flag" ||
23184 test ! -s conftest.err
23185 } && test -s conftest.$ac_objext; then
23186 ac_lo=$ac_mid; break
23188 echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23191 ac_hi=`expr '(' $ac_mid ')' - 1`
23192 if test $ac_mid -le $ac_hi; then
23196 ac_mid=`expr 2 '*' $ac_mid`
23199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23212 # Binary search between lo and hi bounds.
23213 while test "x$ac_lo" != "x$ac_hi"; do
23214 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23215 cat >conftest.$ac_ext <<_ACEOF
23218 cat confdefs.h >>conftest.$ac_ext
23219 cat >>conftest.$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23221 $ac_includes_default
23222 typedef long long ac__type_sizeof_;
23226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23233 rm -f conftest.$ac_objext
23234 if { (ac_try="$ac_compile"
23235 case "(($ac_try" in
23236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23237 *) ac_try_echo=$ac_try;;
23239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23240 (eval "$ac_compile") 2>conftest.er1
23242 grep -v '^ *+' conftest.er1 >conftest.err
23244 cat conftest.err >&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } && {
23247 test -z "$ac_c_werror_flag" ||
23248 test ! -s conftest.err
23249 } && test -s conftest.$ac_objext; then
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23255 ac_lo=`expr '(' $ac_mid ')' + 1`
23258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23261 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23262 '') if test "$ac_cv_type_long_long" = yes; then
23263 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23264 See \`config.log' for more details." >&5
23265 echo "$as_me: error: cannot compute sizeof (long long)
23266 See \`config.log' for more details." >&2;}
23267 { (exit 77); exit 77; }; }
23269 ac_cv_sizeof_long_long=0
23273 cat >conftest.$ac_ext <<_ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 $ac_includes_default
23280 typedef long long ac__type_sizeof_;
23281 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23282 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23284 #include <stdlib.h>
23289 FILE *f = fopen ("conftest.val", "w");
23292 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23294 long int i = longval ();
23295 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23297 fprintf (f, "%ld\n", i);
23301 unsigned long int i = ulongval ();
23302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23304 fprintf (f, "%lu\n", i);
23306 return ferror (f) || fclose (f) != 0;
23312 rm -f conftest$ac_exeext
23313 if { (ac_try="$ac_link"
23314 case "(($ac_try" in
23315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_link") 2>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23323 { (case "(($ac_try" in
23324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23325 *) ac_try_echo=$ac_try;;
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23328 (eval "$ac_try") 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 ac_cv_sizeof_long_long=`cat conftest.val`
23334 echo "$as_me: program exited with status $ac_status" >&5
23335 echo "$as_me: failed program was:" >&5
23336 sed 's/^/| /' conftest.$ac_ext >&5
23338 ( exit $ac_status )
23339 if test "$ac_cv_type_long_long" = yes; then
23340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23341 See \`config.log' for more details." >&5
23342 echo "$as_me: error: cannot compute sizeof (long long)
23343 See \`config.log' for more details." >&2;}
23344 { (exit 77); exit 77; }; }
23346 ac_cv_sizeof_long_long=0
23349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23353 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23354 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23358 cat >>confdefs.h <<_ACEOF
23359 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23363 if test "$ac_cv_sizeof_long_long" != 0; then
23364 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23368 { echo "$as_me:$LINENO: checking for long long" >&5
23369 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23370 if test "${ac_cv_type_long_long+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 cat >conftest.$ac_ext <<_ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 $ac_includes_default
23380 typedef long long ac__type_new_;
23384 if ((ac__type_new_ *) 0)
23386 if (sizeof (ac__type_new_))
23392 rm -f conftest.$ac_objext
23393 if { (ac_try="$ac_compile"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_compile") 2>conftest.er1
23401 grep -v '^ *+' conftest.er1 >conftest.err
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } && {
23406 test -z "$ac_c_werror_flag" ||
23407 test ! -s conftest.err
23408 } && test -s conftest.$ac_objext; then
23409 ac_cv_type_long_long=yes
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23414 ac_cv_type_long_long=no
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23419 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23420 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23422 # The cast to long int works around a bug in the HP C Compiler
23423 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23424 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23425 # This bug is HP SR number 8606223364.
23426 { echo "$as_me:$LINENO: checking size of long long" >&5
23427 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23428 if test "${ac_cv_sizeof_long_long+set}" = set; then
23429 echo $ECHO_N "(cached) $ECHO_C" >&6
23431 if test "$cross_compiling" = yes; then
23432 # Depending upon the size, compute the lo and hi bounds.
23433 cat >conftest.$ac_ext <<_ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 $ac_includes_default
23440 typedef long long ac__type_sizeof_;
23444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23460 grep -v '^ *+' conftest.er1 >conftest.err
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23470 cat >conftest.$ac_ext <<_ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23476 $ac_includes_default
23477 typedef long long ac__type_sizeof_;
23481 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23488 rm -f conftest.$ac_objext
23489 if { (ac_try="$ac_compile"
23490 case "(($ac_try" in
23491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23492 *) ac_try_echo=$ac_try;;
23494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23495 (eval "$ac_compile") 2>conftest.er1
23497 grep -v '^ *+' conftest.er1 >conftest.err
23499 cat conftest.err >&5
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); } && {
23502 test -z "$ac_c_werror_flag" ||
23503 test ! -s conftest.err
23504 } && test -s conftest.$ac_objext; then
23505 ac_hi=$ac_mid; break
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23510 ac_lo=`expr $ac_mid + 1`
23511 if test $ac_lo -le $ac_mid; then
23515 ac_mid=`expr 2 '*' $ac_mid + 1`
23518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23524 cat >conftest.$ac_ext <<_ACEOF
23527 cat confdefs.h >>conftest.$ac_ext
23528 cat >>conftest.$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530 $ac_includes_default
23531 typedef long long ac__type_sizeof_;
23535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23542 rm -f conftest.$ac_objext
23543 if { (ac_try="$ac_compile"
23544 case "(($ac_try" in
23545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23546 *) ac_try_echo=$ac_try;;
23548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23549 (eval "$ac_compile") 2>conftest.er1
23551 grep -v '^ *+' conftest.er1 >conftest.err
23553 cat conftest.err >&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } && {
23556 test -z "$ac_c_werror_flag" ||
23557 test ! -s conftest.err
23558 } && test -s conftest.$ac_objext; then
23561 cat >conftest.$ac_ext <<_ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567 $ac_includes_default
23568 typedef long long ac__type_sizeof_;
23572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23579 rm -f conftest.$ac_objext
23580 if { (ac_try="$ac_compile"
23581 case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_compile") 2>conftest.er1
23588 grep -v '^ *+' conftest.er1 >conftest.err
23590 cat conftest.err >&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } && {
23593 test -z "$ac_c_werror_flag" ||
23594 test ! -s conftest.err
23595 } && test -s conftest.$ac_objext; then
23596 ac_lo=$ac_mid; break
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23601 ac_hi=`expr '(' $ac_mid ')' - 1`
23602 if test $ac_mid -le $ac_hi; then
23606 ac_mid=`expr 2 '*' $ac_mid`
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23622 # Binary search between lo and hi bounds.
23623 while test "x$ac_lo" != "x$ac_hi"; do
23624 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23625 cat >conftest.$ac_ext <<_ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23631 $ac_includes_default
23632 typedef long long ac__type_sizeof_;
23636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23643 rm -f conftest.$ac_objext
23644 if { (ac_try="$ac_compile"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_compile") 2>conftest.er1
23652 grep -v '^ *+' conftest.er1 >conftest.err
23654 cat conftest.err >&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } && {
23657 test -z "$ac_c_werror_flag" ||
23658 test ! -s conftest.err
23659 } && test -s conftest.$ac_objext; then
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23665 ac_lo=`expr '(' $ac_mid ')' + 1`
23668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23671 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23672 '') if test "$ac_cv_type_long_long" = yes; then
23673 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23674 See \`config.log' for more details." >&5
23675 echo "$as_me: error: cannot compute sizeof (long long)
23676 See \`config.log' for more details." >&2;}
23677 { (exit 77); exit 77; }; }
23679 ac_cv_sizeof_long_long=0
23683 cat >conftest.$ac_ext <<_ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 $ac_includes_default
23690 typedef long long ac__type_sizeof_;
23691 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23692 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23694 #include <stdlib.h>
23699 FILE *f = fopen ("conftest.val", "w");
23702 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23704 long int i = longval ();
23705 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23707 fprintf (f, "%ld\n", i);
23711 unsigned long int i = ulongval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23714 fprintf (f, "%lu\n", i);
23716 return ferror (f) || fclose (f) != 0;
23722 rm -f conftest$ac_exeext
23723 if { (ac_try="$ac_link"
23724 case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_link") 2>&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23733 { (case "(($ac_try" in
23734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23735 *) ac_try_echo=$ac_try;;
23737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23738 (eval "$ac_try") 2>&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; }; then
23742 ac_cv_sizeof_long_long=`cat conftest.val`
23744 echo "$as_me: program exited with status $ac_status" >&5
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23748 ( exit $ac_status )
23749 if test "$ac_cv_type_long_long" = yes; then
23750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23751 See \`config.log' for more details." >&5
23752 echo "$as_me: error: cannot compute sizeof (long long)
23753 See \`config.log' for more details." >&2;}
23754 { (exit 77); exit 77; }; }
23756 ac_cv_sizeof_long_long=0
23759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23763 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23764 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23768 cat >>confdefs.h <<_ACEOF
23769 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23775 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23776 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23777 if test "${ac_cv_type_wchar_t+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23780 cat >conftest.$ac_ext <<_ACEOF
23783 cat confdefs.h >>conftest.$ac_ext
23784 cat >>conftest.$ac_ext <<_ACEOF
23785 /* end confdefs.h. */
23787 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23788 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23789 # error "fake wchar_t"
23791 #ifdef HAVE_WCHAR_H
23793 # include <stddef.h>
23795 # include <wchar.h>
23797 #ifdef HAVE_STDLIB_H
23798 # include <stdlib.h>
23804 typedef wchar_t ac__type_new_;
23808 if ((ac__type_new_ *) 0)
23810 if (sizeof (ac__type_new_))
23816 rm -f conftest.$ac_objext
23817 if { (ac_try="$ac_compile"
23818 case "(($ac_try" in
23819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23823 (eval "$ac_compile") 2>conftest.er1
23825 grep -v '^ *+' conftest.er1 >conftest.err
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } && {
23830 test -z "$ac_c_werror_flag" ||
23831 test ! -s conftest.err
23832 } && test -s conftest.$ac_objext; then
23833 ac_cv_type_wchar_t=yes
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.$ac_ext >&5
23838 ac_cv_type_wchar_t=no
23841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23843 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23844 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23846 # The cast to long int works around a bug in the HP C Compiler
23847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23849 # This bug is HP SR number 8606223364.
23850 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23851 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23852 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23853 echo $ECHO_N "(cached) $ECHO_C" >&6
23855 if test "$cross_compiling" = yes; then
23856 # Depending upon the size, compute the lo and hi bounds.
23857 cat >conftest.$ac_ext <<_ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23864 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23865 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23866 # error "fake wchar_t"
23868 #ifdef HAVE_WCHAR_H
23870 # include <stddef.h>
23872 # include <wchar.h>
23874 #ifdef HAVE_STDLIB_H
23875 # include <stdlib.h>
23881 typedef wchar_t ac__type_sizeof_;
23885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23892 rm -f conftest.$ac_objext
23893 if { (ac_try="$ac_compile"
23894 case "(($ac_try" in
23895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23896 *) ac_try_echo=$ac_try;;
23898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23899 (eval "$ac_compile") 2>conftest.er1
23901 grep -v '^ *+' conftest.er1 >conftest.err
23903 cat conftest.err >&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } && {
23906 test -z "$ac_c_werror_flag" ||
23907 test ! -s conftest.err
23908 } && test -s conftest.$ac_objext; then
23911 cat >conftest.$ac_ext <<_ACEOF
23914 cat confdefs.h >>conftest.$ac_ext
23915 cat >>conftest.$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23918 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23919 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23920 # error "fake wchar_t"
23922 #ifdef HAVE_WCHAR_H
23924 # include <stddef.h>
23926 # include <wchar.h>
23928 #ifdef HAVE_STDLIB_H
23929 # include <stdlib.h>
23935 typedef wchar_t ac__type_sizeof_;
23939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23946 rm -f conftest.$ac_objext
23947 if { (ac_try="$ac_compile"
23948 case "(($ac_try" in
23949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23950 *) ac_try_echo=$ac_try;;
23952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23953 (eval "$ac_compile") 2>conftest.er1
23955 grep -v '^ *+' conftest.er1 >conftest.err
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } && {
23960 test -z "$ac_c_werror_flag" ||
23961 test ! -s conftest.err
23962 } && test -s conftest.$ac_objext; then
23963 ac_hi=$ac_mid; break
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23968 ac_lo=`expr $ac_mid + 1`
23969 if test $ac_lo -le $ac_mid; then
23973 ac_mid=`expr 2 '*' $ac_mid + 1`
23976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23979 echo "$as_me: failed program was:" >&5
23980 sed 's/^/| /' conftest.$ac_ext >&5
23982 cat >conftest.$ac_ext <<_ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23989 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23990 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23991 # error "fake wchar_t"
23993 #ifdef HAVE_WCHAR_H
23995 # include <stddef.h>
23997 # include <wchar.h>
23999 #ifdef HAVE_STDLIB_H
24000 # include <stdlib.h>
24006 typedef wchar_t ac__type_sizeof_;
24010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24017 rm -f conftest.$ac_objext
24018 if { (ac_try="$ac_compile"
24019 case "(($ac_try" in
24020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24021 *) ac_try_echo=$ac_try;;
24023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24024 (eval "$ac_compile") 2>conftest.er1
24026 grep -v '^ *+' conftest.er1 >conftest.err
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } && {
24031 test -z "$ac_c_werror_flag" ||
24032 test ! -s conftest.err
24033 } && test -s conftest.$ac_objext; then
24036 cat >conftest.$ac_ext <<_ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24043 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24044 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24045 # error "fake wchar_t"
24047 #ifdef HAVE_WCHAR_H
24049 # include <stddef.h>
24051 # include <wchar.h>
24053 #ifdef HAVE_STDLIB_H
24054 # include <stdlib.h>
24060 typedef wchar_t ac__type_sizeof_;
24064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24071 rm -f conftest.$ac_objext
24072 if { (ac_try="$ac_compile"
24073 case "(($ac_try" in
24074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24075 *) ac_try_echo=$ac_try;;
24077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24078 (eval "$ac_compile") 2>conftest.er1
24080 grep -v '^ *+' conftest.er1 >conftest.err
24082 cat conftest.err >&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); } && {
24085 test -z "$ac_c_werror_flag" ||
24086 test ! -s conftest.err
24087 } && test -s conftest.$ac_objext; then
24088 ac_lo=$ac_mid; break
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.$ac_ext >&5
24093 ac_hi=`expr '(' $ac_mid ')' - 1`
24094 if test $ac_mid -le $ac_hi; then
24098 ac_mid=`expr 2 '*' $ac_mid`
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.$ac_ext >&5
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 # Binary search between lo and hi bounds.
24115 while test "x$ac_lo" != "x$ac_hi"; do
24116 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24117 cat >conftest.$ac_ext <<_ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24124 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24125 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24126 # error "fake wchar_t"
24128 #ifdef HAVE_WCHAR_H
24130 # include <stddef.h>
24132 # include <wchar.h>
24134 #ifdef HAVE_STDLIB_H
24135 # include <stdlib.h>
24141 typedef wchar_t ac__type_sizeof_;
24145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24152 rm -f conftest.$ac_objext
24153 if { (ac_try="$ac_compile"
24154 case "(($ac_try" in
24155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24156 *) ac_try_echo=$ac_try;;
24158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24159 (eval "$ac_compile") 2>conftest.er1
24161 grep -v '^ *+' conftest.er1 >conftest.err
24163 cat conftest.err >&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } && {
24166 test -z "$ac_c_werror_flag" ||
24167 test ! -s conftest.err
24168 } && test -s conftest.$ac_objext; then
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24174 ac_lo=`expr '(' $ac_mid ')' + 1`
24177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24180 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24181 '') if test "$ac_cv_type_wchar_t" = yes; then
24182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24183 See \`config.log' for more details." >&5
24184 echo "$as_me: error: cannot compute sizeof (wchar_t)
24185 See \`config.log' for more details." >&2;}
24186 { (exit 77); exit 77; }; }
24188 ac_cv_sizeof_wchar_t=0
24192 cat >conftest.$ac_ext <<_ACEOF
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24199 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24200 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24201 # error "fake wchar_t"
24203 #ifdef HAVE_WCHAR_H
24205 # include <stddef.h>
24207 # include <wchar.h>
24209 #ifdef HAVE_STDLIB_H
24210 # include <stdlib.h>
24216 typedef wchar_t ac__type_sizeof_;
24217 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24218 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24220 #include <stdlib.h>
24225 FILE *f = fopen ("conftest.val", "w");
24228 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24230 long int i = longval ();
24231 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24233 fprintf (f, "%ld\n", i);
24237 unsigned long int i = ulongval ();
24238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24240 fprintf (f, "%lu\n", i);
24242 return ferror (f) || fclose (f) != 0;
24248 rm -f conftest$ac_exeext
24249 if { (ac_try="$ac_link"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_link") 2>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24259 { (case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_try") 2>&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 ac_cv_sizeof_wchar_t=`cat conftest.val`
24270 echo "$as_me: program exited with status $ac_status" >&5
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.$ac_ext >&5
24274 ( exit $ac_status )
24275 if test "$ac_cv_type_wchar_t" = yes; then
24276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24277 See \`config.log' for more details." >&5
24278 echo "$as_me: error: cannot compute sizeof (wchar_t)
24279 See \`config.log' for more details." >&2;}
24280 { (exit 77); exit 77; }; }
24282 ac_cv_sizeof_wchar_t=0
24285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24289 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24290 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24294 cat >>confdefs.h <<_ACEOF
24295 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24299 if test "$ac_cv_sizeof_wchar_t" = 0; then
24300 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24301 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24302 { (exit 1); exit 1; }; }
24304 cat >>confdefs.h <<\_ACEOF
24305 #define wxUSE_WCHAR_T 1
24309 { echo "$as_me:$LINENO: checking for va_copy" >&5
24310 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24311 if test "${wx_cv_func_va_copy+set}" = set; then
24312 echo $ECHO_N "(cached) $ECHO_C" >&6
24316 ac_cpp='$CXXCPP $CPPFLAGS'
24317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24321 cat >conftest.$ac_ext <<_ACEOF
24323 #include <stdarg.h>
24324 void foo(char *f, ...)
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (ac_try="$ac_link"
24340 case "(($ac_try" in
24341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24342 *) ac_try_echo=$ac_try;;
24344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24345 (eval "$ac_link") 2>conftest.er1
24347 grep -v '^ *+' conftest.er1 >conftest.err
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } && {
24352 test -z "$ac_cxx_werror_flag" ||
24353 test ! -s conftest.err
24354 } && test -s conftest$ac_exeext &&
24355 $as_test_x conftest$ac_exeext; then
24356 wx_cv_func_va_copy=yes
24358 echo "$as_me: failed program was:" >&5
24359 sed 's/^/| /' conftest.$ac_ext >&5
24361 wx_cv_func_va_copy=no
24365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24366 conftest$ac_exeext conftest.$ac_ext
24368 ac_cpp='$CPP $CPPFLAGS'
24369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24376 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24377 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24379 if test $wx_cv_func_va_copy = "yes"; then
24380 cat >>confdefs.h <<\_ACEOF
24381 #define HAVE_VA_COPY 1
24385 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24386 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24387 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24388 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 if test "$cross_compiling" = yes; then
24392 wx_cv_type_va_list_lvalue=yes
24395 cat >conftest.$ac_ext <<_ACEOF
24397 #include <stdarg.h>
24398 int foo(char *f, ...)
24403 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24411 return foo("hi", 17);
24414 rm -f conftest$ac_exeext
24415 if { (ac_try="$ac_link"
24416 case "(($ac_try" in
24417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24418 *) ac_try_echo=$ac_try;;
24420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24421 (eval "$ac_link") 2>&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24425 { (case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_try") 2>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; }; then
24434 wx_cv_type_va_list_lvalue=yes
24436 echo "$as_me: program exited with status $ac_status" >&5
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24440 ( exit $ac_status )
24441 wx_cv_type_va_list_lvalue=no
24443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24450 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24451 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24453 if test $wx_cv_type_va_list_lvalue != "yes"; then
24454 cat >>confdefs.h <<\_ACEOF
24455 #define VA_LIST_IS_ARRAY 1
24461 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24463 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24464 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24465 if test "${wx_cv_have_variadic_macros+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24470 ac_cpp='$CXXCPP $CPPFLAGS'
24471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24475 cat >conftest.$ac_ext <<_ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24483 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24489 test("%s %d %p", "test", 1, 0);
24496 rm -f conftest.$ac_objext
24497 if { (ac_try="$ac_compile"
24498 case "(($ac_try" in
24499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24500 *) ac_try_echo=$ac_try;;
24502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24503 (eval "$ac_compile") 2>conftest.er1
24505 grep -v '^ *+' conftest.er1 >conftest.err
24507 cat conftest.err >&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } && {
24510 test -z "$ac_cxx_werror_flag" ||
24511 test ! -s conftest.err
24512 } && test -s conftest.$ac_objext; then
24513 wx_cv_have_variadic_macros=yes
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24518 wx_cv_have_variadic_macros=no
24522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 ac_cpp='$CPP $CPPFLAGS'
24525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24532 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24533 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24535 if test $wx_cv_have_variadic_macros = "yes"; then
24536 cat >>confdefs.h <<\_ACEOF
24537 #define HAVE_VARIADIC_MACROS 1
24544 LARGEFILE_CPPFLAGS=
24545 # Check whether --enable-largefile was given.
24546 if test "${enable_largefile+set}" = set; then
24547 enableval=$enable_largefile;
24550 if test "$enable_largefile" != no; then
24553 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24554 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24555 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24559 cat >conftest.$ac_ext <<_ACEOF
24562 cat confdefs.h >>conftest.$ac_ext
24563 cat >>conftest.$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24565 #define _FILE_OFFSET_BITS 64
24566 #include <sys/types.h>
24571 unsigned int field: sizeof(off_t) == 8;
24578 rm -f conftest.$ac_objext
24579 if { (ac_try="$ac_compile"
24580 case "(($ac_try" in
24581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24582 *) ac_try_echo=$ac_try;;
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_compile") 2>conftest.er1
24587 grep -v '^ *+' conftest.er1 >conftest.err
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && {
24592 test -z "$ac_c_werror_flag" ||
24593 test ! -s conftest.err
24594 } && test -s conftest.$ac_objext; then
24595 ac_cv_sys_file_offset_bits=64
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24600 ac_cv_sys_file_offset_bits=no
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24607 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24608 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24610 if test "$ac_cv_sys_file_offset_bits" != no; then
24612 cat >>confdefs.h <<_ACEOF
24613 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24618 if test "x$wx_largefile" != "xyes"; then
24620 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24621 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24622 if test "${ac_cv_sys_large_files+set}" = set; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24626 cat >conftest.$ac_ext <<_ACEOF
24629 cat confdefs.h >>conftest.$ac_ext
24630 cat >>conftest.$ac_ext <<_ACEOF
24631 /* end confdefs.h. */
24632 #define _LARGE_FILES 1
24633 #include <sys/types.h>
24638 unsigned int field: sizeof(off_t) == 8;
24645 rm -f conftest.$ac_objext
24646 if { (ac_try="$ac_compile"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_compile") 2>conftest.er1
24654 grep -v '^ *+' conftest.er1 >conftest.err
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_c_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest.$ac_objext; then
24662 ac_cv_sys_large_files=1
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.$ac_ext >&5
24667 ac_cv_sys_large_files=no
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24675 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24677 if test "$ac_cv_sys_large_files" != no; then
24679 cat >>confdefs.h <<_ACEOF
24680 #define _LARGE_FILES $ac_cv_sys_large_files
24687 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24688 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24689 if test "x$wx_largefile" = "xyes"; then
24690 cat >>confdefs.h <<\_ACEOF
24691 #define HAVE_LARGEFILE_SUPPORT 1
24695 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24696 echo "${ECHO_T}$wx_largefile" >&6; }
24699 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24700 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24701 elif test "$ac_cv_sys_large_files" = 1; then
24702 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24705 if test -n "$LARGEFILE_CPPFLAGS"; then
24706 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24708 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24709 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24710 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24711 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24716 ac_cpp='$CXXCPP $CPPFLAGS'
24717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24721 cat >conftest.$ac_ext <<_ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24732 #ifndef __STDC_EXT__
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24749 grep -v '^ *+' conftest.er1 >conftest.err
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_cxx_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757 wx_cv_STDC_EXT_required=no
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24762 wx_cv_STDC_EXT_required=yes
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24768 ac_cpp='$CPP $CPPFLAGS'
24769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24776 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24777 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24778 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24779 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24785 ac_cpp='$CXXCPP $CPPFLAGS'
24786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24790 old_CPPFLAGS="$CPPFLAGS"
24791 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24792 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24793 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24794 if test "${ac_cv_sys_largefile_source+set}" = set; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24798 cat >conftest.$ac_ext <<_ACEOF
24801 cat confdefs.h >>conftest.$ac_ext
24802 cat >>conftest.$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24808 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (ac_try="$ac_link"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_link") 2>conftest.er1
24822 grep -v '^ *+' conftest.er1 >conftest.err
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_cxx_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest$ac_exeext &&
24830 $as_test_x conftest$ac_exeext; then
24831 ac_cv_sys_largefile_source=no; break
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24840 conftest$ac_exeext conftest.$ac_ext
24841 cat >conftest.$ac_ext <<_ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 #define _LARGEFILE_SOURCE 1
24852 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24857 rm -f conftest.$ac_objext conftest$ac_exeext
24858 if { (ac_try="$ac_link"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_link") 2>conftest.er1
24866 grep -v '^ *+' conftest.er1 >conftest.err
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } && {
24871 test -z "$ac_cxx_werror_flag" ||
24872 test ! -s conftest.err
24873 } && test -s conftest$ac_exeext &&
24874 $as_test_x conftest$ac_exeext; then
24875 ac_cv_sys_largefile_source=1; break
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24884 conftest$ac_exeext conftest.$ac_ext
24885 ac_cv_sys_largefile_source=unknown
24889 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24890 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24891 case $ac_cv_sys_largefile_source in #(
24894 cat >>confdefs.h <<_ACEOF
24895 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24901 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24902 # in glibc 2.1.3, but that breaks too many other things.
24903 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24904 if test $ac_cv_sys_largefile_source != unknown; then
24906 cat >>confdefs.h <<\_ACEOF
24907 #define HAVE_FSEEKO 1
24912 CPPFLAGS="$old_CPPFLAGS"
24914 ac_cpp='$CPP $CPPFLAGS'
24915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24919 if test "$ac_cv_sys_largefile_source" != no; then
24920 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24923 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24924 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24925 if test "${ac_cv_c_bigendian+set}" = set; then
24926 echo $ECHO_N "(cached) $ECHO_C" >&6
24928 ac_cv_c_bigendian=unknown
24929 # See if sys/param.h defines the BYTE_ORDER macro.
24930 cat >conftest.$ac_ext <<_ACEOF
24933 cat confdefs.h >>conftest.$ac_ext
24934 cat >>conftest.$ac_ext <<_ACEOF
24935 /* end confdefs.h. */
24936 #include <sys/types.h>
24937 #include <sys/param.h>
24942 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24943 bogus endian macros
24949 rm -f conftest.$ac_objext
24950 if { (ac_try="$ac_compile"
24951 case "(($ac_try" in
24952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24953 *) ac_try_echo=$ac_try;;
24955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24956 (eval "$ac_compile") 2>conftest.er1
24958 grep -v '^ *+' conftest.er1 >conftest.err
24960 cat conftest.err >&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); } && {
24963 test -z "$ac_c_werror_flag" ||
24964 test ! -s conftest.err
24965 } && test -s conftest.$ac_objext; then
24966 # It does; now see whether it defined to BIG_ENDIAN or not.
24967 cat >conftest.$ac_ext <<_ACEOF
24970 cat confdefs.h >>conftest.$ac_ext
24971 cat >>conftest.$ac_ext <<_ACEOF
24972 /* end confdefs.h. */
24973 #include <sys/types.h>
24974 #include <sys/param.h>
24979 #if BYTE_ORDER != BIG_ENDIAN
24986 rm -f conftest.$ac_objext
24987 if { (ac_try="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24995 grep -v '^ *+' conftest.er1 >conftest.err
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25003 ac_cv_c_bigendian=yes
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25008 ac_cv_c_bigendian=no
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020 if test $ac_cv_c_bigendian = unknown; then
25021 if test "$cross_compiling" = yes; then
25022 ac_cv_c_bigendian=unknown
25024 cat >conftest.$ac_ext <<_ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25031 /* Are we little or big endian? From Harbison&Steele. */
25035 char c[sizeof (long)];
25038 exit (u.c[sizeof (long) - 1] == 1);
25041 rm -f conftest$ac_exeext
25042 if { (ac_try="$ac_link"
25043 case "(($ac_try" in
25044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25045 *) ac_try_echo=$ac_try;;
25047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25048 (eval "$ac_link") 2>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25052 { (case "(($ac_try" in
25053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25054 *) ac_try_echo=$ac_try;;
25056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25057 (eval "$ac_try") 2>&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; }; then
25061 ac_cv_c_bigendian=no
25063 echo "$as_me: program exited with status $ac_status" >&5
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.$ac_ext >&5
25067 ( exit $ac_status )
25068 ac_cv_c_bigendian=yes
25070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25076 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25077 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25078 if test $ac_cv_c_bigendian = unknown; then
25079 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25080 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25082 if test $ac_cv_c_bigendian = yes; then
25083 cat >>confdefs.h <<\_ACEOF
25084 #define WORDS_BIGENDIAN 1
25093 ac_cpp='$CXXCPP $CPPFLAGS'
25094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25100 for ac_header in iostream
25102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25106 echo $ECHO_N "(cached) $ECHO_C" >&6
25108 cat >conftest.$ac_ext <<_ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25116 #include <$ac_header>
25118 rm -f conftest.$ac_objext
25119 if { (ac_try="$ac_compile"
25120 case "(($ac_try" in
25121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25122 *) ac_try_echo=$ac_try;;
25124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25125 (eval "$ac_compile") 2>conftest.er1
25127 grep -v '^ *+' conftest.er1 >conftest.err
25129 cat conftest.err >&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } && {
25132 test -z "$ac_cxx_werror_flag" ||
25133 test ! -s conftest.err
25134 } && test -s conftest.$ac_objext; then
25135 eval "$as_ac_Header=yes"
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25140 eval "$as_ac_Header=no"
25143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25145 ac_res=`eval echo '${'$as_ac_Header'}'`
25146 { echo "$as_me:$LINENO: result: $ac_res" >&5
25147 echo "${ECHO_T}$ac_res" >&6; }
25148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25149 cat >>confdefs.h <<_ACEOF
25150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25158 if test "$ac_cv_header_iostream" = "yes" ; then
25161 cat >>confdefs.h <<\_ACEOF
25162 #define wxUSE_IOSTREAMH 1
25168 ac_cpp='$CPP $CPPFLAGS'
25169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25176 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25177 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25178 if test "${wx_cv_explicit+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 ac_cpp='$CXXCPP $CPPFLAGS'
25185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190 cat >conftest.$ac_ext <<_ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25197 class Foo { public: explicit Foo(int) {} };
25209 rm -f conftest.$ac_objext
25210 if { (ac_try="$ac_compile"
25211 case "(($ac_try" in
25212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25213 *) ac_try_echo=$ac_try;;
25215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25216 (eval "$ac_compile") 2>conftest.er1
25218 grep -v '^ *+' conftest.er1 >conftest.err
25220 cat conftest.err >&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); } && {
25223 test -z "$ac_cxx_werror_flag" ||
25224 test ! -s conftest.err
25225 } && test -s conftest.$ac_objext; then
25227 cat >conftest.$ac_ext <<_ACEOF
25230 cat confdefs.h >>conftest.$ac_ext
25231 cat >>conftest.$ac_ext <<_ACEOF
25232 /* end confdefs.h. */
25234 class Foo { public: explicit Foo(int) {} };
25235 static void TakeFoo(const Foo& foo) { }
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25257 grep -v '^ *+' conftest.er1 >conftest.err
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_cxx_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.$ac_ext >&5
25284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25287 ac_cpp='$CPP $CPPFLAGS'
25288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25294 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25295 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25297 if test "$wx_cv_explicit" = "yes"; then
25298 cat >>confdefs.h <<\_ACEOF
25299 #define HAVE_EXPLICIT 1
25305 if test "x$SUNCXX" = xyes; then
25306 CXXFLAGS="-features=tmplife $CXXFLAGS"
25309 if test "x$SUNCC" = xyes; then
25310 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25313 if test "x$SGICC" = "xyes"; then
25314 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25315 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25316 if test "${wx_cv_prog_sgicc744+set}" = set; then
25317 echo $ECHO_N "(cached) $ECHO_C" >&6
25320 cat >conftest.$ac_ext <<_ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25331 #if _SGI_COMPILER_VERSION >= 744
25332 chock me: mipsPro is 7.4.4 or later
25339 rm -f conftest.$ac_objext
25340 if { (ac_try="$ac_compile"
25341 case "(($ac_try" in
25342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25343 *) ac_try_echo=$ac_try;;
25345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25346 (eval "$ac_compile") 2>conftest.er1
25348 grep -v '^ *+' conftest.er1 >conftest.err
25350 cat conftest.err >&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } && {
25353 test -z "$ac_c_werror_flag" ||
25354 test ! -s conftest.err
25355 } && test -s conftest.$ac_objext; then
25356 wx_cv_prog_sgicc744=no
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.$ac_ext >&5
25361 wx_cv_prog_sgicc744=yes
25365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25369 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25370 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25372 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25373 CFLAGS="-woff 3970 $CFLAGS"
25376 if test "x$SGICXX" = "xyes"; then
25377 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25378 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25379 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25380 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 ac_cpp='$CXXCPP $CPPFLAGS'
25385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25389 cat >conftest.$ac_ext <<_ACEOF
25392 cat confdefs.h >>conftest.$ac_ext
25393 cat >>conftest.$ac_ext <<_ACEOF
25394 /* end confdefs.h. */
25400 #if _SGI_COMPILER_VERSION >= 744
25401 chock me: mipsPro is 7.4.4 or later
25408 rm -f conftest.$ac_objext
25409 if { (ac_try="$ac_compile"
25410 case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_compile") 2>conftest.er1
25417 grep -v '^ *+' conftest.er1 >conftest.err
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } && {
25422 test -z "$ac_cxx_werror_flag" ||
25423 test ! -s conftest.err
25424 } && test -s conftest.$ac_objext; then
25425 wx_cv_prog_sgicxx744=no
25427 echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.$ac_ext >&5
25430 wx_cv_prog_sgicxx744=yes
25434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436 ac_cpp='$CPP $CPPFLAGS'
25437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25444 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25445 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25447 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25448 CXXFLAGS="-woff 3970 $CXXFLAGS"
25452 if test "x$HPCC" = "xyes"; then
25453 CFLAGS="+W 2011,2450 $CFLAGS"
25455 if test "x$HPCXX" = "xyes"; then
25456 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25459 if test "x$COMPAQCXX" = "xyes"; then
25460 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25464 ac_cpp='$CXXCPP $CPPFLAGS'
25465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25470 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25471 if test "$wxUSE_UNICODE" = "yes"; then
25472 std_string="std::wstring"
25473 char_type="wchar_t"
25475 std_string="std::string"
25479 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25480 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25481 if test "${wx_cv_class_stdstring+set}" = set; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 cat >conftest.$ac_ext <<_ACEOF
25488 cat confdefs.h >>conftest.$ac_ext
25489 cat >>conftest.$ac_ext <<_ACEOF
25490 /* end confdefs.h. */
25500 rm -f conftest.$ac_objext
25501 if { (ac_try="$ac_compile"
25502 case "(($ac_try" in
25503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25504 *) ac_try_echo=$ac_try;;
25506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25507 (eval "$ac_compile") 2>conftest.er1
25509 grep -v '^ *+' conftest.er1 >conftest.err
25511 cat conftest.err >&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); } && {
25514 test -z "$ac_cxx_werror_flag" ||
25515 test ! -s conftest.err
25516 } && test -s conftest.$ac_objext; then
25517 wx_cv_class_stdstring=yes
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25522 wx_cv_class_stdstring=no
25526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25531 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25533 if test "$wx_cv_class_stdstring" = yes; then
25534 if test "$wxUSE_UNICODE" = "yes"; then
25535 cat >>confdefs.h <<\_ACEOF
25536 #define HAVE_STD_WSTRING 1
25541 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25542 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25543 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 cat >conftest.$ac_ext <<_ACEOF
25550 cat confdefs.h >>conftest.$ac_ext
25551 cat >>conftest.$ac_ext <<_ACEOF
25552 /* end confdefs.h. */
25554 #ifdef HAVE_WCHAR_H
25556 # include <stddef.h>
25558 # include <wchar.h>
25560 #ifdef HAVE_STDLIB_H
25561 # include <stdlib.h>
25569 std::basic_string<$char_type> foo;
25570 const $char_type* dummy = foo.c_str();
25575 rm -f conftest.$ac_objext
25576 if { (ac_try="$ac_compile"
25577 case "(($ac_try" in
25578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25579 *) ac_try_echo=$ac_try;;
25581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582 (eval "$ac_compile") 2>conftest.er1
25584 grep -v '^ *+' conftest.er1 >conftest.err
25586 cat conftest.err >&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } && {
25589 test -z "$ac_cxx_werror_flag" ||
25590 test ! -s conftest.err
25591 } && test -s conftest.$ac_objext; then
25592 wx_cv_class_stdbasicstring=yes
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25597 wx_cv_class_stdbasicstring=no
25601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25606 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25608 if test "$wx_cv_class_stdbasicstring" != yes; then
25609 if test "$wxUSE_STL" = "yes"; then
25610 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25611 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25612 { (exit 1); exit 1; }; }
25613 elif test "$wxUSE_STD_STRING" = "yes"; then
25614 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25615 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25616 { (exit 1); exit 1; }; }
25618 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25619 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25620 wxUSE_STD_STRING=no
25626 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25627 { echo "$as_me:$LINENO: checking for std::istream" >&5
25628 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25629 if test "${ac_cv_type_std__istream+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 cat >conftest.$ac_ext <<_ACEOF
25635 cat confdefs.h >>conftest.$ac_ext
25636 cat >>conftest.$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25638 #include <iostream>
25640 typedef std::istream ac__type_new_;
25644 if ((ac__type_new_ *) 0)
25646 if (sizeof (ac__type_new_))
25652 rm -f conftest.$ac_objext
25653 if { (ac_try="$ac_compile"
25654 case "(($ac_try" in
25655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25656 *) ac_try_echo=$ac_try;;
25658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25659 (eval "$ac_compile") 2>conftest.er1
25661 grep -v '^ *+' conftest.er1 >conftest.err
25663 cat conftest.err >&5
25664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25665 (exit $ac_status); } && {
25666 test -z "$ac_cxx_werror_flag" ||
25667 test ! -s conftest.err
25668 } && test -s conftest.$ac_objext; then
25669 ac_cv_type_std__istream=yes
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.$ac_ext >&5
25674 ac_cv_type_std__istream=no
25677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25679 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25680 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25681 if test $ac_cv_type_std__istream = yes; then
25683 cat >>confdefs.h <<_ACEOF
25684 #define HAVE_STD__ISTREAM 1
25689 wxUSE_STD_IOSTREAM=no
25691 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25692 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25693 if test "${ac_cv_type_std__ostream+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25696 cat >conftest.$ac_ext <<_ACEOF
25699 cat confdefs.h >>conftest.$ac_ext
25700 cat >>conftest.$ac_ext <<_ACEOF
25701 /* end confdefs.h. */
25702 #include <iostream>
25704 typedef std::ostream ac__type_new_;
25708 if ((ac__type_new_ *) 0)
25710 if (sizeof (ac__type_new_))
25716 rm -f conftest.$ac_objext
25717 if { (ac_try="$ac_compile"
25718 case "(($ac_try" in
25719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25720 *) ac_try_echo=$ac_try;;
25722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25723 (eval "$ac_compile") 2>conftest.er1
25725 grep -v '^ *+' conftest.er1 >conftest.err
25727 cat conftest.err >&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); } && {
25730 test -z "$ac_cxx_werror_flag" ||
25731 test ! -s conftest.err
25732 } && test -s conftest.$ac_objext; then
25733 ac_cv_type_std__ostream=yes
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.$ac_ext >&5
25738 ac_cv_type_std__ostream=no
25741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25743 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25744 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25745 if test $ac_cv_type_std__ostream = yes; then
25747 cat >>confdefs.h <<_ACEOF
25748 #define HAVE_STD__OSTREAM 1
25753 wxUSE_STD_IOSTREAM=no
25757 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25759 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25760 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25761 { (exit 1); exit 1; }; }
25763 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25764 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25769 if test "$wxUSE_STL" = "yes"; then
25770 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25771 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25772 if test "${wx_cv_lib_stl+set}" = set; then
25773 echo $ECHO_N "(cached) $ECHO_C" >&6
25775 cat >conftest.$ac_ext <<_ACEOF
25778 cat confdefs.h >>conftest.$ac_ext
25779 cat >>conftest.$ac_ext <<_ACEOF
25780 /* end confdefs.h. */
25782 #include <functional>
25783 #include <algorithm>
25789 std::vector<int> moo;
25790 std::list<int> foo;
25791 std::vector<int>::iterator it =
25792 std::find_if(moo.begin(), moo.end(),
25793 std::bind2nd(std::less<int>(), 3));
25798 rm -f conftest.$ac_objext
25799 if { (ac_try="$ac_compile"
25800 case "(($ac_try" in
25801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_compile") 2>conftest.er1
25807 grep -v '^ *+' conftest.er1 >conftest.err
25809 cat conftest.err >&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } && {
25812 test -z "$ac_cxx_werror_flag" ||
25813 test ! -s conftest.err
25814 } && test -s conftest.$ac_objext; then
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25827 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25828 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25830 if test "$wx_cv_lib_stl" != yes; then
25831 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25832 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25833 { (exit 1); exit 1; }; }
25836 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25837 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25838 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25841 cat >conftest.$ac_ext <<_ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25851 std::string foo, bar;
25853 foo.compare(1, 1, bar);
25854 foo.compare(1, 1, bar, 1, 1);
25856 foo.compare(1, 1, "");
25857 foo.compare(1, 1, "", 2);
25862 rm -f conftest.$ac_objext
25863 if { (ac_try="$ac_compile"
25864 case "(($ac_try" in
25865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25866 *) ac_try_echo=$ac_try;;
25868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25869 (eval "$ac_compile") 2>conftest.er1
25871 grep -v '^ *+' conftest.er1 >conftest.err
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } && {
25876 test -z "$ac_cxx_werror_flag" ||
25877 test ! -s conftest.err
25878 } && test -s conftest.$ac_objext; then
25879 wx_cv_func_stdstring_compare=yes
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.$ac_ext >&5
25884 wx_cv_func_stdstring_compare=no
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25892 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25894 if test "$wx_cv_func_stdstring_compare" = yes; then
25895 cat >>confdefs.h <<\_ACEOF
25896 #define HAVE_STD_STRING_COMPARE 1
25901 if test "$wx_cv_class_gnuhashmapset" = yes; then
25902 cat >>confdefs.h <<\_ACEOF
25903 #define HAVE_EXT_HASH_MAP 1
25906 cat >>confdefs.h <<\_ACEOF
25907 #define HAVE_GNU_CXX_HASH_MAP 1
25912 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25913 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25914 if test "${ac_cv_header_unordered_map+set}" = set; then
25915 echo $ECHO_N "(cached) $ECHO_C" >&6
25917 cat >conftest.$ac_ext <<_ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25926 #include <unordered_map>
25928 rm -f conftest.$ac_objext
25929 if { (ac_try="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25937 grep -v '^ *+' conftest.er1 >conftest.err
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && {
25942 test -z "$ac_cxx_werror_flag" ||
25943 test ! -s conftest.err
25944 } && test -s conftest.$ac_objext; then
25945 ac_cv_header_unordered_map=yes
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25950 ac_cv_header_unordered_map=no
25953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25956 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25957 if test $ac_cv_header_unordered_map = yes; then
25958 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25959 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25960 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 cat >conftest.$ac_ext <<_ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969 #include <unordered_map>
25970 #include <unordered_set>
25974 std::unordered_map<double*, char*> test1;
25975 std::unordered_set<char*> test2;
25980 rm -f conftest.$ac_objext
25981 if { (ac_try="$ac_compile"
25982 case "(($ac_try" in
25983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25984 *) ac_try_echo=$ac_try;;
25986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25987 (eval "$ac_compile") 2>conftest.er1
25989 grep -v '^ *+' conftest.er1 >conftest.err
25991 cat conftest.err >&5
25992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993 (exit $ac_status); } && {
25994 test -z "$ac_cxx_werror_flag" ||
25995 test ! -s conftest.err
25996 } && test -s conftest.$ac_objext; then
25997 wx_cv_class_stdunorderedmapset=yes
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.$ac_ext >&5
26002 wx_cv_class_stdunorderedmapset=no
26005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26009 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26010 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26015 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26016 cat >>confdefs.h <<\_ACEOF
26017 #define HAVE_STD_UNORDERED_MAP 1
26020 cat >>confdefs.h <<\_ACEOF
26021 #define HAVE_STD_UNORDERED_SET 1
26025 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26026 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26027 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26030 cat >conftest.$ac_ext <<_ACEOF
26033 cat confdefs.h >>conftest.$ac_ext
26034 cat >>conftest.$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26039 #include <tr1/unordered_map>
26041 rm -f conftest.$ac_objext
26042 if { (ac_try="$ac_compile"
26043 case "(($ac_try" in
26044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_compile") 2>conftest.er1
26050 grep -v '^ *+' conftest.er1 >conftest.err
26052 cat conftest.err >&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_cxx_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest.$ac_objext; then
26058 ac_cv_header_tr1_unordered_map=yes
26060 echo "$as_me: failed program was:" >&5
26061 sed 's/^/| /' conftest.$ac_ext >&5
26063 ac_cv_header_tr1_unordered_map=no
26066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26068 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26069 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26070 if test $ac_cv_header_tr1_unordered_map = yes; then
26071 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26072 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26073 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26074 echo $ECHO_N "(cached) $ECHO_C" >&6
26076 cat >conftest.$ac_ext <<_ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 #include <tr1/unordered_map>
26083 #include <tr1/unordered_set>
26087 std::tr1::unordered_map<double*, char*> test1;
26088 std::tr1::unordered_set<char*> test2;
26089 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26090 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26096 rm -f conftest.$ac_objext
26097 if { (ac_try="$ac_compile"
26098 case "(($ac_try" in
26099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100 *) ac_try_echo=$ac_try;;
26102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103 (eval "$ac_compile") 2>conftest.er1
26105 grep -v '^ *+' conftest.er1 >conftest.err
26107 cat conftest.err >&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } && {
26110 test -z "$ac_cxx_werror_flag" ||
26111 test ! -s conftest.err
26112 } && test -s conftest.$ac_objext; then
26113 wx_cv_class_tr1unorderedmapset=yes
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26118 wx_cv_class_tr1unorderedmapset=no
26121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26125 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26126 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26131 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26132 cat >>confdefs.h <<\_ACEOF
26133 #define HAVE_TR1_UNORDERED_MAP 1
26136 cat >>confdefs.h <<\_ACEOF
26137 #define HAVE_TR1_UNORDERED_SET 1
26141 { echo "$as_me:$LINENO: checking for hash_map" >&5
26142 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26143 if test "${ac_cv_header_hash_map+set}" = set; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 cat >conftest.$ac_ext <<_ACEOF
26149 cat confdefs.h >>conftest.$ac_ext
26150 cat >>conftest.$ac_ext <<_ACEOF
26151 /* end confdefs.h. */
26155 #include <hash_map>
26157 rm -f conftest.$ac_objext
26158 if { (ac_try="$ac_compile"
26159 case "(($ac_try" in
26160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26161 *) ac_try_echo=$ac_try;;
26163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26164 (eval "$ac_compile") 2>conftest.er1
26166 grep -v '^ *+' conftest.er1 >conftest.err
26168 cat conftest.err >&5
26169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26170 (exit $ac_status); } && {
26171 test -z "$ac_cxx_werror_flag" ||
26172 test ! -s conftest.err
26173 } && test -s conftest.$ac_objext; then
26174 ac_cv_header_hash_map=yes
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26179 ac_cv_header_hash_map=no
26182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26184 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26185 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26186 if test $ac_cv_header_hash_map = yes; then
26187 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26188 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26189 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26190 echo $ECHO_N "(cached) $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 #include <hash_map>
26199 #include <hash_set>
26203 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26204 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26209 rm -f conftest.$ac_objext
26210 if { (ac_try="$ac_compile"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_compile") 2>conftest.er1
26218 grep -v '^ *+' conftest.er1 >conftest.err
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_cxx_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest.$ac_objext; then
26226 wx_cv_class_stdhashmapset=yes
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26231 wx_cv_class_stdhashmapset=no
26234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26239 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26244 if test "$wx_cv_class_stdhashmapset" = yes; then
26245 cat >>confdefs.h <<\_ACEOF
26246 #define HAVE_HASH_MAP 1
26249 cat >>confdefs.h <<\_ACEOF
26250 #define HAVE_STD_HASH_MAP 1
26255 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26256 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26257 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26258 echo $ECHO_N "(cached) $ECHO_C" >&6
26260 cat >conftest.$ac_ext <<_ACEOF
26263 cat confdefs.h >>conftest.$ac_ext
26264 cat >>conftest.$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26269 #include <ext/hash_map>
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26275 *) ac_try_echo=$ac_try;;
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26280 grep -v '^ *+' conftest.er1 >conftest.err
26282 cat conftest.err >&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } && {
26285 test -z "$ac_cxx_werror_flag" ||
26286 test ! -s conftest.err
26287 } && test -s conftest.$ac_objext; then
26288 ac_cv_header_ext_hash_map=yes
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.$ac_ext >&5
26293 ac_cv_header_ext_hash_map=no
26296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26299 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26300 if test $ac_cv_header_ext_hash_map = yes; then
26301 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26302 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26303 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26304 echo $ECHO_N "(cached) $ECHO_C" >&6
26306 cat >conftest.$ac_ext <<_ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312 #include <ext/hash_map>
26313 #include <ext/hash_set>
26317 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26318 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26323 rm -f conftest.$ac_objext
26324 if { (ac_try="$ac_compile"
26325 case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;;
26329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26330 (eval "$ac_compile") 2>conftest.er1
26332 grep -v '^ *+' conftest.er1 >conftest.err
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } && {
26337 test -z "$ac_cxx_werror_flag" ||
26338 test ! -s conftest.err
26339 } && test -s conftest.$ac_objext; then
26340 wx_cv_class_gnuhashmapset=yes
26342 echo "$as_me: failed program was:" >&5
26343 sed 's/^/| /' conftest.$ac_ext >&5
26345 wx_cv_class_gnuhashmapset=no
26348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26353 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26363 ac_cpp='$CXXCPP $CPPFLAGS'
26364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26367 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26368 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26369 if test -z "$CXXCPP"; then
26370 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26371 echo $ECHO_N "(cached) $ECHO_C" >&6
26373 # Double quotes because CXXCPP needs to be expanded
26374 for CXXCPP in "$CXX -E" "/lib/cpp"
26376 ac_preproc_ok=false
26377 for ac_cxx_preproc_warn_flag in '' yes
26379 # Use a header file that comes with gcc, so configuring glibc
26380 # with a fresh cross-compiler works.
26381 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26382 # <limits.h> exists even on freestanding compilers.
26383 # On the NeXT, cc -E runs the code through the compiler's parser,
26384 # not just through cpp. "Syntax error" is here to catch this case.
26385 cat >conftest.$ac_ext <<_ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26392 # include <limits.h>
26394 # include <assert.h>
26398 if { (ac_try="$ac_cpp conftest.$ac_ext"
26399 case "(($ac_try" in
26400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26401 *) ac_try_echo=$ac_try;;
26403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26406 grep -v '^ *+' conftest.er1 >conftest.err
26408 cat conftest.err >&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } >/dev/null && {
26411 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26412 test ! -s conftest.err
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26419 # Broken: fails on valid input.
26423 rm -f conftest.err conftest.$ac_ext
26425 # OK, works on sane cases. Now check whether nonexistent headers
26426 # can be detected and how.
26427 cat >conftest.$ac_ext <<_ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26433 #include <ac_nonexistent.h>
26435 if { (ac_try="$ac_cpp conftest.$ac_ext"
26436 case "(($ac_try" in
26437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26438 *) ac_try_echo=$ac_try;;
26440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26443 grep -v '^ *+' conftest.er1 >conftest.err
26445 cat conftest.err >&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } >/dev/null && {
26448 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26449 test ! -s conftest.err
26451 # Broken: success on invalid input.
26454 echo "$as_me: failed program was:" >&5
26455 sed 's/^/| /' conftest.$ac_ext >&5
26457 # Passes both tests.
26462 rm -f conftest.err conftest.$ac_ext
26465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26466 rm -f conftest.err conftest.$ac_ext
26467 if $ac_preproc_ok; then
26472 ac_cv_prog_CXXCPP=$CXXCPP
26475 CXXCPP=$ac_cv_prog_CXXCPP
26477 ac_cv_prog_CXXCPP=$CXXCPP
26479 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26480 echo "${ECHO_T}$CXXCPP" >&6; }
26481 ac_preproc_ok=false
26482 for ac_cxx_preproc_warn_flag in '' yes
26484 # Use a header file that comes with gcc, so configuring glibc
26485 # with a fresh cross-compiler works.
26486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26487 # <limits.h> exists even on freestanding compilers.
26488 # On the NeXT, cc -E runs the code through the compiler's parser,
26489 # not just through cpp. "Syntax error" is here to catch this case.
26490 cat >conftest.$ac_ext <<_ACEOF
26493 cat confdefs.h >>conftest.$ac_ext
26494 cat >>conftest.$ac_ext <<_ACEOF
26495 /* end confdefs.h. */
26497 # include <limits.h>
26499 # include <assert.h>
26503 if { (ac_try="$ac_cpp conftest.$ac_ext"
26504 case "(($ac_try" in
26505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26506 *) ac_try_echo=$ac_try;;
26508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26511 grep -v '^ *+' conftest.er1 >conftest.err
26513 cat conftest.err >&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } >/dev/null && {
26516 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26517 test ! -s conftest.err
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26524 # Broken: fails on valid input.
26528 rm -f conftest.err conftest.$ac_ext
26530 # OK, works on sane cases. Now check whether nonexistent headers
26531 # can be detected and how.
26532 cat >conftest.$ac_ext <<_ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 #include <ac_nonexistent.h>
26540 if { (ac_try="$ac_cpp conftest.$ac_ext"
26541 case "(($ac_try" in
26542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26543 *) ac_try_echo=$ac_try;;
26545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26548 grep -v '^ *+' conftest.er1 >conftest.err
26550 cat conftest.err >&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } >/dev/null && {
26553 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26554 test ! -s conftest.err
26556 # Broken: success on invalid input.
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.$ac_ext >&5
26562 # Passes both tests.
26567 rm -f conftest.err conftest.$ac_ext
26570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26571 rm -f conftest.err conftest.$ac_ext
26572 if $ac_preproc_ok; then
26575 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26576 See \`config.log' for more details." >&5
26577 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26578 See \`config.log' for more details." >&2;}
26579 { (exit 1); exit 1; }; }
26583 ac_cpp='$CXXCPP $CPPFLAGS'
26584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26591 for ac_header in type_traits tr1/type_traits
26593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26595 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 ac_res=`eval echo '${'$as_ac_Header'}'`
26601 { echo "$as_me:$LINENO: result: $ac_res" >&5
26602 echo "${ECHO_T}$ac_res" >&6; }
26604 # Is the header compilable?
26605 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26607 cat >conftest.$ac_ext <<_ACEOF
26610 cat confdefs.h >>conftest.$ac_ext
26611 cat >>conftest.$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26613 $ac_includes_default
26614 #include <$ac_header>
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26625 grep -v '^ *+' conftest.er1 >conftest.err
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_cxx_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26633 ac_header_compiler=yes
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 ac_header_compiler=no
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26642 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26643 echo "${ECHO_T}$ac_header_compiler" >&6; }
26645 # Is the header present?
26646 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26648 cat >conftest.$ac_ext <<_ACEOF
26651 cat confdefs.h >>conftest.$ac_ext
26652 cat >>conftest.$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654 #include <$ac_header>
26656 if { (ac_try="$ac_cpp conftest.$ac_ext"
26657 case "(($ac_try" in
26658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26659 *) ac_try_echo=$ac_try;;
26661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26664 grep -v '^ *+' conftest.er1 >conftest.err
26666 cat conftest.err >&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); } >/dev/null && {
26669 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26670 test ! -s conftest.err
26672 ac_header_preproc=yes
26674 echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26677 ac_header_preproc=no
26680 rm -f conftest.err conftest.$ac_ext
26681 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26682 echo "${ECHO_T}$ac_header_preproc" >&6; }
26684 # So? What about this header?
26685 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26691 ac_header_preproc=yes
26694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26707 ## ----------------------------------------- ##
26708 ## Report this to wx-dev@lists.wxwidgets.org ##
26709 ## ----------------------------------------- ##
26711 ) | sed "s/^/$as_me: WARNING: /" >&2
26714 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26717 echo $ECHO_N "(cached) $ECHO_C" >&6
26719 eval "$as_ac_Header=\$ac_header_preproc"
26721 ac_res=`eval echo '${'$as_ac_Header'}'`
26722 { echo "$as_me:$LINENO: result: $ac_res" >&5
26723 echo "${ECHO_T}$ac_res" >&6; }
26726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26727 cat >>confdefs.h <<_ACEOF
26728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26738 if test -n "$GCC"; then
26739 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26740 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26741 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 cat >conftest.$ac_ext <<_ACEOF
26748 cat confdefs.h >>conftest.$ac_ext
26749 cat >>conftest.$ac_ext <<_ACEOF
26750 /* end confdefs.h. */
26756 unsigned int value=0;
26757 /* wxAtomicInc doesn't use return value here */
26758 __sync_fetch_and_add(&value, 2);
26759 __sync_sub_and_fetch(&value, 1);
26760 /* but wxAtomicDec does, so mimic that: */
26761 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26767 rm -f conftest.$ac_objext conftest$ac_exeext
26768 if { (ac_try="$ac_link"
26769 case "(($ac_try" in
26770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26771 *) ac_try_echo=$ac_try;;
26773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26774 (eval "$ac_link") 2>conftest.er1
26776 grep -v '^ *+' conftest.er1 >conftest.err
26778 cat conftest.err >&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); } && {
26781 test -z "$ac_cxx_werror_flag" ||
26782 test ! -s conftest.err
26783 } && test -s conftest$ac_exeext &&
26784 $as_test_x conftest$ac_exeext; then
26785 wx_cv_cc_gcc_atomic_builtins=yes
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26790 wx_cv_cc_gcc_atomic_builtins=no
26793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26794 conftest$ac_exeext conftest.$ac_ext
26798 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26799 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26800 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26801 cat >>confdefs.h <<\_ACEOF
26802 #define HAVE_GCC_ATOMIC_BUILTINS 1
26810 ac_cpp='$CPP $CPPFLAGS'
26811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26818 /usr/local/include \
26819 /usr/local/X11/include \
26820 /usr/local/include/X11 \
26821 /usr/local/X11R7/include \
26822 /usr/local/X11R6/include \
26823 /usr/local/include/X11R7 \
26824 /usr/local/include/X11R6 \
26826 /usr/Motif-2.1/include \
26827 /usr/Motif-1.2/include \
26828 /usr/include/Motif1.2 \
26831 /usr/openwin/include \
26835 /usr/X11R7/include \
26836 /usr/X11R6/include \
26837 /usr/X11R6.4/include \
26839 /usr/include/X11R7 \
26840 /usr/include/X11R6 \
26845 /usr/XFree86/include/X11 \
26848 /usr/local/X1R5/include \
26849 /usr/local/include/X11R5 \
26850 /usr/X11R5/include \
26851 /usr/include/X11R5 \
26853 /usr/local/X11R4/include \
26854 /usr/local/include/X11R4 \
26855 /usr/X11R4/include \
26856 /usr/include/X11R4 \
26858 /usr/openwin/share/include"
26860 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26861 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26865 if test "${wx_cv_std_libpath+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26870 for e in a so sl dylib dll.a; do
26872 if test -f $libc; then
26875 cat >conftest.$ac_ext <<_ACEOF
26876 int main() { return 0; }
26878 rm -f conftest.$ac_objext conftest$ac_exeext
26879 if { (ac_try="$ac_link"
26880 case "(($ac_try" in
26881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26882 *) ac_try_echo=$ac_try;;
26884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26885 (eval "$ac_link") 2>conftest.er1
26887 grep -v '^ *+' conftest.er1 >conftest.err
26889 cat conftest.err >&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } && {
26892 test -z "$ac_c_werror_flag" ||
26893 test ! -s conftest.err
26894 } && test -s conftest$ac_exeext &&
26895 $as_test_x conftest$ac_exeext; then
26896 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.$ac_ext >&5
26904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26905 conftest$ac_exeext conftest.$ac_ext
26907 if test "x$wx_cv_std_libpath" != "x"; then
26913 if test "x$wx_cv_std_libpath" = "x"; then
26914 wx_cv_std_libpath="lib"
26923 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26924 wx_cv_std_libpath="lib/64"
26926 wx_cv_std_libpath="lib"
26931 if test "$ac_cv_sizeof_void_p" = 8 -a \
26932 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26933 wx_cv_std_libpath="lib64"
26935 wx_cv_std_libpath="lib"
26940 wx_cv_std_libpath="lib";
26944 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26945 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26947 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26949 if test "$build" != "$host" -a "$GCC" = yes; then
26950 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26951 cross_root=`dirname $cross_root`
26952 cross_root=`dirname $cross_root`
26954 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26955 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26956 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26958 if test -z "$PKG_CONFIG_PATH"; then
26959 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26960 export PKG_CONFIG_PATH
26963 if test -z "$x_includes" -o "$x_includes" = NONE; then
26966 for ac_dir in $SEARCH_INCLUDE /usr/include
26968 if test -f "$ac_dir/X11/Intrinsic.h"; then
26969 ac_find_includes=$ac_dir
26974 x_includes=$ac_find_includes
26976 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26979 for ac_dir in $SEARCH_LIB
26981 for ac_extension in a so sl dylib dll.a; do
26982 if test -f "$ac_dir/libXt.$ac_extension"; then
26983 ac_find_libraries=$ac_dir
26989 x_libraries=$ac_find_libraries
26995 cat >confcache <<\_ACEOF
26996 # This file is a shell script that caches the results of configure
26997 # tests run on this system so they can be shared between configure
26998 # scripts and configure runs, see configure's option --config-cache.
26999 # It is not useful on other systems. If it contains results you don't
27000 # want to keep, you may remove or edit it.
27002 # config.status only pays attention to the cache file if you give it
27003 # the --recheck option to rerun configure.
27005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27007 # following values.
27011 # The following way of writing the cache mishandles newlines in values,
27012 # but we know of no workaround that is simple, portable, and efficient.
27013 # So, we kill variables containing newlines.
27014 # Ultrix sh set writes to stderr and can't be redirected directly,
27015 # and sets the high bit in the cache file unless we assign to the vars.
27017 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27018 eval ac_val=\$$ac_var
27022 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27023 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27026 _ | IFS | as_nl) ;; #(
27027 *) $as_unset $ac_var ;;
27033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27034 *${as_nl}ac_space=\ *)
27035 # `set' does not quote correctly, so add quotes (double-quote
27036 # substitution turns \\\\ into \\, and sed turns \\ into \).
27039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27042 # `set' quotes correctly as required by POSIX, so do not add quotes.
27043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27057 if test -w "$cache_file"; then
27058 test "x$cache_file" != "x/dev/null" &&
27059 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27060 echo "$as_me: updating cache $cache_file" >&6;}
27061 cat confcache >$cache_file
27063 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27064 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27069 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27070 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27071 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27072 if test "${wx_cv_lib_glibc21+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 cat >conftest.$ac_ext <<_ACEOF
27079 cat confdefs.h >>conftest.$ac_ext
27080 cat >>conftest.$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27082 #include <features.h>
27087 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27095 rm -f conftest.$ac_objext
27096 if { (ac_try="$ac_compile"
27097 case "(($ac_try" in
27098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27099 *) ac_try_echo=$ac_try;;
27101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27102 (eval "$ac_compile") 2>conftest.er1
27104 grep -v '^ *+' conftest.er1 >conftest.err
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } && {
27109 test -z "$ac_c_werror_flag" ||
27110 test ! -s conftest.err
27111 } && test -s conftest.$ac_objext; then
27113 wx_cv_lib_glibc21=yes
27116 echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27120 wx_cv_lib_glibc21=no
27125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27128 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27129 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27130 if test "$wx_cv_lib_glibc21" = "yes"; then
27131 cat >>confdefs.h <<\_ACEOF
27132 #define wxHAVE_GLIBC2 1
27138 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27139 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27140 cat >>confdefs.h <<\_ACEOF
27141 #define _GNU_SOURCE 1
27152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 cat >conftest.$ac_ext <<_ACEOF
27161 cat confdefs.h >>conftest.$ac_ext
27162 cat >>conftest.$ac_ext <<_ACEOF
27163 /* end confdefs.h. */
27164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27166 #define $ac_func innocuous_$ac_func
27168 /* System header to define __stub macros and hopefully few prototypes,
27169 which can conflict with char $ac_func (); below.
27170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27171 <limits.h> exists even on freestanding compilers. */
27174 # include <limits.h>
27176 # include <assert.h>
27181 /* Override any GCC internal prototype to avoid an error.
27182 Use char because int might match the return type of a GCC
27183 builtin and then its argument prototype would still apply. */
27188 /* The GNU C library defines this for functions which it implements
27189 to always fail with ENOSYS. Some functions are actually named
27190 something starting with __ and the normal name is an alias. */
27191 #if defined __stub_$ac_func || defined __stub___$ac_func
27198 return $ac_func ();
27203 rm -f conftest.$ac_objext conftest$ac_exeext
27204 if { (ac_try="$ac_link"
27205 case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_link") 2>conftest.er1
27212 grep -v '^ *+' conftest.er1 >conftest.err
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && {
27217 test -z "$ac_c_werror_flag" ||
27218 test ! -s conftest.err
27219 } && test -s conftest$ac_exeext &&
27220 $as_test_x conftest$ac_exeext; then
27221 eval "$as_ac_var=yes"
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27226 eval "$as_ac_var=no"
27229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27230 conftest$ac_exeext conftest.$ac_ext
27232 ac_res=`eval echo '${'$as_ac_var'}'`
27233 { echo "$as_me:$LINENO: result: $ac_res" >&5
27234 echo "${ECHO_T}$ac_res" >&6; }
27235 if test `eval echo '${'$as_ac_var'}'` = yes; then
27236 cat >>confdefs.h <<_ACEOF
27237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27244 for ac_func in floor
27246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27250 echo $ECHO_N "(cached) $ECHO_C" >&6
27252 cat >conftest.$ac_ext <<_ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27260 #define $ac_func innocuous_$ac_func
27262 /* System header to define __stub macros and hopefully few prototypes,
27263 which can conflict with char $ac_func (); below.
27264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27265 <limits.h> exists even on freestanding compilers. */
27268 # include <limits.h>
27270 # include <assert.h>
27275 /* Override any GCC internal prototype to avoid an error.
27276 Use char because int might match the return type of a GCC
27277 builtin and then its argument prototype would still apply. */
27282 /* The GNU C library defines this for functions which it implements
27283 to always fail with ENOSYS. Some functions are actually named
27284 something starting with __ and the normal name is an alias. */
27285 #if defined __stub_$ac_func || defined __stub___$ac_func
27292 return $ac_func ();
27297 rm -f conftest.$ac_objext conftest$ac_exeext
27298 if { (ac_try="$ac_link"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_link") 2>conftest.er1
27306 grep -v '^ *+' conftest.er1 >conftest.err
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest$ac_exeext &&
27314 $as_test_x conftest$ac_exeext; then
27315 eval "$as_ac_var=yes"
27317 echo "$as_me: failed program was:" >&5
27318 sed 's/^/| /' conftest.$ac_ext >&5
27320 eval "$as_ac_var=no"
27323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27324 conftest$ac_exeext conftest.$ac_ext
27326 ac_res=`eval echo '${'$as_ac_var'}'`
27327 { echo "$as_me:$LINENO: result: $ac_res" >&5
27328 echo "${ECHO_T}$ac_res" >&6; }
27329 if test `eval echo '${'$as_ac_var'}'` = yes; then
27330 cat >>confdefs.h <<_ACEOF
27331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27337 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27338 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27339 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27340 { echo "$as_me:$LINENO: result: yes" >&5
27341 echo "${ECHO_T}yes" >&6; }
27343 { echo "$as_me:$LINENO: result: no" >&5
27344 echo "${ECHO_T}no" >&6; }
27346 # use different functions to avoid configure caching
27352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27356 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 cat >conftest.$ac_ext <<_ACEOF
27361 cat confdefs.h >>conftest.$ac_ext
27362 cat >>conftest.$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27366 #define $ac_func innocuous_$ac_func
27368 /* System header to define __stub macros and hopefully few prototypes,
27369 which can conflict with char $ac_func (); below.
27370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27371 <limits.h> exists even on freestanding compilers. */
27374 # include <limits.h>
27376 # include <assert.h>
27381 /* Override any GCC internal prototype to avoid an error.
27382 Use char because int might match the return type of a GCC
27383 builtin and then its argument prototype would still apply. */
27388 /* The GNU C library defines this for functions which it implements
27389 to always fail with ENOSYS. Some functions are actually named
27390 something starting with __ and the normal name is an alias. */
27391 #if defined __stub_$ac_func || defined __stub___$ac_func
27398 return $ac_func ();
27403 rm -f conftest.$ac_objext conftest$ac_exeext
27404 if { (ac_try="$ac_link"
27405 case "(($ac_try" in
27406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27407 *) ac_try_echo=$ac_try;;
27409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27410 (eval "$ac_link") 2>conftest.er1
27412 grep -v '^ *+' conftest.er1 >conftest.err
27414 cat conftest.err >&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } && {
27417 test -z "$ac_c_werror_flag" ||
27418 test ! -s conftest.err
27419 } && test -s conftest$ac_exeext &&
27420 $as_test_x conftest$ac_exeext; then
27421 eval "$as_ac_var=yes"
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27426 eval "$as_ac_var=no"
27429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27430 conftest$ac_exeext conftest.$ac_ext
27432 ac_res=`eval echo '${'$as_ac_var'}'`
27433 { echo "$as_me:$LINENO: result: $ac_res" >&5
27434 echo "${ECHO_T}$ac_res" >&6; }
27435 if test `eval echo '${'$as_ac_var'}'` = yes; then
27436 cat >>confdefs.h <<_ACEOF
27437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27444 for ac_func in ceil
27446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27450 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 cat >conftest.$ac_ext <<_ACEOF
27455 cat confdefs.h >>conftest.$ac_ext
27456 cat >>conftest.$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27460 #define $ac_func innocuous_$ac_func
27462 /* System header to define __stub macros and hopefully few prototypes,
27463 which can conflict with char $ac_func (); below.
27464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27465 <limits.h> exists even on freestanding compilers. */
27468 # include <limits.h>
27470 # include <assert.h>
27475 /* Override any GCC internal prototype to avoid an error.
27476 Use char because int might match the return type of a GCC
27477 builtin and then its argument prototype would still apply. */
27482 /* The GNU C library defines this for functions which it implements
27483 to always fail with ENOSYS. Some functions are actually named
27484 something starting with __ and the normal name is an alias. */
27485 #if defined __stub_$ac_func || defined __stub___$ac_func
27492 return $ac_func ();
27497 rm -f conftest.$ac_objext conftest$ac_exeext
27498 if { (ac_try="$ac_link"
27499 case "(($ac_try" in
27500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27501 *) ac_try_echo=$ac_try;;
27503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27504 (eval "$ac_link") 2>conftest.er1
27506 grep -v '^ *+' conftest.er1 >conftest.err
27508 cat conftest.err >&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); } && {
27511 test -z "$ac_c_werror_flag" ||
27512 test ! -s conftest.err
27513 } && test -s conftest$ac_exeext &&
27514 $as_test_x conftest$ac_exeext; then
27515 eval "$as_ac_var=yes"
27517 echo "$as_me: failed program was:" >&5
27518 sed 's/^/| /' conftest.$ac_ext >&5
27520 eval "$as_ac_var=no"
27523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27524 conftest$ac_exeext conftest.$ac_ext
27526 ac_res=`eval echo '${'$as_ac_var'}'`
27527 { echo "$as_me:$LINENO: result: $ac_res" >&5
27528 echo "${ECHO_T}$ac_res" >&6; }
27529 if test `eval echo '${'$as_ac_var'}'` = yes; then
27530 cat >>confdefs.h <<_ACEOF
27531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27537 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27538 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27539 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27540 { echo "$as_me:$LINENO: result: yes" >&5
27541 echo "${ECHO_T}yes" >&6; }
27543 { echo "$as_me:$LINENO: result: no" >&5
27544 echo "${ECHO_T}no" >&6; }
27545 # not sure we should warn the user, crash, etc.
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27555 if test "wxUSE_UNICODE" = "yes"; then
27557 for wx_func in wcstoull
27559 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27560 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27561 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27562 echo $ECHO_N "(cached) $ECHO_C" >&6
27565 cat >conftest.$ac_ext <<_ACEOF
27569 cat confdefs.h >>conftest.$ac_ext
27570 cat >>conftest.$ac_ext <<_ACEOF
27571 /* end confdefs.h. */
27574 $ac_includes_default
27590 rm -f conftest.$ac_objext conftest$ac_exeext
27591 if { (ac_try="$ac_link"
27592 case "(($ac_try" in
27593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27594 *) ac_try_echo=$ac_try;;
27596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27597 (eval "$ac_link") 2>conftest.er1
27599 grep -v '^ *+' conftest.er1 >conftest.err
27601 cat conftest.err >&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); } && {
27604 test -z "$ac_cxx_werror_flag" ||
27605 test ! -s conftest.err
27606 } && test -s conftest$ac_exeext &&
27607 $as_test_x conftest$ac_exeext; then
27608 eval wx_cv_func_$wx_func=yes
27610 echo "$as_me: failed program was:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27613 eval wx_cv_func_$wx_func=no
27616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27617 conftest$ac_exeext conftest.$ac_ext
27620 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27621 { echo "$as_me:$LINENO: result: $ac_res" >&5
27622 echo "${ECHO_T}$ac_res" >&6; }
27624 if eval test \$wx_cv_func_$wx_func = yes
27626 cat >>confdefs.h <<_ACEOF
27627 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27639 for wx_func in strtoull
27641 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27642 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27643 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 cat >conftest.$ac_ext <<_ACEOF
27651 cat confdefs.h >>conftest.$ac_ext
27652 cat >>conftest.$ac_ext <<_ACEOF
27653 /* end confdefs.h. */
27656 $ac_includes_default
27672 rm -f conftest.$ac_objext conftest$ac_exeext
27673 if { (ac_try="$ac_link"
27674 case "(($ac_try" in
27675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27676 *) ac_try_echo=$ac_try;;
27678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27679 (eval "$ac_link") 2>conftest.er1
27681 grep -v '^ *+' conftest.er1 >conftest.err
27683 cat conftest.err >&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); } && {
27686 test -z "$ac_cxx_werror_flag" ||
27687 test ! -s conftest.err
27688 } && test -s conftest$ac_exeext &&
27689 $as_test_x conftest$ac_exeext; then
27690 eval wx_cv_func_$wx_func=yes
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27695 eval wx_cv_func_$wx_func=no
27698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27699 conftest$ac_exeext conftest.$ac_ext
27702 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27703 { echo "$as_me:$LINENO: result: $ac_res" >&5
27704 echo "${ECHO_T}$ac_res" >&6; }
27706 if eval test \$wx_cv_func_$wx_func = yes
27708 cat >>confdefs.h <<_ACEOF
27709 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27729 if test "$wxUSE_REGEX" != "no"; then
27730 cat >>confdefs.h <<\_ACEOF
27731 #define wxUSE_REGEX 1
27735 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27736 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27737 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27738 wxUSE_REGEX=builtin
27741 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27742 { echo "$as_me:$LINENO: checking for regex.h" >&5
27743 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27744 if test "${ac_cv_header_regex_h+set}" = set; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 cat >conftest.$ac_ext <<_ACEOF
27750 cat confdefs.h >>conftest.$ac_ext
27751 cat >>conftest.$ac_ext <<_ACEOF
27752 /* end confdefs.h. */
27757 rm -f conftest.$ac_objext
27758 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
27766 grep -v '^ *+' conftest.er1 >conftest.err
27768 cat conftest.err >&5
27769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770 (exit $ac_status); } && {
27771 test -z "$ac_c_werror_flag" ||
27772 test ! -s conftest.err
27773 } && test -s conftest.$ac_objext; then
27774 ac_cv_header_regex_h=yes
27776 echo "$as_me: failed program was:" >&5
27777 sed 's/^/| /' conftest.$ac_ext >&5
27779 ac_cv_header_regex_h=no
27782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27784 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27785 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27786 if test $ac_cv_header_regex_h = yes; then
27789 for ac_func in regcomp re_search
27791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27795 echo $ECHO_N "(cached) $ECHO_C" >&6
27797 cat >conftest.$ac_ext <<_ACEOF
27800 cat confdefs.h >>conftest.$ac_ext
27801 cat >>conftest.$ac_ext <<_ACEOF
27802 /* end confdefs.h. */
27803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27805 #define $ac_func innocuous_$ac_func
27807 /* System header to define __stub macros and hopefully few prototypes,
27808 which can conflict with char $ac_func (); below.
27809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27810 <limits.h> exists even on freestanding compilers. */
27813 # include <limits.h>
27815 # include <assert.h>
27820 /* Override any GCC internal prototype to avoid an error.
27821 Use char because int might match the return type of a GCC
27822 builtin and then its argument prototype would still apply. */
27827 /* The GNU C library defines this for functions which it implements
27828 to always fail with ENOSYS. Some functions are actually named
27829 something starting with __ and the normal name is an alias. */
27830 #if defined __stub_$ac_func || defined __stub___$ac_func
27837 return $ac_func ();
27842 rm -f conftest.$ac_objext conftest$ac_exeext
27843 if { (ac_try="$ac_link"
27844 case "(($ac_try" in
27845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27846 *) ac_try_echo=$ac_try;;
27848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27849 (eval "$ac_link") 2>conftest.er1
27851 grep -v '^ *+' conftest.er1 >conftest.err
27853 cat conftest.err >&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } && {
27856 test -z "$ac_c_werror_flag" ||
27857 test ! -s conftest.err
27858 } && test -s conftest$ac_exeext &&
27859 $as_test_x conftest$ac_exeext; then
27860 eval "$as_ac_var=yes"
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27865 eval "$as_ac_var=no"
27868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27869 conftest$ac_exeext conftest.$ac_ext
27871 ac_res=`eval echo '${'$as_ac_var'}'`
27872 { echo "$as_me:$LINENO: result: $ac_res" >&5
27873 echo "${ECHO_T}$ac_res" >&6; }
27874 if test `eval echo '${'$as_ac_var'}'` = yes; then
27875 cat >>confdefs.h <<_ACEOF
27876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27886 if test "x$ac_cv_func_regcomp" != "xyes"; then
27887 if test "$wxUSE_REGEX" = "sys" ; then
27888 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27889 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27890 { (exit 1); exit 1; }; }
27892 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27893 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27894 wxUSE_REGEX=builtin
27898 cat >>confdefs.h <<\_ACEOF
27899 #define WX_NO_REGEX_ADVANCED 1
27908 if test "$wxUSE_ZLIB" != "no" ; then
27909 cat >>confdefs.h <<\_ACEOF
27910 #define wxUSE_ZLIB 1
27914 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27915 if test "$USE_DARWIN" = 1; then
27916 system_zlib_h_ok="yes"
27918 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27919 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27920 if test "${ac_cv_header_zlib_h+set}" = set; then
27921 echo $ECHO_N "(cached) $ECHO_C" >&6
27923 if test "$cross_compiling" = yes; then
27924 unset ac_cv_header_zlib_h
27927 cat >conftest.$ac_ext <<_ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27939 FILE *f=fopen("conftestval", "w");
27942 ZLIB_VERSION[0] == '1' &&
27943 (ZLIB_VERSION[2] > '1' ||
27944 (ZLIB_VERSION[2] == '1' &&
27945 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27950 rm -f conftest$ac_exeext
27951 if { (ac_try="$ac_link"
27952 case "(($ac_try" in
27953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27954 *) ac_try_echo=$ac_try;;
27956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27957 (eval "$ac_link") 2>&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27961 { (case "(($ac_try" in
27962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27963 *) ac_try_echo=$ac_try;;
27965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27966 (eval "$ac_try") 2>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 ac_cv_header_zlib_h=`cat conftestval`
27972 echo "$as_me: program exited with status $ac_status" >&5
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.$ac_ext >&5
27976 ( exit $ac_status )
27977 ac_cv_header_zlib_h=no
27979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27985 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27986 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27987 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27988 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27989 if test "${ac_cv_header_zlib_h+set}" = set; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27992 cat >conftest.$ac_ext <<_ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
28002 rm -f conftest.$ac_objext
28003 if { (ac_try="$ac_compile"
28004 case "(($ac_try" in
28005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28006 *) ac_try_echo=$ac_try;;
28008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28009 (eval "$ac_compile") 2>conftest.er1
28011 grep -v '^ *+' conftest.er1 >conftest.err
28013 cat conftest.err >&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); } && {
28016 test -z "$ac_c_werror_flag" ||
28017 test ! -s conftest.err
28018 } && test -s conftest.$ac_objext; then
28019 ac_cv_header_zlib_h=yes
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28024 ac_cv_header_zlib_h=no
28027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28029 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28030 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28034 system_zlib_h_ok=$ac_cv_header_zlib_h
28037 if test "$system_zlib_h_ok" = "yes"; then
28038 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28039 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28040 if test "${ac_cv_lib_z_deflate+set}" = set; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 ac_check_lib_save_LIBS=$LIBS
28045 cat >conftest.$ac_ext <<_ACEOF
28048 cat confdefs.h >>conftest.$ac_ext
28049 cat >>conftest.$ac_ext <<_ACEOF
28050 /* end confdefs.h. */
28052 /* Override any GCC internal prototype to avoid an error.
28053 Use char because int might match the return type of a GCC
28054 builtin and then its argument prototype would still apply. */
28067 rm -f conftest.$ac_objext conftest$ac_exeext
28068 if { (ac_try="$ac_link"
28069 case "(($ac_try" in
28070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28071 *) ac_try_echo=$ac_try;;
28073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28074 (eval "$ac_link") 2>conftest.er1
28076 grep -v '^ *+' conftest.er1 >conftest.err
28078 cat conftest.err >&5
28079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080 (exit $ac_status); } && {
28081 test -z "$ac_c_werror_flag" ||
28082 test ! -s conftest.err
28083 } && test -s conftest$ac_exeext &&
28084 $as_test_x conftest$ac_exeext; then
28085 ac_cv_lib_z_deflate=yes
28087 echo "$as_me: failed program was:" >&5
28088 sed 's/^/| /' conftest.$ac_ext >&5
28090 ac_cv_lib_z_deflate=no
28093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28094 conftest$ac_exeext conftest.$ac_ext
28095 LIBS=$ac_check_lib_save_LIBS
28097 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28098 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28099 if test $ac_cv_lib_z_deflate = yes; then
28105 if test "x$ZLIB_LINK" = "x" ; then
28106 if test "$wxUSE_ZLIB" = "sys" ; then
28107 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28108 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28109 { (exit 1); exit 1; }; }
28111 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28112 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28123 if test "$wxUSE_LIBPNG" != "no" ; then
28124 cat >>confdefs.h <<\_ACEOF
28125 #define wxUSE_LIBPNG 1
28129 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28130 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28131 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28135 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28136 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28137 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28138 wxUSE_LIBPNG=builtin
28141 if test "$wxUSE_MGL" != 1 ; then
28142 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28143 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28144 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28145 if test "${ac_cv_header_png_h+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 if test "$cross_compiling" = yes; then
28149 unset ac_cv_header_png_h
28152 cat >conftest.$ac_ext <<_ACEOF
28155 cat confdefs.h >>conftest.$ac_ext
28156 cat >>conftest.$ac_ext <<_ACEOF
28157 /* end confdefs.h. */
28164 FILE *f=fopen("conftestval", "w");
28167 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28172 rm -f conftest$ac_exeext
28173 if { (ac_try="$ac_link"
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_link") 2>&5
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28183 { (case "(($ac_try" in
28184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28185 *) ac_try_echo=$ac_try;;
28187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28188 (eval "$ac_try") 2>&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); }; }; then
28192 ac_cv_header_png_h=`cat conftestval`
28194 echo "$as_me: program exited with status $ac_status" >&5
28195 echo "$as_me: failed program was:" >&5
28196 sed 's/^/| /' conftest.$ac_ext >&5
28198 ( exit $ac_status )
28199 ac_cv_header_png_h=no
28201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28207 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28208 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28209 { echo "$as_me:$LINENO: checking for png.h" >&5
28210 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28211 if test "${ac_cv_header_png_h+set}" = set; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28214 cat >conftest.$ac_ext <<_ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28224 rm -f conftest.$ac_objext
28225 if { (ac_try="$ac_compile"
28226 case "(($ac_try" in
28227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28228 *) ac_try_echo=$ac_try;;
28230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28231 (eval "$ac_compile") 2>conftest.er1
28233 grep -v '^ *+' conftest.er1 >conftest.err
28235 cat conftest.err >&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } && {
28238 test -z "$ac_c_werror_flag" ||
28239 test ! -s conftest.err
28240 } && test -s conftest.$ac_objext; then
28241 ac_cv_header_png_h=yes
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28246 ac_cv_header_png_h=no
28249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28251 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28252 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28256 if test "$ac_cv_header_png_h" = "yes"; then
28257 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28258 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28259 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 ac_check_lib_save_LIBS=$LIBS
28263 LIBS="-lpng -lz -lm $LIBS"
28264 cat >conftest.$ac_ext <<_ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28271 /* Override any GCC internal prototype to avoid an error.
28272 Use char because int might match the return type of a GCC
28273 builtin and then its argument prototype would still apply. */
28277 char png_sig_cmp ();
28281 return png_sig_cmp ();
28286 rm -f conftest.$ac_objext conftest$ac_exeext
28287 if { (ac_try="$ac_link"
28288 case "(($ac_try" in
28289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28290 *) ac_try_echo=$ac_try;;
28292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28293 (eval "$ac_link") 2>conftest.er1
28295 grep -v '^ *+' conftest.er1 >conftest.err
28297 cat conftest.err >&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); } && {
28300 test -z "$ac_c_werror_flag" ||
28301 test ! -s conftest.err
28302 } && test -s conftest$ac_exeext &&
28303 $as_test_x conftest$ac_exeext; then
28304 ac_cv_lib_png_png_sig_cmp=yes
28306 echo "$as_me: failed program was:" >&5
28307 sed 's/^/| /' conftest.$ac_ext >&5
28309 ac_cv_lib_png_png_sig_cmp=no
28312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28313 conftest$ac_exeext conftest.$ac_ext
28314 LIBS=$ac_check_lib_save_LIBS
28316 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28317 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28318 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28319 PNG_LINK=" -lpng -lz"
28324 if test "x$PNG_LINK" = "x" ; then
28325 if test "$wxUSE_LIBPNG" = "sys" ; then
28326 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28327 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28328 { (exit 1); exit 1; }; }
28330 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28331 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28332 wxUSE_LIBPNG=builtin
28343 if test "$wxUSE_LIBJPEG" != "no" ; then
28344 cat >>confdefs.h <<\_ACEOF
28345 #define wxUSE_LIBJPEG 1
28349 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28350 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28351 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28355 if test "$wxUSE_MGL" != 1 ; then
28356 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28357 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28358 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28359 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28360 echo $ECHO_N "(cached) $ECHO_C" >&6
28362 cat >conftest.$ac_ext <<_ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28369 #undef HAVE_STDLIB_H
28371 #include <jpeglib.h>
28382 rm -f conftest.$ac_objext
28383 if { (ac_try="$ac_compile"
28384 case "(($ac_try" in
28385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28386 *) ac_try_echo=$ac_try;;
28388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28389 (eval "$ac_compile") 2>conftest.er1
28391 grep -v '^ *+' conftest.er1 >conftest.err
28393 cat conftest.err >&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } && {
28396 test -z "$ac_c_werror_flag" ||
28397 test ! -s conftest.err
28398 } && test -s conftest.$ac_objext; then
28399 ac_cv_header_jpeglib_h=yes
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.$ac_ext >&5
28404 ac_cv_header_jpeglib_h=no
28408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28412 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28413 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28415 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28416 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28417 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28418 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28421 ac_check_lib_save_LIBS=$LIBS
28422 LIBS="-ljpeg $LIBS"
28423 cat >conftest.$ac_ext <<_ACEOF
28426 cat confdefs.h >>conftest.$ac_ext
28427 cat >>conftest.$ac_ext <<_ACEOF
28428 /* end confdefs.h. */
28430 /* Override any GCC internal prototype to avoid an error.
28431 Use char because int might match the return type of a GCC
28432 builtin and then its argument prototype would still apply. */
28436 char jpeg_read_header ();
28440 return jpeg_read_header ();
28445 rm -f conftest.$ac_objext conftest$ac_exeext
28446 if { (ac_try="$ac_link"
28447 case "(($ac_try" in
28448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28449 *) ac_try_echo=$ac_try;;
28451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28452 (eval "$ac_link") 2>conftest.er1
28454 grep -v '^ *+' conftest.er1 >conftest.err
28456 cat conftest.err >&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } && {
28459 test -z "$ac_c_werror_flag" ||
28460 test ! -s conftest.err
28461 } && test -s conftest$ac_exeext &&
28462 $as_test_x conftest$ac_exeext; then
28463 ac_cv_lib_jpeg_jpeg_read_header=yes
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28468 ac_cv_lib_jpeg_jpeg_read_header=no
28471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28472 conftest$ac_exeext conftest.$ac_ext
28473 LIBS=$ac_check_lib_save_LIBS
28475 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28476 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28477 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28478 JPEG_LINK=" -ljpeg"
28483 if test "x$JPEG_LINK" = "x" ; then
28484 if test "$wxUSE_LIBJPEG" = "sys" ; then
28485 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28486 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28487 { (exit 1); exit 1; }; }
28489 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28490 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28491 wxUSE_LIBJPEG=builtin
28496 if test "$wxUSE_MSW" = 1; then
28497 { echo "$as_me:$LINENO: checking for boolean" >&5
28498 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28499 if test "${ac_cv_type_boolean+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28502 cat >conftest.$ac_ext <<_ACEOF
28505 cat confdefs.h >>conftest.$ac_ext
28506 cat >>conftest.$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28508 #include <windows.h>
28510 typedef boolean ac__type_new_;
28514 if ((ac__type_new_ *) 0)
28516 if (sizeof (ac__type_new_))
28522 rm -f conftest.$ac_objext
28523 if { (ac_try="$ac_compile"
28524 case "(($ac_try" in
28525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28526 *) ac_try_echo=$ac_try;;
28528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28529 (eval "$ac_compile") 2>conftest.er1
28531 grep -v '^ *+' conftest.er1 >conftest.err
28533 cat conftest.err >&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } && {
28536 test -z "$ac_c_werror_flag" ||
28537 test ! -s conftest.err
28538 } && test -s conftest.$ac_objext; then
28539 ac_cv_type_boolean=yes
28541 echo "$as_me: failed program was:" >&5
28542 sed 's/^/| /' conftest.$ac_ext >&5
28544 ac_cv_type_boolean=no
28547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28549 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28550 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28551 if test $ac_cv_type_boolean = yes; then
28553 cat >>confdefs.h <<_ACEOF
28554 #define HAVE_BOOLEAN 1
28558 { echo "$as_me:$LINENO: checking for boolean" >&5
28559 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28560 if test "${ac_cv_type_boolean+set}" = set; then
28561 echo $ECHO_N "(cached) $ECHO_C" >&6
28563 cat >conftest.$ac_ext <<_ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28570 #undef HAVE_BOOLEAN
28572 #include <jpeglib.h>
28575 typedef boolean ac__type_new_;
28579 if ((ac__type_new_ *) 0)
28581 if (sizeof (ac__type_new_))
28587 rm -f conftest.$ac_objext
28588 if { (ac_try="$ac_compile"
28589 case "(($ac_try" in
28590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28591 *) ac_try_echo=$ac_try;;
28593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28594 (eval "$ac_compile") 2>conftest.er1
28596 grep -v '^ *+' conftest.er1 >conftest.err
28598 cat conftest.err >&5
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); } && {
28601 test -z "$ac_c_werror_flag" ||
28602 test ! -s conftest.err
28603 } && test -s conftest.$ac_objext; then
28604 ac_cv_type_boolean=yes
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28609 ac_cv_type_boolean=no
28612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28614 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28615 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28617 # The cast to long int works around a bug in the HP C Compiler
28618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28620 # This bug is HP SR number 8606223364.
28621 { echo "$as_me:$LINENO: checking size of boolean" >&5
28622 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28623 if test "${ac_cv_sizeof_boolean+set}" = set; then
28624 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 if test "$cross_compiling" = yes; then
28627 # Depending upon the size, compute the lo and hi bounds.
28628 cat >conftest.$ac_ext <<_ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28635 #undef HAVE_BOOLEAN
28637 #include <jpeglib.h>
28640 typedef boolean ac__type_sizeof_;
28644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28651 rm -f conftest.$ac_objext
28652 if { (ac_try="$ac_compile"
28653 case "(($ac_try" in
28654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28655 *) ac_try_echo=$ac_try;;
28657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28658 (eval "$ac_compile") 2>conftest.er1
28660 grep -v '^ *+' conftest.er1 >conftest.err
28662 cat conftest.err >&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); } && {
28665 test -z "$ac_c_werror_flag" ||
28666 test ! -s conftest.err
28667 } && test -s conftest.$ac_objext; then
28670 cat >conftest.$ac_ext <<_ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28677 #undef HAVE_BOOLEAN
28679 #include <jpeglib.h>
28682 typedef boolean ac__type_sizeof_;
28686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28693 rm -f conftest.$ac_objext
28694 if { (ac_try="$ac_compile"
28695 case "(($ac_try" in
28696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28697 *) ac_try_echo=$ac_try;;
28699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28700 (eval "$ac_compile") 2>conftest.er1
28702 grep -v '^ *+' conftest.er1 >conftest.err
28704 cat conftest.err >&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); } && {
28707 test -z "$ac_c_werror_flag" ||
28708 test ! -s conftest.err
28709 } && test -s conftest.$ac_objext; then
28710 ac_hi=$ac_mid; break
28712 echo "$as_me: failed program was:" >&5
28713 sed 's/^/| /' conftest.$ac_ext >&5
28715 ac_lo=`expr $ac_mid + 1`
28716 if test $ac_lo -le $ac_mid; then
28720 ac_mid=`expr 2 '*' $ac_mid + 1`
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28726 echo "$as_me: failed program was:" >&5
28727 sed 's/^/| /' conftest.$ac_ext >&5
28729 cat >conftest.$ac_ext <<_ACEOF
28732 cat confdefs.h >>conftest.$ac_ext
28733 cat >>conftest.$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28736 #undef HAVE_BOOLEAN
28738 #include <jpeglib.h>
28741 typedef boolean ac__type_sizeof_;
28745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28752 rm -f conftest.$ac_objext
28753 if { (ac_try="$ac_compile"
28754 case "(($ac_try" in
28755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28756 *) ac_try_echo=$ac_try;;
28758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28759 (eval "$ac_compile") 2>conftest.er1
28761 grep -v '^ *+' conftest.er1 >conftest.err
28763 cat conftest.err >&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); } && {
28766 test -z "$ac_c_werror_flag" ||
28767 test ! -s conftest.err
28768 } && test -s conftest.$ac_objext; then
28771 cat >conftest.$ac_ext <<_ACEOF
28774 cat confdefs.h >>conftest.$ac_ext
28775 cat >>conftest.$ac_ext <<_ACEOF
28776 /* end confdefs.h. */
28778 #undef HAVE_BOOLEAN
28780 #include <jpeglib.h>
28783 typedef boolean ac__type_sizeof_;
28787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28794 rm -f conftest.$ac_objext
28795 if { (ac_try="$ac_compile"
28796 case "(($ac_try" in
28797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28798 *) ac_try_echo=$ac_try;;
28800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28801 (eval "$ac_compile") 2>conftest.er1
28803 grep -v '^ *+' conftest.er1 >conftest.err
28805 cat conftest.err >&5
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); } && {
28808 test -z "$ac_c_werror_flag" ||
28809 test ! -s conftest.err
28810 } && test -s conftest.$ac_objext; then
28811 ac_lo=$ac_mid; break
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28816 ac_hi=`expr '(' $ac_mid ')' - 1`
28817 if test $ac_mid -le $ac_hi; then
28821 ac_mid=`expr 2 '*' $ac_mid`
28824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28827 echo "$as_me: failed program was:" >&5
28828 sed 's/^/| /' conftest.$ac_ext >&5
28833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28837 # Binary search between lo and hi bounds.
28838 while test "x$ac_lo" != "x$ac_hi"; do
28839 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28840 cat >conftest.$ac_ext <<_ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28847 #undef HAVE_BOOLEAN
28849 #include <jpeglib.h>
28852 typedef boolean ac__type_sizeof_;
28856 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28863 rm -f conftest.$ac_objext
28864 if { (ac_try="$ac_compile"
28865 case "(($ac_try" in
28866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28867 *) ac_try_echo=$ac_try;;
28869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28870 (eval "$ac_compile") 2>conftest.er1
28872 grep -v '^ *+' conftest.er1 >conftest.err
28874 cat conftest.err >&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); } && {
28877 test -z "$ac_c_werror_flag" ||
28878 test ! -s conftest.err
28879 } && test -s conftest.$ac_objext; then
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28885 ac_lo=`expr '(' $ac_mid ')' + 1`
28888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28891 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28892 '') if test "$ac_cv_type_boolean" = yes; then
28893 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28894 See \`config.log' for more details." >&5
28895 echo "$as_me: error: cannot compute sizeof (boolean)
28896 See \`config.log' for more details." >&2;}
28897 { (exit 77); exit 77; }; }
28899 ac_cv_sizeof_boolean=0
28903 cat >conftest.$ac_ext <<_ACEOF
28906 cat confdefs.h >>conftest.$ac_ext
28907 cat >>conftest.$ac_ext <<_ACEOF
28908 /* end confdefs.h. */
28910 #undef HAVE_BOOLEAN
28912 #include <jpeglib.h>
28915 typedef boolean ac__type_sizeof_;
28916 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28917 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28919 #include <stdlib.h>
28924 FILE *f = fopen ("conftest.val", "w");
28927 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28929 long int i = longval ();
28930 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28932 fprintf (f, "%ld\n", i);
28936 unsigned long int i = ulongval ();
28937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28939 fprintf (f, "%lu\n", i);
28941 return ferror (f) || fclose (f) != 0;
28947 rm -f conftest$ac_exeext
28948 if { (ac_try="$ac_link"
28949 case "(($ac_try" in
28950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28951 *) ac_try_echo=$ac_try;;
28953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28954 (eval "$ac_link") 2>&5
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28958 { (case "(($ac_try" in
28959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28960 *) ac_try_echo=$ac_try;;
28962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28963 (eval "$ac_try") 2>&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); }; }; then
28967 ac_cv_sizeof_boolean=`cat conftest.val`
28969 echo "$as_me: program exited with status $ac_status" >&5
28970 echo "$as_me: failed program was:" >&5
28971 sed 's/^/| /' conftest.$ac_ext >&5
28973 ( exit $ac_status )
28974 if test "$ac_cv_type_boolean" = yes; then
28975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28976 See \`config.log' for more details." >&5
28977 echo "$as_me: error: cannot compute sizeof (boolean)
28978 See \`config.log' for more details." >&2;}
28979 { (exit 77); exit 77; }; }
28981 ac_cv_sizeof_boolean=0
28984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28988 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28989 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28993 cat >>confdefs.h <<_ACEOF
28994 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28998 cat >>confdefs.h <<_ACEOF
28999 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29013 TIFF_PREREQ_LINKS=-lm
29014 if test "$wxUSE_LIBTIFF" != "no" ; then
29015 cat >>confdefs.h <<\_ACEOF
29016 #define wxUSE_LIBTIFF 1
29020 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29021 if test "$wxUSE_LIBJPEG" = "sys"; then
29022 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29024 if test "$wxUSE_ZLIB" = "sys"; then
29025 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29027 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29028 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29029 if test "${ac_cv_header_tiffio_h+set}" = set; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29032 cat >conftest.$ac_ext <<_ACEOF
29035 cat confdefs.h >>conftest.$ac_ext
29036 cat >>conftest.$ac_ext <<_ACEOF
29037 /* end confdefs.h. */
29041 #include <tiffio.h>
29043 rm -f conftest.$ac_objext
29044 if { (ac_try="$ac_compile"
29045 case "(($ac_try" in
29046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29047 *) ac_try_echo=$ac_try;;
29049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29050 (eval "$ac_compile") 2>conftest.er1
29052 grep -v '^ *+' conftest.er1 >conftest.err
29054 cat conftest.err >&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); } && {
29057 test -z "$ac_c_werror_flag" ||
29058 test ! -s conftest.err
29059 } && test -s conftest.$ac_objext; then
29060 ac_cv_header_tiffio_h=yes
29062 echo "$as_me: failed program was:" >&5
29063 sed 's/^/| /' conftest.$ac_ext >&5
29065 ac_cv_header_tiffio_h=no
29068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29070 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29071 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29072 if test $ac_cv_header_tiffio_h = yes; then
29074 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29075 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29076 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29077 echo $ECHO_N "(cached) $ECHO_C" >&6
29079 ac_check_lib_save_LIBS=$LIBS
29080 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29081 cat >conftest.$ac_ext <<_ACEOF
29084 cat confdefs.h >>conftest.$ac_ext
29085 cat >>conftest.$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29088 /* Override any GCC internal prototype to avoid an error.
29089 Use char because int might match the return type of a GCC
29090 builtin and then its argument prototype would still apply. */
29098 return TIFFError ();
29103 rm -f conftest.$ac_objext conftest$ac_exeext
29104 if { (ac_try="$ac_link"
29105 case "(($ac_try" in
29106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29107 *) ac_try_echo=$ac_try;;
29109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29110 (eval "$ac_link") 2>conftest.er1
29112 grep -v '^ *+' conftest.er1 >conftest.err
29114 cat conftest.err >&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); } && {
29117 test -z "$ac_c_werror_flag" ||
29118 test ! -s conftest.err
29119 } && test -s conftest$ac_exeext &&
29120 $as_test_x conftest$ac_exeext; then
29121 ac_cv_lib_tiff_TIFFError=yes
29123 echo "$as_me: failed program was:" >&5
29124 sed 's/^/| /' conftest.$ac_ext >&5
29126 ac_cv_lib_tiff_TIFFError=no
29129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29130 conftest$ac_exeext conftest.$ac_ext
29131 LIBS=$ac_check_lib_save_LIBS
29133 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29134 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29135 if test $ac_cv_lib_tiff_TIFFError = yes; then
29136 TIFF_LINK=" -ltiff"
29144 if test "x$TIFF_LINK" = "x" ; then
29145 if test "$wxUSE_LIBTIFF" = "sys" ; then
29146 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29147 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29148 { (exit 1); exit 1; }; }
29150 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29151 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29152 wxUSE_LIBTIFF=builtin
29158 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29159 if test "$wxUSE_LIBJPEG" = "no"; then
29160 ac_configure_args="$ac_configure_args --disable-jpeg"
29162 subdirs="$subdirs src/tiff"
29168 if test "$wxUSE_EXPAT" != "no"; then
29170 cat >>confdefs.h <<\_ACEOF
29171 #define wxUSE_EXPAT 1
29174 cat >>confdefs.h <<\_ACEOF
29175 #define wxUSE_XML 1
29179 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29180 { echo "$as_me:$LINENO: checking for expat.h" >&5
29181 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29182 if test "${ac_cv_header_expat_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. */
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_expat_h=yes
29214 echo "$as_me: failed program was:" >&5
29215 sed 's/^/| /' conftest.$ac_ext >&5
29217 ac_cv_header_expat_h=no
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29222 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29223 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29224 if test $ac_cv_header_expat_h = yes; then
29229 if test "x$found_expat_h" = "x1"; then
29230 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29231 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29232 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29233 echo $ECHO_N "(cached) $ECHO_C" >&6
29237 ac_cpp='$CXXCPP $CPPFLAGS'
29238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29242 cat >conftest.$ac_ext <<_ACEOF
29245 cat confdefs.h >>conftest.$ac_ext
29246 cat >>conftest.$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29257 rm -f conftest.$ac_objext
29258 if { (ac_try="$ac_compile"
29259 case "(($ac_try" in
29260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29261 *) ac_try_echo=$ac_try;;
29263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29264 (eval "$ac_compile") 2>conftest.er1
29266 grep -v '^ *+' conftest.er1 >conftest.err
29268 cat conftest.err >&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && {
29271 test -z "$ac_cxx_werror_flag" ||
29272 test ! -s conftest.err
29273 } && test -s conftest.$ac_objext; then
29274 wx_cv_expat_is_not_broken=yes
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.$ac_ext >&5
29279 wx_cv_expat_is_not_broken=no
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29285 ac_cpp='$CPP $CPPFLAGS'
29286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29293 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29294 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29295 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29296 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29297 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29298 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29299 echo $ECHO_N "(cached) $ECHO_C" >&6
29301 ac_check_lib_save_LIBS=$LIBS
29302 LIBS="-lexpat $LIBS"
29303 cat >conftest.$ac_ext <<_ACEOF
29306 cat confdefs.h >>conftest.$ac_ext
29307 cat >>conftest.$ac_ext <<_ACEOF
29308 /* end confdefs.h. */
29310 /* Override any GCC internal prototype to avoid an error.
29311 Use char because int might match the return type of a GCC
29312 builtin and then its argument prototype would still apply. */
29316 char XML_ParserCreate ();
29320 return XML_ParserCreate ();
29325 rm -f conftest.$ac_objext conftest$ac_exeext
29326 if { (ac_try="$ac_link"
29327 case "(($ac_try" in
29328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29329 *) ac_try_echo=$ac_try;;
29331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29332 (eval "$ac_link") 2>conftest.er1
29334 grep -v '^ *+' conftest.er1 >conftest.err
29336 cat conftest.err >&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } && {
29339 test -z "$ac_c_werror_flag" ||
29340 test ! -s conftest.err
29341 } && test -s conftest$ac_exeext &&
29342 $as_test_x conftest$ac_exeext; then
29343 ac_cv_lib_expat_XML_ParserCreate=yes
29345 echo "$as_me: failed program was:" >&5
29346 sed 's/^/| /' conftest.$ac_ext >&5
29348 ac_cv_lib_expat_XML_ParserCreate=no
29351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29352 conftest$ac_exeext conftest.$ac_ext
29353 LIBS=$ac_check_lib_save_LIBS
29355 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29356 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29357 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29358 EXPAT_LINK=" -lexpat"
29363 if test "x$EXPAT_LINK" = "x" ; then
29364 if test "$wxUSE_EXPAT" = "sys" ; then
29365 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29366 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29367 { (exit 1); exit 1; }; }
29369 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29370 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29371 wxUSE_EXPAT=builtin
29377 if test "$wxUSE_EXPAT" = "builtin" ; then
29378 subdirs="$subdirs src/expat"
29385 if test "$wxUSE_LIBMSPACK" != "no"; then
29386 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29387 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29388 if test "${ac_cv_header_mspack_h+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 cat >conftest.$ac_ext <<_ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29399 #include <mspack.h>
29401 rm -f conftest.$ac_objext
29402 if { (ac_try="$ac_compile"
29403 case "(($ac_try" in
29404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29405 *) ac_try_echo=$ac_try;;
29407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_compile") 2>conftest.er1
29410 grep -v '^ *+' conftest.er1 >conftest.err
29412 cat conftest.err >&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } && {
29415 test -z "$ac_c_werror_flag" ||
29416 test ! -s conftest.err
29417 } && test -s conftest.$ac_objext; then
29418 ac_cv_header_mspack_h=yes
29420 echo "$as_me: failed program was:" >&5
29421 sed 's/^/| /' conftest.$ac_ext >&5
29423 ac_cv_header_mspack_h=no
29426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29428 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29429 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29430 if test $ac_cv_header_mspack_h = yes; then
29435 if test "x$found_mspack_h" = "x1"; then
29436 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29437 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29438 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 ac_check_lib_save_LIBS=$LIBS
29442 LIBS="-lmspack $LIBS"
29443 cat >conftest.$ac_ext <<_ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29450 /* Override any GCC internal prototype to avoid an error.
29451 Use char because int might match the return type of a GCC
29452 builtin and then its argument prototype would still apply. */
29456 char mspack_create_chm_decompressor ();
29460 return mspack_create_chm_decompressor ();
29465 rm -f conftest.$ac_objext conftest$ac_exeext
29466 if { (ac_try="$ac_link"
29467 case "(($ac_try" in
29468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29469 *) ac_try_echo=$ac_try;;
29471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29472 (eval "$ac_link") 2>conftest.er1
29474 grep -v '^ *+' conftest.er1 >conftest.err
29476 cat conftest.err >&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } && {
29479 test -z "$ac_c_werror_flag" ||
29480 test ! -s conftest.err
29481 } && test -s conftest$ac_exeext &&
29482 $as_test_x conftest$ac_exeext; then
29483 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29485 echo "$as_me: failed program was:" >&5
29486 sed 's/^/| /' conftest.$ac_ext >&5
29488 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29492 conftest$ac_exeext conftest.$ac_ext
29493 LIBS=$ac_check_lib_save_LIBS
29495 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29496 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29497 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29498 MSPACK_LINK=" -lmspack"
29502 if test "x$MSPACK_LINK" = "x" ; then
29507 if test "$wxUSE_LIBMSPACK" != "no"; then
29508 cat >>confdefs.h <<\_ACEOF
29509 #define wxUSE_LIBMSPACK 1
29523 if test "$USE_WIN32" = 1 ; then
29525 for ac_header in w32api.h
29527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29528 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29531 echo $ECHO_N "(cached) $ECHO_C" >&6
29533 cat >conftest.$ac_ext <<_ACEOF
29536 cat confdefs.h >>conftest.$ac_ext
29537 cat >>conftest.$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29541 #include <$ac_header>
29543 rm -f conftest.$ac_objext
29544 if { (ac_try="$ac_compile"
29545 case "(($ac_try" in
29546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29547 *) ac_try_echo=$ac_try;;
29549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29550 (eval "$ac_compile") 2>conftest.er1
29552 grep -v '^ *+' conftest.er1 >conftest.err
29554 cat conftest.err >&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); } && {
29557 test -z "$ac_c_werror_flag" ||
29558 test ! -s conftest.err
29559 } && test -s conftest.$ac_objext; then
29560 eval "$as_ac_Header=yes"
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29565 eval "$as_ac_Header=no"
29568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29570 ac_res=`eval echo '${'$as_ac_Header'}'`
29571 { echo "$as_me:$LINENO: result: $ac_res" >&5
29572 echo "${ECHO_T}$ac_res" >&6; }
29573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29574 cat >>confdefs.h <<_ACEOF
29575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29582 { echo "$as_me:$LINENO: checking for windows.h" >&5
29583 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29584 if test "${ac_cv_header_windows_h+set}" = set; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29587 cat >conftest.$ac_ext <<_ACEOF
29590 cat confdefs.h >>conftest.$ac_ext
29591 cat >>conftest.$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29595 #include <windows.h>
29597 rm -f conftest.$ac_objext
29598 if { (ac_try="$ac_compile"
29599 case "(($ac_try" in
29600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_compile") 2>conftest.er1
29606 grep -v '^ *+' conftest.er1 >conftest.err
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest.$ac_objext; then
29614 ac_cv_header_windows_h=yes
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29619 ac_cv_header_windows_h=no
29622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29624 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29625 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29626 if test $ac_cv_header_windows_h = yes; then
29630 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29631 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29632 { (exit 1); exit 1; }; }
29638 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29640 x86_64-*-mingw32* )
29641 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29644 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29645 LIBS="$LIBS -loleacc"
29650 LIBS="$LIBS -lkernel32 -luser32"
29653 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29654 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29656 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29658 WIN32INSTALL=win32install
29660 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29661 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29662 if test "${ac_cv_header_pbt_h+set}" = set; then
29663 echo $ECHO_N "(cached) $ECHO_C" >&6
29665 cat >conftest.$ac_ext <<_ACEOF
29668 cat confdefs.h >>conftest.$ac_ext
29669 cat >>conftest.$ac_ext <<_ACEOF
29670 /* end confdefs.h. */
29675 rm -f conftest.$ac_objext
29676 if { (ac_try="$ac_compile"
29677 case "(($ac_try" in
29678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29679 *) ac_try_echo=$ac_try;;
29681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29682 (eval "$ac_compile") 2>conftest.er1
29684 grep -v '^ *+' conftest.er1 >conftest.err
29686 cat conftest.err >&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } && {
29689 test -z "$ac_c_werror_flag" ||
29690 test ! -s conftest.err
29691 } && test -s conftest.$ac_objext; then
29692 ac_cv_header_pbt_h=yes
29694 echo "$as_me: failed program was:" >&5
29695 sed 's/^/| /' conftest.$ac_ext >&5
29697 ac_cv_header_pbt_h=no
29700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29702 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29703 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29704 if test $ac_cv_header_pbt_h = yes; then
29707 cat >>confdefs.h <<\_ACEOF
29708 #define NEED_PBT_H 1
29716 if test "$wxUSE_GUI" = "yes"; then
29725 if test "$wxUSE_OLD_COCOA" = 1 ; then
29726 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29727 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29728 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29729 wxUSE_PRINTING_ARCHITECTURE=no
29731 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29732 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29733 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29734 wxUSE_DRAG_AND_DROP=no
29736 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29737 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29738 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29743 if test "$wxUSE_MSW" = 1 ; then
29749 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29753 if test "$wxUSE_GTK" = 1; then
29754 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29755 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29757 gtk_version_cached=1
29758 if test "${wx_cv_lib_gtk+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29762 gtk_version_cached=0
29763 { echo "$as_me:$LINENO: result: " >&5
29764 echo "${ECHO_T}" >&6; }
29767 if test "$wxUSE_THREADS" = "yes"; then
29768 GTK_MODULES=gthread
29772 if test "x$wxGTK_VERSION" != "x1"
29776 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29781 # Check whether --enable-gtktest was given.
29782 if test "${enable_gtktest+set}" = set; then
29783 enableval=$enable_gtktest;
29789 pkg_config_args=gtk+-2.0
29790 for module in . $GTK_MODULES
29794 pkg_config_args="$pkg_config_args gthread-2.0"
29801 # Extract the first word of "pkg-config", so it can be a program name with args.
29802 set dummy pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 case $PKG_CONFIG in
29810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29828 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29832 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29833 if test -n "$PKG_CONFIG"; then
29834 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29835 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29837 { echo "$as_me:$LINENO: result: no" >&5
29838 echo "${ECHO_T}no" >&6; }
29843 if test x$PKG_CONFIG != xno ; then
29844 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29847 echo "*** pkg-config too old; version 0.7 or better required."
29855 min_gtk_version=2.4.0
29856 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29857 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29859 if test x$PKG_CONFIG != xno ; then
29860 ## don't try to run the test against uninstalled libtool libs
29861 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29862 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29866 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29873 if test x"$no_gtk" = x ; then
29874 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29875 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29876 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29878 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29880 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29882 if test "x$enable_gtktest" = "xyes" ; then
29883 ac_save_CFLAGS="$CFLAGS"
29884 ac_save_LIBS="$LIBS"
29885 CFLAGS="$CFLAGS $GTK_CFLAGS"
29886 LIBS="$GTK_LIBS $LIBS"
29888 if test "$cross_compiling" = yes; then
29889 echo $ac_n "cross compiling; assumed OK... $ac_c"
29891 cat >conftest.$ac_ext <<_ACEOF
29894 cat confdefs.h >>conftest.$ac_ext
29895 cat >>conftest.$ac_ext <<_ACEOF
29896 /* end confdefs.h. */
29898 #include <gtk/gtk.h>
29900 #include <stdlib.h>
29905 int major, minor, micro;
29908 system ("touch conf.gtktest");
29910 /* HP/UX 9 (%@#!) writes to sscanf strings */
29911 tmp_version = g_strdup("$min_gtk_version");
29912 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29913 printf("%s, bad version string\n", "$min_gtk_version");
29917 if ((gtk_major_version != $gtk_config_major_version) ||
29918 (gtk_minor_version != $gtk_config_minor_version) ||
29919 (gtk_micro_version != $gtk_config_micro_version))
29921 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29922 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29923 gtk_major_version, gtk_minor_version, gtk_micro_version);
29924 printf ("*** was found! If pkg-config was correct, then it is best\n");
29925 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29926 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29927 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29928 printf("*** required on your system.\n");
29929 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29930 printf("*** to point to the correct configuration files\n");
29932 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29933 (gtk_minor_version != GTK_MINOR_VERSION) ||
29934 (gtk_micro_version != GTK_MICRO_VERSION))
29936 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29937 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29938 printf("*** library (version %d.%d.%d)\n",
29939 gtk_major_version, gtk_minor_version, gtk_micro_version);
29943 if ((gtk_major_version > major) ||
29944 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29945 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29951 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29952 gtk_major_version, gtk_minor_version, gtk_micro_version);
29953 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29954 major, minor, micro);
29955 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29957 printf("*** If you have already installed a sufficiently new version, this error\n");
29958 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29959 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29960 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29961 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29962 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29963 printf("*** so that the correct libraries are found at run-time))\n");
29970 rm -f conftest$ac_exeext
29971 if { (ac_try="$ac_link"
29972 case "(($ac_try" in
29973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29974 *) ac_try_echo=$ac_try;;
29976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29977 (eval "$ac_link") 2>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29981 { (case "(($ac_try" in
29982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29983 *) ac_try_echo=$ac_try;;
29985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29986 (eval "$ac_try") 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; }; then
29992 echo "$as_me: program exited with status $ac_status" >&5
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.$ac_ext >&5
29996 ( exit $ac_status )
29999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30003 CFLAGS="$ac_save_CFLAGS"
30004 LIBS="$ac_save_LIBS"
30007 if test "x$no_gtk" = x ; then
30008 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30009 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30012 { echo "$as_me:$LINENO: result: no" >&5
30013 echo "${ECHO_T}no" >&6; }
30014 if test "$PKG_CONFIG" = "no" ; then
30015 echo "*** A new enough version of pkg-config was not found."
30016 echo "*** See http://pkgconfig.sourceforge.net"
30018 if test -f conf.gtktest ; then
30021 echo "*** Could not run GTK+ test program, checking why..."
30022 ac_save_CFLAGS="$CFLAGS"
30023 ac_save_LIBS="$LIBS"
30024 CFLAGS="$CFLAGS $GTK_CFLAGS"
30025 LIBS="$LIBS $GTK_LIBS"
30026 cat >conftest.$ac_ext <<_ACEOF
30029 cat confdefs.h >>conftest.$ac_ext
30030 cat >>conftest.$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30033 #include <gtk/gtk.h>
30039 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30044 rm -f conftest.$ac_objext conftest$ac_exeext
30045 if { (ac_try="$ac_link"
30046 case "(($ac_try" in
30047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30048 *) ac_try_echo=$ac_try;;
30050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30051 (eval "$ac_link") 2>conftest.er1
30053 grep -v '^ *+' conftest.er1 >conftest.err
30055 cat conftest.err >&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } && {
30058 test -z "$ac_c_werror_flag" ||
30059 test ! -s conftest.err
30060 } && test -s conftest$ac_exeext &&
30061 $as_test_x conftest$ac_exeext; then
30062 echo "*** The test program compiled, but did not run. This usually means"
30063 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30064 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30065 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30066 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30067 echo "*** is required on your system"
30069 echo "*** If you have an old version installed, it is best to remove it, although"
30070 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.$ac_ext >&5
30075 echo "*** The test program failed to compile or link. See the file config.log for the"
30076 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30080 conftest$ac_exeext conftest.$ac_ext
30081 CFLAGS="$ac_save_CFLAGS"
30082 LIBS="$ac_save_LIBS"
30095 if test -z "$wx_cv_lib_gtk"; then
30096 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30098 # Check whether --with-gtk-prefix was given.
30099 if test "${with_gtk_prefix+set}" = set; then
30100 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30102 gtk_config_prefix=""
30106 # Check whether --with-gtk-exec-prefix was given.
30107 if test "${with_gtk_exec_prefix+set}" = set; then
30108 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30110 gtk_config_exec_prefix=""
30113 # Check whether --enable-gtktest was given.
30114 if test "${enable_gtktest+set}" = set; then
30115 enableval=$enable_gtktest;
30121 for module in . $GTK_MODULES
30125 gtk_config_args="$gtk_config_args gthread"
30130 if test x$gtk_config_exec_prefix != x ; then
30131 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30132 if test x${GTK_CONFIG+set} != xset ; then
30133 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30136 if test x$gtk_config_prefix != x ; then
30137 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30138 if test x${GTK_CONFIG+set} != xset ; then
30139 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30143 # Extract the first word of "gtk-config", so it can be a program name with args.
30144 set dummy gtk-config; ac_word=$2
30145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30147 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30150 case $GTK_CONFIG in
30152 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30156 for as_dir in $PATH
30159 test -z "$as_dir" && as_dir=.
30160 for ac_exec_ext in '' $ac_executable_extensions; do
30161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30162 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30170 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30174 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30175 if test -n "$GTK_CONFIG"; then
30176 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30177 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30179 { echo "$as_me:$LINENO: result: no" >&5
30180 echo "${ECHO_T}no" >&6; }
30184 min_gtk_version=1.2.7
30185 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30186 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30188 if test "$GTK_CONFIG" = "no" ; then
30191 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30192 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30193 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30195 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30197 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30199 if test "x$enable_gtktest" = "xyes" ; then
30200 ac_save_CFLAGS="$CFLAGS"
30201 ac_save_LIBS="$LIBS"
30202 CFLAGS="$CFLAGS $GTK_CFLAGS"
30203 LIBS="$GTK_LIBS $LIBS"
30205 if test "$cross_compiling" = yes; then
30206 echo $ac_n "cross compiling; assumed OK... $ac_c"
30208 cat >conftest.$ac_ext <<_ACEOF
30211 cat confdefs.h >>conftest.$ac_ext
30212 cat >>conftest.$ac_ext <<_ACEOF
30213 /* end confdefs.h. */
30215 #include <gtk/gtk.h>
30217 #include <stdlib.h>
30222 int major, minor, micro;
30225 system ("touch conf.gtktest");
30227 /* HP/UX 9 (%@#!) writes to sscanf strings */
30228 tmp_version = g_strdup("$min_gtk_version");
30229 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30230 printf("%s, bad version string\n", "$min_gtk_version");
30234 if ((gtk_major_version != $gtk_config_major_version) ||
30235 (gtk_minor_version != $gtk_config_minor_version) ||
30236 (gtk_micro_version != $gtk_config_micro_version))
30238 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30239 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30240 gtk_major_version, gtk_minor_version, gtk_micro_version);
30241 printf ("*** was found! If gtk-config was correct, then it is best\n");
30242 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30243 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30244 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30245 printf("*** required on your system.\n");
30246 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30247 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30248 printf("*** before re-running configure\n");
30250 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30251 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30252 (gtk_minor_version != GTK_MINOR_VERSION) ||
30253 (gtk_micro_version != GTK_MICRO_VERSION))
30255 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30256 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30257 printf("*** library (version %d.%d.%d)\n",
30258 gtk_major_version, gtk_minor_version, gtk_micro_version);
30260 #endif /* defined (GTK_MAJOR_VERSION) ... */
30263 if ((gtk_major_version > major) ||
30264 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30265 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30271 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30272 gtk_major_version, gtk_minor_version, gtk_micro_version);
30273 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30274 major, minor, micro);
30275 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30277 printf("*** If you have already installed a sufficiently new version, this error\n");
30278 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30279 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30280 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30281 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30282 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30283 printf("*** so that the correct libraries are found at run-time))\n");
30290 rm -f conftest$ac_exeext
30291 if { (ac_try="$ac_link"
30292 case "(($ac_try" in
30293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30294 *) ac_try_echo=$ac_try;;
30296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30297 (eval "$ac_link") 2>&5
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; }; then
30312 echo "$as_me: program exited with status $ac_status" >&5
30313 echo "$as_me: failed program was:" >&5
30314 sed 's/^/| /' conftest.$ac_ext >&5
30316 ( exit $ac_status )
30319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30323 CFLAGS="$ac_save_CFLAGS"
30324 LIBS="$ac_save_LIBS"
30327 if test "x$no_gtk" = x ; then
30328 { echo "$as_me:$LINENO: result: yes" >&5
30329 echo "${ECHO_T}yes" >&6; }
30330 wx_cv_lib_gtk=1.2.7
30332 { echo "$as_me:$LINENO: result: no" >&5
30333 echo "${ECHO_T}no" >&6; }
30334 if test "$GTK_CONFIG" = "no" ; then
30335 echo "*** The gtk-config script installed by GTK could not be found"
30336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30338 echo "*** full path to gtk-config."
30340 if test -f conf.gtktest ; then
30343 echo "*** Could not run GTK test program, checking why..."
30344 CFLAGS="$CFLAGS $GTK_CFLAGS"
30345 LIBS="$LIBS $GTK_LIBS"
30346 cat >conftest.$ac_ext <<_ACEOF
30349 cat confdefs.h >>conftest.$ac_ext
30350 cat >>conftest.$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30353 #include <gtk/gtk.h>
30359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30364 rm -f conftest.$ac_objext conftest$ac_exeext
30365 if { (ac_try="$ac_link"
30366 case "(($ac_try" in
30367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30368 *) ac_try_echo=$ac_try;;
30370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30371 (eval "$ac_link") 2>conftest.er1
30373 grep -v '^ *+' conftest.er1 >conftest.err
30375 cat conftest.err >&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); } && {
30378 test -z "$ac_c_werror_flag" ||
30379 test ! -s conftest.err
30380 } && test -s conftest$ac_exeext &&
30381 $as_test_x conftest$ac_exeext; then
30382 echo "*** The test program compiled, but did not run. This usually means"
30383 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30384 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30385 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30386 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30387 echo "*** is required on your system"
30389 echo "*** If you have an old version installed, it is best to remove it, although"
30390 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30392 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30393 echo "*** came with the system with the command"
30395 echo "*** rpm --erase --nodeps gtk gtk-devel"
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.$ac_ext >&5
30400 echo "*** The test program failed to compile or link. See the file config.log for the"
30401 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30402 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30403 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30407 conftest$ac_exeext conftest.$ac_ext
30408 CFLAGS="$ac_save_CFLAGS"
30409 LIBS="$ac_save_LIBS"
30421 if test -z "$wx_cv_lib_gtk"; then
30423 # Check whether --with-gtk-prefix was given.
30424 if test "${with_gtk_prefix+set}" = set; then
30425 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30427 gtk_config_prefix=""
30431 # Check whether --with-gtk-exec-prefix was given.
30432 if test "${with_gtk_exec_prefix+set}" = set; then
30433 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30435 gtk_config_exec_prefix=""
30438 # Check whether --enable-gtktest was given.
30439 if test "${enable_gtktest+set}" = set; then
30440 enableval=$enable_gtktest;
30446 for module in . $GTK_MODULES
30450 gtk_config_args="$gtk_config_args gthread"
30455 if test x$gtk_config_exec_prefix != x ; then
30456 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30457 if test x${GTK_CONFIG+set} != xset ; then
30458 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30461 if test x$gtk_config_prefix != x ; then
30462 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30463 if test x${GTK_CONFIG+set} != xset ; then
30464 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30468 # Extract the first word of "gtk-config", so it can be a program name with args.
30469 set dummy gtk-config; ac_word=$2
30470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30472 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30473 echo $ECHO_N "(cached) $ECHO_C" >&6
30475 case $GTK_CONFIG in
30477 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30481 for as_dir in $PATH
30484 test -z "$as_dir" && as_dir=.
30485 for ac_exec_ext in '' $ac_executable_extensions; do
30486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30487 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30495 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30499 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30500 if test -n "$GTK_CONFIG"; then
30501 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30502 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30504 { echo "$as_me:$LINENO: result: no" >&5
30505 echo "${ECHO_T}no" >&6; }
30509 min_gtk_version=1.2.3
30510 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30511 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30513 if test "$GTK_CONFIG" = "no" ; then
30516 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30517 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30518 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30520 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30522 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30524 if test "x$enable_gtktest" = "xyes" ; then
30525 ac_save_CFLAGS="$CFLAGS"
30526 ac_save_LIBS="$LIBS"
30527 CFLAGS="$CFLAGS $GTK_CFLAGS"
30528 LIBS="$GTK_LIBS $LIBS"
30530 if test "$cross_compiling" = yes; then
30531 echo $ac_n "cross compiling; assumed OK... $ac_c"
30533 cat >conftest.$ac_ext <<_ACEOF
30536 cat confdefs.h >>conftest.$ac_ext
30537 cat >>conftest.$ac_ext <<_ACEOF
30538 /* end confdefs.h. */
30540 #include <gtk/gtk.h>
30542 #include <stdlib.h>
30547 int major, minor, micro;
30550 system ("touch conf.gtktest");
30552 /* HP/UX 9 (%@#!) writes to sscanf strings */
30553 tmp_version = g_strdup("$min_gtk_version");
30554 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30555 printf("%s, bad version string\n", "$min_gtk_version");
30559 if ((gtk_major_version != $gtk_config_major_version) ||
30560 (gtk_minor_version != $gtk_config_minor_version) ||
30561 (gtk_micro_version != $gtk_config_micro_version))
30563 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30564 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30565 gtk_major_version, gtk_minor_version, gtk_micro_version);
30566 printf ("*** was found! If gtk-config was correct, then it is best\n");
30567 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30568 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30569 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30570 printf("*** required on your system.\n");
30571 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30572 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30573 printf("*** before re-running configure\n");
30575 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30576 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30577 (gtk_minor_version != GTK_MINOR_VERSION) ||
30578 (gtk_micro_version != GTK_MICRO_VERSION))
30580 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30581 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30582 printf("*** library (version %d.%d.%d)\n",
30583 gtk_major_version, gtk_minor_version, gtk_micro_version);
30585 #endif /* defined (GTK_MAJOR_VERSION) ... */
30588 if ((gtk_major_version > major) ||
30589 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30590 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30596 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30597 gtk_major_version, gtk_minor_version, gtk_micro_version);
30598 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30599 major, minor, micro);
30600 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30602 printf("*** If you have already installed a sufficiently new version, this error\n");
30603 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30604 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30605 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30606 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30607 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30608 printf("*** so that the correct libraries are found at run-time))\n");
30615 rm -f conftest$ac_exeext
30616 if { (ac_try="$ac_link"
30617 case "(($ac_try" in
30618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30619 *) ac_try_echo=$ac_try;;
30621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30622 (eval "$ac_link") 2>&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30626 { (case "(($ac_try" in
30627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30628 *) ac_try_echo=$ac_try;;
30630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30631 (eval "$ac_try") 2>&5
30633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30634 (exit $ac_status); }; }; then
30637 echo "$as_me: program exited with status $ac_status" >&5
30638 echo "$as_me: failed program was:" >&5
30639 sed 's/^/| /' conftest.$ac_ext >&5
30641 ( exit $ac_status )
30644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30648 CFLAGS="$ac_save_CFLAGS"
30649 LIBS="$ac_save_LIBS"
30652 if test "x$no_gtk" = x ; then
30653 { echo "$as_me:$LINENO: result: yes" >&5
30654 echo "${ECHO_T}yes" >&6; }
30655 wx_cv_lib_gtk=1.2.3
30657 { echo "$as_me:$LINENO: result: no" >&5
30658 echo "${ECHO_T}no" >&6; }
30659 if test "$GTK_CONFIG" = "no" ; then
30660 echo "*** The gtk-config script installed by GTK could not be found"
30661 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30662 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30663 echo "*** full path to gtk-config."
30665 if test -f conf.gtktest ; then
30668 echo "*** Could not run GTK test program, checking why..."
30669 CFLAGS="$CFLAGS $GTK_CFLAGS"
30670 LIBS="$LIBS $GTK_LIBS"
30671 cat >conftest.$ac_ext <<_ACEOF
30674 cat confdefs.h >>conftest.$ac_ext
30675 cat >>conftest.$ac_ext <<_ACEOF
30676 /* end confdefs.h. */
30678 #include <gtk/gtk.h>
30684 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30689 rm -f conftest.$ac_objext conftest$ac_exeext
30690 if { (ac_try="$ac_link"
30691 case "(($ac_try" in
30692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30693 *) ac_try_echo=$ac_try;;
30695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30696 (eval "$ac_link") 2>conftest.er1
30698 grep -v '^ *+' conftest.er1 >conftest.err
30700 cat conftest.err >&5
30701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30702 (exit $ac_status); } && {
30703 test -z "$ac_c_werror_flag" ||
30704 test ! -s conftest.err
30705 } && test -s conftest$ac_exeext &&
30706 $as_test_x conftest$ac_exeext; then
30707 echo "*** The test program compiled, but did not run. This usually means"
30708 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30709 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30712 echo "*** is required on your system"
30714 echo "*** If you have an old version installed, it is best to remove it, although"
30715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30717 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30718 echo "*** came with the system with the command"
30720 echo "*** rpm --erase --nodeps gtk gtk-devel"
30722 echo "$as_me: failed program was:" >&5
30723 sed 's/^/| /' conftest.$ac_ext >&5
30725 echo "*** The test program failed to compile or link. See the file config.log for the"
30726 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30727 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30728 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30732 conftest$ac_exeext conftest.$ac_ext
30733 CFLAGS="$ac_save_CFLAGS"
30734 LIBS="$ac_save_LIBS"
30749 if test -z "$wx_cv_lib_gtk"; then
30752 GTK_LIBS="$GTK_LIBS -lX11"
30754 wx_cv_cflags_gtk=$GTK_CFLAGS
30755 wx_cv_libs_gtk=$GTK_LIBS
30762 if test "$gtk_version_cached" = 1; then
30763 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30764 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30767 case "$wx_cv_lib_gtk" in
30774 *) { { echo "$as_me:$LINENO: error:
30775 The development files for GTK+ were not found. For GTK+ 2, please
30776 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30777 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30778 and that the version is 1.2.3 or above. Also check that the
30779 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30780 --libs' are in the LD_LIBRARY_PATH or equivalent.
30782 echo "$as_me: error:
30783 The development files for GTK+ were not found. For GTK+ 2, please
30784 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30785 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30786 and that the version is 1.2.3 or above. Also check that the
30787 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30788 --libs' are in the LD_LIBRARY_PATH or equivalent.
30790 { (exit 1); exit 1; }; }
30794 if test "$WXGTK2" = 1; then
30795 save_CFLAGS="$CFLAGS"
30797 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30798 LIBS="$LIBS $wx_cv_libs_gtk"
30800 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30801 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30802 cat >conftest.$ac_ext <<_ACEOF
30805 cat confdefs.h >>conftest.$ac_ext
30806 cat >>conftest.$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30809 #include <gtk/gtk.h>
30815 #if !GTK_CHECK_VERSION(2,18,0)
30823 rm -f conftest.$ac_objext
30824 if { (ac_try="$ac_compile"
30825 case "(($ac_try" in
30826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30827 *) ac_try_echo=$ac_try;;
30829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30830 (eval "$ac_compile") 2>conftest.er1
30832 grep -v '^ *+' conftest.er1 >conftest.err
30834 cat conftest.err >&5
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); } && {
30837 test -z "$ac_c_werror_flag" ||
30838 test ! -s conftest.err
30839 } && test -s conftest.$ac_objext; then
30841 cat >>confdefs.h <<\_ACEOF
30842 #define __WXGTK218__ 1
30845 cat >>confdefs.h <<\_ACEOF
30846 #define __WXGTK210__ 1
30849 cat >>confdefs.h <<\_ACEOF
30850 #define __WXGTK26__ 1
30853 { echo "$as_me:$LINENO: result: yes" >&5
30854 echo "${ECHO_T}yes" >&6; }
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.$ac_ext >&5
30862 { echo "$as_me:$LINENO: result: no" >&5
30863 echo "${ECHO_T}no" >&6; }
30868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30870 if test "$ac_wxgtk218" = 0; then
30871 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30872 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30873 cat >conftest.$ac_ext <<_ACEOF
30876 cat confdefs.h >>conftest.$ac_ext
30877 cat >>conftest.$ac_ext <<_ACEOF
30878 /* end confdefs.h. */
30880 #include <gtk/gtk.h>
30886 #if !GTK_CHECK_VERSION(2,10,0)
30894 rm -f conftest.$ac_objext
30895 if { (ac_try="$ac_compile"
30896 case "(($ac_try" in
30897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30898 *) ac_try_echo=$ac_try;;
30900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30901 (eval "$ac_compile") 2>conftest.er1
30903 grep -v '^ *+' conftest.er1 >conftest.err
30905 cat conftest.err >&5
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); } && {
30908 test -z "$ac_c_werror_flag" ||
30909 test ! -s conftest.err
30910 } && test -s conftest.$ac_objext; then
30912 cat >>confdefs.h <<\_ACEOF
30913 #define __WXGTK210__ 1
30916 cat >>confdefs.h <<\_ACEOF
30917 #define __WXGTK26__ 1
30920 { echo "$as_me:$LINENO: result: yes" >&5
30921 echo "${ECHO_T}yes" >&6; }
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.$ac_ext >&5
30929 { echo "$as_me:$LINENO: result: no" >&5
30930 echo "${ECHO_T}no" >&6; }
30935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30937 if test "$ac_wxgtk210" = 0; then
30938 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30939 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30940 cat >conftest.$ac_ext <<_ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30947 #include <gtk/gtk.h>
30953 #if !GTK_CHECK_VERSION(2,6,0)
30961 rm -f conftest.$ac_objext
30962 if { (ac_try="$ac_compile"
30963 case "(($ac_try" in
30964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30965 *) ac_try_echo=$ac_try;;
30967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30968 (eval "$ac_compile") 2>conftest.er1
30970 grep -v '^ *+' conftest.er1 >conftest.err
30972 cat conftest.err >&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } && {
30975 test -z "$ac_c_werror_flag" ||
30976 test ! -s conftest.err
30977 } && test -s conftest.$ac_objext; then
30979 cat >>confdefs.h <<\_ACEOF
30980 #define __WXGTK26__ 1
30983 { echo "$as_me:$LINENO: result: yes" >&5
30984 echo "${ECHO_T}yes" >&6; }
30988 echo "$as_me: failed program was:" >&5
30989 sed 's/^/| /' conftest.$ac_ext >&5
30992 { echo "$as_me:$LINENO: result: no" >&5
30993 echo "${ECHO_T}no" >&6; }
30998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31002 CFLAGS="$save_CFLAGS"
31005 if test "$wxUSE_UNICODE" = "yes"; then
31006 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31007 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31011 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31012 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31013 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31014 echo $ECHO_N "(cached) $ECHO_C" >&6
31016 ac_check_lib_save_LIBS=$LIBS
31018 cat >conftest.$ac_ext <<_ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31025 /* Override any GCC internal prototype to avoid an error.
31026 Use char because int might match the return type of a GCC
31027 builtin and then its argument prototype would still apply. */
31031 char gdk_im_open ();
31035 return gdk_im_open ();
31040 rm -f conftest.$ac_objext conftest$ac_exeext
31041 if { (ac_try="$ac_link"
31042 case "(($ac_try" in
31043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31044 *) ac_try_echo=$ac_try;;
31046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31047 (eval "$ac_link") 2>conftest.er1
31049 grep -v '^ *+' conftest.er1 >conftest.err
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } && {
31054 test -z "$ac_c_werror_flag" ||
31055 test ! -s conftest.err
31056 } && test -s conftest$ac_exeext &&
31057 $as_test_x conftest$ac_exeext; then
31058 ac_cv_lib_gdk_gdk_im_open=yes
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.$ac_ext >&5
31063 ac_cv_lib_gdk_gdk_im_open=no
31066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31067 conftest$ac_exeext conftest.$ac_ext
31068 LIBS=$ac_check_lib_save_LIBS
31070 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31071 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31072 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31073 cat >>confdefs.h <<\_ACEOF
31080 if test "$USE_DARWIN" != 1; then
31082 for ac_func in poll
31084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31088 echo $ECHO_N "(cached) $ECHO_C" >&6
31090 cat >conftest.$ac_ext <<_ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31098 #define $ac_func innocuous_$ac_func
31100 /* System header to define __stub macros and hopefully few prototypes,
31101 which can conflict with char $ac_func (); below.
31102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31103 <limits.h> exists even on freestanding compilers. */
31106 # include <limits.h>
31108 # include <assert.h>
31113 /* Override any GCC internal prototype to avoid an error.
31114 Use char because int might match the return type of a GCC
31115 builtin and then its argument prototype would still apply. */
31120 /* The GNU C library defines this for functions which it implements
31121 to always fail with ENOSYS. Some functions are actually named
31122 something starting with __ and the normal name is an alias. */
31123 #if defined __stub_$ac_func || defined __stub___$ac_func
31130 return $ac_func ();
31135 rm -f conftest.$ac_objext conftest$ac_exeext
31136 if { (ac_try="$ac_link"
31137 case "(($ac_try" in
31138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31139 *) ac_try_echo=$ac_try;;
31141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31142 (eval "$ac_link") 2>conftest.er1
31144 grep -v '^ *+' conftest.er1 >conftest.err
31146 cat conftest.err >&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); } && {
31149 test -z "$ac_c_werror_flag" ||
31150 test ! -s conftest.err
31151 } && test -s conftest$ac_exeext &&
31152 $as_test_x conftest$ac_exeext; then
31153 eval "$as_ac_var=yes"
31155 echo "$as_me: failed program was:" >&5
31156 sed 's/^/| /' conftest.$ac_ext >&5
31158 eval "$as_ac_var=no"
31161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31162 conftest$ac_exeext conftest.$ac_ext
31164 ac_res=`eval echo '${'$as_ac_var'}'`
31165 { echo "$as_me:$LINENO: result: $ac_res" >&5
31166 echo "${ECHO_T}$ac_res" >&6; }
31167 if test `eval echo '${'$as_ac_var'}'` = yes; then
31168 cat >>confdefs.h <<_ACEOF
31169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31178 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31179 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31180 AFMINSTALL=afminstall
31184 if test "$wxUSE_GPE" = "yes"; then
31185 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31186 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31189 for ac_dir in $SEARCH_LIB
31191 for ac_extension in a so sl dylib dll.a; do
31192 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31193 ac_find_libraries=$ac_dir
31199 if test "$ac_find_libraries" != "" ; then
31201 if test "$ac_find_libraries" = "default location"; then
31204 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31206 if test $result = 0; then
31209 ac_path_to_link=" -L$ac_find_libraries"
31213 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31215 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31216 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31218 { echo "$as_me:$LINENO: result: not found" >&5
31219 echo "${ECHO_T}not found" >&6; }
31225 if test "$wxUSE_MGL" = 1; then
31226 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31227 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31228 if test "x$MGL_ROOT" = x ; then
31229 { echo "$as_me:$LINENO: result: not found" >&5
31230 echo "${ECHO_T}not found" >&6; }
31231 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31232 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31233 { (exit 1); exit 1; }; }
31235 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31236 echo "${ECHO_T}$MGL_ROOT" >&6; }
31239 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31240 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31243 if test "x$wxUSE_SHARED" = xyes ; then
31244 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31246 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31250 mgl_os_candidates="dos32/dj2"
31253 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31254 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31255 { (exit 1); exit 1; }; }
31261 for mgl_os_i in $mgl_os_candidates ; do
31262 if test "x$mgl_os" = x ; then
31263 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31264 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31265 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31270 if test "x$mgl_lib_type" = x ; then
31271 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31272 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31273 mgl_lib_type=release
31280 if test "x$mgl_os" = x ; then
31281 { echo "$as_me:$LINENO: result: not found" >&5
31282 echo "${ECHO_T}not found" >&6; }
31283 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31284 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31285 { (exit 1); exit 1; }; }
31287 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31288 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31290 wxUSE_UNIVERSAL="yes"
31292 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31293 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31295 AFMINSTALL=afminstall
31300 if test "$wxUSE_DFB" = 1; then
31303 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31304 if test -n "$ac_tool_prefix"; then
31305 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31306 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31309 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31310 echo $ECHO_N "(cached) $ECHO_C" >&6
31312 case $PKG_CONFIG in
31314 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31318 for as_dir in $PATH
31321 test -z "$as_dir" && as_dir=.
31322 for ac_exec_ext in '' $ac_executable_extensions; do
31323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31324 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31335 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31336 if test -n "$PKG_CONFIG"; then
31337 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31338 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31340 { echo "$as_me:$LINENO: result: no" >&5
31341 echo "${ECHO_T}no" >&6; }
31346 if test -z "$ac_cv_path_PKG_CONFIG"; then
31347 ac_pt_PKG_CONFIG=$PKG_CONFIG
31348 # Extract the first word of "pkg-config", so it can be a program name with args.
31349 set dummy pkg-config; ac_word=$2
31350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31352 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31353 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 case $ac_pt_PKG_CONFIG in
31357 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31361 for as_dir in $PATH
31364 test -z "$as_dir" && as_dir=.
31365 for ac_exec_ext in '' $ac_executable_extensions; do
31366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31367 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31378 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31379 if test -n "$ac_pt_PKG_CONFIG"; then
31380 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31381 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31383 { echo "$as_me:$LINENO: result: no" >&5
31384 echo "${ECHO_T}no" >&6; }
31387 if test "x$ac_pt_PKG_CONFIG" = x; then
31390 case $cross_compiling:$ac_tool_warned in
31392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31393 whose name does not start with the host triplet. If you think this
31394 configuration is useful to you, please write to autoconf@gnu.org." >&5
31395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31396 whose name does not start with the host triplet. If you think this
31397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31398 ac_tool_warned=yes ;;
31400 PKG_CONFIG=$ac_pt_PKG_CONFIG
31403 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31407 if test -n "$PKG_CONFIG"; then
31408 _pkg_min_version=0.9.0
31409 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31410 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31411 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31412 { echo "$as_me:$LINENO: result: yes" >&5
31413 echo "${ECHO_T}yes" >&6; }
31415 { echo "$as_me:$LINENO: result: no" >&5
31416 echo "${ECHO_T}no" >&6; }
31424 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31425 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31427 if test -n "$PKG_CONFIG"; then
31428 if test -n "$DIRECTFB_CFLAGS"; then
31429 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31431 if test -n "$PKG_CONFIG" && \
31432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31433 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; then
31437 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31445 if test -n "$PKG_CONFIG"; then
31446 if test -n "$DIRECTFB_LIBS"; then
31447 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31449 if test -n "$PKG_CONFIG" && \
31450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31451 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; then
31455 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31466 if test $pkg_failed = yes; then
31468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31469 _pkg_short_errors_supported=yes
31471 _pkg_short_errors_supported=no
31473 if test $_pkg_short_errors_supported = yes; then
31474 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31476 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31478 # Put the nasty error message in config.log where it belongs
31479 echo "$DIRECTFB_PKG_ERRORS" >&5
31482 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31483 echo "$as_me: error: DirectFB not found." >&2;}
31484 { (exit 1); exit 1; }; }
31487 elif test $pkg_failed = untried; then
31489 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31490 echo "$as_me: error: DirectFB not found." >&2;}
31491 { (exit 1); exit 1; }; }
31495 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31496 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31497 { echo "$as_me:$LINENO: result: yes" >&5
31498 echo "${ECHO_T}yes" >&6; }
31500 wxUSE_UNIVERSAL="yes"
31501 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31502 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31509 if test "$wxUSE_MICROWIN" = 1; then
31510 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31511 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31512 if test "x$MICROWINDOWS" = x ; then
31513 { echo "$as_me:$LINENO: result: not found" >&5
31514 echo "${ECHO_T}not found" >&6; }
31515 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31516 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31517 { (exit 1); exit 1; }; }
31519 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31520 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31523 if test -f $MICROWINDOWS/lib/libmwin.a; then
31524 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31525 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31527 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31528 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31529 { (exit 1); exit 1; }; }
31532 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31533 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31535 wxUSE_UNIVERSAL="yes"
31537 AFMINSTALL=afminstall
31539 GUIDIST=MICROWIN_DIST
31541 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31544 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31545 { echo "$as_me:$LINENO: checking for X" >&5
31546 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31549 # Check whether --with-x was given.
31550 if test "${with_x+set}" = set; then
31554 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31555 if test "x$with_x" = xno; then
31556 # The user explicitly disabled X.
31559 case $x_includes,$x_libraries in #(
31560 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31561 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31562 { (exit 1); exit 1; }; };; #(
31563 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31566 # One or both of the vars are not set, and there is no cached value.
31567 ac_x_includes=no ac_x_libraries=no
31568 rm -f -r conftest.dir
31569 if mkdir conftest.dir; then
31571 cat >Imakefile <<'_ACEOF'
31573 @echo incroot='${INCROOT}'
31575 @echo usrlibdir='${USRLIBDIR}'
31577 @echo libdir='${LIBDIR}'
31579 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31580 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31581 for ac_var in incroot usrlibdir libdir; do
31582 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31584 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31585 for ac_extension in a so sl; do
31586 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31587 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31588 ac_im_usrlibdir=$ac_im_libdir; break
31591 # Screen out bogus values from the imake configuration. They are
31592 # bogus both because they are the default anyway, and because
31593 # using them would break gcc on systems where it needs fixed includes.
31594 case $ac_im_incroot in
31595 /usr/include) ac_x_includes= ;;
31596 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31598 case $ac_im_usrlibdir in
31599 /usr/lib | /lib) ;;
31600 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31604 rm -f -r conftest.dir
31607 # Standard set of common directories for X headers.
31608 # Check X11 before X11Rn because it is often a symlink to the current release.
31620 /usr/local/X11/include
31621 /usr/local/X11R6/include
31622 /usr/local/X11R5/include
31623 /usr/local/X11R4/include
31625 /usr/local/include/X11
31626 /usr/local/include/X11R6
31627 /usr/local/include/X11R5
31628 /usr/local/include/X11R4
31632 /usr/XFree86/include/X11
31636 /usr/unsupported/include
31637 /usr/athena/include
31638 /usr/local/x11r5/include
31639 /usr/lpp/Xamples/include
31641 /usr/openwin/include
31642 /usr/openwin/share/include'
31644 if test "$ac_x_includes" = no; then
31645 # Guess where to find include files, by looking for Xlib.h.
31646 # First, try using that file with no special directory specified.
31647 cat >conftest.$ac_ext <<_ACEOF
31650 cat confdefs.h >>conftest.$ac_ext
31651 cat >>conftest.$ac_ext <<_ACEOF
31652 /* end confdefs.h. */
31653 #include <X11/Xlib.h>
31655 if { (ac_try="$ac_cpp conftest.$ac_ext"
31656 case "(($ac_try" in
31657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31658 *) ac_try_echo=$ac_try;;
31660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31663 grep -v '^ *+' conftest.er1 >conftest.err
31665 cat conftest.err >&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); } >/dev/null && {
31668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31669 test ! -s conftest.err
31671 # We can compile using X headers with no special include directory.
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.$ac_ext >&5
31677 for ac_dir in $ac_x_header_dirs; do
31678 if test -r "$ac_dir/X11/Xlib.h"; then
31679 ac_x_includes=$ac_dir
31685 rm -f conftest.err conftest.$ac_ext
31686 fi # $ac_x_includes = no
31688 if test "$ac_x_libraries" = no; then
31689 # Check for the libraries.
31690 # See if we find them without any special options.
31691 # Don't add to $LIBS permanently.
31694 cat >conftest.$ac_ext <<_ACEOF
31697 cat confdefs.h >>conftest.$ac_ext
31698 cat >>conftest.$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31700 #include <X11/Xlib.h>
31709 rm -f conftest.$ac_objext conftest$ac_exeext
31710 if { (ac_try="$ac_link"
31711 case "(($ac_try" in
31712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31713 *) ac_try_echo=$ac_try;;
31715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31716 (eval "$ac_link") 2>conftest.er1
31718 grep -v '^ *+' conftest.er1 >conftest.err
31720 cat conftest.err >&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); } && {
31723 test -z "$ac_c_werror_flag" ||
31724 test ! -s conftest.err
31725 } && test -s conftest$ac_exeext &&
31726 $as_test_x conftest$ac_exeext; then
31728 # We can link X programs with no special library path.
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.$ac_ext >&5
31735 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31737 # Don't even attempt the hair of trying to link an X program!
31738 for ac_extension in a so sl; do
31739 if test -r "$ac_dir/libX11.$ac_extension"; then
31740 ac_x_libraries=$ac_dir
31747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31748 conftest$ac_exeext conftest.$ac_ext
31749 fi # $ac_x_libraries = no
31751 case $ac_x_includes,$ac_x_libraries in #(
31752 no,* | *,no | *\'*)
31753 # Didn't find X, or a directory has "'" in its name.
31754 ac_cv_have_x="have_x=no";; #(
31756 # Record where we found X for the cache.
31757 ac_cv_have_x="have_x=yes\
31758 ac_x_includes='$ac_x_includes'\
31759 ac_x_libraries='$ac_x_libraries'"
31765 eval "$ac_cv_have_x"
31768 if test "$have_x" != yes; then
31769 { echo "$as_me:$LINENO: result: $have_x" >&5
31770 echo "${ECHO_T}$have_x" >&6; }
31773 # If each of the values was on the command line, it overrides each guess.
31774 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31775 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31776 # Update the cache value to reflect the command line values.
31777 ac_cv_have_x="have_x=yes\
31778 ac_x_includes='$x_includes'\
31779 ac_x_libraries='$x_libraries'"
31780 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31781 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31784 if test "$no_x" = yes; then
31785 # Not all programs may use this symbol, but it does not hurt to define it.
31787 cat >>confdefs.h <<\_ACEOF
31788 #define X_DISPLAY_MISSING 1
31791 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31793 if test -n "$x_includes"; then
31794 X_CFLAGS="$X_CFLAGS -I$x_includes"
31797 # It would also be nice to do this for all -L options, not just this one.
31798 if test -n "$x_libraries"; then
31799 X_LIBS="$X_LIBS -L$x_libraries"
31800 # For Solaris; some versions of Sun CC require a space after -R and
31801 # others require no space. Words are not sufficient . . . .
31802 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31803 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31804 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31805 ac_xsave_c_werror_flag=$ac_c_werror_flag
31806 ac_c_werror_flag=yes
31807 cat >conftest.$ac_ext <<_ACEOF
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31822 rm -f conftest.$ac_objext conftest$ac_exeext
31823 if { (ac_try="$ac_link"
31824 case "(($ac_try" in
31825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31826 *) ac_try_echo=$ac_try;;
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_link") 2>conftest.er1
31831 grep -v '^ *+' conftest.er1 >conftest.err
31833 cat conftest.err >&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } && {
31836 test -z "$ac_c_werror_flag" ||
31837 test ! -s conftest.err
31838 } && test -s conftest$ac_exeext &&
31839 $as_test_x conftest$ac_exeext; then
31840 { echo "$as_me:$LINENO: result: no" >&5
31841 echo "${ECHO_T}no" >&6; }
31842 X_LIBS="$X_LIBS -R$x_libraries"
31844 echo "$as_me: failed program was:" >&5
31845 sed 's/^/| /' conftest.$ac_ext >&5
31847 LIBS="$ac_xsave_LIBS -R $x_libraries"
31848 cat >conftest.$ac_ext <<_ACEOF
31851 cat confdefs.h >>conftest.$ac_ext
31852 cat >>conftest.$ac_ext <<_ACEOF
31853 /* end confdefs.h. */
31863 rm -f conftest.$ac_objext conftest$ac_exeext
31864 if { (ac_try="$ac_link"
31865 case "(($ac_try" in
31866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31867 *) ac_try_echo=$ac_try;;
31869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31870 (eval "$ac_link") 2>conftest.er1
31872 grep -v '^ *+' conftest.er1 >conftest.err
31874 cat conftest.err >&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } && {
31877 test -z "$ac_c_werror_flag" ||
31878 test ! -s conftest.err
31879 } && test -s conftest$ac_exeext &&
31880 $as_test_x conftest$ac_exeext; then
31881 { echo "$as_me:$LINENO: result: yes" >&5
31882 echo "${ECHO_T}yes" >&6; }
31883 X_LIBS="$X_LIBS -R $x_libraries"
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31888 { echo "$as_me:$LINENO: result: neither works" >&5
31889 echo "${ECHO_T}neither works" >&6; }
31892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31893 conftest$ac_exeext conftest.$ac_ext
31896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31897 conftest$ac_exeext conftest.$ac_ext
31898 ac_c_werror_flag=$ac_xsave_c_werror_flag
31899 LIBS=$ac_xsave_LIBS
31902 # Check for system-dependent libraries X programs must link with.
31903 # Do this before checking for the system-independent R6 libraries
31904 # (-lICE), since we may need -lsocket or whatever for X linking.
31906 if test "$ISC" = yes; then
31907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31909 # Martyn Johnson says this is needed for Ultrix, if the X
31910 # libraries were built with DECnet support. And Karl Berry says
31911 # the Alpha needs dnet_stub (dnet does not exist).
31912 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31913 cat >conftest.$ac_ext <<_ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31920 /* Override any GCC internal prototype to avoid an error.
31921 Use char because int might match the return type of a GCC
31922 builtin and then its argument prototype would still apply. */
31926 char XOpenDisplay ();
31930 return XOpenDisplay ();
31935 rm -f conftest.$ac_objext conftest$ac_exeext
31936 if { (ac_try="$ac_link"
31937 case "(($ac_try" in
31938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31939 *) ac_try_echo=$ac_try;;
31941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31942 (eval "$ac_link") 2>conftest.er1
31944 grep -v '^ *+' conftest.er1 >conftest.err
31946 cat conftest.err >&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } && {
31949 test -z "$ac_c_werror_flag" ||
31950 test ! -s conftest.err
31951 } && test -s conftest$ac_exeext &&
31952 $as_test_x conftest$ac_exeext; then
31955 echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.$ac_ext >&5
31958 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31959 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31960 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31963 ac_check_lib_save_LIBS=$LIBS
31964 LIBS="-ldnet $LIBS"
31965 cat >conftest.$ac_ext <<_ACEOF
31968 cat confdefs.h >>conftest.$ac_ext
31969 cat >>conftest.$ac_ext <<_ACEOF
31970 /* end confdefs.h. */
31972 /* Override any GCC internal prototype to avoid an error.
31973 Use char because int might match the return type of a GCC
31974 builtin and then its argument prototype would still apply. */
31982 return dnet_ntoa ();
31987 rm -f conftest.$ac_objext conftest$ac_exeext
31988 if { (ac_try="$ac_link"
31989 case "(($ac_try" in
31990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_link") 2>conftest.er1
31996 grep -v '^ *+' conftest.er1 >conftest.err
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest$ac_exeext &&
32004 $as_test_x conftest$ac_exeext; then
32005 ac_cv_lib_dnet_dnet_ntoa=yes
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.$ac_ext >&5
32010 ac_cv_lib_dnet_dnet_ntoa=no
32013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32014 conftest$ac_exeext conftest.$ac_ext
32015 LIBS=$ac_check_lib_save_LIBS
32017 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32018 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32019 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32020 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32023 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32024 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32025 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32026 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 ac_check_lib_save_LIBS=$LIBS
32030 LIBS="-ldnet_stub $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. */
32048 return dnet_ntoa ();
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_dnet_stub_dnet_ntoa=yes
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32076 ac_cv_lib_dnet_stub_dnet_ntoa=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_dnet_stub_dnet_ntoa" >&5
32084 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32085 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32086 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32093 conftest$ac_exeext conftest.$ac_ext
32094 LIBS="$ac_xsave_LIBS"
32096 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32097 # to get the SysV transport functions.
32098 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32100 # The nsl library prevents programs from opening the X display
32101 # on Irix 5.2, according to T.E. Dickey.
32102 # The functions gethostbyname, getservbyname, and inet_addr are
32103 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32104 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32105 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32106 if test "${ac_cv_func_gethostbyname+set}" = set; then
32107 echo $ECHO_N "(cached) $ECHO_C" >&6
32109 cat >conftest.$ac_ext <<_ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32117 #define gethostbyname innocuous_gethostbyname
32119 /* System header to define __stub macros and hopefully few prototypes,
32120 which can conflict with char gethostbyname (); below.
32121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32122 <limits.h> exists even on freestanding compilers. */
32125 # include <limits.h>
32127 # include <assert.h>
32130 #undef gethostbyname
32132 /* Override any GCC internal prototype to avoid an error.
32133 Use char because int might match the return type of a GCC
32134 builtin and then its argument prototype would still apply. */
32138 char gethostbyname ();
32139 /* The GNU C library defines this for functions which it implements
32140 to always fail with ENOSYS. Some functions are actually named
32141 something starting with __ and the normal name is an alias. */
32142 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32149 return gethostbyname ();
32154 rm -f conftest.$ac_objext conftest$ac_exeext
32155 if { (ac_try="$ac_link"
32156 case "(($ac_try" in
32157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32158 *) ac_try_echo=$ac_try;;
32160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32161 (eval "$ac_link") 2>conftest.er1
32163 grep -v '^ *+' conftest.er1 >conftest.err
32165 cat conftest.err >&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } && {
32168 test -z "$ac_c_werror_flag" ||
32169 test ! -s conftest.err
32170 } && test -s conftest$ac_exeext &&
32171 $as_test_x conftest$ac_exeext; then
32172 ac_cv_func_gethostbyname=yes
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.$ac_ext >&5
32177 ac_cv_func_gethostbyname=no
32180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32181 conftest$ac_exeext conftest.$ac_ext
32183 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32184 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32186 if test $ac_cv_func_gethostbyname = no; then
32187 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32188 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32189 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 ac_check_lib_save_LIBS=$LIBS
32194 cat >conftest.$ac_ext <<_ACEOF
32197 cat confdefs.h >>conftest.$ac_ext
32198 cat >>conftest.$ac_ext <<_ACEOF
32199 /* end confdefs.h. */
32201 /* Override any GCC internal prototype to avoid an error.
32202 Use char because int might match the return type of a GCC
32203 builtin and then its argument prototype would still apply. */
32207 char gethostbyname ();
32211 return gethostbyname ();
32216 rm -f conftest.$ac_objext conftest$ac_exeext
32217 if { (ac_try="$ac_link"
32218 case "(($ac_try" in
32219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32220 *) ac_try_echo=$ac_try;;
32222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32223 (eval "$ac_link") 2>conftest.er1
32225 grep -v '^ *+' conftest.er1 >conftest.err
32227 cat conftest.err >&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } && {
32230 test -z "$ac_c_werror_flag" ||
32231 test ! -s conftest.err
32232 } && test -s conftest$ac_exeext &&
32233 $as_test_x conftest$ac_exeext; then
32234 ac_cv_lib_nsl_gethostbyname=yes
32236 echo "$as_me: failed program was:" >&5
32237 sed 's/^/| /' conftest.$ac_ext >&5
32239 ac_cv_lib_nsl_gethostbyname=no
32242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32243 conftest$ac_exeext conftest.$ac_ext
32244 LIBS=$ac_check_lib_save_LIBS
32246 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32247 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32248 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32249 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32252 if test $ac_cv_lib_nsl_gethostbyname = no; then
32253 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32254 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32255 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32258 ac_check_lib_save_LIBS=$LIBS
32260 cat >conftest.$ac_ext <<_ACEOF
32263 cat confdefs.h >>conftest.$ac_ext
32264 cat >>conftest.$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32267 /* Override any GCC internal prototype to avoid an error.
32268 Use char because int might match the return type of a GCC
32269 builtin and then its argument prototype would still apply. */
32273 char gethostbyname ();
32277 return gethostbyname ();
32282 rm -f conftest.$ac_objext conftest$ac_exeext
32283 if { (ac_try="$ac_link"
32284 case "(($ac_try" in
32285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32286 *) ac_try_echo=$ac_try;;
32288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32289 (eval "$ac_link") 2>conftest.er1
32291 grep -v '^ *+' conftest.er1 >conftest.err
32293 cat conftest.err >&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); } && {
32296 test -z "$ac_c_werror_flag" ||
32297 test ! -s conftest.err
32298 } && test -s conftest$ac_exeext &&
32299 $as_test_x conftest$ac_exeext; then
32300 ac_cv_lib_bsd_gethostbyname=yes
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.$ac_ext >&5
32305 ac_cv_lib_bsd_gethostbyname=no
32308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32309 conftest$ac_exeext conftest.$ac_ext
32310 LIBS=$ac_check_lib_save_LIBS
32312 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32313 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32314 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32321 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32322 # socket/setsockopt and other routines are undefined under SCO ODT
32323 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32324 # on later versions), says Simon Leinen: it contains gethostby*
32325 # variants that don't use the name server (or something). -lsocket
32326 # must be given before -lnsl if both are needed. We assume that
32327 # if connect needs -lnsl, so does gethostbyname.
32328 { echo "$as_me:$LINENO: checking for connect" >&5
32329 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32330 if test "${ac_cv_func_connect+set}" = set; then
32331 echo $ECHO_N "(cached) $ECHO_C" >&6
32333 cat >conftest.$ac_ext <<_ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32339 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32341 #define connect innocuous_connect
32343 /* System header to define __stub macros and hopefully few prototypes,
32344 which can conflict with char connect (); below.
32345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32346 <limits.h> exists even on freestanding compilers. */
32349 # include <limits.h>
32351 # include <assert.h>
32356 /* Override any GCC internal prototype to avoid an error.
32357 Use char because int might match the return type of a GCC
32358 builtin and then its argument prototype would still apply. */
32363 /* The GNU C library defines this for functions which it implements
32364 to always fail with ENOSYS. Some functions are actually named
32365 something starting with __ and the normal name is an alias. */
32366 #if defined __stub_connect || defined __stub___connect
32378 rm -f conftest.$ac_objext conftest$ac_exeext
32379 if { (ac_try="$ac_link"
32380 case "(($ac_try" in
32381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32382 *) ac_try_echo=$ac_try;;
32384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32385 (eval "$ac_link") 2>conftest.er1
32387 grep -v '^ *+' conftest.er1 >conftest.err
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } && {
32392 test -z "$ac_c_werror_flag" ||
32393 test ! -s conftest.err
32394 } && test -s conftest$ac_exeext &&
32395 $as_test_x conftest$ac_exeext; then
32396 ac_cv_func_connect=yes
32398 echo "$as_me: failed program was:" >&5
32399 sed 's/^/| /' conftest.$ac_ext >&5
32401 ac_cv_func_connect=no
32404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32405 conftest$ac_exeext conftest.$ac_ext
32407 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32408 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32410 if test $ac_cv_func_connect = no; then
32411 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32412 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32413 if test "${ac_cv_lib_socket_connect+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32416 ac_check_lib_save_LIBS=$LIBS
32417 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32418 cat >conftest.$ac_ext <<_ACEOF
32421 cat confdefs.h >>conftest.$ac_ext
32422 cat >>conftest.$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32425 /* Override any GCC internal prototype to avoid an error.
32426 Use char because int might match the return type of a GCC
32427 builtin and then its argument prototype would still apply. */
32440 rm -f conftest.$ac_objext conftest$ac_exeext
32441 if { (ac_try="$ac_link"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32444 *) ac_try_echo=$ac_try;;
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_link") 2>conftest.er1
32449 grep -v '^ *+' conftest.er1 >conftest.err
32451 cat conftest.err >&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest$ac_exeext &&
32457 $as_test_x conftest$ac_exeext; then
32458 ac_cv_lib_socket_connect=yes
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.$ac_ext >&5
32463 ac_cv_lib_socket_connect=no
32466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32467 conftest$ac_exeext conftest.$ac_ext
32468 LIBS=$ac_check_lib_save_LIBS
32470 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32471 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32472 if test $ac_cv_lib_socket_connect = yes; then
32473 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32478 # Guillermo Gomez says -lposix is necessary on A/UX.
32479 { echo "$as_me:$LINENO: checking for remove" >&5
32480 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32481 if test "${ac_cv_func_remove+set}" = set; then
32482 echo $ECHO_N "(cached) $ECHO_C" >&6
32484 cat >conftest.$ac_ext <<_ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32490 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32492 #define remove innocuous_remove
32494 /* System header to define __stub macros and hopefully few prototypes,
32495 which can conflict with char remove (); below.
32496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32497 <limits.h> exists even on freestanding compilers. */
32500 # include <limits.h>
32502 # include <assert.h>
32507 /* Override any GCC internal prototype to avoid an error.
32508 Use char because int might match the return type of a GCC
32509 builtin and then its argument prototype would still apply. */
32514 /* The GNU C library defines this for functions which it implements
32515 to always fail with ENOSYS. Some functions are actually named
32516 something starting with __ and the normal name is an alias. */
32517 #if defined __stub_remove || defined __stub___remove
32529 rm -f conftest.$ac_objext conftest$ac_exeext
32530 if { (ac_try="$ac_link"
32531 case "(($ac_try" in
32532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32533 *) ac_try_echo=$ac_try;;
32535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32536 (eval "$ac_link") 2>conftest.er1
32538 grep -v '^ *+' conftest.er1 >conftest.err
32540 cat conftest.err >&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } && {
32543 test -z "$ac_c_werror_flag" ||
32544 test ! -s conftest.err
32545 } && test -s conftest$ac_exeext &&
32546 $as_test_x conftest$ac_exeext; then
32547 ac_cv_func_remove=yes
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.$ac_ext >&5
32552 ac_cv_func_remove=no
32555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32556 conftest$ac_exeext conftest.$ac_ext
32558 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32559 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32561 if test $ac_cv_func_remove = no; then
32562 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32563 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32564 if test "${ac_cv_lib_posix_remove+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 ac_check_lib_save_LIBS=$LIBS
32568 LIBS="-lposix $LIBS"
32569 cat >conftest.$ac_ext <<_ACEOF
32572 cat confdefs.h >>conftest.$ac_ext
32573 cat >>conftest.$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32576 /* Override any GCC internal prototype to avoid an error.
32577 Use char because int might match the return type of a GCC
32578 builtin and then its argument prototype would still apply. */
32591 rm -f conftest.$ac_objext conftest$ac_exeext
32592 if { (ac_try="$ac_link"
32593 case "(($ac_try" in
32594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32595 *) ac_try_echo=$ac_try;;
32597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32598 (eval "$ac_link") 2>conftest.er1
32600 grep -v '^ *+' conftest.er1 >conftest.err
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } && {
32605 test -z "$ac_c_werror_flag" ||
32606 test ! -s conftest.err
32607 } && test -s conftest$ac_exeext &&
32608 $as_test_x conftest$ac_exeext; then
32609 ac_cv_lib_posix_remove=yes
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32614 ac_cv_lib_posix_remove=no
32617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32618 conftest$ac_exeext conftest.$ac_ext
32619 LIBS=$ac_check_lib_save_LIBS
32621 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32622 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32623 if test $ac_cv_lib_posix_remove = yes; then
32624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32629 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32630 { echo "$as_me:$LINENO: checking for shmat" >&5
32631 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32632 if test "${ac_cv_func_shmat+set}" = set; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 cat >conftest.$ac_ext <<_ACEOF
32638 cat confdefs.h >>conftest.$ac_ext
32639 cat >>conftest.$ac_ext <<_ACEOF
32640 /* end confdefs.h. */
32641 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32643 #define shmat innocuous_shmat
32645 /* System header to define __stub macros and hopefully few prototypes,
32646 which can conflict with char shmat (); below.
32647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32648 <limits.h> exists even on freestanding compilers. */
32651 # include <limits.h>
32653 # include <assert.h>
32658 /* Override any GCC internal prototype to avoid an error.
32659 Use char because int might match the return type of a GCC
32660 builtin and then its argument prototype would still apply. */
32665 /* The GNU C library defines this for functions which it implements
32666 to always fail with ENOSYS. Some functions are actually named
32667 something starting with __ and the normal name is an alias. */
32668 #if defined __stub_shmat || defined __stub___shmat
32680 rm -f conftest.$ac_objext conftest$ac_exeext
32681 if { (ac_try="$ac_link"
32682 case "(($ac_try" in
32683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32684 *) ac_try_echo=$ac_try;;
32686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32687 (eval "$ac_link") 2>conftest.er1
32689 grep -v '^ *+' conftest.er1 >conftest.err
32691 cat conftest.err >&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); } && {
32694 test -z "$ac_c_werror_flag" ||
32695 test ! -s conftest.err
32696 } && test -s conftest$ac_exeext &&
32697 $as_test_x conftest$ac_exeext; then
32698 ac_cv_func_shmat=yes
32700 echo "$as_me: failed program was:" >&5
32701 sed 's/^/| /' conftest.$ac_ext >&5
32703 ac_cv_func_shmat=no
32706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32707 conftest$ac_exeext conftest.$ac_ext
32709 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32710 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32712 if test $ac_cv_func_shmat = no; then
32713 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32714 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32715 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32716 echo $ECHO_N "(cached) $ECHO_C" >&6
32718 ac_check_lib_save_LIBS=$LIBS
32720 cat >conftest.$ac_ext <<_ACEOF
32723 cat confdefs.h >>conftest.$ac_ext
32724 cat >>conftest.$ac_ext <<_ACEOF
32725 /* end confdefs.h. */
32727 /* Override any GCC internal prototype to avoid an error.
32728 Use char because int might match the return type of a GCC
32729 builtin and then its argument prototype would still apply. */
32742 rm -f conftest.$ac_objext conftest$ac_exeext
32743 if { (ac_try="$ac_link"
32744 case "(($ac_try" in
32745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32746 *) ac_try_echo=$ac_try;;
32748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32749 (eval "$ac_link") 2>conftest.er1
32751 grep -v '^ *+' conftest.er1 >conftest.err
32753 cat conftest.err >&5
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); } && {
32756 test -z "$ac_c_werror_flag" ||
32757 test ! -s conftest.err
32758 } && test -s conftest$ac_exeext &&
32759 $as_test_x conftest$ac_exeext; then
32760 ac_cv_lib_ipc_shmat=yes
32762 echo "$as_me: failed program was:" >&5
32763 sed 's/^/| /' conftest.$ac_ext >&5
32765 ac_cv_lib_ipc_shmat=no
32768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32769 conftest$ac_exeext conftest.$ac_ext
32770 LIBS=$ac_check_lib_save_LIBS
32772 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32773 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32774 if test $ac_cv_lib_ipc_shmat = yes; then
32775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32781 # Check for libraries that X11R6 Xt/Xaw programs need.
32782 ac_save_LDFLAGS=$LDFLAGS
32783 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32784 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32785 # check for ICE first), but we must link in the order -lSM -lICE or
32786 # we get undefined symbols. So assume we have SM if we have ICE.
32787 # These have to be linked with before -lX11, unlike the other
32788 # libraries we check for below, so use a different variable.
32789 # John Interrante, Karl Berry
32790 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32791 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32792 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 ac_check_lib_save_LIBS=$LIBS
32796 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32797 cat >conftest.$ac_ext <<_ACEOF
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32804 /* Override any GCC internal prototype to avoid an error.
32805 Use char because int might match the return type of a GCC
32806 builtin and then its argument prototype would still apply. */
32810 char IceConnectionNumber ();
32814 return IceConnectionNumber ();
32819 rm -f conftest.$ac_objext conftest$ac_exeext
32820 if { (ac_try="$ac_link"
32821 case "(($ac_try" in
32822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32823 *) ac_try_echo=$ac_try;;
32825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32826 (eval "$ac_link") 2>conftest.er1
32828 grep -v '^ *+' conftest.er1 >conftest.err
32830 cat conftest.err >&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } && {
32833 test -z "$ac_c_werror_flag" ||
32834 test ! -s conftest.err
32835 } && test -s conftest$ac_exeext &&
32836 $as_test_x conftest$ac_exeext; then
32837 ac_cv_lib_ICE_IceConnectionNumber=yes
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32842 ac_cv_lib_ICE_IceConnectionNumber=no
32845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32846 conftest$ac_exeext conftest.$ac_ext
32847 LIBS=$ac_check_lib_save_LIBS
32849 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32850 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32851 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32852 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32855 LDFLAGS=$ac_save_LDFLAGS
32860 if test "$no_x" = "yes"; then
32861 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32862 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32863 { (exit 1); exit 1; }; }
32866 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32867 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32868 AFMINSTALL=afminstall
32869 COMPILED_X_PROGRAM=0
32873 if test "$wxUSE_X11" = 1; then
32874 if test "$wxUSE_NANOX" = "yes"; then
32875 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32876 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32877 if test "x$MICROWIN" = x ; then
32878 { echo "$as_me:$LINENO: result: not found" >&5
32879 echo "${ECHO_T}not found" >&6; }
32880 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32881 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32882 { (exit 1); exit 1; }; }
32884 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32885 echo "${ECHO_T}$MICROWIN" >&6; }
32886 cat >>confdefs.h <<\_ACEOF
32887 #define wxUSE_NANOX 1
32893 if test "$wxUSE_UNICODE" = "yes"; then
32896 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32897 if test -n "$ac_tool_prefix"; then
32898 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32899 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32902 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 case $PKG_CONFIG in
32907 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32911 for as_dir in $PATH
32914 test -z "$as_dir" && as_dir=.
32915 for ac_exec_ext in '' $ac_executable_extensions; do
32916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32928 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32929 if test -n "$PKG_CONFIG"; then
32930 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32931 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32933 { echo "$as_me:$LINENO: result: no" >&5
32934 echo "${ECHO_T}no" >&6; }
32939 if test -z "$ac_cv_path_PKG_CONFIG"; then
32940 ac_pt_PKG_CONFIG=$PKG_CONFIG
32941 # Extract the first word of "pkg-config", so it can be a program name with args.
32942 set dummy pkg-config; ac_word=$2
32943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32945 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32948 case $ac_pt_PKG_CONFIG in
32950 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32954 for as_dir in $PATH
32957 test -z "$as_dir" && as_dir=.
32958 for ac_exec_ext in '' $ac_executable_extensions; do
32959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32960 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32971 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32972 if test -n "$ac_pt_PKG_CONFIG"; then
32973 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32974 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32976 { echo "$as_me:$LINENO: result: no" >&5
32977 echo "${ECHO_T}no" >&6; }
32980 if test "x$ac_pt_PKG_CONFIG" = x; then
32983 case $cross_compiling:$ac_tool_warned in
32985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32986 whose name does not start with the host triplet. If you think this
32987 configuration is useful to you, please write to autoconf@gnu.org." >&5
32988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32989 whose name does not start with the host triplet. If you think this
32990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32991 ac_tool_warned=yes ;;
32993 PKG_CONFIG=$ac_pt_PKG_CONFIG
32996 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33000 if test -n "$PKG_CONFIG"; then
33001 _pkg_min_version=0.9.0
33002 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33003 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33004 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33005 { echo "$as_me:$LINENO: result: yes" >&5
33006 echo "${ECHO_T}yes" >&6; }
33008 { echo "$as_me:$LINENO: result: no" >&5
33009 echo "${ECHO_T}no" >&6; }
33017 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33018 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33020 if test -n "$PKG_CONFIG"; then
33021 if test -n "$PANGOX_CFLAGS"; then
33022 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33024 if test -n "$PKG_CONFIG" && \
33025 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33026 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; then
33030 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33038 if test -n "$PKG_CONFIG"; then
33039 if test -n "$PANGOX_LIBS"; then
33040 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33042 if test -n "$PKG_CONFIG" && \
33043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33044 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; then
33048 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33059 if test $pkg_failed = yes; then
33061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33062 _pkg_short_errors_supported=yes
33064 _pkg_short_errors_supported=no
33066 if test $_pkg_short_errors_supported = yes; then
33067 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33069 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33071 # Put the nasty error message in config.log where it belongs
33072 echo "$PANGOX_PKG_ERRORS" >&5
33075 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33076 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33077 { (exit 1); exit 1; }; }
33080 elif test $pkg_failed = untried; then
33082 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33083 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33084 { (exit 1); exit 1; }; }
33088 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33089 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33090 { echo "$as_me:$LINENO: result: yes" >&5
33091 echo "${ECHO_T}yes" >&6; }
33093 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33094 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33100 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33101 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33103 if test -n "$PKG_CONFIG"; then
33104 if test -n "$PANGOFT2_CFLAGS"; then
33105 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33107 if test -n "$PKG_CONFIG" && \
33108 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33109 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); }; then
33113 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33121 if test -n "$PKG_CONFIG"; then
33122 if test -n "$PANGOFT2_LIBS"; then
33123 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33125 if test -n "$PKG_CONFIG" && \
33126 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33127 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; then
33131 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33142 if test $pkg_failed = yes; then
33144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33145 _pkg_short_errors_supported=yes
33147 _pkg_short_errors_supported=no
33149 if test $_pkg_short_errors_supported = yes; then
33150 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33152 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33154 # Put the nasty error message in config.log where it belongs
33155 echo "$PANGOFT2_PKG_ERRORS" >&5
33158 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33159 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33160 wxUSE_PRINTING_ARCHITECTURE="no"
33163 elif test $pkg_failed = untried; then
33165 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33166 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33167 wxUSE_PRINTING_ARCHITECTURE="no"
33171 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33172 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33173 { echo "$as_me:$LINENO: result: yes" >&5
33174 echo "${ECHO_T}yes" >&6; }
33176 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33177 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33178 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33183 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33184 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33186 if test -n "$PKG_CONFIG"; then
33187 if test -n "$PANGOXFT_CFLAGS"; then
33188 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33190 if test -n "$PKG_CONFIG" && \
33191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33192 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; then
33196 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33204 if test -n "$PKG_CONFIG"; then
33205 if test -n "$PANGOXFT_LIBS"; then
33206 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33208 if test -n "$PKG_CONFIG" && \
33209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33210 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; then
33214 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33225 if test $pkg_failed = yes; then
33227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33228 _pkg_short_errors_supported=yes
33230 _pkg_short_errors_supported=no
33232 if test $_pkg_short_errors_supported = yes; then
33233 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33235 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33237 # Put the nasty error message in config.log where it belongs
33238 echo "$PANGOXFT_PKG_ERRORS" >&5
33241 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33242 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33245 elif test $pkg_failed = untried; then
33247 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33248 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33252 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33253 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33254 { echo "$as_me:$LINENO: result: yes" >&5
33255 echo "${ECHO_T}yes" >&6; }
33257 cat >>confdefs.h <<\_ACEOF
33258 #define HAVE_PANGO_XFT 1
33261 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33262 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33263 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33267 LIBS="$LIBS $PANGOX_LIBS"
33269 for ac_func in pango_font_family_is_monospace
33271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33275 echo $ECHO_N "(cached) $ECHO_C" >&6
33277 cat >conftest.$ac_ext <<_ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33285 #define $ac_func innocuous_$ac_func
33287 /* System header to define __stub macros and hopefully few prototypes,
33288 which can conflict with char $ac_func (); below.
33289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33290 <limits.h> exists even on freestanding compilers. */
33293 # include <limits.h>
33295 # include <assert.h>
33300 /* Override any GCC internal prototype to avoid an error.
33301 Use char because int might match the return type of a GCC
33302 builtin and then its argument prototype would still apply. */
33307 /* The GNU C library defines this for functions which it implements
33308 to always fail with ENOSYS. Some functions are actually named
33309 something starting with __ and the normal name is an alias. */
33310 #if defined __stub_$ac_func || defined __stub___$ac_func
33317 return $ac_func ();
33322 rm -f conftest.$ac_objext conftest$ac_exeext
33323 if { (ac_try="$ac_link"
33324 case "(($ac_try" in
33325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33326 *) ac_try_echo=$ac_try;;
33328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33329 (eval "$ac_link") 2>conftest.er1
33331 grep -v '^ *+' conftest.er1 >conftest.err
33333 cat conftest.err >&5
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); } && {
33336 test -z "$ac_c_werror_flag" ||
33337 test ! -s conftest.err
33338 } && test -s conftest$ac_exeext &&
33339 $as_test_x conftest$ac_exeext; then
33340 eval "$as_ac_var=yes"
33342 echo "$as_me: failed program was:" >&5
33343 sed 's/^/| /' conftest.$ac_ext >&5
33345 eval "$as_ac_var=no"
33348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33349 conftest$ac_exeext conftest.$ac_ext
33351 ac_res=`eval echo '${'$as_ac_var'}'`
33352 { echo "$as_me:$LINENO: result: $ac_res" >&5
33353 echo "${ECHO_T}$ac_res" >&6; }
33354 if test `eval echo '${'$as_ac_var'}'` = yes; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33365 wxUSE_UNIVERSAL="yes"
33367 if test "$wxUSE_NANOX" = "yes"; then
33368 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33369 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"
33370 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33379 if test "$wxUSE_MOTIF" = 1; then
33380 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33381 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33384 for ac_dir in $SEARCH_INCLUDE /usr/include
33386 if test -f "$ac_dir/Xm/Xm.h"; then
33387 ac_find_includes=$ac_dir
33392 if test "$ac_find_includes" != "" ; then
33393 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33394 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33396 if test "x$ac_find_includes" = "x/usr/include"; then
33397 ac_path_to_include=""
33399 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33401 if test $result = 0; then
33402 ac_path_to_include=""
33404 ac_path_to_include=" -I$ac_find_includes"
33408 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33410 save_CFLAGS=$CFLAGS
33411 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33413 cat >conftest.$ac_ext <<_ACEOF
33416 cat confdefs.h >>conftest.$ac_ext
33417 cat >>conftest.$ac_ext <<_ACEOF
33418 /* end confdefs.h. */
33427 version = xmUseVersion;
33433 rm -f conftest.$ac_objext
33434 if { (ac_try="$ac_compile"
33435 case "(($ac_try" in
33436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33437 *) ac_try_echo=$ac_try;;
33439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33440 (eval "$ac_compile") 2>conftest.er1
33442 grep -v '^ *+' conftest.er1 >conftest.err
33444 cat conftest.err >&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); } && {
33447 test -z "$ac_c_werror_flag" ||
33448 test ! -s conftest.err
33449 } && test -s conftest.$ac_objext; then
33451 { echo "$as_me:$LINENO: result: found in default search path" >&5
33452 echo "${ECHO_T}found in default search path" >&6; }
33453 COMPILED_X_PROGRAM=1
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33460 { echo "$as_me:$LINENO: result: no" >&5
33461 echo "${ECHO_T}no" >&6; }
33462 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33463 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33464 { (exit 1); exit 1; }; }
33469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33471 CFLAGS=$save_CFLAGS
33475 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33476 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33479 for ac_dir in $SEARCH_LIB
33481 for ac_extension in a so sl dylib dll.a; do
33482 if test -f "$ac_dir/libXm.$ac_extension"; then
33483 ac_find_libraries=$ac_dir
33490 if test "x$ac_find_libraries" != "x" ; then
33491 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33492 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33495 if test "$ac_find_libraries" = "default location"; then
33498 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33500 if test $result = 0; then
33503 ac_path_to_link=" -L$ac_find_libraries"
33507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33509 save_CFLAGS=$CFLAGS
33510 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33512 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33514 cat >conftest.$ac_ext <<_ACEOF
33517 cat confdefs.h >>conftest.$ac_ext
33518 cat >>conftest.$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33528 version = xmUseVersion;
33534 rm -f conftest.$ac_objext conftest$ac_exeext
33535 if { (ac_try="$ac_link"
33536 case "(($ac_try" in
33537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33538 *) ac_try_echo=$ac_try;;
33540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33541 (eval "$ac_link") 2>conftest.er1
33543 grep -v '^ *+' conftest.er1 >conftest.err
33545 cat conftest.err >&5
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); } && {
33548 test -z "$ac_c_werror_flag" ||
33549 test ! -s conftest.err
33550 } && test -s conftest$ac_exeext &&
33551 $as_test_x conftest$ac_exeext; then
33553 { echo "$as_me:$LINENO: result: found in default search path" >&5
33554 echo "${ECHO_T}found in default search path" >&6; }
33555 COMPILED_X_PROGRAM=1
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33562 { echo "$as_me:$LINENO: result: no" >&5
33563 echo "${ECHO_T}no" >&6; }
33564 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33565 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33566 { (exit 1); exit 1; }; }
33571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33572 conftest$ac_exeext conftest.$ac_ext
33574 CFLAGS=$save_CFLAGS
33578 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33579 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33583 for libp in "" " -lXp"; do
33584 if test "$libs_found" = 0; then
33585 for libsm_ice in "" " -lSM -lICE"; do
33586 if test "$libs_found" = 0; then
33588 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33589 save_CFLAGS=$CFLAGS
33590 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33592 cat >conftest.$ac_ext <<_ACEOF
33595 cat confdefs.h >>conftest.$ac_ext
33596 cat >>conftest.$ac_ext <<_ACEOF
33597 /* end confdefs.h. */
33600 #include <Xm/List.h>
33606 XmString string = NULL;
33609 XmListAddItem(w, string, position);
33615 rm -f conftest.$ac_objext conftest$ac_exeext
33616 if { (ac_try="$ac_link"
33617 case "(($ac_try" in
33618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33619 *) ac_try_echo=$ac_try;;
33621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33622 (eval "$ac_link") 2>conftest.er1
33624 grep -v '^ *+' conftest.er1 >conftest.err
33626 cat conftest.err >&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); } && {
33629 test -z "$ac_c_werror_flag" ||
33630 test ! -s conftest.err
33631 } && test -s conftest$ac_exeext &&
33632 $as_test_x conftest$ac_exeext; then
33635 libsm_ice_link="$libsm_ice"
33636 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33637 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33641 echo "$as_me: failed program was:" >&5
33642 sed 's/^/| /' conftest.$ac_ext >&5
33648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33649 conftest$ac_exeext conftest.$ac_ext
33652 CFLAGS=$save_CFLAGS
33658 if test "$libs_found" = 0; then
33659 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33660 echo "${ECHO_T}can't find the right libraries" >&6; }
33661 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33662 echo "$as_me: error: can't link a simple motif program" >&2;}
33663 { (exit 1); exit 1; }; }
33666 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33667 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33668 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33669 echo $ECHO_N "(cached) $ECHO_C" >&6
33671 ac_check_lib_save_LIBS=$LIBS
33673 cat >conftest.$ac_ext <<_ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33680 /* Override any GCC internal prototype to avoid an error.
33681 Use char because int might match the return type of a GCC
33682 builtin and then its argument prototype would still apply. */
33686 char SgCreateList ();
33690 return SgCreateList ();
33695 rm -f conftest.$ac_objext conftest$ac_exeext
33696 if { (ac_try="$ac_link"
33697 case "(($ac_try" in
33698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33699 *) ac_try_echo=$ac_try;;
33701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33702 (eval "$ac_link") 2>conftest.er1
33704 grep -v '^ *+' conftest.er1 >conftest.err
33706 cat conftest.err >&5
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); } && {
33709 test -z "$ac_c_werror_flag" ||
33710 test ! -s conftest.err
33711 } && test -s conftest$ac_exeext &&
33712 $as_test_x conftest$ac_exeext; then
33713 ac_cv_lib_Sgm_SgCreateList=yes
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33718 ac_cv_lib_Sgm_SgCreateList=no
33721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33722 conftest$ac_exeext conftest.$ac_ext
33723 LIBS=$ac_check_lib_save_LIBS
33725 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33726 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33727 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33728 libsgm_link=" -lSgm"
33732 save_CFLAGS=$CFLAGS
33733 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33735 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33736 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33737 if test "${wx_cv_lib_motif2+set}" = set; then
33738 echo $ECHO_N "(cached) $ECHO_C" >&6
33740 cat >conftest.$ac_ext <<_ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33753 #if XmVersion < 2000
33761 rm -f conftest.$ac_objext
33762 if { (ac_try="$ac_compile"
33763 case "(($ac_try" in
33764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33765 *) ac_try_echo=$ac_try;;
33767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33768 (eval "$ac_compile") 2>conftest.er1
33770 grep -v '^ *+' conftest.er1 >conftest.err
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } && {
33775 test -z "$ac_c_werror_flag" ||
33776 test ! -s conftest.err
33777 } && test -s conftest.$ac_objext; then
33778 wx_cv_lib_motif2="yes"
33780 echo "$as_me: failed program was:" >&5
33781 sed 's/^/| /' conftest.$ac_ext >&5
33783 wx_cv_lib_motif2="no"
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33788 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33789 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33790 if test "$wx_cv_lib_motif2" = "yes"; then
33791 cat >>confdefs.h <<\_ACEOF
33792 #define __WXMOTIF20__ 1
33796 cat >>confdefs.h <<\_ACEOF
33797 #define __WXMOTIF20__ 0
33802 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33803 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33804 if test "${wx_cv_lib_lesstif+set}" = set; then
33805 echo $ECHO_N "(cached) $ECHO_C" >&6
33807 cat >conftest.$ac_ext <<_ACEOF
33810 cat confdefs.h >>conftest.$ac_ext
33811 cat >>conftest.$ac_ext <<_ACEOF
33812 /* end confdefs.h. */
33820 #if !defined(LesstifVersion) || LesstifVersion <= 0
33828 rm -f conftest.$ac_objext
33829 if { (ac_try="$ac_compile"
33830 case "(($ac_try" in
33831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33832 *) ac_try_echo=$ac_try;;
33834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33835 (eval "$ac_compile") 2>conftest.er1
33837 grep -v '^ *+' conftest.er1 >conftest.err
33839 cat conftest.err >&5
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } && {
33842 test -z "$ac_c_werror_flag" ||
33843 test ! -s conftest.err
33844 } && test -s conftest.$ac_objext; then
33845 wx_cv_lib_lesstif="yes"
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.$ac_ext >&5
33850 wx_cv_lib_lesstif="no"
33853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33857 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33858 if test "$wx_cv_lib_lesstif" = "yes"; then
33859 cat >>confdefs.h <<\_ACEOF
33860 #define __WXLESSTIF__ 1
33864 cat >>confdefs.h <<\_ACEOF
33865 #define __WXLESSTIF__ 0
33870 CFLAGS=$save_CFLAGS
33872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33877 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33878 if test "$wxUSE_LIBXPM" = "sys"; then
33879 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33880 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33883 for ac_dir in $SEARCH_LIB
33885 for ac_extension in a so sl dylib dll.a; do
33886 if test -f "$ac_dir/libXpm.$ac_extension"; then
33887 ac_find_libraries=$ac_dir
33893 if test "$ac_find_libraries" != "" ; then
33895 if test "$ac_find_libraries" = "default location"; then
33898 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33900 if test $result = 0; then
33903 ac_path_to_link=" -L$ac_find_libraries"
33907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33908 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33909 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33911 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33912 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33913 if test "${wx_cv_x11_xpm_h+set}" = set; then
33914 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 save_CFLAGS=$CFLAGS
33918 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33920 cat >conftest.$ac_ext <<_ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h. */
33927 #include <X11/xpm.h>
33934 version = XpmLibraryVersion();
33940 rm -f conftest.$ac_objext
33941 if { (ac_try="$ac_compile"
33942 case "(($ac_try" in
33943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33944 *) ac_try_echo=$ac_try;;
33946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33947 (eval "$ac_compile") 2>conftest.er1
33949 grep -v '^ *+' conftest.er1 >conftest.err
33951 cat conftest.err >&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); } && {
33954 test -z "$ac_c_werror_flag" ||
33955 test ! -s conftest.err
33956 } && test -s conftest.$ac_objext; then
33957 wx_cv_x11_xpm_h=yes
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33968 CFLAGS=$save_CFLAGS
33972 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33973 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33975 if test $wx_cv_x11_xpm_h = "yes"; then
33976 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33977 cat >>confdefs.h <<\_ACEOF
33978 #define wxHAVE_LIB_XPM 1
33982 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33983 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33989 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33990 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33991 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 ac_check_lib_save_LIBS=$LIBS
33995 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33996 cat >conftest.$ac_ext <<_ACEOF
33999 cat confdefs.h >>conftest.$ac_ext
34000 cat >>conftest.$ac_ext <<_ACEOF
34001 /* end confdefs.h. */
34003 /* Override any GCC internal prototype to avoid an error.
34004 Use char because int might match the return type of a GCC
34005 builtin and then its argument prototype would still apply. */
34009 char XShapeQueryExtension ();
34013 return XShapeQueryExtension ();
34018 rm -f conftest.$ac_objext conftest$ac_exeext
34019 if { (ac_try="$ac_link"
34020 case "(($ac_try" in
34021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_link") 2>conftest.er1
34027 grep -v '^ *+' conftest.er1 >conftest.err
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } && {
34032 test -z "$ac_c_werror_flag" ||
34033 test ! -s conftest.err
34034 } && test -s conftest$ac_exeext &&
34035 $as_test_x conftest$ac_exeext; then
34036 ac_cv_lib_Xext_XShapeQueryExtension=yes
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34041 ac_cv_lib_Xext_XShapeQueryExtension=no
34044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34045 conftest$ac_exeext conftest.$ac_ext
34046 LIBS=$ac_check_lib_save_LIBS
34048 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34049 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34050 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34058 if test "$wxHAVE_XEXT_LIB" = 1; then
34059 save_CFLAGS="$CFLAGS"
34060 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34062 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34063 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34064 cat >conftest.$ac_ext <<_ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34071 #include <X11/Xlib.h>
34072 #include <X11/extensions/shape.h>
34078 int dummy1, dummy2;
34079 XShapeQueryExtension((Display*)NULL,
34080 (int*)NULL, (int*)NULL);
34086 rm -f conftest.$ac_objext
34087 if { (ac_try="$ac_compile"
34088 case "(($ac_try" in
34089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34090 *) ac_try_echo=$ac_try;;
34092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34093 (eval "$ac_compile") 2>conftest.er1
34095 grep -v '^ *+' conftest.er1 >conftest.err
34097 cat conftest.err >&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } && {
34100 test -z "$ac_c_werror_flag" ||
34101 test ! -s conftest.err
34102 } && test -s conftest.$ac_objext; then
34104 cat >>confdefs.h <<\_ACEOF
34105 #define HAVE_XSHAPE 1
34108 { echo "$as_me:$LINENO: result: found" >&5
34109 echo "${ECHO_T}found" >&6; }
34112 echo "$as_me: failed program was:" >&5
34113 sed 's/^/| /' conftest.$ac_ext >&5
34116 { echo "$as_me:$LINENO: result: not found" >&5
34117 echo "${ECHO_T}not found" >&6; }
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34122 CFLAGS="$save_CFLAGS"
34127 if test "$wxUSE_OSX_CARBON" = 1; then
34128 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34129 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34130 if test "$GCC" = yes; then
34131 { echo "$as_me:$LINENO: result: gcc" >&5
34132 echo "${ECHO_T}gcc" >&6; }
34133 CPPFLAGS_PASCAL="-fpascal-strings"
34134 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34135 { echo "$as_me:$LINENO: result: xlc" >&5
34136 echo "${ECHO_T}xlc" >&6; }
34137 CPPFLAGS_PASCAL="-qmacpstr"
34139 { echo "$as_me:$LINENO: result: none" >&5
34140 echo "${ECHO_T}none" >&6; }
34143 if test "x$wxUSE_UNIX" = "xyes"; then
34144 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34146 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34150 GUIDIST=OSX_CARBON_DIST
34151 WXBASEPORT="_carbon"
34153 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34156 if test "$wxUSE_OSX_COCOA" = 1; then
34158 GUIDIST=OSX_COCOA_DIST
34160 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34163 if test "$wxUSE_OSX_IPHONE" = 1; then
34167 if test "$wxUSE_OLD_COCOA" = 1; then
34172 if test "$wxUSE_PM" = 1; then
34175 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34176 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34177 if test "${wx_cv_spbcdata+set}" = set; then
34178 echo $ECHO_N "(cached) $ECHO_C" >&6
34181 cat >conftest.$ac_ext <<_ACEOF
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34201 rm -f conftest.$ac_objext
34202 if { (ac_try="$ac_compile"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34205 *) ac_try_echo=$ac_try;;
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_compile") 2>conftest.er1
34210 grep -v '^ *+' conftest.er1 >conftest.err
34212 cat conftest.err >&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_c_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest.$ac_objext; then
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34232 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34234 if test $wx_cv_spbcdata = "yes"; then
34235 cat >>confdefs.h <<\_ACEOF
34236 #define HAVE_SPBCDATA 1
34242 if test "$TOOLKIT" = "PM" ; then
34245 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34248 if test "$wxUSE_UNIVERSAL" = "yes"; then
34249 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34253 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34254 DISTDIR="wx\$(TOOLKIT)"
34260 if test "$USE_WIN32" = 1 ; then
34264 GUIDIST="BASE_DIST"
34270 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34271 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34272 wxUSE_UNICODE_UTF8=yes
34273 elif test "$USE_OS2" = 1 ; then
34274 wxUSE_UNICODE_UTF8=yes
34276 wxUSE_UNICODE_UTF8=no
34281 if test "$wxUSE_GUI" = "yes"; then
34282 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34284 for ac_header in X11/Xlib.h
34286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34290 echo $ECHO_N "(cached) $ECHO_C" >&6
34292 cat >conftest.$ac_ext <<_ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34300 #include <$ac_header>
34302 rm -f conftest.$ac_objext
34303 if { (ac_try="$ac_compile"
34304 case "(($ac_try" in
34305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34306 *) ac_try_echo=$ac_try;;
34308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34309 (eval "$ac_compile") 2>conftest.er1
34311 grep -v '^ *+' conftest.er1 >conftest.err
34313 cat conftest.err >&5
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); } && {
34316 test -z "$ac_c_werror_flag" ||
34317 test ! -s conftest.err
34318 } && test -s conftest.$ac_objext; then
34319 eval "$as_ac_Header=yes"
34321 echo "$as_me: failed program was:" >&5
34322 sed 's/^/| /' conftest.$ac_ext >&5
34324 eval "$as_ac_Header=no"
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34329 ac_res=`eval echo '${'$as_ac_Header'}'`
34330 { echo "$as_me:$LINENO: result: $ac_res" >&5
34331 echo "${ECHO_T}$ac_res" >&6; }
34332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34333 cat >>confdefs.h <<_ACEOF
34334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34342 for ac_header in X11/XKBlib.h
34344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34345 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34348 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 cat >conftest.$ac_ext <<_ACEOF
34353 cat confdefs.h >>conftest.$ac_ext
34354 cat >>conftest.$ac_ext <<_ACEOF
34355 /* end confdefs.h. */
34357 #if HAVE_X11_XLIB_H
34358 #include <X11/Xlib.h>
34362 #include <$ac_header>
34364 rm -f conftest.$ac_objext
34365 if { (ac_try="$ac_compile"
34366 case "(($ac_try" in
34367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34368 *) ac_try_echo=$ac_try;;
34370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34371 (eval "$ac_compile") 2>conftest.er1
34373 grep -v '^ *+' conftest.er1 >conftest.err
34375 cat conftest.err >&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); } && {
34378 test -z "$ac_c_werror_flag" ||
34379 test ! -s conftest.err
34380 } && test -s conftest.$ac_objext; then
34381 eval "$as_ac_Header=yes"
34383 echo "$as_me: failed program was:" >&5
34384 sed 's/^/| /' conftest.$ac_ext >&5
34386 eval "$as_ac_Header=no"
34389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34391 ac_res=`eval echo '${'$as_ac_Header'}'`
34392 { echo "$as_me:$LINENO: result: $ac_res" >&5
34393 echo "${ECHO_T}$ac_res" >&6; }
34394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34395 cat >>confdefs.h <<_ACEOF
34396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34409 if test "$wxUSE_DISPLAY" = "yes"; then
34410 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34411 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34412 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34415 for ac_dir in $SEARCH_LIB
34417 for ac_extension in a so sl dylib dll.a; do
34418 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34419 ac_find_libraries=$ac_dir
34425 if test "$ac_find_libraries" != "" ; then
34427 if test "$ac_find_libraries" = "default location"; then
34430 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34432 if test $result = 0; then
34435 ac_path_to_link=" -L$ac_find_libraries"
34439 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34440 LDFLAGS="$LDFLAGS $ac_path_to_link"
34443 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34444 { echo "$as_me:$LINENO: result: yes" >&5
34445 echo "${ECHO_T}yes" >&6; }
34447 { echo "$as_me:$LINENO: result: no" >&5
34448 echo "${ECHO_T}no" >&6; }
34449 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34450 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34453 elif test "$wxUSE_MSW" = 1; then
34454 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34455 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34456 if test "${ac_cv_header_ddraw_h+set}" = set; then
34457 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 cat >conftest.$ac_ext <<_ACEOF
34462 cat confdefs.h >>conftest.$ac_ext
34463 cat >>conftest.$ac_ext <<_ACEOF
34464 /* end confdefs.h. */
34465 #include <windows.h>
34469 rm -f conftest.$ac_objext
34470 if { (ac_try="$ac_compile"
34471 case "(($ac_try" in
34472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34473 *) ac_try_echo=$ac_try;;
34475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34476 (eval "$ac_compile") 2>conftest.er1
34478 grep -v '^ *+' conftest.er1 >conftest.err
34480 cat conftest.err >&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); } && {
34483 test -z "$ac_c_werror_flag" ||
34484 test ! -s conftest.err
34485 } && test -s conftest.$ac_objext; then
34486 ac_cv_header_ddraw_h=yes
34488 echo "$as_me: failed program was:" >&5
34489 sed 's/^/| /' conftest.$ac_ext >&5
34491 ac_cv_header_ddraw_h=no
34494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34496 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34497 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34503 if test "$wxUSE_DISPLAY" = "yes"; then
34504 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34505 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34506 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34509 for ac_dir in $SEARCH_LIB
34511 for ac_extension in a so sl dylib dll.a; do
34512 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34513 ac_find_libraries=$ac_dir
34519 if test "$ac_find_libraries" != "" ; then
34520 { echo "$as_me:$LINENO: result: yes" >&5
34521 echo "${ECHO_T}yes" >&6; }
34523 for ac_header in X11/extensions/xf86vmode.h
34525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34529 echo $ECHO_N "(cached) $ECHO_C" >&6
34531 cat >conftest.$ac_ext <<_ACEOF
34534 cat confdefs.h >>conftest.$ac_ext
34535 cat >>conftest.$ac_ext <<_ACEOF
34536 /* end confdefs.h. */
34538 #if HAVE_X11_XLIB_H
34539 #include <X11/Xlib.h>
34543 #include <$ac_header>
34545 rm -f conftest.$ac_objext
34546 if { (ac_try="$ac_compile"
34547 case "(($ac_try" in
34548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34549 *) ac_try_echo=$ac_try;;
34551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34552 (eval "$ac_compile") 2>conftest.er1
34554 grep -v '^ *+' conftest.er1 >conftest.err
34556 cat conftest.err >&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); } && {
34559 test -z "$ac_c_werror_flag" ||
34560 test ! -s conftest.err
34561 } && test -s conftest.$ac_objext; then
34562 eval "$as_ac_Header=yes"
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34567 eval "$as_ac_Header=no"
34570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34572 ac_res=`eval echo '${'$as_ac_Header'}'`
34573 { echo "$as_me:$LINENO: result: $ac_res" >&5
34574 echo "${ECHO_T}$ac_res" >&6; }
34575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34576 cat >>confdefs.h <<_ACEOF
34577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34580 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34587 { echo "$as_me:$LINENO: result: no" >&5
34588 echo "${ECHO_T}no" >&6; }
34593 if test "$wxUSE_DETECT_SM" = "yes"; then
34594 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34595 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34596 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34599 for ac_dir in $SEARCH_LIB
34601 for ac_extension in a so sl dylib dll.a; do
34602 if test -f "$ac_dir/libSM.$ac_extension"; then
34603 ac_find_libraries=$ac_dir
34609 if test "$ac_find_libraries" != "" ; then
34611 if test "$ac_find_libraries" = "default location"; then
34614 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34616 if test $result = 0; then
34619 ac_path_to_link=" -L$ac_find_libraries"
34623 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34624 LDFLAGS="$LDFLAGS $ac_path_to_link"
34626 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34627 { echo "$as_me:$LINENO: result: yes" >&5
34628 echo "${ECHO_T}yes" >&6; }
34630 { echo "$as_me:$LINENO: result: no" >&5
34631 echo "${ECHO_T}no" >&6; }
34632 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34633 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34634 wxUSE_DETECT_SM="no"
34637 wxUSE_DETECT_SM="no"
34644 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34647 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34648 OPENGL_LIBS="-framework OpenGL -framework AGL"
34649 elif test "$wxUSE_MSW" = 1; then
34650 OPENGL_LIBS="-lopengl32 -lglu32"
34651 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34653 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34654 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34657 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34659 if test -f "$ac_dir/GL/gl.h"; then
34660 ac_find_includes=$ac_dir
34665 if test "$ac_find_includes" != "" ; then
34666 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34667 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34669 if test "x$ac_find_includes" = "x/usr/include"; then
34670 ac_path_to_include=""
34672 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34674 if test $result = 0; then
34675 ac_path_to_include=""
34677 ac_path_to_include=" -I$ac_find_includes"
34681 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34683 { echo "$as_me:$LINENO: result: not found" >&5
34684 echo "${ECHO_T}not found" >&6; }
34687 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34688 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34689 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34692 cat >conftest.$ac_ext <<_ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34702 rm -f conftest.$ac_objext
34703 if { (ac_try="$ac_compile"
34704 case "(($ac_try" in
34705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34706 *) ac_try_echo=$ac_try;;
34708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34709 (eval "$ac_compile") 2>conftest.er1
34711 grep -v '^ *+' conftest.er1 >conftest.err
34713 cat conftest.err >&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); } && {
34716 test -z "$ac_c_werror_flag" ||
34717 test ! -s conftest.err
34718 } && test -s conftest.$ac_objext; then
34719 ac_cv_header_GL_gl_h=yes
34721 echo "$as_me: failed program was:" >&5
34722 sed 's/^/| /' conftest.$ac_ext >&5
34724 ac_cv_header_GL_gl_h=no
34727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34730 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34731 if test $ac_cv_header_GL_gl_h = yes; then
34733 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34734 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34735 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34736 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 cat >conftest.$ac_ext <<_ACEOF
34741 cat confdefs.h >>conftest.$ac_ext
34742 cat >>conftest.$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34746 #include <GL/glu.h>
34748 rm -f conftest.$ac_objext
34749 if { (ac_try="$ac_compile"
34750 case "(($ac_try" in
34751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34752 *) ac_try_echo=$ac_try;;
34754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34755 (eval "$ac_compile") 2>conftest.er1
34757 grep -v '^ *+' conftest.er1 >conftest.err
34759 cat conftest.err >&5
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); } && {
34762 test -z "$ac_c_werror_flag" ||
34763 test ! -s conftest.err
34764 } && test -s conftest.$ac_objext; then
34765 ac_cv_header_GL_glu_h=yes
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.$ac_ext >&5
34770 ac_cv_header_GL_glu_h=no
34773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34775 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34776 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34777 if test $ac_cv_header_GL_glu_h = yes; then
34781 { echo "$as_me:$LINENO: checking for -lGL" >&5
34782 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34785 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34787 for ac_extension in a so sl dylib dll.a; do
34788 if test -f "$ac_dir/libGL.$ac_extension"; then
34789 ac_find_libraries=$ac_dir
34795 if test "$ac_find_libraries" != "" ; then
34796 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34797 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34800 if test "$ac_find_libraries" = "default location"; then
34803 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34805 if test $result = 0; then
34808 ac_path_to_link=" -L$ac_find_libraries"
34812 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34813 LDFLAGS_GL="$ac_path_to_link"
34816 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34817 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34820 for ac_dir in $SEARCH_LIB
34822 for ac_extension in a so sl dylib dll.a; do
34823 if test -f "$ac_dir/libGLU.$ac_extension"; then
34824 ac_find_libraries=$ac_dir
34830 if test "$ac_find_libraries" != "" ; then
34832 if test "$ac_find_libraries" = "default location"; then
34835 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34837 if test $result = 0; then
34840 ac_path_to_link=" -L$ac_find_libraries"
34844 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34845 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34846 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34850 OPENGL_LIBS="-lGL -lGLU"
34851 { echo "$as_me:$LINENO: result: yes" >&5
34852 echo "${ECHO_T}yes" >&6; }
34854 { echo "$as_me:$LINENO: result: no" >&5
34855 echo "${ECHO_T}no" >&6; }
34858 { echo "$as_me:$LINENO: result: no" >&5
34859 echo "${ECHO_T}no" >&6; }
34862 if test "$found_gl" != 1; then
34863 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34864 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34867 for ac_dir in $SEARCH_LIB
34869 for ac_extension in a so sl dylib dll.a; do
34870 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34871 ac_find_libraries=$ac_dir
34877 if test "$ac_find_libraries" != "" ; then
34879 if test "$ac_find_libraries" = "default location"; then
34882 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34884 if test $result = 0; then
34887 ac_path_to_link=" -L$ac_find_libraries"
34891 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34892 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34893 { echo "$as_me:$LINENO: result: yes" >&5
34894 echo "${ECHO_T}yes" >&6; }
34896 { echo "$as_me:$LINENO: result: no" >&5
34897 echo "${ECHO_T}no" >&6; }
34909 if test "x$OPENGL_LIBS" = "x"; then
34910 if test "$wxUSE_OPENGL" = "yes"; then
34911 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34912 echo "$as_me: error: OpenGL libraries not available" >&2;}
34913 { (exit 1); exit 1; }; }
34915 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34916 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34922 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34923 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34927 if test "$wxUSE_OPENGL" = "auto"; then
34931 if test "$wxUSE_OPENGL" = "yes"; then
34933 cat >>confdefs.h <<\_ACEOF
34934 #define wxUSE_OPENGL 1
34937 cat >>confdefs.h <<\_ACEOF
34938 #define wxUSE_GLCANVAS 1
34941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34946 if test -n "$TOOLKIT" ; then
34947 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34952 if test "$wxUSE_SHARED" = "yes"; then
34956 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34957 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34962 if test "$wxUSE_SHARED" = "yes"; then
34966 *-*-cygwin* | *-*-mingw* )
34967 wx_cv_version_script=no
34971 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34972 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34973 if test "${wx_cv_version_script+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 echo "VER_1 { *; };" >conftest.sym
34978 echo "int main() { return 0; }" >conftest.cpp
34981 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34982 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984 (eval $ac_try) 2>&5
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); }; } ; then
34988 if test -s conftest.stderr ; then
34989 wx_cv_version_script=no
34991 wx_cv_version_script=yes
34994 wx_cv_version_script=no
34997 if test $wx_cv_version_script = yes
34999 echo "struct B { virtual ~B() { } }; \
35000 struct D : public B { }; \
35001 void F() { D d; }" > conftest.cpp
35004 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35005 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007 (eval $ac_try) 2>&5
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); }; } &&
35012 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35013 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35015 (eval $ac_try) 2>&5
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); }; }
35021 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35022 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35024 (eval $ac_try) 2>&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); }; }
35029 wx_cv_version_script=yes
35031 wx_cv_version_script=no
35036 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35037 rm -f conftest1.output conftest2.output conftest3.output
35040 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35041 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35043 if test $wx_cv_version_script = yes ; then
35044 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35050 if test "$wxUSE_VISIBILITY" != "no"; then
35053 if test -n "$GCC"; then
35054 CFLAGS_VISIBILITY="-fvisibility=hidden"
35055 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35056 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35057 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35058 if test "${wx_cv_cc_visibility+set}" = set; then
35059 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 wx_save_CXXFLAGS="$CXXFLAGS"
35063 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35065 ac_cpp='$CXXCPP $CPPFLAGS'
35066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35070 cat >conftest.$ac_ext <<_ACEOF
35073 cat confdefs.h >>conftest.$ac_ext
35074 cat >>conftest.$ac_ext <<_ACEOF
35075 /* end confdefs.h. */
35077 /* we need gcc >= 4.0, older versions with visibility support
35078 didn't have class visibility: */
35079 #if defined(__GNUC__) && __GNUC__ < 4
35080 error this gcc is too old;
35083 /* visibility only makes sense for ELF shared libs: */
35084 #if !defined(__ELF__) && !defined(__APPLE__)
35085 error this platform has no visibility;
35088 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35089 #if defined(__clang__)
35090 clang compiler is still broken w.r.t. visibility;
35093 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35094 extern __attribute__((__visibility__("default"))) int exportedvar;
35095 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35096 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35097 class __attribute__((__visibility__("default"))) Foo {
35109 rm -f conftest.$ac_objext
35110 if { (ac_try="$ac_compile"
35111 case "(($ac_try" in
35112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35113 *) ac_try_echo=$ac_try;;
35115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35116 (eval "$ac_compile") 2>conftest.er1
35118 grep -v '^ *+' conftest.er1 >conftest.err
35120 cat conftest.err >&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); } && {
35123 test -z "$ac_cxx_werror_flag" ||
35124 test ! -s conftest.err
35125 } && test -s conftest.$ac_objext; then
35126 wx_cv_cc_visibility=yes
35128 echo "$as_me: failed program was:" >&5
35129 sed 's/^/| /' conftest.$ac_ext >&5
35131 wx_cv_cc_visibility=no
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35136 ac_cpp='$CPP $CPPFLAGS'
35137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35141 CXXFLAGS="$wx_save_CXXFLAGS"
35144 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35145 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35146 if test $wx_cv_cc_visibility = yes; then
35147 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35148 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35149 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35153 wx_save_CXXFLAGS="$CXXFLAGS"
35154 wx_save_LDFLAGS="$LDFLAGS"
35155 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35156 LDFLAGS="$LDFLAGS -shared -fPIC"
35158 ac_cpp='$CXXCPP $CPPFLAGS'
35159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35163 cat >conftest.$ac_ext <<_ACEOF
35166 cat confdefs.h >>conftest.$ac_ext
35167 cat >>conftest.$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35176 std::string s("hello");
35183 rm -f conftest.$ac_objext conftest$ac_exeext
35184 if { (ac_try="$ac_link"
35185 case "(($ac_try" in
35186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35187 *) ac_try_echo=$ac_try;;
35189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35190 (eval "$ac_link") 2>conftest.er1
35192 grep -v '^ *+' conftest.er1 >conftest.err
35194 cat conftest.err >&5
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); } && {
35197 test -z "$ac_cxx_werror_flag" ||
35198 test ! -s conftest.err
35199 } && test -s conftest$ac_exeext &&
35200 $as_test_x conftest$ac_exeext; then
35201 wx_cv_cc_broken_libstdcxx_visibility=no
35203 echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35206 wx_cv_cc_broken_libstdcxx_visibility=yes
35209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35210 conftest$ac_exeext conftest.$ac_ext
35212 ac_cpp='$CPP $CPPFLAGS'
35213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35217 CXXFLAGS="$wx_save_CXXFLAGS"
35218 LDFLAGS="$wx_save_LDFLAGS"
35221 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35222 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35224 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35225 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35226 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35227 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35228 echo $ECHO_N "(cached) $ECHO_C" >&6
35232 ac_cpp='$CXXCPP $CPPFLAGS'
35233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35237 cat >conftest.$ac_ext <<_ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35244 #pragma GCC visibility push(default)
35246 #pragma GCC visibility pop
35252 std::string s("hello");
35259 rm -f conftest.$ac_objext conftest$ac_exeext
35260 if { (ac_try="$ac_link"
35261 case "(($ac_try" in
35262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35263 *) ac_try_echo=$ac_try;;
35265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35266 (eval "$ac_link") 2>conftest.er1
35268 grep -v '^ *+' conftest.er1 >conftest.err
35270 cat conftest.err >&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); } && {
35273 test -z "$ac_cxx_werror_flag" ||
35274 test ! -s conftest.err
35275 } && test -s conftest$ac_exeext &&
35276 $as_test_x conftest$ac_exeext; then
35277 wx_cv_cc_visibility_workaround=no
35279 echo "$as_me: failed program was:" >&5
35280 sed 's/^/| /' conftest.$ac_ext >&5
35282 wx_cv_cc_visibility_workaround=yes
35285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35286 conftest$ac_exeext conftest.$ac_ext
35288 ac_cpp='$CPP $CPPFLAGS'
35289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35296 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35297 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35299 if test $wx_cv_cc_visibility_workaround = no; then
35300 wx_cv_cc_visibility=no
35305 if test $wx_cv_cc_visibility = yes; then
35306 cat >>confdefs.h <<\_ACEOF
35307 #define HAVE_VISIBILITY 1
35310 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35311 cat >>confdefs.h <<\_ACEOF
35312 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35317 CFLAGS_VISIBILITY=""
35318 CXXFLAGS_VISIBILITY=""
35326 if test "x$SUNCXX" = xyes; then
35327 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35328 WXCONFIG_RPATH="-R\$libdir"
35331 *-*-linux* | *-*-gnu* )
35332 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35333 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35338 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35340 saveLdflags="$LDFLAGS"
35341 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35342 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35343 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35344 cat >conftest.$ac_ext <<_ACEOF
35347 cat confdefs.h >>conftest.$ac_ext
35348 cat >>conftest.$ac_ext <<_ACEOF
35349 /* end confdefs.h. */
35359 rm -f conftest.$ac_objext conftest$ac_exeext
35360 if { (ac_try="$ac_link"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_link") 2>conftest.er1
35368 grep -v '^ *+' conftest.er1 >conftest.err
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest$ac_exeext &&
35376 $as_test_x conftest$ac_exeext; then
35378 { echo "$as_me:$LINENO: result: yes" >&5
35379 echo "${ECHO_T}yes" >&6; }
35380 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35381 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35388 { echo "$as_me:$LINENO: result: no" >&5
35389 echo "${ECHO_T}no" >&6; }
35390 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35391 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35392 LDFLAGS="$saveLdflags -Wl,-R,/"
35393 cat >conftest.$ac_ext <<_ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35408 rm -f conftest.$ac_objext conftest$ac_exeext
35409 if { (ac_try="$ac_link"
35410 case "(($ac_try" in
35411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35412 *) ac_try_echo=$ac_try;;
35414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35415 (eval "$ac_link") 2>conftest.er1
35417 grep -v '^ *+' conftest.er1 >conftest.err
35419 cat conftest.err >&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); } && {
35422 test -z "$ac_c_werror_flag" ||
35423 test ! -s conftest.err
35424 } && test -s conftest$ac_exeext &&
35425 $as_test_x conftest$ac_exeext; then
35427 { echo "$as_me:$LINENO: result: yes" >&5
35428 echo "${ECHO_T}yes" >&6; }
35429 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35430 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35433 echo "$as_me: failed program was:" >&5
35434 sed 's/^/| /' conftest.$ac_ext >&5
35437 { echo "$as_me:$LINENO: result: no" >&5
35438 echo "${ECHO_T}no" >&6; }
35442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35443 conftest$ac_exeext conftest.$ac_ext
35447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35448 conftest$ac_exeext conftest.$ac_ext
35449 LDFLAGS="$saveLdflags"
35453 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35454 if test "$install_name_tool" -a -x "$install_name_tool"; then
35455 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35456 cat <<EOF >change-install-names
35458 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35459 for i in \${libnames} ; do
35460 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35461 for dep in \${libnames} ; do
35462 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35466 chmod +x change-install-names
35467 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35470 HEADER_PAD_OPTION="-headerpad_max_install_names"
35473 *-*-cygwin* | *-*-mingw32* )
35477 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35478 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35484 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35486 if test $wxUSE_RPATH = "no"; then
35487 SAMPLES_RPATH_FLAG=''
35488 DYLIB_PATH_POSTLINK=''
35496 config_linkage_component="-static"
35503 lib_unicode_suffix=
35505 if test "$wxUSE_UNICODE" = "yes"; then
35506 lib_unicode_suffix=u
35507 WX_CHARTYPE="unicode"
35511 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35512 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35515 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35519 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35521 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35523 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35526 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35527 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35529 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35531 if test "${TOOLKIT_DIR}" = "os2"; then
35532 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35534 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35539 if test "$wxUSE_OLD_COCOA" = 1; then
35542 ac_cpp='$CPP $CPPFLAGS'
35543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35549 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35550 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35551 cat >conftest.$ac_ext <<_ACEOF
35554 cat confdefs.h >>conftest.$ac_ext
35555 cat >>conftest.$ac_ext <<_ACEOF
35556 /* end confdefs.h. */
35557 #include <AppKit/NSEvent.h>
35558 #include <CoreFoundation/CoreFoundation.h>
35568 rm -f conftest.$ac_objext
35569 if { (ac_try="$ac_compile"
35570 case "(($ac_try" in
35571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35572 *) ac_try_echo=$ac_try;;
35574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35575 (eval "$ac_compile") 2>conftest.er1
35577 grep -v '^ *+' conftest.er1 >conftest.err
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } && {
35582 test -z "$ac_c_werror_flag" ||
35583 test ! -s conftest.err
35584 } && test -s conftest.$ac_objext; then
35585 { echo "$as_me:$LINENO: result: no" >&5
35586 echo "${ECHO_T}no" >&6; }
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35591 { echo "$as_me:$LINENO: result: yes" >&5
35592 echo "${ECHO_T}yes" >&6; }
35593 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35594 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35595 cat >conftest.$ac_ext <<_ACEOF
35598 cat confdefs.h >>conftest.$ac_ext
35599 cat >>conftest.$ac_ext <<_ACEOF
35600 /* end confdefs.h. */
35601 #define __Point__ 1
35602 #include <AppKit/NSEvent.h>
35603 #include <CoreFoundation/CoreFoundation.h>
35613 rm -f conftest.$ac_objext
35614 if { (ac_try="$ac_compile"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_compile") 2>conftest.er1
35622 grep -v '^ *+' conftest.er1 >conftest.err
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest.$ac_objext; then
35630 { echo "$as_me:$LINENO: result: yes" >&5
35631 echo "${ECHO_T}yes" >&6; }
35632 cat >>confdefs.h <<\_ACEOF
35633 #define __Point__ 1
35638 echo "$as_me: failed program was:" >&5
35639 sed 's/^/| /' conftest.$ac_ext >&5
35641 { { echo "$as_me:$LINENO: error: no
35642 See \`config.log' for more details." >&5
35643 echo "$as_me: error: no
35644 See \`config.log' for more details." >&2;}
35645 { (exit 1); exit 1; }; }
35649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35655 ac_cpp='$CPP $CPPFLAGS'
35656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35663 { echo "$as_me:$LINENO: checking for mode_t" >&5
35664 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35665 if test "${ac_cv_type_mode_t+set}" = set; then
35666 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 cat >conftest.$ac_ext <<_ACEOF
35671 cat confdefs.h >>conftest.$ac_ext
35672 cat >>conftest.$ac_ext <<_ACEOF
35673 /* end confdefs.h. */
35674 $ac_includes_default
35675 typedef mode_t ac__type_new_;
35679 if ((ac__type_new_ *) 0)
35681 if (sizeof (ac__type_new_))
35687 rm -f conftest.$ac_objext
35688 if { (ac_try="$ac_compile"
35689 case "(($ac_try" in
35690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35691 *) ac_try_echo=$ac_try;;
35693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35694 (eval "$ac_compile") 2>conftest.er1
35696 grep -v '^ *+' conftest.er1 >conftest.err
35698 cat conftest.err >&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } && {
35701 test -z "$ac_c_werror_flag" ||
35702 test ! -s conftest.err
35703 } && test -s conftest.$ac_objext; then
35704 ac_cv_type_mode_t=yes
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35709 ac_cv_type_mode_t=no
35712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35714 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35715 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35716 if test $ac_cv_type_mode_t = yes; then
35720 cat >>confdefs.h <<_ACEOF
35726 { echo "$as_me:$LINENO: checking for off_t" >&5
35727 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35728 if test "${ac_cv_type_off_t+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35731 cat >conftest.$ac_ext <<_ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737 $ac_includes_default
35738 typedef off_t ac__type_new_;
35742 if ((ac__type_new_ *) 0)
35744 if (sizeof (ac__type_new_))
35750 rm -f conftest.$ac_objext
35751 if { (ac_try="$ac_compile"
35752 case "(($ac_try" in
35753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35754 *) ac_try_echo=$ac_try;;
35756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35757 (eval "$ac_compile") 2>conftest.er1
35759 grep -v '^ *+' conftest.er1 >conftest.err
35761 cat conftest.err >&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); } && {
35764 test -z "$ac_c_werror_flag" ||
35765 test ! -s conftest.err
35766 } && test -s conftest.$ac_objext; then
35767 ac_cv_type_off_t=yes
35769 echo "$as_me: failed program was:" >&5
35770 sed 's/^/| /' conftest.$ac_ext >&5
35772 ac_cv_type_off_t=no
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35777 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35778 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35779 if test $ac_cv_type_off_t = yes; then
35783 cat >>confdefs.h <<_ACEOF
35784 #define off_t long int
35789 { echo "$as_me:$LINENO: checking for pid_t" >&5
35790 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35791 if test "${ac_cv_type_pid_t+set}" = set; then
35792 echo $ECHO_N "(cached) $ECHO_C" >&6
35794 cat >conftest.$ac_ext <<_ACEOF
35797 cat confdefs.h >>conftest.$ac_ext
35798 cat >>conftest.$ac_ext <<_ACEOF
35799 /* end confdefs.h. */
35800 $ac_includes_default
35801 typedef pid_t ac__type_new_;
35805 if ((ac__type_new_ *) 0)
35807 if (sizeof (ac__type_new_))
35813 rm -f conftest.$ac_objext
35814 if { (ac_try="$ac_compile"
35815 case "(($ac_try" in
35816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35817 *) ac_try_echo=$ac_try;;
35819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35820 (eval "$ac_compile") 2>conftest.er1
35822 grep -v '^ *+' conftest.er1 >conftest.err
35824 cat conftest.err >&5
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); } && {
35827 test -z "$ac_c_werror_flag" ||
35828 test ! -s conftest.err
35829 } && test -s conftest.$ac_objext; then
35830 ac_cv_type_pid_t=yes
35832 echo "$as_me: failed program was:" >&5
35833 sed 's/^/| /' conftest.$ac_ext >&5
35835 ac_cv_type_pid_t=no
35838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35840 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35841 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35842 if test $ac_cv_type_pid_t = yes; then
35846 cat >>confdefs.h <<_ACEOF
35852 { echo "$as_me:$LINENO: checking for size_t" >&5
35853 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35854 if test "${ac_cv_type_size_t+set}" = set; then
35855 echo $ECHO_N "(cached) $ECHO_C" >&6
35857 cat >conftest.$ac_ext <<_ACEOF
35860 cat confdefs.h >>conftest.$ac_ext
35861 cat >>conftest.$ac_ext <<_ACEOF
35862 /* end confdefs.h. */
35863 $ac_includes_default
35864 typedef size_t ac__type_new_;
35868 if ((ac__type_new_ *) 0)
35870 if (sizeof (ac__type_new_))
35876 rm -f conftest.$ac_objext
35877 if { (ac_try="$ac_compile"
35878 case "(($ac_try" in
35879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35880 *) ac_try_echo=$ac_try;;
35882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35883 (eval "$ac_compile") 2>conftest.er1
35885 grep -v '^ *+' conftest.er1 >conftest.err
35887 cat conftest.err >&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); } && {
35890 test -z "$ac_c_werror_flag" ||
35891 test ! -s conftest.err
35892 } && test -s conftest.$ac_objext; then
35893 ac_cv_type_size_t=yes
35895 echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.$ac_ext >&5
35898 ac_cv_type_size_t=no
35901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35903 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35904 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35905 if test $ac_cv_type_size_t = yes; then
35909 cat >>confdefs.h <<_ACEOF
35910 #define size_t unsigned int
35916 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35917 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35918 if test "${ac_cv_type_ssize_t+set}" = set; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 cat >conftest.$ac_ext <<_ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927 $ac_includes_default
35928 typedef ssize_t ac__type_new_;
35932 if ((ac__type_new_ *) 0)
35934 if (sizeof (ac__type_new_))
35940 rm -f conftest.$ac_objext
35941 if { (ac_try="$ac_compile"
35942 case "(($ac_try" in
35943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35944 *) ac_try_echo=$ac_try;;
35946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35947 (eval "$ac_compile") 2>conftest.er1
35949 grep -v '^ *+' conftest.er1 >conftest.err
35951 cat conftest.err >&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); } && {
35954 test -z "$ac_c_werror_flag" ||
35955 test ! -s conftest.err
35956 } && test -s conftest.$ac_objext; then
35957 ac_cv_type_ssize_t=yes
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.$ac_ext >&5
35962 ac_cv_type_ssize_t=no
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35967 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35968 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35969 if test $ac_cv_type_ssize_t = yes; then
35971 cat >>confdefs.h <<_ACEOF
35972 #define HAVE_SSIZE_T 1
35980 ac_cpp='$CXXCPP $CPPFLAGS'
35981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35984 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35985 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35986 if test "${wx_cv_size_t_is_uint+set}" = set; then
35987 echo $ECHO_N "(cached) $ECHO_C" >&6
35990 cat >conftest.$ac_ext <<_ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 #include <stddef.h>
36003 struct Foo { void foo(size_t); void foo(unsigned int); };
36011 rm -f conftest.$ac_objext
36012 if { (ac_try="$ac_compile"
36013 case "(($ac_try" in
36014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36015 *) ac_try_echo=$ac_try;;
36017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36018 (eval "$ac_compile") 2>conftest.er1
36020 grep -v '^ *+' conftest.er1 >conftest.err
36022 cat conftest.err >&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } && {
36025 test -z "$ac_cxx_werror_flag" ||
36026 test ! -s conftest.err
36027 } && test -s conftest.$ac_objext; then
36028 wx_cv_size_t_is_uint=no
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.$ac_ext >&5
36033 wx_cv_size_t_is_uint=yes
36037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36041 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36042 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36044 if test "$wx_cv_size_t_is_uint" = "yes"; then
36045 cat >>confdefs.h <<\_ACEOF
36046 #define wxSIZE_T_IS_UINT 1
36050 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36051 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36052 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36053 echo $ECHO_N "(cached) $ECHO_C" >&6
36055 cat >conftest.$ac_ext <<_ACEOF
36058 cat confdefs.h >>conftest.$ac_ext
36059 cat >>conftest.$ac_ext <<_ACEOF
36060 /* end confdefs.h. */
36061 #include <stddef.h>
36068 struct Foo { void foo(size_t); void foo(unsigned long); };
36076 rm -f conftest.$ac_objext
36077 if { (ac_try="$ac_compile"
36078 case "(($ac_try" in
36079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36080 *) ac_try_echo=$ac_try;;
36082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36083 (eval "$ac_compile") 2>conftest.er1
36085 grep -v '^ *+' conftest.er1 >conftest.err
36087 cat conftest.err >&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); } && {
36090 test -z "$ac_cxx_werror_flag" ||
36091 test ! -s conftest.err
36092 } && test -s conftest.$ac_objext; then
36093 wx_cv_size_t_is_ulong=no
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36098 wx_cv_size_t_is_ulong=yes
36102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36105 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36106 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36108 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36109 cat >>confdefs.h <<\_ACEOF
36110 #define wxSIZE_T_IS_ULONG 1
36116 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36117 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36118 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36119 echo $ECHO_N "(cached) $ECHO_C" >&6
36121 cat >conftest.$ac_ext <<_ACEOF
36124 cat confdefs.h >>conftest.$ac_ext
36125 cat >>conftest.$ac_ext <<_ACEOF
36126 /* end confdefs.h. */
36134 struct Foo { void foo(wchar_t);
36135 void foo(unsigned short);
36136 void foo(unsigned int);
36137 void foo(unsigned long); };
36145 rm -f conftest.$ac_objext
36146 if { (ac_try="$ac_compile"
36147 case "(($ac_try" in
36148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36149 *) ac_try_echo=$ac_try;;
36151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36152 (eval "$ac_compile") 2>conftest.er1
36154 grep -v '^ *+' conftest.er1 >conftest.err
36156 cat conftest.err >&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } && {
36159 test -z "$ac_cxx_werror_flag" ||
36160 test ! -s conftest.err
36161 } && test -s conftest.$ac_objext; then
36162 wx_cv_wchar_t_is_separate_type=yes
36164 echo "$as_me: failed program was:" >&5
36165 sed 's/^/| /' conftest.$ac_ext >&5
36167 wx_cv_wchar_t_is_separate_type=no
36171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36174 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36175 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36177 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36178 cat >>confdefs.h <<\_ACEOF
36179 #define wxWCHAR_T_IS_REAL_TYPE 1
36183 cat >>confdefs.h <<\_ACEOF
36184 #define wxWCHAR_T_IS_REAL_TYPE 0
36190 ac_cpp='$CPP $CPPFLAGS'
36191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36196 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36197 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36198 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36199 echo $ECHO_N "(cached) $ECHO_C" >&6
36202 cat >conftest.$ac_ext <<_ACEOF
36205 cat confdefs.h >>conftest.$ac_ext
36206 cat >>conftest.$ac_ext <<_ACEOF
36207 /* end confdefs.h. */
36221 rm -f conftest.$ac_objext
36222 if { (ac_try="$ac_compile"
36223 case "(($ac_try" in
36224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36225 *) ac_try_echo=$ac_try;;
36227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36228 (eval "$ac_compile") 2>conftest.er1
36230 grep -v '^ *+' conftest.er1 >conftest.err
36232 cat conftest.err >&5
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); } && {
36235 test -z "$ac_c_werror_flag" ||
36236 test ! -s conftest.err
36237 } && test -s conftest.$ac_objext; then
36239 wx_cv_struct_pw_gecos=yes
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36246 wx_cv_struct_pw_gecos=no
36251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36256 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36258 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36259 cat >>confdefs.h <<\_ACEOF
36260 #define HAVE_PW_GECOS 1
36269 for ac_func in wcslen
36271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36275 echo $ECHO_N "(cached) $ECHO_C" >&6
36277 cat >conftest.$ac_ext <<_ACEOF
36280 cat confdefs.h >>conftest.$ac_ext
36281 cat >>conftest.$ac_ext <<_ACEOF
36282 /* end confdefs.h. */
36283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36285 #define $ac_func innocuous_$ac_func
36287 /* System header to define __stub macros and hopefully few prototypes,
36288 which can conflict with char $ac_func (); below.
36289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36290 <limits.h> exists even on freestanding compilers. */
36293 # include <limits.h>
36295 # include <assert.h>
36300 /* Override any GCC internal prototype to avoid an error.
36301 Use char because int might match the return type of a GCC
36302 builtin and then its argument prototype would still apply. */
36307 /* The GNU C library defines this for functions which it implements
36308 to always fail with ENOSYS. Some functions are actually named
36309 something starting with __ and the normal name is an alias. */
36310 #if defined __stub_$ac_func || defined __stub___$ac_func
36317 return $ac_func ();
36322 rm -f conftest.$ac_objext conftest$ac_exeext
36323 if { (ac_try="$ac_link"
36324 case "(($ac_try" in
36325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36326 *) ac_try_echo=$ac_try;;
36328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36329 (eval "$ac_link") 2>conftest.er1
36331 grep -v '^ *+' conftest.er1 >conftest.err
36333 cat conftest.err >&5
36334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335 (exit $ac_status); } && {
36336 test -z "$ac_c_werror_flag" ||
36337 test ! -s conftest.err
36338 } && test -s conftest$ac_exeext &&
36339 $as_test_x conftest$ac_exeext; then
36340 eval "$as_ac_var=yes"
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.$ac_ext >&5
36345 eval "$as_ac_var=no"
36348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36349 conftest$ac_exeext conftest.$ac_ext
36351 ac_res=`eval echo '${'$as_ac_var'}'`
36352 { echo "$as_me:$LINENO: result: $ac_res" >&5
36353 echo "${ECHO_T}$ac_res" >&6; }
36354 if test `eval echo '${'$as_ac_var'}'` = yes; then
36355 cat >>confdefs.h <<_ACEOF
36356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36363 if test "$WCSLEN_FOUND" = 0; then
36364 if test "$TOOLKIT" = "MSW"; then
36365 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36366 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36367 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36368 echo $ECHO_N "(cached) $ECHO_C" >&6
36370 ac_check_lib_save_LIBS=$LIBS
36371 LIBS="-lmsvcrt $LIBS"
36372 cat >conftest.$ac_ext <<_ACEOF
36375 cat confdefs.h >>conftest.$ac_ext
36376 cat >>conftest.$ac_ext <<_ACEOF
36377 /* end confdefs.h. */
36379 /* Override any GCC internal prototype to avoid an error.
36380 Use char because int might match the return type of a GCC
36381 builtin and then its argument prototype would still apply. */
36394 rm -f conftest.$ac_objext conftest$ac_exeext
36395 if { (ac_try="$ac_link"
36396 case "(($ac_try" in
36397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36398 *) ac_try_echo=$ac_try;;
36400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36401 (eval "$ac_link") 2>conftest.er1
36403 grep -v '^ *+' conftest.er1 >conftest.err
36405 cat conftest.err >&5
36406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 (exit $ac_status); } && {
36408 test -z "$ac_c_werror_flag" ||
36409 test ! -s conftest.err
36410 } && test -s conftest$ac_exeext &&
36411 $as_test_x conftest$ac_exeext; then
36412 ac_cv_lib_msvcrt_wcslen=yes
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.$ac_ext >&5
36417 ac_cv_lib_msvcrt_wcslen=no
36420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36421 conftest$ac_exeext conftest.$ac_ext
36422 LIBS=$ac_check_lib_save_LIBS
36424 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36425 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36426 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36431 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36432 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36433 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36436 ac_check_lib_save_LIBS=$LIBS
36438 cat >conftest.$ac_ext <<_ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36445 /* Override any GCC internal prototype to avoid an error.
36446 Use char because int might match the return type of a GCC
36447 builtin and then its argument prototype would still apply. */
36460 rm -f conftest.$ac_objext conftest$ac_exeext
36461 if { (ac_try="$ac_link"
36462 case "(($ac_try" in
36463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36464 *) ac_try_echo=$ac_try;;
36466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36467 (eval "$ac_link") 2>conftest.er1
36469 grep -v '^ *+' conftest.er1 >conftest.err
36471 cat conftest.err >&5
36472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36473 (exit $ac_status); } && {
36474 test -z "$ac_c_werror_flag" ||
36475 test ! -s conftest.err
36476 } && test -s conftest$ac_exeext &&
36477 $as_test_x conftest$ac_exeext; then
36478 ac_cv_lib_w_wcslen=yes
36480 echo "$as_me: failed program was:" >&5
36481 sed 's/^/| /' conftest.$ac_ext >&5
36483 ac_cv_lib_w_wcslen=no
36486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36487 conftest$ac_exeext conftest.$ac_ext
36488 LIBS=$ac_check_lib_save_LIBS
36490 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36491 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36492 if test $ac_cv_lib_w_wcslen = yes; then
36502 if test "$WCSLEN_FOUND" = 1; then
36503 cat >>confdefs.h <<\_ACEOF
36504 #define HAVE_WCSLEN 1
36515 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36518 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 cat >conftest.$ac_ext <<_ACEOF
36526 cat confdefs.h >>conftest.$ac_ext
36527 cat >>conftest.$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36531 #define $ac_func innocuous_$ac_func
36533 /* System header to define __stub macros and hopefully few prototypes,
36534 which can conflict with char $ac_func (); below.
36535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36536 <limits.h> exists even on freestanding compilers. */
36539 # include <limits.h>
36541 # include <assert.h>
36546 /* Override any GCC internal prototype to avoid an error.
36547 Use char because int might match the return type of a GCC
36548 builtin and then its argument prototype would still apply. */
36553 /* The GNU C library defines this for functions which it implements
36554 to always fail with ENOSYS. Some functions are actually named
36555 something starting with __ and the normal name is an alias. */
36556 #if defined __stub_$ac_func || defined __stub___$ac_func
36563 return $ac_func ();
36568 rm -f conftest.$ac_objext conftest$ac_exeext
36569 if { (ac_try="$ac_link"
36570 case "(($ac_try" in
36571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36572 *) ac_try_echo=$ac_try;;
36574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36575 (eval "$ac_link") 2>conftest.er1
36577 grep -v '^ *+' conftest.er1 >conftest.err
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } && {
36582 test -z "$ac_c_werror_flag" ||
36583 test ! -s conftest.err
36584 } && test -s conftest$ac_exeext &&
36585 $as_test_x conftest$ac_exeext; then
36586 eval "$as_ac_var=yes"
36588 echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.$ac_ext >&5
36591 eval "$as_ac_var=no"
36594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36595 conftest$ac_exeext conftest.$ac_ext
36597 ac_res=`eval echo '${'$as_ac_var'}'`
36598 { echo "$as_me:$LINENO: result: $ac_res" >&5
36599 echo "${ECHO_T}$ac_res" >&6; }
36600 if test `eval echo '${'$as_ac_var'}'` = yes; then
36601 cat >>confdefs.h <<_ACEOF
36602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36610 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36613 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36614 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36615 if test "${ac_cv_type_mbstate_t+set}" = set; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36618 cat >conftest.$ac_ext <<_ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36626 typedef mbstate_t ac__type_new_;
36630 if ((ac__type_new_ *) 0)
36632 if (sizeof (ac__type_new_))
36638 rm -f conftest.$ac_objext
36639 if { (ac_try="$ac_compile"
36640 case "(($ac_try" in
36641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36642 *) ac_try_echo=$ac_try;;
36644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36645 (eval "$ac_compile") 2>conftest.er1
36647 grep -v '^ *+' conftest.er1 >conftest.err
36649 cat conftest.err >&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); } && {
36652 test -z "$ac_c_werror_flag" ||
36653 test ! -s conftest.err
36654 } && test -s conftest.$ac_objext; then
36655 ac_cv_type_mbstate_t=yes
36657 echo "$as_me: failed program was:" >&5
36658 sed 's/^/| /' conftest.$ac_ext >&5
36660 ac_cv_type_mbstate_t=no
36663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36665 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36666 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36667 if test $ac_cv_type_mbstate_t = yes; then
36669 cat >>confdefs.h <<_ACEOF
36670 #define HAVE_MBSTATE_T 1
36674 for ac_func in wcsrtombs
36676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36680 echo $ECHO_N "(cached) $ECHO_C" >&6
36682 cat >conftest.$ac_ext <<_ACEOF
36685 cat confdefs.h >>conftest.$ac_ext
36686 cat >>conftest.$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36690 #define $ac_func innocuous_$ac_func
36692 /* System header to define __stub macros and hopefully few prototypes,
36693 which can conflict with char $ac_func (); below.
36694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36695 <limits.h> exists even on freestanding compilers. */
36698 # include <limits.h>
36700 # include <assert.h>
36705 /* Override any GCC internal prototype to avoid an error.
36706 Use char because int might match the return type of a GCC
36707 builtin and then its argument prototype would still apply. */
36712 /* The GNU C library defines this for functions which it implements
36713 to always fail with ENOSYS. Some functions are actually named
36714 something starting with __ and the normal name is an alias. */
36715 #if defined __stub_$ac_func || defined __stub___$ac_func
36722 return $ac_func ();
36727 rm -f conftest.$ac_objext conftest$ac_exeext
36728 if { (ac_try="$ac_link"
36729 case "(($ac_try" in
36730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36731 *) ac_try_echo=$ac_try;;
36733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36734 (eval "$ac_link") 2>conftest.er1
36736 grep -v '^ *+' conftest.er1 >conftest.err
36738 cat conftest.err >&5
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); } && {
36741 test -z "$ac_c_werror_flag" ||
36742 test ! -s conftest.err
36743 } && test -s conftest$ac_exeext &&
36744 $as_test_x conftest$ac_exeext; then
36745 eval "$as_ac_var=yes"
36747 echo "$as_me: failed program was:" >&5
36748 sed 's/^/| /' conftest.$ac_ext >&5
36750 eval "$as_ac_var=no"
36753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36754 conftest$ac_exeext conftest.$ac_ext
36756 ac_res=`eval echo '${'$as_ac_var'}'`
36757 { echo "$as_me:$LINENO: result: $ac_res" >&5
36758 echo "${ECHO_T}$ac_res" >&6; }
36759 if test `eval echo '${'$as_ac_var'}'` = yes; then
36760 cat >>confdefs.h <<_ACEOF
36761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36773 for ac_func in snprintf vsnprintf vsscanf
36775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36779 echo $ECHO_N "(cached) $ECHO_C" >&6
36781 cat >conftest.$ac_ext <<_ACEOF
36784 cat confdefs.h >>conftest.$ac_ext
36785 cat >>conftest.$ac_ext <<_ACEOF
36786 /* end confdefs.h. */
36787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36789 #define $ac_func innocuous_$ac_func
36791 /* System header to define __stub macros and hopefully few prototypes,
36792 which can conflict with char $ac_func (); below.
36793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36794 <limits.h> exists even on freestanding compilers. */
36797 # include <limits.h>
36799 # include <assert.h>
36804 /* Override any GCC internal prototype to avoid an error.
36805 Use char because int might match the return type of a GCC
36806 builtin and then its argument prototype would still apply. */
36811 /* The GNU C library defines this for functions which it implements
36812 to always fail with ENOSYS. Some functions are actually named
36813 something starting with __ and the normal name is an alias. */
36814 #if defined __stub_$ac_func || defined __stub___$ac_func
36821 return $ac_func ();
36826 rm -f conftest.$ac_objext conftest$ac_exeext
36827 if { (ac_try="$ac_link"
36828 case "(($ac_try" in
36829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36830 *) ac_try_echo=$ac_try;;
36832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36833 (eval "$ac_link") 2>conftest.er1
36835 grep -v '^ *+' conftest.er1 >conftest.err
36837 cat conftest.err >&5
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); } && {
36840 test -z "$ac_c_werror_flag" ||
36841 test ! -s conftest.err
36842 } && test -s conftest$ac_exeext &&
36843 $as_test_x conftest$ac_exeext; then
36844 eval "$as_ac_var=yes"
36846 echo "$as_me: failed program was:" >&5
36847 sed 's/^/| /' conftest.$ac_ext >&5
36849 eval "$as_ac_var=no"
36852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36853 conftest$ac_exeext conftest.$ac_ext
36855 ac_res=`eval echo '${'$as_ac_var'}'`
36856 { echo "$as_me:$LINENO: result: $ac_res" >&5
36857 echo "${ECHO_T}$ac_res" >&6; }
36858 if test `eval echo '${'$as_ac_var'}'` = yes; then
36859 cat >>confdefs.h <<_ACEOF
36860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36873 if test "$ac_cv_func_vsnprintf" = "yes"; then
36874 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36875 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36876 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36877 echo $ECHO_N "(cached) $ECHO_C" >&6
36880 cat >conftest.$ac_ext <<_ACEOF
36883 cat confdefs.h >>conftest.$ac_ext
36884 cat >>conftest.$ac_ext <<_ACEOF
36885 /* end confdefs.h. */
36888 #include <stdarg.h>
36890 #if __MSL__ >= 0x6000
36892 using namespace std;
36902 vsnprintf(buf, 10u, "%s", ap);
36908 rm -f conftest.$ac_objext
36909 if { (ac_try="$ac_compile"
36910 case "(($ac_try" in
36911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36912 *) ac_try_echo=$ac_try;;
36914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36915 (eval "$ac_compile") 2>conftest.er1
36917 grep -v '^ *+' conftest.er1 >conftest.err
36919 cat conftest.err >&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } && {
36922 test -z "$ac_cxx_werror_flag" ||
36923 test ! -s conftest.err
36924 } && test -s conftest.$ac_objext; then
36925 wx_cv_func_vsnprintf_decl=yes
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36930 wx_cv_func_vsnprintf_decl=no
36934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36938 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36939 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36941 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36942 cat >>confdefs.h <<\_ACEOF
36943 #define HAVE_VSNPRINTF_DECL 1
36947 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36948 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36949 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36950 echo $ECHO_N "(cached) $ECHO_C" >&6
36953 cat >conftest.$ac_ext <<_ACEOF
36956 cat confdefs.h >>conftest.$ac_ext
36957 cat >>conftest.$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36961 #include <stdarg.h>
36963 #if __MSL__ >= 0x6000
36965 using namespace std;
36975 const char *fmt = "%s";
36976 vsnprintf(buf, 10u, fmt, ap);
36982 rm -f conftest.$ac_objext
36983 if { (ac_try="$ac_compile"
36984 case "(($ac_try" in
36985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36986 *) ac_try_echo=$ac_try;;
36988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36989 (eval "$ac_compile") 2>conftest.er1
36991 grep -v '^ *+' conftest.er1 >conftest.err
36993 cat conftest.err >&5
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); } && {
36996 test -z "$ac_cxx_werror_flag" ||
36997 test ! -s conftest.err
36998 } && test -s conftest.$ac_objext; then
36999 wx_cv_func_broken_vsnprintf_decl=no
37001 echo "$as_me: failed program was:" >&5
37002 sed 's/^/| /' conftest.$ac_ext >&5
37004 wx_cv_func_broken_vsnprintf_decl=yes
37008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37012 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37013 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37015 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37016 cat >>confdefs.h <<\_ACEOF
37017 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37024 if test "$ac_cv_func_snprintf" = "yes"; then
37025 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37026 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37027 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37031 cat >conftest.$ac_ext <<_ACEOF
37034 cat confdefs.h >>conftest.$ac_ext
37035 cat >>conftest.$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37039 #include <stdarg.h>
37041 #if __MSL__ >= 0x6000
37043 using namespace std;
37052 snprintf(buf, 10u, "%s", "wx");
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37062 *) ac_try_echo=$ac_try;;
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37067 grep -v '^ *+' conftest.er1 >conftest.err
37069 cat conftest.err >&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } && {
37072 test -z "$ac_cxx_werror_flag" ||
37073 test ! -s conftest.err
37074 } && test -s conftest.$ac_objext; then
37075 wx_cv_func_snprintf_decl=yes
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37080 wx_cv_func_snprintf_decl=no
37084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37088 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37089 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37091 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37092 cat >>confdefs.h <<\_ACEOF
37093 #define HAVE_SNPRINTF_DECL 1
37098 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37100 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37101 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37102 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37103 echo $ECHO_N "(cached) $ECHO_C" >&6
37106 if test "$cross_compiling" = yes; then
37108 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37109 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37110 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37111 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37112 wx_cv_func_snprintf_pos_params=no
37116 cat >conftest.$ac_ext <<_ACEOF
37119 cat confdefs.h >>conftest.$ac_ext
37120 cat >>conftest.$ac_ext <<_ACEOF
37121 /* end confdefs.h. */
37128 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37129 if (strcmp ("2 3 1", buffer) == 0)
37135 rm -f conftest$ac_exeext
37136 if { (ac_try="$ac_link"
37137 case "(($ac_try" in
37138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37139 *) ac_try_echo=$ac_try;;
37141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37142 (eval "$ac_link") 2>&5
37144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37146 { (case "(($ac_try" in
37147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37148 *) ac_try_echo=$ac_try;;
37150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37151 (eval "$ac_try") 2>&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); }; }; then
37155 wx_cv_func_snprintf_pos_params=no
37157 echo "$as_me: program exited with status $ac_status" >&5
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37161 ( exit $ac_status )
37162 wx_cv_func_snprintf_pos_params=yes
37164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37171 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37172 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37174 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37175 cat >>confdefs.h <<\_ACEOF
37176 #define HAVE_UNIX98_PRINTF 1
37183 if test "$ac_cv_func_vsscanf" = "yes"; then
37184 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37185 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37186 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37187 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 cat >conftest.$ac_ext <<_ACEOF
37193 cat confdefs.h >>conftest.$ac_ext
37194 cat >>conftest.$ac_ext <<_ACEOF
37195 /* end confdefs.h. */
37198 #include <stdarg.h>
37200 #if __MSL__ >= 0x6000
37202 using namespace std;
37212 vsscanf(buf, "%s", args);
37218 rm -f conftest.$ac_objext
37219 if { (ac_try="$ac_compile"
37220 case "(($ac_try" in
37221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37222 *) ac_try_echo=$ac_try;;
37224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37225 (eval "$ac_compile") 2>conftest.er1
37227 grep -v '^ *+' conftest.er1 >conftest.err
37229 cat conftest.err >&5
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); } && {
37232 test -z "$ac_cxx_werror_flag" ||
37233 test ! -s conftest.err
37234 } && test -s conftest.$ac_objext; then
37235 wx_cv_func_vsscanf_decl=yes
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.$ac_ext >&5
37240 wx_cv_func_vsscanf_decl=no
37244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37248 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37249 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37251 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37252 cat >>confdefs.h <<\_ACEOF
37253 #define HAVE_VSSCANF_DECL 1
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37265 if test "$wxUSE_UNICODE" = yes; then
37267 wchar_headers="#include <stdio.h>
37268 #include <wchar.h>"
37272 for ac_header in widec.h
37274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37278 echo $ECHO_N "(cached) $ECHO_C" >&6
37280 cat >conftest.$ac_ext <<_ACEOF
37283 cat confdefs.h >>conftest.$ac_ext
37284 cat >>conftest.$ac_ext <<_ACEOF
37285 /* end confdefs.h. */
37286 $ac_includes_default
37288 #include <$ac_header>
37290 rm -f conftest.$ac_objext
37291 if { (ac_try="$ac_compile"
37292 case "(($ac_try" in
37293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37294 *) ac_try_echo=$ac_try;;
37296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37297 (eval "$ac_compile") 2>conftest.er1
37299 grep -v '^ *+' conftest.er1 >conftest.err
37301 cat conftest.err >&5
37302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37303 (exit $ac_status); } && {
37304 test -z "$ac_c_werror_flag" ||
37305 test ! -s conftest.err
37306 } && test -s conftest.$ac_objext; then
37307 eval "$as_ac_Header=yes"
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37312 eval "$as_ac_Header=no"
37315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37317 ac_res=`eval echo '${'$as_ac_Header'}'`
37318 { echo "$as_me:$LINENO: result: $ac_res" >&5
37319 echo "${ECHO_T}$ac_res" >&6; }
37320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37321 cat >>confdefs.h <<_ACEOF
37322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37329 if test "$ac_cv_header_widec_h" = "yes"; then
37330 wchar_headers="$wchar_headers
37331 #include <widec.h>"
37336 for wx_func in putws fputws wprintf vswprintf vswscanf
37338 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37339 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37340 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37344 cat >conftest.$ac_ext <<_ACEOF
37348 cat confdefs.h >>conftest.$ac_ext
37349 cat >>conftest.$ac_ext <<_ACEOF
37350 /* end confdefs.h. */
37353 $ac_includes_default
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (ac_try="$ac_link"
37371 case "(($ac_try" in
37372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37373 *) ac_try_echo=$ac_try;;
37375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37376 (eval "$ac_link") 2>conftest.er1
37378 grep -v '^ *+' conftest.er1 >conftest.err
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } && {
37383 test -z "$ac_c_werror_flag" ||
37384 test ! -s conftest.err
37385 } && test -s conftest$ac_exeext &&
37386 $as_test_x conftest$ac_exeext; then
37387 eval wx_cv_func_$wx_func=yes
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37392 eval wx_cv_func_$wx_func=no
37395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37396 conftest$ac_exeext conftest.$ac_ext
37399 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37400 { echo "$as_me:$LINENO: result: $ac_res" >&5
37401 echo "${ECHO_T}$ac_res" >&6; }
37403 if eval test \$wx_cv_func_$wx_func = yes
37405 cat >>confdefs.h <<_ACEOF
37406 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37417 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37418 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37419 cat >conftest.$ac_ext <<_ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37434 rm -f conftest.$ac_objext
37435 if { (ac_try="$ac_compile"
37436 case "(($ac_try" in
37437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37438 *) ac_try_echo=$ac_try;;
37440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37441 (eval "$ac_compile") 2>conftest.er1
37443 grep -v '^ *+' conftest.er1 >conftest.err
37445 cat conftest.err >&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); } && {
37448 test -z "$ac_c_werror_flag" ||
37449 test ! -s conftest.err
37450 } && test -s conftest.$ac_objext; then
37451 { echo "$as_me:$LINENO: result: yes" >&5
37452 echo "${ECHO_T}yes" >&6; }
37453 cat >>confdefs.h <<\_ACEOF
37454 #define HAVE__VSNWPRINTF 1
37458 echo "$as_me: failed program was:" >&5
37459 sed 's/^/| /' conftest.$ac_ext >&5
37461 { echo "$as_me:$LINENO: result: no" >&5
37462 echo "${ECHO_T}no" >&6; }
37465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37468 if test "$wxUSE_FILE" = "yes"; then
37470 for wx_func in fsync
37472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37474 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37478 cat >conftest.$ac_ext <<_ACEOF
37482 cat confdefs.h >>conftest.$ac_ext
37483 cat >>conftest.$ac_ext <<_ACEOF
37484 /* end confdefs.h. */
37487 $ac_includes_default
37503 rm -f conftest.$ac_objext conftest$ac_exeext
37504 if { (ac_try="$ac_link"
37505 case "(($ac_try" in
37506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37507 *) ac_try_echo=$ac_try;;
37509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37510 (eval "$ac_link") 2>conftest.er1
37512 grep -v '^ *+' conftest.er1 >conftest.err
37514 cat conftest.err >&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); } && {
37517 test -z "$ac_c_werror_flag" ||
37518 test ! -s conftest.err
37519 } && test -s conftest$ac_exeext &&
37520 $as_test_x conftest$ac_exeext; then
37521 eval wx_cv_func_$wx_func=yes
37523 echo "$as_me: failed program was:" >&5
37524 sed 's/^/| /' conftest.$ac_ext >&5
37526 eval wx_cv_func_$wx_func=no
37529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37530 conftest$ac_exeext conftest.$ac_ext
37533 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37534 { echo "$as_me:$LINENO: result: $ac_res" >&5
37535 echo "${ECHO_T}$ac_res" >&6; }
37537 if eval test \$wx_cv_func_$wx_func = yes
37539 cat >>confdefs.h <<_ACEOF
37540 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37553 ac_cpp='$CXXCPP $CPPFLAGS'
37554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37559 for wx_func in round
37561 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37562 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37563 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37567 cat >conftest.$ac_ext <<_ACEOF
37571 cat confdefs.h >>conftest.$ac_ext
37572 cat >>conftest.$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37576 $ac_includes_default
37592 rm -f conftest.$ac_objext conftest$ac_exeext
37593 if { (ac_try="$ac_link"
37594 case "(($ac_try" in
37595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37596 *) ac_try_echo=$ac_try;;
37598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37599 (eval "$ac_link") 2>conftest.er1
37601 grep -v '^ *+' conftest.er1 >conftest.err
37603 cat conftest.err >&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); } && {
37606 test -z "$ac_cxx_werror_flag" ||
37607 test ! -s conftest.err
37608 } && test -s conftest$ac_exeext &&
37609 $as_test_x conftest$ac_exeext; then
37610 eval wx_cv_func_$wx_func=yes
37612 echo "$as_me: failed program was:" >&5
37613 sed 's/^/| /' conftest.$ac_ext >&5
37615 eval wx_cv_func_$wx_func=no
37618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37619 conftest$ac_exeext conftest.$ac_ext
37622 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37623 { echo "$as_me:$LINENO: result: $ac_res" >&5
37624 echo "${ECHO_T}$ac_res" >&6; }
37626 if eval test \$wx_cv_func_$wx_func = yes
37628 cat >>confdefs.h <<_ACEOF
37629 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37640 ac_cpp='$CPP $CPPFLAGS'
37641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37646 if test "$TOOLKIT" != "MSW"; then
37648 if test "$wxUSE_LIBICONV" != "no" ; then
37652 # Check whether --with-libiconv-prefix was given.
37653 if test "${with_libiconv_prefix+set}" = set; then
37654 withval=$with_libiconv_prefix;
37655 for dir in `echo "$withval" | tr : ' '`; do
37656 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37657 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37663 { echo "$as_me:$LINENO: checking for iconv" >&5
37664 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37665 if test "${am_cv_func_iconv+set}" = set; then
37666 echo $ECHO_N "(cached) $ECHO_C" >&6
37669 am_cv_func_iconv="no, consider installing GNU libiconv"
37671 cat >conftest.$ac_ext <<_ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37677 #include <stdlib.h>
37682 iconv_t cd = iconv_open("","");
37683 iconv(cd,NULL,NULL,NULL,NULL);
37689 rm -f conftest.$ac_objext conftest$ac_exeext
37690 if { (ac_try="$ac_link"
37691 case "(($ac_try" in
37692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37693 *) ac_try_echo=$ac_try;;
37695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37696 (eval "$ac_link") 2>conftest.er1
37698 grep -v '^ *+' conftest.er1 >conftest.err
37700 cat conftest.err >&5
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); } && {
37703 test -z "$ac_c_werror_flag" ||
37704 test ! -s conftest.err
37705 } && test -s conftest$ac_exeext &&
37706 $as_test_x conftest$ac_exeext; then
37707 am_cv_func_iconv=yes
37709 echo "$as_me: failed program was:" >&5
37710 sed 's/^/| /' conftest.$ac_ext >&5
37715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37716 conftest$ac_exeext conftest.$ac_ext
37717 if test "$am_cv_func_iconv" != yes; then
37718 am_save_LIBS="$LIBS"
37719 LIBS="$LIBS -liconv"
37720 cat >conftest.$ac_ext <<_ACEOF
37723 cat confdefs.h >>conftest.$ac_ext
37724 cat >>conftest.$ac_ext <<_ACEOF
37725 /* end confdefs.h. */
37726 #include <stdlib.h>
37731 iconv_t cd = iconv_open("","");
37732 iconv(cd,NULL,NULL,NULL,NULL);
37738 rm -f conftest.$ac_objext conftest$ac_exeext
37739 if { (ac_try="$ac_link"
37740 case "(($ac_try" in
37741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37742 *) ac_try_echo=$ac_try;;
37744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37745 (eval "$ac_link") 2>conftest.er1
37747 grep -v '^ *+' conftest.er1 >conftest.err
37749 cat conftest.err >&5
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); } && {
37752 test -z "$ac_c_werror_flag" ||
37753 test ! -s conftest.err
37754 } && test -s conftest$ac_exeext &&
37755 $as_test_x conftest$ac_exeext; then
37756 am_cv_lib_iconv=yes
37757 am_cv_func_iconv=yes
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.$ac_ext >&5
37765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37766 conftest$ac_exeext conftest.$ac_ext
37767 LIBS="$am_save_LIBS"
37771 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37772 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37773 if test "$am_cv_func_iconv" = yes; then
37775 cat >>confdefs.h <<\_ACEOF
37776 #define HAVE_ICONV 1
37779 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37780 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37781 if test "${wx_cv_func_iconv_const+set}" = set; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37784 cat >conftest.$ac_ext <<_ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37791 #include <stdlib.h>
37797 #if defined(__STDC__) || defined(__cplusplus)
37798 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37811 rm -f conftest.$ac_objext
37812 if { (ac_try="$ac_compile"
37813 case "(($ac_try" in
37814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37815 *) ac_try_echo=$ac_try;;
37817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37818 (eval "$ac_compile") 2>conftest.er1
37820 grep -v '^ *+' conftest.er1 >conftest.err
37822 cat conftest.err >&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } && {
37825 test -z "$ac_c_werror_flag" ||
37826 test ! -s conftest.err
37827 } && test -s conftest.$ac_objext; then
37828 wx_cv_func_iconv_const="no"
37830 echo "$as_me: failed program was:" >&5
37831 sed 's/^/| /' conftest.$ac_ext >&5
37833 wx_cv_func_iconv_const="yes"
37837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37840 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37841 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37844 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37845 iconv_const="const"
37849 cat >>confdefs.h <<_ACEOF
37850 #define ICONV_CONST $iconv_const
37855 if test "$am_cv_lib_iconv" = yes; then
37860 LIBS="$LIBICONV $LIBS"
37863 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37865 for ac_func in sigaction
37867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37873 cat >conftest.$ac_ext <<_ACEOF
37876 cat confdefs.h >>conftest.$ac_ext
37877 cat >>conftest.$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37881 #define $ac_func innocuous_$ac_func
37883 /* System header to define __stub macros and hopefully few prototypes,
37884 which can conflict with char $ac_func (); below.
37885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37886 <limits.h> exists even on freestanding compilers. */
37889 # include <limits.h>
37891 # include <assert.h>
37896 /* Override any GCC internal prototype to avoid an error.
37897 Use char because int might match the return type of a GCC
37898 builtin and then its argument prototype would still apply. */
37903 /* The GNU C library defines this for functions which it implements
37904 to always fail with ENOSYS. Some functions are actually named
37905 something starting with __ and the normal name is an alias. */
37906 #if defined __stub_$ac_func || defined __stub___$ac_func
37913 return $ac_func ();
37918 rm -f conftest.$ac_objext conftest$ac_exeext
37919 if { (ac_try="$ac_link"
37920 case "(($ac_try" in
37921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37922 *) ac_try_echo=$ac_try;;
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_link") 2>conftest.er1
37927 grep -v '^ *+' conftest.er1 >conftest.err
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_c_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest$ac_exeext &&
37935 $as_test_x conftest$ac_exeext; then
37936 eval "$as_ac_var=yes"
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.$ac_ext >&5
37941 eval "$as_ac_var=no"
37944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37945 conftest$ac_exeext conftest.$ac_ext
37947 ac_res=`eval echo '${'$as_ac_var'}'`
37948 { echo "$as_me:$LINENO: result: $ac_res" >&5
37949 echo "${ECHO_T}$ac_res" >&6; }
37950 if test `eval echo '${'$as_ac_var'}'` = yes; then
37951 cat >>confdefs.h <<_ACEOF
37952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37959 if test "$ac_cv_func_sigaction" = "no"; then
37960 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37961 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37962 wxUSE_ON_FATAL_EXCEPTION=no
37965 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37966 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37967 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37968 if test "${wx_cv_type_sa_handler+set}" = set; then
37969 echo $ECHO_N "(cached) $ECHO_C" >&6
37973 ac_cpp='$CXXCPP $CPPFLAGS'
37974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37978 cat >conftest.$ac_ext <<_ACEOF
37981 cat confdefs.h >>conftest.$ac_ext
37982 cat >>conftest.$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37984 #include <signal.h>
37989 extern void testSigHandler(int);
37991 struct sigaction sa;
37992 sa.sa_handler = testSigHandler;
37998 rm -f conftest.$ac_objext
37999 if { (ac_try="$ac_compile"
38000 case "(($ac_try" in
38001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38002 *) ac_try_echo=$ac_try;;
38004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38005 (eval "$ac_compile") 2>conftest.er1
38007 grep -v '^ *+' conftest.er1 >conftest.err
38009 cat conftest.err >&5
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); } && {
38012 test -z "$ac_cxx_werror_flag" ||
38013 test ! -s conftest.err
38014 } && test -s conftest.$ac_objext; then
38016 wx_cv_type_sa_handler=int
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.$ac_ext >&5
38023 wx_cv_type_sa_handler=void
38027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38029 ac_cpp='$CPP $CPPFLAGS'
38030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38036 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38037 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38039 cat >>confdefs.h <<_ACEOF
38040 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38046 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38047 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38048 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38049 if test "${wx_cv_func_backtrace+set}" = set; then
38050 echo $ECHO_N "(cached) $ECHO_C" >&6
38054 ac_cpp='$CXXCPP $CPPFLAGS'
38055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38059 cat >conftest.$ac_ext <<_ACEOF
38062 cat confdefs.h >>conftest.$ac_ext
38063 cat >>conftest.$ac_ext <<_ACEOF
38064 /* end confdefs.h. */
38065 #include <execinfo.h>
38073 backtrace(trace, 1);
38074 messages = backtrace_symbols(trace, 1);
38080 rm -f conftest.$ac_objext
38081 if { (ac_try="$ac_compile"
38082 case "(($ac_try" in
38083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38084 *) ac_try_echo=$ac_try;;
38086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38087 (eval "$ac_compile") 2>conftest.er1
38089 grep -v '^ *+' conftest.er1 >conftest.err
38091 cat conftest.err >&5
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); } && {
38094 test -z "$ac_cxx_werror_flag" ||
38095 test ! -s conftest.err
38096 } && test -s conftest.$ac_objext; then
38097 wx_cv_func_backtrace=yes
38099 echo "$as_me: failed program was:" >&5
38100 sed 's/^/| /' conftest.$ac_ext >&5
38102 wx_cv_func_backtrace=no
38106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38108 ac_cpp='$CPP $CPPFLAGS'
38109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38116 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38117 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38120 if test "$wx_cv_func_backtrace" = "no"; then
38121 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38122 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38123 wxUSE_STACKWALKER=no
38125 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38126 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38127 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38128 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 ac_cpp='$CXXCPP $CPPFLAGS'
38133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38137 cat >conftest.$ac_ext <<_ACEOF
38140 cat confdefs.h >>conftest.$ac_ext
38141 cat >>conftest.$ac_ext <<_ACEOF
38142 /* end confdefs.h. */
38143 #include <cxxabi.h>
38149 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38155 rm -f conftest.$ac_objext conftest$ac_exeext
38156 if { (ac_try="$ac_link"
38157 case "(($ac_try" in
38158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38159 *) ac_try_echo=$ac_try;;
38161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38162 (eval "$ac_link") 2>conftest.er1
38164 grep -v '^ *+' conftest.er1 >conftest.err
38166 cat conftest.err >&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } && {
38169 test -z "$ac_cxx_werror_flag" ||
38170 test ! -s conftest.err
38171 } && test -s conftest$ac_exeext &&
38172 $as_test_x conftest$ac_exeext; then
38173 wx_cv_func_cxa_demangle=yes
38175 echo "$as_me: failed program was:" >&5
38176 sed 's/^/| /' conftest.$ac_ext >&5
38178 wx_cv_func_cxa_demangle=no
38182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38183 conftest$ac_exeext conftest.$ac_ext
38185 ac_cpp='$CPP $CPPFLAGS'
38186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38193 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38194 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38196 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38197 cat >>confdefs.h <<\_ACEOF
38198 #define HAVE_CXA_DEMANGLE 1
38205 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38206 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38207 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38208 wxUSE_STACKWALKER=no
38214 for ac_func in mkstemp mktemp
38216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38220 echo $ECHO_N "(cached) $ECHO_C" >&6
38222 cat >conftest.$ac_ext <<_ACEOF
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38230 #define $ac_func innocuous_$ac_func
38232 /* System header to define __stub macros and hopefully few prototypes,
38233 which can conflict with char $ac_func (); below.
38234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38235 <limits.h> exists even on freestanding compilers. */
38238 # include <limits.h>
38240 # include <assert.h>
38245 /* Override any GCC internal prototype to avoid an error.
38246 Use char because int might match the return type of a GCC
38247 builtin and then its argument prototype would still apply. */
38252 /* The GNU C library defines this for functions which it implements
38253 to always fail with ENOSYS. Some functions are actually named
38254 something starting with __ and the normal name is an alias. */
38255 #if defined __stub_$ac_func || defined __stub___$ac_func
38262 return $ac_func ();
38267 rm -f conftest.$ac_objext conftest$ac_exeext
38268 if { (ac_try="$ac_link"
38269 case "(($ac_try" in
38270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38271 *) ac_try_echo=$ac_try;;
38273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38274 (eval "$ac_link") 2>conftest.er1
38276 grep -v '^ *+' conftest.er1 >conftest.err
38278 cat conftest.err >&5
38279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38280 (exit $ac_status); } && {
38281 test -z "$ac_c_werror_flag" ||
38282 test ! -s conftest.err
38283 } && test -s conftest$ac_exeext &&
38284 $as_test_x conftest$ac_exeext; then
38285 eval "$as_ac_var=yes"
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38290 eval "$as_ac_var=no"
38293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38294 conftest$ac_exeext conftest.$ac_ext
38296 ac_res=`eval echo '${'$as_ac_var'}'`
38297 { echo "$as_me:$LINENO: result: $ac_res" >&5
38298 echo "${ECHO_T}$ac_res" >&6; }
38299 if test `eval echo '${'$as_ac_var'}'` = yes; then
38300 cat >>confdefs.h <<_ACEOF
38301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38308 { echo "$as_me:$LINENO: checking for statfs" >&5
38309 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38310 if test "${wx_cv_func_statfs+set}" = set; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38313 cat >conftest.$ac_ext <<_ACEOF
38316 cat confdefs.h >>conftest.$ac_ext
38317 cat >>conftest.$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38320 #if defined(__BSD__)
38321 #include <sys/param.h>
38322 #include <sys/mount.h>
38324 #include <sys/vfs.h>
38342 rm -f conftest.$ac_objext
38343 if { (ac_try="$ac_compile"
38344 case "(($ac_try" in
38345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38346 *) ac_try_echo=$ac_try;;
38348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38349 (eval "$ac_compile") 2>conftest.er1
38351 grep -v '^ *+' conftest.er1 >conftest.err
38353 cat conftest.err >&5
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); } && {
38356 test -z "$ac_c_werror_flag" ||
38357 test ! -s conftest.err
38358 } && test -s conftest.$ac_objext; then
38359 wx_cv_func_statfs=yes
38361 echo "$as_me: failed program was:" >&5
38362 sed 's/^/| /' conftest.$ac_ext >&5
38364 wx_cv_func_statfs=no
38368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38371 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38372 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38374 if test "$wx_cv_func_statfs" = "yes"; then
38375 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38376 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38377 if test "${wx_cv_func_statfs_decl+set}" = set; then
38378 echo $ECHO_N "(cached) $ECHO_C" >&6
38381 ac_cpp='$CXXCPP $CPPFLAGS'
38382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38386 cat >conftest.$ac_ext <<_ACEOF
38389 cat confdefs.h >>conftest.$ac_ext
38390 cat >>conftest.$ac_ext <<_ACEOF
38391 /* end confdefs.h. */
38393 #if defined(__BSD__)
38394 #include <sys/param.h>
38395 #include <sys/mount.h>
38397 #include <sys/vfs.h>
38411 rm -f conftest.$ac_objext
38412 if { (ac_try="$ac_compile"
38413 case "(($ac_try" in
38414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38415 *) ac_try_echo=$ac_try;;
38417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38418 (eval "$ac_compile") 2>conftest.er1
38420 grep -v '^ *+' conftest.er1 >conftest.err
38422 cat conftest.err >&5
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); } && {
38425 test -z "$ac_cxx_werror_flag" ||
38426 test ! -s conftest.err
38427 } && test -s conftest.$ac_objext; then
38428 wx_cv_func_statfs_decl=yes
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38433 wx_cv_func_statfs_decl=no
38437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38439 ac_cpp='$CPP $CPPFLAGS'
38440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38446 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38447 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38449 if test "$wx_cv_func_statfs_decl" = "yes"; then
38450 cat >>confdefs.h <<\_ACEOF
38451 #define HAVE_STATFS_DECL 1
38456 wx_cv_type_statvfs_t="struct statfs"
38457 cat >>confdefs.h <<\_ACEOF
38458 #define HAVE_STATFS 1
38462 { echo "$as_me:$LINENO: checking for statvfs" >&5
38463 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38464 if test "${wx_cv_func_statvfs+set}" = set; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 cat >conftest.$ac_ext <<_ACEOF
38470 cat confdefs.h >>conftest.$ac_ext
38471 cat >>conftest.$ac_ext <<_ACEOF
38472 /* end confdefs.h. */
38474 #include <stddef.h>
38475 #include <sys/statvfs.h>
38481 statvfs("/", NULL);
38487 rm -f conftest.$ac_objext
38488 if { (ac_try="$ac_compile"
38489 case "(($ac_try" in
38490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38491 *) ac_try_echo=$ac_try;;
38493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38494 (eval "$ac_compile") 2>conftest.er1
38496 grep -v '^ *+' conftest.er1 >conftest.err
38498 cat conftest.err >&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } && {
38501 test -z "$ac_c_werror_flag" ||
38502 test ! -s conftest.err
38503 } && test -s conftest.$ac_objext; then
38504 wx_cv_func_statvfs=yes
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38509 wx_cv_func_statvfs=no
38513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38516 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38517 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38519 if test "$wx_cv_func_statvfs" = "yes"; then
38520 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38521 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38522 if test "${wx_cv_type_statvfs_t+set}" = set; then
38523 echo $ECHO_N "(cached) $ECHO_C" >&6
38526 ac_cpp='$CXXCPP $CPPFLAGS'
38527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38531 cat >conftest.$ac_ext <<_ACEOF
38534 cat confdefs.h >>conftest.$ac_ext
38535 cat >>conftest.$ac_ext <<_ACEOF
38536 /* end confdefs.h. */
38538 #include <sys/statvfs.h>
38555 rm -f conftest.$ac_objext
38556 if { (ac_try="$ac_compile"
38557 case "(($ac_try" in
38558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38559 *) ac_try_echo=$ac_try;;
38561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38562 (eval "$ac_compile") 2>conftest.er1
38564 grep -v '^ *+' conftest.er1 >conftest.err
38566 cat conftest.err >&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); } && {
38569 test -z "$ac_cxx_werror_flag" ||
38570 test ! -s conftest.err
38571 } && test -s conftest.$ac_objext; then
38572 wx_cv_type_statvfs_t=statvfs_t
38574 echo "$as_me: failed program was:" >&5
38575 sed 's/^/| /' conftest.$ac_ext >&5
38578 cat >conftest.$ac_ext <<_ACEOF
38581 cat confdefs.h >>conftest.$ac_ext
38582 cat >>conftest.$ac_ext <<_ACEOF
38583 /* end confdefs.h. */
38585 #include <sys/statvfs.h>
38602 rm -f conftest.$ac_objext
38603 if { (ac_try="$ac_compile"
38604 case "(($ac_try" in
38605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38606 *) ac_try_echo=$ac_try;;
38608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38609 (eval "$ac_compile") 2>conftest.er1
38611 grep -v '^ *+' conftest.er1 >conftest.err
38613 cat conftest.err >&5
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); } && {
38616 test -z "$ac_cxx_werror_flag" ||
38617 test ! -s conftest.err
38618 } && test -s conftest.$ac_objext; then
38619 wx_cv_type_statvfs_t="struct statvfs"
38621 echo "$as_me: failed program was:" >&5
38622 sed 's/^/| /' conftest.$ac_ext >&5
38624 wx_cv_type_statvfs_t="unknown"
38628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38635 ac_cpp='$CPP $CPPFLAGS'
38636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38642 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38643 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38645 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38646 cat >>confdefs.h <<\_ACEOF
38647 #define HAVE_STATVFS 1
38652 wx_cv_type_statvfs_t="unknown"
38656 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38657 cat >>confdefs.h <<_ACEOF
38658 #define WX_STATFS_T $wx_cv_type_statvfs_t
38662 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38663 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38666 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38669 for ac_func in fcntl flock
38671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38675 echo $ECHO_N "(cached) $ECHO_C" >&6
38677 cat >conftest.$ac_ext <<_ACEOF
38680 cat confdefs.h >>conftest.$ac_ext
38681 cat >>conftest.$ac_ext <<_ACEOF
38682 /* end confdefs.h. */
38683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38685 #define $ac_func innocuous_$ac_func
38687 /* System header to define __stub macros and hopefully few prototypes,
38688 which can conflict with char $ac_func (); below.
38689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38690 <limits.h> exists even on freestanding compilers. */
38693 # include <limits.h>
38695 # include <assert.h>
38700 /* Override any GCC internal prototype to avoid an error.
38701 Use char because int might match the return type of a GCC
38702 builtin and then its argument prototype would still apply. */
38707 /* The GNU C library defines this for functions which it implements
38708 to always fail with ENOSYS. Some functions are actually named
38709 something starting with __ and the normal name is an alias. */
38710 #if defined __stub_$ac_func || defined __stub___$ac_func
38717 return $ac_func ();
38722 rm -f conftest.$ac_objext conftest$ac_exeext
38723 if { (ac_try="$ac_link"
38724 case "(($ac_try" in
38725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38726 *) ac_try_echo=$ac_try;;
38728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38729 (eval "$ac_link") 2>conftest.er1
38731 grep -v '^ *+' conftest.er1 >conftest.err
38733 cat conftest.err >&5
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); } && {
38736 test -z "$ac_c_werror_flag" ||
38737 test ! -s conftest.err
38738 } && test -s conftest$ac_exeext &&
38739 $as_test_x conftest$ac_exeext; then
38740 eval "$as_ac_var=yes"
38742 echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38745 eval "$as_ac_var=no"
38748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38749 conftest$ac_exeext conftest.$ac_ext
38751 ac_res=`eval echo '${'$as_ac_var'}'`
38752 { echo "$as_me:$LINENO: result: $ac_res" >&5
38753 echo "${ECHO_T}$ac_res" >&6; }
38754 if test `eval echo '${'$as_ac_var'}'` = yes; then
38755 cat >>confdefs.h <<_ACEOF
38756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38763 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38764 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38765 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38766 wxUSE_SNGLINST_CHECKER=no
38772 for ac_func in setenv putenv
38774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38775 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38778 echo $ECHO_N "(cached) $ECHO_C" >&6
38780 cat >conftest.$ac_ext <<_ACEOF
38783 cat confdefs.h >>conftest.$ac_ext
38784 cat >>conftest.$ac_ext <<_ACEOF
38785 /* end confdefs.h. */
38786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38788 #define $ac_func innocuous_$ac_func
38790 /* System header to define __stub macros and hopefully few prototypes,
38791 which can conflict with char $ac_func (); below.
38792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38793 <limits.h> exists even on freestanding compilers. */
38796 # include <limits.h>
38798 # include <assert.h>
38803 /* Override any GCC internal prototype to avoid an error.
38804 Use char because int might match the return type of a GCC
38805 builtin and then its argument prototype would still apply. */
38810 /* The GNU C library defines this for functions which it implements
38811 to always fail with ENOSYS. Some functions are actually named
38812 something starting with __ and the normal name is an alias. */
38813 #if defined __stub_$ac_func || defined __stub___$ac_func
38820 return $ac_func ();
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (ac_try="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38834 grep -v '^ *+' conftest.er1 >conftest.err
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } && {
38839 test -z "$ac_c_werror_flag" ||
38840 test ! -s conftest.err
38841 } && test -s conftest$ac_exeext &&
38842 $as_test_x conftest$ac_exeext; then
38843 eval "$as_ac_var=yes"
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38848 eval "$as_ac_var=no"
38851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38852 conftest$ac_exeext conftest.$ac_ext
38854 ac_res=`eval echo '${'$as_ac_var'}'`
38855 { echo "$as_me:$LINENO: result: $ac_res" >&5
38856 echo "${ECHO_T}$ac_res" >&6; }
38857 if test `eval echo '${'$as_ac_var'}'` = yes; then
38858 cat >>confdefs.h <<_ACEOF
38859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38865 if test "$ac_cv_func_setenv" = "yes"; then
38867 for ac_func in unsetenv
38869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38870 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38873 echo $ECHO_N "(cached) $ECHO_C" >&6
38875 cat >conftest.$ac_ext <<_ACEOF
38878 cat confdefs.h >>conftest.$ac_ext
38879 cat >>conftest.$ac_ext <<_ACEOF
38880 /* end confdefs.h. */
38881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38883 #define $ac_func innocuous_$ac_func
38885 /* System header to define __stub macros and hopefully few prototypes,
38886 which can conflict with char $ac_func (); below.
38887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38888 <limits.h> exists even on freestanding compilers. */
38891 # include <limits.h>
38893 # include <assert.h>
38898 /* Override any GCC internal prototype to avoid an error.
38899 Use char because int might match the return type of a GCC
38900 builtin and then its argument prototype would still apply. */
38905 /* The GNU C library defines this for functions which it implements
38906 to always fail with ENOSYS. Some functions are actually named
38907 something starting with __ and the normal name is an alias. */
38908 #if defined __stub_$ac_func || defined __stub___$ac_func
38915 return $ac_func ();
38920 rm -f conftest.$ac_objext conftest$ac_exeext
38921 if { (ac_try="$ac_link"
38922 case "(($ac_try" in
38923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38924 *) ac_try_echo=$ac_try;;
38926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38927 (eval "$ac_link") 2>conftest.er1
38929 grep -v '^ *+' conftest.er1 >conftest.err
38931 cat conftest.err >&5
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); } && {
38934 test -z "$ac_c_werror_flag" ||
38935 test ! -s conftest.err
38936 } && test -s conftest$ac_exeext &&
38937 $as_test_x conftest$ac_exeext; then
38938 eval "$as_ac_var=yes"
38940 echo "$as_me: failed program was:" >&5
38941 sed 's/^/| /' conftest.$ac_ext >&5
38943 eval "$as_ac_var=no"
38946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38947 conftest$ac_exeext conftest.$ac_ext
38949 ac_res=`eval echo '${'$as_ac_var'}'`
38950 { echo "$as_me:$LINENO: result: $ac_res" >&5
38951 echo "${ECHO_T}$ac_res" >&6; }
38952 if test `eval echo '${'$as_ac_var'}'` = yes; then
38953 cat >>confdefs.h <<_ACEOF
38954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38962 HAVE_SOME_SLEEP_FUNC=0
38963 if test "$USE_BEOS" = 1; then
38964 cat >>confdefs.h <<\_ACEOF
38965 #define HAVE_SLEEP 1
38968 HAVE_SOME_SLEEP_FUNC=1
38971 if test "$USE_DARWIN" = 1; then
38972 cat >>confdefs.h <<\_ACEOF
38973 #define HAVE_USLEEP 1
38976 HAVE_SOME_SLEEP_FUNC=1
38979 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38982 for ac_func in nanosleep
38984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 cat >conftest.$ac_ext <<_ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define $ac_func innocuous_$ac_func
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char $ac_func (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39006 # include <limits.h>
39008 # include <assert.h>
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_$ac_func || defined __stub___$ac_func
39030 return $ac_func ();
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39039 *) ac_try_echo=$ac_try;;
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39044 grep -v '^ *+' conftest.er1 >conftest.err
39046 cat conftest.err >&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest$ac_exeext &&
39052 $as_test_x conftest$ac_exeext; then
39053 eval "$as_ac_var=yes"
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39058 eval "$as_ac_var=no"
39061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39062 conftest$ac_exeext conftest.$ac_ext
39064 ac_res=`eval echo '${'$as_ac_var'}'`
39065 { echo "$as_me:$LINENO: result: $ac_res" >&5
39066 echo "${ECHO_T}$ac_res" >&6; }
39067 if test `eval echo '${'$as_ac_var'}'` = yes; then
39068 cat >>confdefs.h <<_ACEOF
39069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39071 cat >>confdefs.h <<\_ACEOF
39072 #define HAVE_NANOSLEEP 1
39077 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39078 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39079 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39080 echo $ECHO_N "(cached) $ECHO_C" >&6
39082 ac_check_lib_save_LIBS=$LIBS
39083 LIBS="-lposix4 $LIBS"
39084 cat >conftest.$ac_ext <<_ACEOF
39087 cat confdefs.h >>conftest.$ac_ext
39088 cat >>conftest.$ac_ext <<_ACEOF
39089 /* end confdefs.h. */
39091 /* Override any GCC internal prototype to avoid an error.
39092 Use char because int might match the return type of a GCC
39093 builtin and then its argument prototype would still apply. */
39101 return nanosleep ();
39106 rm -f conftest.$ac_objext conftest$ac_exeext
39107 if { (ac_try="$ac_link"
39108 case "(($ac_try" in
39109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39110 *) ac_try_echo=$ac_try;;
39112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39113 (eval "$ac_link") 2>conftest.er1
39115 grep -v '^ *+' conftest.er1 >conftest.err
39117 cat conftest.err >&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); } && {
39120 test -z "$ac_c_werror_flag" ||
39121 test ! -s conftest.err
39122 } && test -s conftest$ac_exeext &&
39123 $as_test_x conftest$ac_exeext; then
39124 ac_cv_lib_posix4_nanosleep=yes
39126 echo "$as_me: failed program was:" >&5
39127 sed 's/^/| /' conftest.$ac_ext >&5
39129 ac_cv_lib_posix4_nanosleep=no
39132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39133 conftest$ac_exeext conftest.$ac_ext
39134 LIBS=$ac_check_lib_save_LIBS
39136 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39137 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39138 if test $ac_cv_lib_posix4_nanosleep = yes; then
39140 cat >>confdefs.h <<\_ACEOF
39141 #define HAVE_NANOSLEEP 1
39144 POSIX4_LINK=" -lposix4"
39149 for wx_func in usleep
39151 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39152 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39153 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39157 cat >conftest.$ac_ext <<_ACEOF
39161 cat confdefs.h >>conftest.$ac_ext
39162 cat >>conftest.$ac_ext <<_ACEOF
39163 /* end confdefs.h. */
39166 $ac_includes_default
39182 rm -f conftest.$ac_objext conftest$ac_exeext
39183 if { (ac_try="$ac_link"
39184 case "(($ac_try" in
39185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39186 *) ac_try_echo=$ac_try;;
39188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39189 (eval "$ac_link") 2>conftest.er1
39191 grep -v '^ *+' conftest.er1 >conftest.err
39193 cat conftest.err >&5
39194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39195 (exit $ac_status); } && {
39196 test -z "$ac_c_werror_flag" ||
39197 test ! -s conftest.err
39198 } && test -s conftest$ac_exeext &&
39199 $as_test_x conftest$ac_exeext; then
39200 eval wx_cv_func_$wx_func=yes
39202 echo "$as_me: failed program was:" >&5
39203 sed 's/^/| /' conftest.$ac_ext >&5
39205 eval wx_cv_func_$wx_func=no
39208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39209 conftest$ac_exeext conftest.$ac_ext
39212 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39213 { echo "$as_me:$LINENO: result: $ac_res" >&5
39214 echo "${ECHO_T}$ac_res" >&6; }
39216 if eval test \$wx_cv_func_$wx_func = yes
39218 cat >>confdefs.h <<_ACEOF
39219 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39225 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39226 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39243 for wx_func in uname
39245 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39246 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39247 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39248 echo $ECHO_N "(cached) $ECHO_C" >&6
39251 cat >conftest.$ac_ext <<_ACEOF
39255 cat confdefs.h >>conftest.$ac_ext
39256 cat >>conftest.$ac_ext <<_ACEOF
39257 /* end confdefs.h. */
39259 #include <sys/utsname.h>
39260 $ac_includes_default
39276 rm -f conftest.$ac_objext conftest$ac_exeext
39277 if { (ac_try="$ac_link"
39278 case "(($ac_try" in
39279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39280 *) ac_try_echo=$ac_try;;
39282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39283 (eval "$ac_link") 2>conftest.er1
39285 grep -v '^ *+' conftest.er1 >conftest.err
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } && {
39290 test -z "$ac_c_werror_flag" ||
39291 test ! -s conftest.err
39292 } && test -s conftest$ac_exeext &&
39293 $as_test_x conftest$ac_exeext; then
39294 eval wx_cv_func_$wx_func=yes
39296 echo "$as_me: failed program was:" >&5
39297 sed 's/^/| /' conftest.$ac_ext >&5
39299 eval wx_cv_func_$wx_func=no
39302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39303 conftest$ac_exeext conftest.$ac_ext
39306 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39307 { echo "$as_me:$LINENO: result: $ac_res" >&5
39308 echo "${ECHO_T}$ac_res" >&6; }
39310 if eval test \$wx_cv_func_$wx_func = yes
39312 cat >>confdefs.h <<_ACEOF
39313 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39323 if test "$wx_cv_func_uname" != yes; then
39325 for wx_func in gethostname
39327 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39328 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39329 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39330 echo $ECHO_N "(cached) $ECHO_C" >&6
39333 cat >conftest.$ac_ext <<_ACEOF
39337 cat confdefs.h >>conftest.$ac_ext
39338 cat >>conftest.$ac_ext <<_ACEOF
39339 /* end confdefs.h. */
39342 $ac_includes_default
39358 rm -f conftest.$ac_objext conftest$ac_exeext
39359 if { (ac_try="$ac_link"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_link") 2>conftest.er1
39367 grep -v '^ *+' conftest.er1 >conftest.err
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_c_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest$ac_exeext &&
39375 $as_test_x conftest$ac_exeext; then
39376 eval wx_cv_func_$wx_func=yes
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39381 eval wx_cv_func_$wx_func=no
39384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39385 conftest$ac_exeext conftest.$ac_ext
39388 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39389 { echo "$as_me:$LINENO: result: $ac_res" >&5
39390 echo "${ECHO_T}$ac_res" >&6; }
39392 if eval test \$wx_cv_func_$wx_func = yes
39394 cat >>confdefs.h <<_ACEOF
39395 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39408 for wx_func in strtok_r
39410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39412 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39416 cat >conftest.$ac_ext <<_ACEOF
39420 cat confdefs.h >>conftest.$ac_ext
39421 cat >>conftest.$ac_ext <<_ACEOF
39422 /* end confdefs.h. */
39425 $ac_includes_default
39441 rm -f conftest.$ac_objext conftest$ac_exeext
39442 if { (ac_try="$ac_link"
39443 case "(($ac_try" in
39444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39445 *) ac_try_echo=$ac_try;;
39447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39448 (eval "$ac_link") 2>conftest.er1
39450 grep -v '^ *+' conftest.er1 >conftest.err
39452 cat conftest.err >&5
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); } && {
39455 test -z "$ac_c_werror_flag" ||
39456 test ! -s conftest.err
39457 } && test -s conftest$ac_exeext &&
39458 $as_test_x conftest$ac_exeext; then
39459 eval wx_cv_func_$wx_func=yes
39461 echo "$as_me: failed program was:" >&5
39462 sed 's/^/| /' conftest.$ac_ext >&5
39464 eval wx_cv_func_$wx_func=no
39467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39468 conftest$ac_exeext conftest.$ac_ext
39471 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39472 { echo "$as_me:$LINENO: result: $ac_res" >&5
39473 echo "${ECHO_T}$ac_res" >&6; }
39475 if eval test \$wx_cv_func_$wx_func = yes
39477 cat >>confdefs.h <<_ACEOF
39478 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39491 for ac_func in inet_addr
39493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39497 echo $ECHO_N "(cached) $ECHO_C" >&6
39499 cat >conftest.$ac_ext <<_ACEOF
39502 cat confdefs.h >>conftest.$ac_ext
39503 cat >>conftest.$ac_ext <<_ACEOF
39504 /* end confdefs.h. */
39505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39507 #define $ac_func innocuous_$ac_func
39509 /* System header to define __stub macros and hopefully few prototypes,
39510 which can conflict with char $ac_func (); below.
39511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39512 <limits.h> exists even on freestanding compilers. */
39515 # include <limits.h>
39517 # include <assert.h>
39522 /* Override any GCC internal prototype to avoid an error.
39523 Use char because int might match the return type of a GCC
39524 builtin and then its argument prototype would still apply. */
39529 /* The GNU C library defines this for functions which it implements
39530 to always fail with ENOSYS. Some functions are actually named
39531 something starting with __ and the normal name is an alias. */
39532 #if defined __stub_$ac_func || defined __stub___$ac_func
39539 return $ac_func ();
39544 rm -f conftest.$ac_objext conftest$ac_exeext
39545 if { (ac_try="$ac_link"
39546 case "(($ac_try" in
39547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39548 *) ac_try_echo=$ac_try;;
39550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39551 (eval "$ac_link") 2>conftest.er1
39553 grep -v '^ *+' conftest.er1 >conftest.err
39555 cat conftest.err >&5
39556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39557 (exit $ac_status); } && {
39558 test -z "$ac_c_werror_flag" ||
39559 test ! -s conftest.err
39560 } && test -s conftest$ac_exeext &&
39561 $as_test_x conftest$ac_exeext; then
39562 eval "$as_ac_var=yes"
39564 echo "$as_me: failed program was:" >&5
39565 sed 's/^/| /' conftest.$ac_ext >&5
39567 eval "$as_ac_var=no"
39570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39571 conftest$ac_exeext conftest.$ac_ext
39573 ac_res=`eval echo '${'$as_ac_var'}'`
39574 { echo "$as_me:$LINENO: result: $ac_res" >&5
39575 echo "${ECHO_T}$ac_res" >&6; }
39576 if test `eval echo '${'$as_ac_var'}'` = yes; then
39577 cat >>confdefs.h <<_ACEOF
39578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_INET_ADDR 1
39586 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39587 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39588 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 ac_check_lib_save_LIBS=$LIBS
39593 cat >conftest.$ac_ext <<_ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39600 /* Override any GCC internal prototype to avoid an error.
39601 Use char because int might match the return type of a GCC
39602 builtin and then its argument prototype would still apply. */
39610 return inet_addr ();
39615 rm -f conftest.$ac_objext conftest$ac_exeext
39616 if { (ac_try="$ac_link"
39617 case "(($ac_try" in
39618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39619 *) ac_try_echo=$ac_try;;
39621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39622 (eval "$ac_link") 2>conftest.er1
39624 grep -v '^ *+' conftest.er1 >conftest.err
39626 cat conftest.err >&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); } && {
39629 test -z "$ac_c_werror_flag" ||
39630 test ! -s conftest.err
39631 } && test -s conftest$ac_exeext &&
39632 $as_test_x conftest$ac_exeext; then
39633 ac_cv_lib_nsl_inet_addr=yes
39635 echo "$as_me: failed program was:" >&5
39636 sed 's/^/| /' conftest.$ac_ext >&5
39638 ac_cv_lib_nsl_inet_addr=no
39641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39642 conftest$ac_exeext conftest.$ac_ext
39643 LIBS=$ac_check_lib_save_LIBS
39645 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39646 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39647 if test $ac_cv_lib_nsl_inet_addr = yes; then
39651 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39652 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39653 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39656 ac_check_lib_save_LIBS=$LIBS
39657 LIBS="-lresolv $LIBS"
39658 cat >conftest.$ac_ext <<_ACEOF
39661 cat confdefs.h >>conftest.$ac_ext
39662 cat >>conftest.$ac_ext <<_ACEOF
39663 /* end confdefs.h. */
39665 /* Override any GCC internal prototype to avoid an error.
39666 Use char because int might match the return type of a GCC
39667 builtin and then its argument prototype would still apply. */
39675 return inet_addr ();
39680 rm -f conftest.$ac_objext conftest$ac_exeext
39681 if { (ac_try="$ac_link"
39682 case "(($ac_try" in
39683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39684 *) ac_try_echo=$ac_try;;
39686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39687 (eval "$ac_link") 2>conftest.er1
39689 grep -v '^ *+' conftest.er1 >conftest.err
39691 cat conftest.err >&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); } && {
39694 test -z "$ac_c_werror_flag" ||
39695 test ! -s conftest.err
39696 } && test -s conftest$ac_exeext &&
39697 $as_test_x conftest$ac_exeext; then
39698 ac_cv_lib_resolv_inet_addr=yes
39700 echo "$as_me: failed program was:" >&5
39701 sed 's/^/| /' conftest.$ac_ext >&5
39703 ac_cv_lib_resolv_inet_addr=no
39706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39707 conftest$ac_exeext conftest.$ac_ext
39708 LIBS=$ac_check_lib_save_LIBS
39710 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39711 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39712 if test $ac_cv_lib_resolv_inet_addr = yes; then
39716 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39717 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39718 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 ac_check_lib_save_LIBS=$LIBS
39722 LIBS="-lsocket $LIBS"
39723 cat >conftest.$ac_ext <<_ACEOF
39726 cat confdefs.h >>conftest.$ac_ext
39727 cat >>conftest.$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39730 /* Override any GCC internal prototype to avoid an error.
39731 Use char because int might match the return type of a GCC
39732 builtin and then its argument prototype would still apply. */
39740 return inet_addr ();
39745 rm -f conftest.$ac_objext conftest$ac_exeext
39746 if { (ac_try="$ac_link"
39747 case "(($ac_try" in
39748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39749 *) ac_try_echo=$ac_try;;
39751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39752 (eval "$ac_link") 2>conftest.er1
39754 grep -v '^ *+' conftest.er1 >conftest.err
39756 cat conftest.err >&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } && {
39759 test -z "$ac_c_werror_flag" ||
39760 test ! -s conftest.err
39761 } && test -s conftest$ac_exeext &&
39762 $as_test_x conftest$ac_exeext; then
39763 ac_cv_lib_socket_inet_addr=yes
39765 echo "$as_me: failed program was:" >&5
39766 sed 's/^/| /' conftest.$ac_ext >&5
39768 ac_cv_lib_socket_inet_addr=no
39771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39772 conftest$ac_exeext conftest.$ac_ext
39773 LIBS=$ac_check_lib_save_LIBS
39775 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39776 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39777 if test $ac_cv_lib_socket_inet_addr = yes; then
39797 for ac_func in inet_aton
39799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39803 echo $ECHO_N "(cached) $ECHO_C" >&6
39805 cat >conftest.$ac_ext <<_ACEOF
39808 cat confdefs.h >>conftest.$ac_ext
39809 cat >>conftest.$ac_ext <<_ACEOF
39810 /* end confdefs.h. */
39811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39813 #define $ac_func innocuous_$ac_func
39815 /* System header to define __stub macros and hopefully few prototypes,
39816 which can conflict with char $ac_func (); below.
39817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39818 <limits.h> exists even on freestanding compilers. */
39821 # include <limits.h>
39823 # include <assert.h>
39828 /* Override any GCC internal prototype to avoid an error.
39829 Use char because int might match the return type of a GCC
39830 builtin and then its argument prototype would still apply. */
39835 /* The GNU C library defines this for functions which it implements
39836 to always fail with ENOSYS. Some functions are actually named
39837 something starting with __ and the normal name is an alias. */
39838 #if defined __stub_$ac_func || defined __stub___$ac_func
39845 return $ac_func ();
39850 rm -f conftest.$ac_objext conftest$ac_exeext
39851 if { (ac_try="$ac_link"
39852 case "(($ac_try" in
39853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39854 *) ac_try_echo=$ac_try;;
39856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39857 (eval "$ac_link") 2>conftest.er1
39859 grep -v '^ *+' conftest.er1 >conftest.err
39861 cat conftest.err >&5
39862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39863 (exit $ac_status); } && {
39864 test -z "$ac_c_werror_flag" ||
39865 test ! -s conftest.err
39866 } && test -s conftest$ac_exeext &&
39867 $as_test_x conftest$ac_exeext; then
39868 eval "$as_ac_var=yes"
39870 echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39873 eval "$as_ac_var=no"
39876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39877 conftest$ac_exeext conftest.$ac_ext
39879 ac_res=`eval echo '${'$as_ac_var'}'`
39880 { echo "$as_me:$LINENO: result: $ac_res" >&5
39881 echo "${ECHO_T}$ac_res" >&6; }
39882 if test `eval echo '${'$as_ac_var'}'` = yes; then
39883 cat >>confdefs.h <<_ACEOF
39884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39886 cat >>confdefs.h <<\_ACEOF
39887 #define HAVE_INET_ATON 1
39892 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39893 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39894 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39895 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39896 echo $ECHO_N "(cached) $ECHO_C" >&6
39898 ac_check_lib_save_LIBS=$LIBS
39899 LIBS="-l$INET_LINK $LIBS"
39900 cat >conftest.$ac_ext <<_ACEOF
39903 cat confdefs.h >>conftest.$ac_ext
39904 cat >>conftest.$ac_ext <<_ACEOF
39905 /* end confdefs.h. */
39907 /* Override any GCC internal prototype to avoid an error.
39908 Use char because int might match the return type of a GCC
39909 builtin and then its argument prototype would still apply. */
39917 return inet_aton ();
39922 rm -f conftest.$ac_objext conftest$ac_exeext
39923 if { (ac_try="$ac_link"
39924 case "(($ac_try" in
39925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39926 *) ac_try_echo=$ac_try;;
39928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39929 (eval "$ac_link") 2>conftest.er1
39931 grep -v '^ *+' conftest.er1 >conftest.err
39933 cat conftest.err >&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } && {
39936 test -z "$ac_c_werror_flag" ||
39937 test ! -s conftest.err
39938 } && test -s conftest$ac_exeext &&
39939 $as_test_x conftest$ac_exeext; then
39940 eval "$as_ac_Lib=yes"
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39945 eval "$as_ac_Lib=no"
39948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39949 conftest$ac_exeext conftest.$ac_ext
39950 LIBS=$ac_check_lib_save_LIBS
39952 ac_res=`eval echo '${'$as_ac_Lib'}'`
39953 { echo "$as_me:$LINENO: result: $ac_res" >&5
39954 echo "${ECHO_T}$ac_res" >&6; }
39955 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39956 cat >>confdefs.h <<\_ACEOF
39957 #define HAVE_INET_ATON 1
39967 if test "x$INET_LINK" != "x"; then
39968 cat >>confdefs.h <<\_ACEOF
39969 #define HAVE_INET_ADDR 1
39972 INET_LINK=" -l$INET_LINK"
39976 for wx_func in fdopen
39978 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39979 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39980 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39981 echo $ECHO_N "(cached) $ECHO_C" >&6
39984 cat >conftest.$ac_ext <<_ACEOF
39988 cat confdefs.h >>conftest.$ac_ext
39989 cat >>conftest.$ac_ext <<_ACEOF
39990 /* end confdefs.h. */
39993 $ac_includes_default
40009 rm -f conftest.$ac_objext conftest$ac_exeext
40010 if { (ac_try="$ac_link"
40011 case "(($ac_try" in
40012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40013 *) ac_try_echo=$ac_try;;
40015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40016 (eval "$ac_link") 2>conftest.er1
40018 grep -v '^ *+' conftest.er1 >conftest.err
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } && {
40023 test -z "$ac_c_werror_flag" ||
40024 test ! -s conftest.err
40025 } && test -s conftest$ac_exeext &&
40026 $as_test_x conftest$ac_exeext; then
40027 eval wx_cv_func_$wx_func=yes
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40032 eval wx_cv_func_$wx_func=no
40035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40036 conftest$ac_exeext conftest.$ac_ext
40039 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40040 { echo "$as_me:$LINENO: result: $ac_res" >&5
40041 echo "${ECHO_T}$ac_res" >&6; }
40043 if eval test \$wx_cv_func_$wx_func = yes
40045 cat >>confdefs.h <<_ACEOF
40046 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40057 if test "$wxUSE_TARSTREAM" = "yes"; then
40059 for wx_func in sysconf
40061 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40062 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40063 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40064 echo $ECHO_N "(cached) $ECHO_C" >&6
40067 cat >conftest.$ac_ext <<_ACEOF
40071 cat confdefs.h >>conftest.$ac_ext
40072 cat >>conftest.$ac_ext <<_ACEOF
40073 /* end confdefs.h. */
40076 $ac_includes_default
40092 rm -f conftest.$ac_objext conftest$ac_exeext
40093 if { (ac_try="$ac_link"
40094 case "(($ac_try" in
40095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40096 *) ac_try_echo=$ac_try;;
40098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40099 (eval "$ac_link") 2>conftest.er1
40101 grep -v '^ *+' conftest.er1 >conftest.err
40103 cat conftest.err >&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); } && {
40106 test -z "$ac_c_werror_flag" ||
40107 test ! -s conftest.err
40108 } && test -s conftest$ac_exeext &&
40109 $as_test_x conftest$ac_exeext; then
40110 eval wx_cv_func_$wx_func=yes
40112 echo "$as_me: failed program was:" >&5
40113 sed 's/^/| /' conftest.$ac_ext >&5
40115 eval wx_cv_func_$wx_func=no
40118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40119 conftest$ac_exeext conftest.$ac_ext
40122 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40123 { echo "$as_me:$LINENO: result: $ac_res" >&5
40124 echo "${ECHO_T}$ac_res" >&6; }
40126 if eval test \$wx_cv_func_$wx_func = yes
40128 cat >>confdefs.h <<_ACEOF
40129 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40141 for wx_func in getpwuid_r
40143 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40144 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40145 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40149 cat >conftest.$ac_ext <<_ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40161 $ac_includes_default
40171 struct passwd pw, *ppw;
40173 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40181 rm -f conftest.$ac_objext conftest$ac_exeext
40182 if { (ac_try="$ac_link"
40183 case "(($ac_try" in
40184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_link") 2>conftest.er1
40190 grep -v '^ *+' conftest.er1 >conftest.err
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest$ac_exeext &&
40198 $as_test_x conftest$ac_exeext; then
40199 eval wx_cv_func_$wx_func=yes
40201 echo "$as_me: failed program was:" >&5
40202 sed 's/^/| /' conftest.$ac_ext >&5
40204 eval wx_cv_func_$wx_func=no
40207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40208 conftest$ac_exeext conftest.$ac_ext
40211 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40212 { echo "$as_me:$LINENO: result: $ac_res" >&5
40213 echo "${ECHO_T}$ac_res" >&6; }
40215 if eval test \$wx_cv_func_$wx_func = yes
40217 cat >>confdefs.h <<_ACEOF
40218 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40230 for wx_func in getgrgid_r
40232 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40233 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40234 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40235 echo $ECHO_N "(cached) $ECHO_C" >&6
40238 cat >conftest.$ac_ext <<_ACEOF
40242 cat confdefs.h >>conftest.$ac_ext
40243 cat >>conftest.$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40250 $ac_includes_default
40260 struct group grp, *pgrp;
40262 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40270 rm -f conftest.$ac_objext conftest$ac_exeext
40271 if { (ac_try="$ac_link"
40272 case "(($ac_try" in
40273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40274 *) ac_try_echo=$ac_try;;
40276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40277 (eval "$ac_link") 2>conftest.er1
40279 grep -v '^ *+' conftest.er1 >conftest.err
40281 cat conftest.err >&5
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); } && {
40284 test -z "$ac_c_werror_flag" ||
40285 test ! -s conftest.err
40286 } && test -s conftest$ac_exeext &&
40287 $as_test_x conftest$ac_exeext; then
40288 eval wx_cv_func_$wx_func=yes
40290 echo "$as_me: failed program was:" >&5
40291 sed 's/^/| /' conftest.$ac_ext >&5
40293 eval wx_cv_func_$wx_func=no
40296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40297 conftest$ac_exeext conftest.$ac_ext
40300 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40301 { echo "$as_me:$LINENO: result: $ac_res" >&5
40302 echo "${ECHO_T}$ac_res" >&6; }
40304 if eval test \$wx_cv_func_$wx_func = yes
40306 cat >>confdefs.h <<_ACEOF
40307 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40323 cat >confcache <<\_ACEOF
40324 # This file is a shell script that caches the results of configure
40325 # tests run on this system so they can be shared between configure
40326 # scripts and configure runs, see configure's option --config-cache.
40327 # It is not useful on other systems. If it contains results you don't
40328 # want to keep, you may remove or edit it.
40330 # config.status only pays attention to the cache file if you give it
40331 # the --recheck option to rerun configure.
40333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40335 # following values.
40339 # The following way of writing the cache mishandles newlines in values,
40340 # but we know of no workaround that is simple, portable, and efficient.
40341 # So, we kill variables containing newlines.
40342 # Ultrix sh set writes to stderr and can't be redirected directly,
40343 # and sets the high bit in the cache file unless we assign to the vars.
40345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40346 eval ac_val=\$$ac_var
40350 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40351 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40354 _ | IFS | as_nl) ;; #(
40355 *) $as_unset $ac_var ;;
40361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40362 *${as_nl}ac_space=\ *)
40363 # `set' does not quote correctly, so add quotes (double-quote
40364 # substitution turns \\\\ into \\, and sed turns \\ into \).
40367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40370 # `set' quotes correctly as required by POSIX, so do not add quotes.
40371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40385 if test -w "$cache_file"; then
40386 test "x$cache_file" != "x/dev/null" &&
40387 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40388 echo "$as_me: updating cache $cache_file" >&6;}
40389 cat confcache >$cache_file
40391 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40392 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40398 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40404 if test "$wxUSE_THREADS" = "yes" ; then
40405 if test "$USE_BEOS" = 1; then
40406 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40407 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40412 if test "$wxUSE_THREADS" = "yes" ; then
40415 THREAD_OPTS="-pthread"
40416 if test "x$SUNCXX" = xyes; then
40417 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40421 *-*-solaris2* | *-*-sunos4* )
40422 if test "x$GCC" = "xyes"; then
40423 THREAD_OPTS="-pthreads $THREAD_OPTS"
40427 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40429 *-*-darwin* | *-*-cygwin* )
40433 THREAD_OPTS="pthreads"
40436 if test "x$GCC" = "xyes"; then
40437 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40445 if test "x$GCC" = "xyes"; then
40455 if test "x$GCC" != "xyes"; then
40456 THREAD_OPTS="-Ethread"
40463 THREAD_OPTS="none pthread"
40467 THREAD_OPTS="$THREAD_OPTS pthread none"
40472 for flag in $THREAD_OPTS; do
40475 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40476 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40480 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40481 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40482 THREADS_CFLAGS="$flag"
40486 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40487 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40488 THREADS_LINK="-l$flag"
40493 save_CFLAGS="$CFLAGS"
40494 LIBS="$THREADS_LINK $LIBS"
40495 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40497 cat >conftest.$ac_ext <<_ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 #include <pthread.h>
40507 pthread_create(0,0,0,0);
40512 rm -f conftest.$ac_objext conftest$ac_exeext
40513 if { (ac_try="$ac_link"
40514 case "(($ac_try" in
40515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40516 *) ac_try_echo=$ac_try;;
40518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40519 (eval "$ac_link") 2>conftest.er1
40521 grep -v '^ *+' conftest.er1 >conftest.err
40523 cat conftest.err >&5
40524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40525 (exit $ac_status); } && {
40526 test -z "$ac_c_werror_flag" ||
40527 test ! -s conftest.err
40528 } && test -s conftest$ac_exeext &&
40529 $as_test_x conftest$ac_exeext; then
40532 echo "$as_me: failed program was:" >&5
40533 sed 's/^/| /' conftest.$ac_ext >&5
40538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40539 conftest$ac_exeext conftest.$ac_ext
40542 CFLAGS="$save_CFLAGS"
40544 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40545 echo "${ECHO_T}$THREADS_OK" >&6; }
40546 if test "x$THREADS_OK" = "xyes"; then
40554 if test "x$THREADS_OK" != "xyes"; then
40556 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40557 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40559 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40560 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40561 LIBS="$THREADS_LINK $LIBS"
40563 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40564 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40568 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40569 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40570 flag="-D_THREAD_SAFE"
40573 flag="-D_THREAD_SAFE"
40576 flag="-D_REENTRANT"
40577 if test "x$GCC" != "xyes"; then
40578 flag="$flag -D_RWSTD_MULTI_THREAD"
40581 *solaris* | alpha*-osf*)
40582 flag="-D_REENTRANT"
40585 { echo "$as_me:$LINENO: result: ${flag}" >&5
40586 echo "${ECHO_T}${flag}" >&6; }
40587 if test "x$flag" != xno; then
40588 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40591 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40595 if test "$wxUSE_THREADS" = "yes" ; then
40597 for ac_func in thr_setconcurrency
40599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40605 cat >conftest.$ac_ext <<_ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40613 #define $ac_func innocuous_$ac_func
40615 /* System header to define __stub macros and hopefully few prototypes,
40616 which can conflict with char $ac_func (); below.
40617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40618 <limits.h> exists even on freestanding compilers. */
40621 # include <limits.h>
40623 # include <assert.h>
40628 /* Override any GCC internal prototype to avoid an error.
40629 Use char because int might match the return type of a GCC
40630 builtin and then its argument prototype would still apply. */
40635 /* The GNU C library defines this for functions which it implements
40636 to always fail with ENOSYS. Some functions are actually named
40637 something starting with __ and the normal name is an alias. */
40638 #if defined __stub_$ac_func || defined __stub___$ac_func
40645 return $ac_func ();
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (ac_try="$ac_link"
40652 case "(($ac_try" in
40653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40654 *) ac_try_echo=$ac_try;;
40656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40657 (eval "$ac_link") 2>conftest.er1
40659 grep -v '^ *+' conftest.er1 >conftest.err
40661 cat conftest.err >&5
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); } && {
40664 test -z "$ac_c_werror_flag" ||
40665 test ! -s conftest.err
40666 } && test -s conftest$ac_exeext &&
40667 $as_test_x conftest$ac_exeext; then
40668 eval "$as_ac_var=yes"
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.$ac_ext >&5
40673 eval "$as_ac_var=no"
40676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40677 conftest$ac_exeext conftest.$ac_ext
40679 ac_res=`eval echo '${'$as_ac_var'}'`
40680 { echo "$as_me:$LINENO: result: $ac_res" >&5
40681 echo "${ECHO_T}$ac_res" >&6; }
40682 if test `eval echo '${'$as_ac_var'}'` = yes; then
40683 cat >>confdefs.h <<_ACEOF
40684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40691 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40692 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40693 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40694 echo $ECHO_N "(cached) $ECHO_C" >&6
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703 cat >conftest.$ac_ext <<_ACEOF
40706 cat confdefs.h >>conftest.$ac_ext
40707 cat >>conftest.$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40709 #include <pthread.h>
40710 void ThreadCleanupFunc(void *p);
40717 pthread_cleanup_push(ThreadCleanupFunc, p);
40718 pthread_cleanup_pop(0);
40724 rm -f conftest.$ac_objext
40725 if { (ac_try="$ac_compile"
40726 case "(($ac_try" in
40727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40728 *) ac_try_echo=$ac_try;;
40730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40731 (eval "$ac_compile") 2>conftest.er1
40733 grep -v '^ *+' conftest.er1 >conftest.err
40735 cat conftest.err >&5
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); } && {
40738 test -z "$ac_cxx_werror_flag" ||
40739 test ! -s conftest.err
40740 } && test -s conftest.$ac_objext; then
40742 wx_cv_func_pthread_cleanup=yes
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40749 wx_cv_func_pthread_cleanup=no
40754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40756 ac_cpp='$CPP $CPPFLAGS'
40757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40763 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40764 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40765 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40766 cat >>confdefs.h <<\_ACEOF
40767 #define wxHAVE_PTHREAD_CLEANUP 1
40773 for ac_header in sched.h
40775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40779 echo $ECHO_N "(cached) $ECHO_C" >&6
40781 cat >conftest.$ac_ext <<_ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787 $ac_includes_default
40789 #include <$ac_header>
40791 rm -f conftest.$ac_objext
40792 if { (ac_try="$ac_compile"
40793 case "(($ac_try" in
40794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40795 *) ac_try_echo=$ac_try;;
40797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40798 (eval "$ac_compile") 2>conftest.er1
40800 grep -v '^ *+' conftest.er1 >conftest.err
40802 cat conftest.err >&5
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); } && {
40805 test -z "$ac_c_werror_flag" ||
40806 test ! -s conftest.err
40807 } && test -s conftest.$ac_objext; then
40808 eval "$as_ac_Header=yes"
40810 echo "$as_me: failed program was:" >&5
40811 sed 's/^/| /' conftest.$ac_ext >&5
40813 eval "$as_ac_Header=no"
40816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40818 ac_res=`eval echo '${'$as_ac_Header'}'`
40819 { echo "$as_me:$LINENO: result: $ac_res" >&5
40820 echo "${ECHO_T}$ac_res" >&6; }
40821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40822 cat >>confdefs.h <<_ACEOF
40823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40830 if test "$ac_cv_header_sched_h" = "yes"; then
40831 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40832 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40833 if test "${ac_cv_func_sched_yield+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40836 cat >conftest.$ac_ext <<_ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40842 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40844 #define sched_yield innocuous_sched_yield
40846 /* System header to define __stub macros and hopefully few prototypes,
40847 which can conflict with char sched_yield (); below.
40848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40849 <limits.h> exists even on freestanding compilers. */
40852 # include <limits.h>
40854 # include <assert.h>
40859 /* Override any GCC internal prototype to avoid an error.
40860 Use char because int might match the return type of a GCC
40861 builtin and then its argument prototype would still apply. */
40865 char sched_yield ();
40866 /* The GNU C library defines this for functions which it implements
40867 to always fail with ENOSYS. Some functions are actually named
40868 something starting with __ and the normal name is an alias. */
40869 #if defined __stub_sched_yield || defined __stub___sched_yield
40876 return sched_yield ();
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (ac_try="$ac_link"
40883 case "(($ac_try" in
40884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40885 *) ac_try_echo=$ac_try;;
40887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40888 (eval "$ac_link") 2>conftest.er1
40890 grep -v '^ *+' conftest.er1 >conftest.err
40892 cat conftest.err >&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } && {
40895 test -z "$ac_c_werror_flag" ||
40896 test ! -s conftest.err
40897 } && test -s conftest$ac_exeext &&
40898 $as_test_x conftest$ac_exeext; then
40899 ac_cv_func_sched_yield=yes
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40904 ac_cv_func_sched_yield=no
40907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40908 conftest$ac_exeext conftest.$ac_ext
40910 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40911 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40912 if test $ac_cv_func_sched_yield = yes; then
40913 cat >>confdefs.h <<\_ACEOF
40914 #define HAVE_SCHED_YIELD 1
40919 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40920 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40921 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40922 echo $ECHO_N "(cached) $ECHO_C" >&6
40924 ac_check_lib_save_LIBS=$LIBS
40925 LIBS="-lposix4 $LIBS"
40926 cat >conftest.$ac_ext <<_ACEOF
40929 cat confdefs.h >>conftest.$ac_ext
40930 cat >>conftest.$ac_ext <<_ACEOF
40931 /* end confdefs.h. */
40933 /* Override any GCC internal prototype to avoid an error.
40934 Use char because int might match the return type of a GCC
40935 builtin and then its argument prototype would still apply. */
40939 char sched_yield ();
40943 return sched_yield ();
40948 rm -f conftest.$ac_objext conftest$ac_exeext
40949 if { (ac_try="$ac_link"
40950 case "(($ac_try" in
40951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40952 *) ac_try_echo=$ac_try;;
40954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40955 (eval "$ac_link") 2>conftest.er1
40957 grep -v '^ *+' conftest.er1 >conftest.err
40959 cat conftest.err >&5
40960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40961 (exit $ac_status); } && {
40962 test -z "$ac_c_werror_flag" ||
40963 test ! -s conftest.err
40964 } && test -s conftest$ac_exeext &&
40965 $as_test_x conftest$ac_exeext; then
40966 ac_cv_lib_posix4_sched_yield=yes
40968 echo "$as_me: failed program was:" >&5
40969 sed 's/^/| /' conftest.$ac_ext >&5
40971 ac_cv_lib_posix4_sched_yield=no
40974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40975 conftest$ac_exeext conftest.$ac_ext
40976 LIBS=$ac_check_lib_save_LIBS
40978 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40979 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40980 if test $ac_cv_lib_posix4_sched_yield = yes; then
40981 cat >>confdefs.h <<\_ACEOF
40982 #define HAVE_SCHED_YIELD 1
40984 POSIX4_LINK=" -lposix4"
40986 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40987 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40998 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40999 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41000 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 cat >conftest.$ac_ext <<_ACEOF
41006 cat confdefs.h >>conftest.$ac_ext
41007 cat >>conftest.$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41009 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41011 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41013 /* System header to define __stub macros and hopefully few prototypes,
41014 which can conflict with char pthread_attr_getschedpolicy (); below.
41015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41016 <limits.h> exists even on freestanding compilers. */
41019 # include <limits.h>
41021 # include <assert.h>
41024 #undef pthread_attr_getschedpolicy
41026 /* Override any GCC internal prototype to avoid an error.
41027 Use char because int might match the return type of a GCC
41028 builtin and then its argument prototype would still apply. */
41032 char pthread_attr_getschedpolicy ();
41033 /* The GNU C library defines this for functions which it implements
41034 to always fail with ENOSYS. Some functions are actually named
41035 something starting with __ and the normal name is an alias. */
41036 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41043 return pthread_attr_getschedpolicy ();
41048 rm -f conftest.$ac_objext conftest$ac_exeext
41049 if { (ac_try="$ac_link"
41050 case "(($ac_try" in
41051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41052 *) ac_try_echo=$ac_try;;
41054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41055 (eval "$ac_link") 2>conftest.er1
41057 grep -v '^ *+' conftest.er1 >conftest.err
41059 cat conftest.err >&5
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); } && {
41062 test -z "$ac_c_werror_flag" ||
41063 test ! -s conftest.err
41064 } && test -s conftest$ac_exeext &&
41065 $as_test_x conftest$ac_exeext; then
41066 ac_cv_func_pthread_attr_getschedpolicy=yes
41068 echo "$as_me: failed program was:" >&5
41069 sed 's/^/| /' conftest.$ac_ext >&5
41071 ac_cv_func_pthread_attr_getschedpolicy=no
41074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41075 conftest$ac_exeext conftest.$ac_ext
41077 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41078 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41079 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41080 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41081 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41082 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41085 cat >conftest.$ac_ext <<_ACEOF
41088 cat confdefs.h >>conftest.$ac_ext
41089 cat >>conftest.$ac_ext <<_ACEOF
41090 /* end confdefs.h. */
41091 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41093 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41095 /* System header to define __stub macros and hopefully few prototypes,
41096 which can conflict with char pthread_attr_setschedparam (); below.
41097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41098 <limits.h> exists even on freestanding compilers. */
41101 # include <limits.h>
41103 # include <assert.h>
41106 #undef pthread_attr_setschedparam
41108 /* Override any GCC internal prototype to avoid an error.
41109 Use char because int might match the return type of a GCC
41110 builtin and then its argument prototype would still apply. */
41114 char pthread_attr_setschedparam ();
41115 /* The GNU C library defines this for functions which it implements
41116 to always fail with ENOSYS. Some functions are actually named
41117 something starting with __ and the normal name is an alias. */
41118 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41125 return pthread_attr_setschedparam ();
41130 rm -f conftest.$ac_objext conftest$ac_exeext
41131 if { (ac_try="$ac_link"
41132 case "(($ac_try" in
41133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41134 *) ac_try_echo=$ac_try;;
41136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41137 (eval "$ac_link") 2>conftest.er1
41139 grep -v '^ *+' conftest.er1 >conftest.err
41141 cat conftest.err >&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); } && {
41144 test -z "$ac_c_werror_flag" ||
41145 test ! -s conftest.err
41146 } && test -s conftest$ac_exeext &&
41147 $as_test_x conftest$ac_exeext; then
41148 ac_cv_func_pthread_attr_setschedparam=yes
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41153 ac_cv_func_pthread_attr_setschedparam=no
41156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41157 conftest$ac_exeext conftest.$ac_ext
41159 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41160 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41161 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41162 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41163 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41164 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41165 echo $ECHO_N "(cached) $ECHO_C" >&6
41167 cat >conftest.$ac_ext <<_ACEOF
41170 cat confdefs.h >>conftest.$ac_ext
41171 cat >>conftest.$ac_ext <<_ACEOF
41172 /* end confdefs.h. */
41173 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41175 #define sched_get_priority_max innocuous_sched_get_priority_max
41177 /* System header to define __stub macros and hopefully few prototypes,
41178 which can conflict with char sched_get_priority_max (); below.
41179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41180 <limits.h> exists even on freestanding compilers. */
41183 # include <limits.h>
41185 # include <assert.h>
41188 #undef sched_get_priority_max
41190 /* Override any GCC internal prototype to avoid an error.
41191 Use char because int might match the return type of a GCC
41192 builtin and then its argument prototype would still apply. */
41196 char sched_get_priority_max ();
41197 /* The GNU C library defines this for functions which it implements
41198 to always fail with ENOSYS. Some functions are actually named
41199 something starting with __ and the normal name is an alias. */
41200 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41207 return sched_get_priority_max ();
41212 rm -f conftest.$ac_objext conftest$ac_exeext
41213 if { (ac_try="$ac_link"
41214 case "(($ac_try" in
41215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41216 *) ac_try_echo=$ac_try;;
41218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41219 (eval "$ac_link") 2>conftest.er1
41221 grep -v '^ *+' conftest.er1 >conftest.err
41223 cat conftest.err >&5
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); } && {
41226 test -z "$ac_c_werror_flag" ||
41227 test ! -s conftest.err
41228 } && test -s conftest$ac_exeext &&
41229 $as_test_x conftest$ac_exeext; then
41230 ac_cv_func_sched_get_priority_max=yes
41232 echo "$as_me: failed program was:" >&5
41233 sed 's/^/| /' conftest.$ac_ext >&5
41235 ac_cv_func_sched_get_priority_max=no
41238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41239 conftest$ac_exeext conftest.$ac_ext
41241 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41242 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41243 if test $ac_cv_func_sched_get_priority_max = yes; then
41246 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41247 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41248 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41251 ac_check_lib_save_LIBS=$LIBS
41252 LIBS="-lposix4 $LIBS"
41253 cat >conftest.$ac_ext <<_ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41260 /* Override any GCC internal prototype to avoid an error.
41261 Use char because int might match the return type of a GCC
41262 builtin and then its argument prototype would still apply. */
41266 char sched_get_priority_max ();
41270 return sched_get_priority_max ();
41275 rm -f conftest.$ac_objext conftest$ac_exeext
41276 if { (ac_try="$ac_link"
41277 case "(($ac_try" in
41278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41279 *) ac_try_echo=$ac_try;;
41281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41282 (eval "$ac_link") 2>conftest.er1
41284 grep -v '^ *+' conftest.er1 >conftest.err
41286 cat conftest.err >&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); } && {
41289 test -z "$ac_c_werror_flag" ||
41290 test ! -s conftest.err
41291 } && test -s conftest$ac_exeext &&
41292 $as_test_x conftest$ac_exeext; then
41293 ac_cv_lib_posix4_sched_get_priority_max=yes
41295 echo "$as_me: failed program was:" >&5
41296 sed 's/^/| /' conftest.$ac_ext >&5
41298 ac_cv_lib_posix4_sched_get_priority_max=no
41301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41302 conftest$ac_exeext conftest.$ac_ext
41303 LIBS=$ac_check_lib_save_LIBS
41305 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41306 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41307 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41310 POSIX4_LINK=" -lposix4"
41324 if test "$HAVE_PRIOR_FUNCS" = 1; then
41325 cat >>confdefs.h <<\_ACEOF
41326 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41330 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41331 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41334 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41335 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41336 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41337 echo $ECHO_N "(cached) $ECHO_C" >&6
41339 cat >conftest.$ac_ext <<_ACEOF
41342 cat confdefs.h >>conftest.$ac_ext
41343 cat >>conftest.$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41345 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41347 #define pthread_cancel innocuous_pthread_cancel
41349 /* System header to define __stub macros and hopefully few prototypes,
41350 which can conflict with char pthread_cancel (); below.
41351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41352 <limits.h> exists even on freestanding compilers. */
41355 # include <limits.h>
41357 # include <assert.h>
41360 #undef pthread_cancel
41362 /* Override any GCC internal prototype to avoid an error.
41363 Use char because int might match the return type of a GCC
41364 builtin and then its argument prototype would still apply. */
41368 char pthread_cancel ();
41369 /* The GNU C library defines this for functions which it implements
41370 to always fail with ENOSYS. Some functions are actually named
41371 something starting with __ and the normal name is an alias. */
41372 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41379 return pthread_cancel ();
41384 rm -f conftest.$ac_objext conftest$ac_exeext
41385 if { (ac_try="$ac_link"
41386 case "(($ac_try" in
41387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41388 *) ac_try_echo=$ac_try;;
41390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41391 (eval "$ac_link") 2>conftest.er1
41393 grep -v '^ *+' conftest.er1 >conftest.err
41395 cat conftest.err >&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); } && {
41398 test -z "$ac_c_werror_flag" ||
41399 test ! -s conftest.err
41400 } && test -s conftest$ac_exeext &&
41401 $as_test_x conftest$ac_exeext; then
41402 ac_cv_func_pthread_cancel=yes
41404 echo "$as_me: failed program was:" >&5
41405 sed 's/^/| /' conftest.$ac_ext >&5
41407 ac_cv_func_pthread_cancel=no
41410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41411 conftest$ac_exeext conftest.$ac_ext
41413 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41414 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41415 if test $ac_cv_func_pthread_cancel = yes; then
41416 cat >>confdefs.h <<\_ACEOF
41417 #define HAVE_PTHREAD_CANCEL 1
41421 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41422 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41426 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41427 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41428 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41429 echo $ECHO_N "(cached) $ECHO_C" >&6
41431 cat >conftest.$ac_ext <<_ACEOF
41434 cat confdefs.h >>conftest.$ac_ext
41435 cat >>conftest.$ac_ext <<_ACEOF
41436 /* end confdefs.h. */
41437 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41439 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41441 /* System header to define __stub macros and hopefully few prototypes,
41442 which can conflict with char pthread_mutex_timedlock (); below.
41443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41444 <limits.h> exists even on freestanding compilers. */
41447 # include <limits.h>
41449 # include <assert.h>
41452 #undef pthread_mutex_timedlock
41454 /* Override any GCC internal prototype to avoid an error.
41455 Use char because int might match the return type of a GCC
41456 builtin and then its argument prototype would still apply. */
41460 char pthread_mutex_timedlock ();
41461 /* The GNU C library defines this for functions which it implements
41462 to always fail with ENOSYS. Some functions are actually named
41463 something starting with __ and the normal name is an alias. */
41464 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41471 return pthread_mutex_timedlock ();
41476 rm -f conftest.$ac_objext conftest$ac_exeext
41477 if { (ac_try="$ac_link"
41478 case "(($ac_try" in
41479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41480 *) ac_try_echo=$ac_try;;
41482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41483 (eval "$ac_link") 2>conftest.er1
41485 grep -v '^ *+' conftest.er1 >conftest.err
41487 cat conftest.err >&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); } && {
41490 test -z "$ac_c_werror_flag" ||
41491 test ! -s conftest.err
41492 } && test -s conftest$ac_exeext &&
41493 $as_test_x conftest$ac_exeext; then
41494 ac_cv_func_pthread_mutex_timedlock=yes
41496 echo "$as_me: failed program was:" >&5
41497 sed 's/^/| /' conftest.$ac_ext >&5
41499 ac_cv_func_pthread_mutex_timedlock=no
41502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41503 conftest$ac_exeext conftest.$ac_ext
41505 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41506 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41507 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41513 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41514 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41518 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41519 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41520 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41521 echo $ECHO_N "(cached) $ECHO_C" >&6
41523 cat >conftest.$ac_ext <<_ACEOF
41526 cat confdefs.h >>conftest.$ac_ext
41527 cat >>conftest.$ac_ext <<_ACEOF
41528 /* end confdefs.h. */
41529 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41531 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41533 /* System header to define __stub macros and hopefully few prototypes,
41534 which can conflict with char pthread_attr_setstacksize (); below.
41535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41536 <limits.h> exists even on freestanding compilers. */
41539 # include <limits.h>
41541 # include <assert.h>
41544 #undef pthread_attr_setstacksize
41546 /* Override any GCC internal prototype to avoid an error.
41547 Use char because int might match the return type of a GCC
41548 builtin and then its argument prototype would still apply. */
41552 char pthread_attr_setstacksize ();
41553 /* The GNU C library defines this for functions which it implements
41554 to always fail with ENOSYS. Some functions are actually named
41555 something starting with __ and the normal name is an alias. */
41556 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41563 return pthread_attr_setstacksize ();
41568 rm -f conftest.$ac_objext conftest$ac_exeext
41569 if { (ac_try="$ac_link"
41570 case "(($ac_try" in
41571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41572 *) ac_try_echo=$ac_try;;
41574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41575 (eval "$ac_link") 2>conftest.er1
41577 grep -v '^ *+' conftest.er1 >conftest.err
41579 cat conftest.err >&5
41580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581 (exit $ac_status); } && {
41582 test -z "$ac_c_werror_flag" ||
41583 test ! -s conftest.err
41584 } && test -s conftest$ac_exeext &&
41585 $as_test_x conftest$ac_exeext; then
41586 ac_cv_func_pthread_attr_setstacksize=yes
41588 echo "$as_me: failed program was:" >&5
41589 sed 's/^/| /' conftest.$ac_ext >&5
41591 ac_cv_func_pthread_attr_setstacksize=no
41594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41595 conftest$ac_exeext conftest.$ac_ext
41597 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41598 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41599 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41600 cat >>confdefs.h <<\_ACEOF
41601 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41608 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41609 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41610 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41611 echo $ECHO_N "(cached) $ECHO_C" >&6
41614 cat >conftest.$ac_ext <<_ACEOF
41617 cat confdefs.h >>conftest.$ac_ext
41618 cat >>conftest.$ac_ext <<_ACEOF
41619 /* end confdefs.h. */
41620 #include <pthread.h>
41625 pthread_mutexattr_t attr;
41626 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41632 rm -f conftest.$ac_objext
41633 if { (ac_try="$ac_compile"
41634 case "(($ac_try" in
41635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41636 *) ac_try_echo=$ac_try;;
41638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41639 (eval "$ac_compile") 2>conftest.er1
41641 grep -v '^ *+' conftest.er1 >conftest.err
41643 cat conftest.err >&5
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); } && {
41646 test -z "$ac_c_werror_flag" ||
41647 test ! -s conftest.err
41648 } && test -s conftest.$ac_objext; then
41649 wx_cv_type_pthread_mutexattr_t=yes
41651 echo "$as_me: failed program was:" >&5
41652 sed 's/^/| /' conftest.$ac_ext >&5
41654 wx_cv_type_pthread_mutexattr_t=no
41658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41662 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41664 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41665 cat >>confdefs.h <<\_ACEOF
41666 #define HAVE_PTHREAD_MUTEXATTR_T 1
41670 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41671 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41672 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41673 echo $ECHO_N "(cached) $ECHO_C" >&6
41676 cat >conftest.$ac_ext <<_ACEOF
41679 cat confdefs.h >>conftest.$ac_ext
41680 cat >>conftest.$ac_ext <<_ACEOF
41681 /* end confdefs.h. */
41682 #include <pthread.h>
41687 pthread_mutexattr_t attr;
41688 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41694 rm -f conftest.$ac_objext
41695 if { (ac_try="$ac_compile"
41696 case "(($ac_try" in
41697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41698 *) ac_try_echo=$ac_try;;
41700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41701 (eval "$ac_compile") 2>conftest.er1
41703 grep -v '^ *+' conftest.er1 >conftest.err
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } && {
41708 test -z "$ac_c_werror_flag" ||
41709 test ! -s conftest.err
41710 } && test -s conftest.$ac_objext; then
41711 wx_cv_func_pthread_mutexattr_settype_decl=yes
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.$ac_ext >&5
41716 wx_cv_func_pthread_mutexattr_settype_decl=no
41720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41724 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41725 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41726 cat >>confdefs.h <<\_ACEOF
41727 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41732 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41733 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41734 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41735 echo $ECHO_N "(cached) $ECHO_C" >&6
41738 cat >conftest.$ac_ext <<_ACEOF
41741 cat confdefs.h >>conftest.$ac_ext
41742 cat >>conftest.$ac_ext <<_ACEOF
41743 /* end confdefs.h. */
41744 #include <pthread.h>
41749 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41755 rm -f conftest.$ac_objext
41756 if { (ac_try="$ac_compile"
41757 case "(($ac_try" in
41758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41759 *) ac_try_echo=$ac_try;;
41761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41762 (eval "$ac_compile") 2>conftest.er1
41764 grep -v '^ *+' conftest.er1 >conftest.err
41766 cat conftest.err >&5
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); } && {
41769 test -z "$ac_c_werror_flag" ||
41770 test ! -s conftest.err
41771 } && test -s conftest.$ac_objext; then
41773 wx_cv_type_pthread_rec_mutex_init=yes
41776 echo "$as_me: failed program was:" >&5
41777 sed 's/^/| /' conftest.$ac_ext >&5
41780 wx_cv_type_pthread_rec_mutex_init=no
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41788 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41789 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41790 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41791 cat >>confdefs.h <<\_ACEOF
41792 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41796 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41797 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41801 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41802 if test "$USE_NETBSD" = 1; then
41803 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41804 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41805 wxUSE_COMPILER_TLS=no
41807 wxUSE_COMPILER_TLS=yes
41811 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41812 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41813 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41814 if test "${wx_cv_cc___thread+set}" = set; then
41815 echo $ECHO_N "(cached) $ECHO_C" >&6
41818 cat >conftest.$ac_ext <<_ACEOF
41821 cat confdefs.h >>conftest.$ac_ext
41822 cat >>conftest.$ac_ext <<_ACEOF
41823 /* end confdefs.h. */
41824 #include <pthread.h>
41829 static __thread int n = 0;
41830 static __thread int *p = 0;
41836 rm -f conftest.$ac_objext
41837 if { (ac_try="$ac_compile"
41838 case "(($ac_try" in
41839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41840 *) ac_try_echo=$ac_try;;
41842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41843 (eval "$ac_compile") 2>conftest.er1
41845 grep -v '^ *+' conftest.er1 >conftest.err
41847 cat conftest.err >&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } && {
41850 test -z "$ac_c_werror_flag" ||
41851 test ! -s conftest.err
41852 } && test -s conftest.$ac_objext; then
41853 wx_cv_cc___thread=yes
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41858 wx_cv_cc___thread=no
41862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41866 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41867 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41869 if test "$wx_cv_cc___thread" = "yes"; then
41875 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41876 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41878 if test "x$GCC" = "xyes" ; then
41880 if test -z "" ; then
41882 ax_gcc_option_test="int main()
41889 ax_gcc_option_test=""
41894 # Dump the test program to file
41895 cat <<EOF > conftest.c
41896 $ax_gcc_option_test
41899 # Dump back the file to the log, useful for debugging purposes
41900 { ac_try='cat conftest.c 1>&5'
41901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41902 (eval $ac_try) 2>&5
41904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41905 (exit $ac_status); }; }
41907 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41909 (eval $ac_try) 2>&5
41911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41912 (exit $ac_status); }; } ; then
41914 { echo "$as_me:$LINENO: result: yes" >&5
41915 echo "${ECHO_T}yes" >&6; }
41917 ax_gcc_version_option=yes
41922 { echo "$as_me:$LINENO: result: no" >&5
41923 echo "${ECHO_T}no" >&6; }
41925 ax_gcc_version_option=no
41933 { echo "$as_me:$LINENO: result: no gcc available" >&5
41934 echo "${ECHO_T}no gcc available" >&6; }
41939 if test "x$GXX" = "xyes"; then
41941 if test "x$ax_gxx_version_option" != "no"; then
41943 { echo "$as_me:$LINENO: checking gxx version" >&5
41944 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41945 if test "${ax_cv_gxx_version+set}" = set; then
41946 echo $ECHO_N "(cached) $ECHO_C" >&6
41949 ax_cv_gxx_version="`$CXX -dumpversion`"
41950 if test "x$ax_cv_gxx_version" = "x"; then
41952 ax_cv_gxx_version=""
41958 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41959 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41960 GXX_VERSION=$ax_cv_gxx_version
41969 if test -n "$ax_cv_gxx_version"; then
41970 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41971 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41972 case "$ax_cv_gxx_version" in
41974 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41975 echo "${ECHO_T}no, it's broken" >&6; }
41976 wx_cv_cc___thread=no
41979 { echo "$as_me:$LINENO: result: yes, it works" >&5
41980 echo "${ECHO_T}yes, it works" >&6; }
41986 if test "$wx_cv_cc___thread" = "yes"; then
41987 cat >>confdefs.h <<\_ACEOF
41988 #define HAVE___THREAD_KEYWORD 1
41996 if test "$wxUSE_THREADS" = "yes" ; then
41998 x86_64-*-mingw32* )
42001 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42002 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42003 if test "${wx_cv_cflags_mthread+set}" = set; then
42004 echo $ECHO_N "(cached) $ECHO_C" >&6
42007 CFLAGS_OLD="$CFLAGS"
42008 CFLAGS="-mthreads $CFLAGS"
42009 cat >conftest.$ac_ext <<_ACEOF
42012 cat confdefs.h >>conftest.$ac_ext
42013 cat >>conftest.$ac_ext <<_ACEOF
42014 /* end confdefs.h. */
42024 rm -f conftest.$ac_objext
42025 if { (ac_try="$ac_compile"
42026 case "(($ac_try" in
42027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42028 *) ac_try_echo=$ac_try;;
42030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42031 (eval "$ac_compile") 2>conftest.er1
42033 grep -v '^ *+' conftest.er1 >conftest.err
42035 cat conftest.err >&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); } && {
42038 test -z "$ac_c_werror_flag" ||
42039 test ! -s conftest.err
42040 } && test -s conftest.$ac_objext; then
42041 wx_cv_cflags_mthread=yes
42043 echo "$as_me: failed program was:" >&5
42044 sed 's/^/| /' conftest.$ac_ext >&5
42046 wx_cv_cflags_mthread=no
42050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42054 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42055 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42057 if test "$wx_cv_cflags_mthread" = "yes"; then
42058 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42059 LDFLAGS="$LDFLAGS -mthreads"
42061 CFLAGS="$CFLAGS_OLD"
42065 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42066 LDFLAGS="$LDFLAGS -Zmt"
42072 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42073 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42074 if test "${ac_cv_func_localtime_r+set}" = set; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42077 cat >conftest.$ac_ext <<_ACEOF
42080 cat confdefs.h >>conftest.$ac_ext
42081 cat >>conftest.$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42083 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42085 #define localtime_r innocuous_localtime_r
42087 /* System header to define __stub macros and hopefully few prototypes,
42088 which can conflict with char localtime_r (); below.
42089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42090 <limits.h> exists even on freestanding compilers. */
42093 # include <limits.h>
42095 # include <assert.h>
42100 /* Override any GCC internal prototype to avoid an error.
42101 Use char because int might match the return type of a GCC
42102 builtin and then its argument prototype would still apply. */
42106 char localtime_r ();
42107 /* The GNU C library defines this for functions which it implements
42108 to always fail with ENOSYS. Some functions are actually named
42109 something starting with __ and the normal name is an alias. */
42110 #if defined __stub_localtime_r || defined __stub___localtime_r
42117 return localtime_r ();
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42126 *) ac_try_echo=$ac_try;;
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42131 grep -v '^ *+' conftest.er1 >conftest.err
42133 cat conftest.err >&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest$ac_exeext &&
42139 $as_test_x conftest$ac_exeext; then
42140 ac_cv_func_localtime_r=yes
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.$ac_ext >&5
42145 ac_cv_func_localtime_r=no
42148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42149 conftest$ac_exeext conftest.$ac_ext
42151 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42152 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42153 if test $ac_cv_func_localtime_r = yes; then
42154 cat >>confdefs.h <<\_ACEOF
42155 #define HAVE_LOCALTIME_R 1
42160 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42161 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42162 if test "${ac_cv_func_gmtime_r+set}" = set; then
42163 echo $ECHO_N "(cached) $ECHO_C" >&6
42165 cat >conftest.$ac_ext <<_ACEOF
42168 cat confdefs.h >>conftest.$ac_ext
42169 cat >>conftest.$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42171 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42173 #define gmtime_r innocuous_gmtime_r
42175 /* System header to define __stub macros and hopefully few prototypes,
42176 which can conflict with char gmtime_r (); below.
42177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42178 <limits.h> exists even on freestanding compilers. */
42181 # include <limits.h>
42183 # include <assert.h>
42188 /* Override any GCC internal prototype to avoid an error.
42189 Use char because int might match the return type of a GCC
42190 builtin and then its argument prototype would still apply. */
42195 /* The GNU C library defines this for functions which it implements
42196 to always fail with ENOSYS. Some functions are actually named
42197 something starting with __ and the normal name is an alias. */
42198 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42205 return gmtime_r ();
42210 rm -f conftest.$ac_objext conftest$ac_exeext
42211 if { (ac_try="$ac_link"
42212 case "(($ac_try" in
42213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42214 *) ac_try_echo=$ac_try;;
42216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42217 (eval "$ac_link") 2>conftest.er1
42219 grep -v '^ *+' conftest.er1 >conftest.err
42221 cat conftest.err >&5
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); } && {
42224 test -z "$ac_c_werror_flag" ||
42225 test ! -s conftest.err
42226 } && test -s conftest$ac_exeext &&
42227 $as_test_x conftest$ac_exeext; then
42228 ac_cv_func_gmtime_r=yes
42230 echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.$ac_ext >&5
42233 ac_cv_func_gmtime_r=no
42236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42237 conftest$ac_exeext conftest.$ac_ext
42239 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42240 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42241 if test $ac_cv_func_gmtime_r = yes; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define HAVE_GMTIME_R 1
42252 ac_cpp='$CPP $CPPFLAGS'
42253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42257 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42258 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42260 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42265 ################################################################
42267 ac_cv_func_which_gethostbyname_r=unknown
42270 # ONE ARGUMENT (sanity check)
42273 # This should fail, as there is no variant of gethostbyname_r() that takes
42274 # a single argument. If it actually compiles, then we can assume that
42275 # netdb.h is not declaring the function, and the compiler is thereby
42276 # assuming an implicit prototype. In which case, we're out of luck.
42278 cat >conftest.$ac_ext <<_ACEOF
42281 cat confdefs.h >>conftest.$ac_ext
42282 cat >>conftest.$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42289 char *name = "www.gnu.org";
42290 (void)gethostbyname_r(name) /* ; */
42296 rm -f conftest.$ac_objext
42297 if { (ac_try="$ac_compile"
42298 case "(($ac_try" in
42299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42300 *) ac_try_echo=$ac_try;;
42302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42303 (eval "$ac_compile") 2>conftest.er1
42305 grep -v '^ *+' conftest.er1 >conftest.err
42307 cat conftest.err >&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); } && {
42310 test -z "$ac_c_werror_flag" ||
42311 test ! -s conftest.err
42312 } && test -s conftest.$ac_objext; then
42313 ac_cv_func_which_gethostbyname_r=no
42315 echo "$as_me: failed program was:" >&5
42316 sed 's/^/| /' conftest.$ac_ext >&5
42321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42328 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42330 cat >conftest.$ac_ext <<_ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42341 char *name = "www.gnu.org";
42342 struct hostent ret, *retp;
42346 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42352 rm -f conftest.$ac_objext
42353 if { (ac_try="$ac_compile"
42354 case "(($ac_try" in
42355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42356 *) ac_try_echo=$ac_try;;
42358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42359 (eval "$ac_compile") 2>conftest.er1
42361 grep -v '^ *+' conftest.er1 >conftest.err
42363 cat conftest.err >&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); } && {
42366 test -z "$ac_c_werror_flag" ||
42367 test ! -s conftest.err
42368 } && test -s conftest.$ac_objext; then
42369 ac_cv_func_which_gethostbyname_r=six
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42386 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42388 cat >conftest.$ac_ext <<_ACEOF
42391 cat confdefs.h >>conftest.$ac_ext
42392 cat >>conftest.$ac_ext <<_ACEOF
42393 /* end confdefs.h. */
42399 char *name = "www.gnu.org";
42400 struct hostent ret;
42404 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42410 rm -f conftest.$ac_objext
42411 if { (ac_try="$ac_compile"
42412 case "(($ac_try" in
42413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42414 *) ac_try_echo=$ac_try;;
42416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42417 (eval "$ac_compile") 2>conftest.er1
42419 grep -v '^ *+' conftest.er1 >conftest.err
42421 cat conftest.err >&5
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); } && {
42424 test -z "$ac_c_werror_flag" ||
42425 test ! -s conftest.err
42426 } && test -s conftest.$ac_objext; then
42427 ac_cv_func_which_gethostbyname_r=five
42429 echo "$as_me: failed program was:" >&5
42430 sed 's/^/| /' conftest.$ac_ext >&5
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42441 # (e.g. AIX, HP-UX, Tru64)
42444 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42446 cat >conftest.$ac_ext <<_ACEOF
42449 cat confdefs.h >>conftest.$ac_ext
42450 cat >>conftest.$ac_ext <<_ACEOF
42451 /* end confdefs.h. */
42457 char *name = "www.gnu.org";
42458 struct hostent ret;
42459 struct hostent_data data;
42460 (void)gethostbyname_r(name, &ret, &data) /* ; */
42466 rm -f conftest.$ac_objext
42467 if { (ac_try="$ac_compile"
42468 case "(($ac_try" in
42469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42470 *) ac_try_echo=$ac_try;;
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_compile") 2>conftest.er1
42475 grep -v '^ *+' conftest.er1 >conftest.err
42477 cat conftest.err >&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } && {
42480 test -z "$ac_c_werror_flag" ||
42481 test ! -s conftest.err
42482 } && test -s conftest.$ac_objext; then
42483 ac_cv_func_which_gethostbyname_r=three
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495 ################################################################
42500 case "$ac_cv_func_which_gethostbyname_r" in
42502 { echo "$as_me:$LINENO: result: three" >&5
42503 echo "${ECHO_T}three" >&6; }
42504 cat >>confdefs.h <<\_ACEOF
42505 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42511 { echo "$as_me:$LINENO: result: five" >&5
42512 echo "${ECHO_T}five" >&6; }
42513 cat >>confdefs.h <<\_ACEOF
42514 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42520 { echo "$as_me:$LINENO: result: six" >&5
42521 echo "${ECHO_T}six" >&6; }
42522 cat >>confdefs.h <<\_ACEOF
42523 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42529 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42530 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42534 { echo "$as_me:$LINENO: result: can't tell" >&5
42535 echo "${ECHO_T}can't tell" >&6; }
42539 { { echo "$as_me:$LINENO: error: internal error" >&5
42540 echo "$as_me: error: internal error" >&2;}
42541 { (exit 1); exit 1; }; }
42546 ac_cpp='$CPP $CPPFLAGS'
42547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42553 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42554 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42555 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42556 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42557 if test "${ac_cv_func_gethostbyname+set}" = set; then
42558 echo $ECHO_N "(cached) $ECHO_C" >&6
42560 cat >conftest.$ac_ext <<_ACEOF
42563 cat confdefs.h >>conftest.$ac_ext
42564 cat >>conftest.$ac_ext <<_ACEOF
42565 /* end confdefs.h. */
42566 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42568 #define gethostbyname innocuous_gethostbyname
42570 /* System header to define __stub macros and hopefully few prototypes,
42571 which can conflict with char gethostbyname (); below.
42572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42573 <limits.h> exists even on freestanding compilers. */
42576 # include <limits.h>
42578 # include <assert.h>
42581 #undef gethostbyname
42583 /* Override any GCC internal prototype to avoid an error.
42584 Use char because int might match the return type of a GCC
42585 builtin and then its argument prototype would still apply. */
42589 char gethostbyname ();
42590 /* The GNU C library defines this for functions which it implements
42591 to always fail with ENOSYS. Some functions are actually named
42592 something starting with __ and the normal name is an alias. */
42593 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42600 return gethostbyname ();
42605 rm -f conftest.$ac_objext conftest$ac_exeext
42606 if { (ac_try="$ac_link"
42607 case "(($ac_try" in
42608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42609 *) ac_try_echo=$ac_try;;
42611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42612 (eval "$ac_link") 2>conftest.er1
42614 grep -v '^ *+' conftest.er1 >conftest.err
42616 cat conftest.err >&5
42617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42618 (exit $ac_status); } && {
42619 test -z "$ac_c_werror_flag" ||
42620 test ! -s conftest.err
42621 } && test -s conftest$ac_exeext &&
42622 $as_test_x conftest$ac_exeext; then
42623 ac_cv_func_gethostbyname=yes
42625 echo "$as_me: failed program was:" >&5
42626 sed 's/^/| /' conftest.$ac_ext >&5
42628 ac_cv_func_gethostbyname=no
42631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42632 conftest$ac_exeext conftest.$ac_ext
42634 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42635 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42636 if test $ac_cv_func_gethostbyname = yes; then
42637 cat >>confdefs.h <<\_ACEOF
42638 #define HAVE_GETHOSTBYNAME 1
42645 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42646 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42647 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42648 echo $ECHO_N "(cached) $ECHO_C" >&6
42652 ac_cpp='$CXXCPP $CPPFLAGS'
42653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42658 cat >conftest.$ac_ext <<_ACEOF
42661 cat confdefs.h >>conftest.$ac_ext
42662 cat >>conftest.$ac_ext <<_ACEOF
42663 /* end confdefs.h. */
42671 struct servent *se, *res;
42674 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42680 rm -f conftest.$ac_objext
42681 if { (ac_try="$ac_compile"
42682 case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42684 *) ac_try_echo=$ac_try;;
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_compile") 2>conftest.er1
42689 grep -v '^ *+' conftest.er1 >conftest.err
42691 cat conftest.err >&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } && {
42694 test -z "$ac_cxx_werror_flag" ||
42695 test ! -s conftest.err
42696 } && test -s conftest.$ac_objext; then
42697 ac_cv_func_which_getservbyname_r=six
42699 echo "$as_me: failed program was:" >&5
42700 sed 's/^/| /' conftest.$ac_ext >&5
42703 cat >conftest.$ac_ext <<_ACEOF
42706 cat confdefs.h >>conftest.$ac_ext
42707 cat >>conftest.$ac_ext <<_ACEOF
42708 /* end confdefs.h. */
42716 struct servent *se;
42719 (void) getservbyname_r(name, proto, se, buffer, buflen)
42725 rm -f conftest.$ac_objext
42726 if { (ac_try="$ac_compile"
42727 case "(($ac_try" in
42728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42729 *) ac_try_echo=$ac_try;;
42731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42732 (eval "$ac_compile") 2>conftest.er1
42734 grep -v '^ *+' conftest.er1 >conftest.err
42736 cat conftest.err >&5
42737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42738 (exit $ac_status); } && {
42739 test -z "$ac_cxx_werror_flag" ||
42740 test ! -s conftest.err
42741 } && test -s conftest.$ac_objext; then
42742 ac_cv_func_which_getservbyname_r=five
42744 echo "$as_me: failed program was:" >&5
42745 sed 's/^/| /' conftest.$ac_ext >&5
42748 cat >conftest.$ac_ext <<_ACEOF
42751 cat confdefs.h >>conftest.$ac_ext
42752 cat >>conftest.$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42761 struct servent *se;
42762 struct servent_data data;
42763 (void) getservbyname_r(name, proto, se, &data);
42769 rm -f conftest.$ac_objext
42770 if { (ac_try="$ac_compile"
42771 case "(($ac_try" in
42772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42773 *) ac_try_echo=$ac_try;;
42775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42776 (eval "$ac_compile") 2>conftest.er1
42778 grep -v '^ *+' conftest.er1 >conftest.err
42780 cat conftest.err >&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); } && {
42783 test -z "$ac_cxx_werror_flag" ||
42784 test ! -s conftest.err
42785 } && test -s conftest.$ac_objext; then
42786 ac_cv_func_which_getservbyname_r=four
42788 echo "$as_me: failed program was:" >&5
42789 sed 's/^/| /' conftest.$ac_ext >&5
42791 ac_cv_func_which_getservbyname_r=no
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42807 ac_cpp='$CPP $CPPFLAGS'
42808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42815 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42816 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42818 if test $ac_cv_func_which_getservbyname_r = six; then
42819 cat >>confdefs.h <<\_ACEOF
42820 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42823 elif test $ac_cv_func_which_getservbyname_r = five; then
42824 cat >>confdefs.h <<\_ACEOF
42825 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42828 elif test $ac_cv_func_which_getservbyname_r = four; then
42829 cat >>confdefs.h <<\_ACEOF
42830 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42836 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42837 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42839 for ac_func in getservbyname
42841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42845 echo $ECHO_N "(cached) $ECHO_C" >&6
42847 cat >conftest.$ac_ext <<_ACEOF
42850 cat confdefs.h >>conftest.$ac_ext
42851 cat >>conftest.$ac_ext <<_ACEOF
42852 /* end confdefs.h. */
42853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42855 #define $ac_func innocuous_$ac_func
42857 /* System header to define __stub macros and hopefully few prototypes,
42858 which can conflict with char $ac_func (); below.
42859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42860 <limits.h> exists even on freestanding compilers. */
42863 # include <limits.h>
42865 # include <assert.h>
42870 /* Override any GCC internal prototype to avoid an error.
42871 Use char because int might match the return type of a GCC
42872 builtin and then its argument prototype would still apply. */
42877 /* The GNU C library defines this for functions which it implements
42878 to always fail with ENOSYS. Some functions are actually named
42879 something starting with __ and the normal name is an alias. */
42880 #if defined __stub_$ac_func || defined __stub___$ac_func
42887 return $ac_func ();
42892 rm -f conftest.$ac_objext conftest$ac_exeext
42893 if { (ac_try="$ac_link"
42894 case "(($ac_try" in
42895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42896 *) ac_try_echo=$ac_try;;
42898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42899 (eval "$ac_link") 2>conftest.er1
42901 grep -v '^ *+' conftest.er1 >conftest.err
42903 cat conftest.err >&5
42904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42905 (exit $ac_status); } && {
42906 test -z "$ac_c_werror_flag" ||
42907 test ! -s conftest.err
42908 } && test -s conftest$ac_exeext &&
42909 $as_test_x conftest$ac_exeext; then
42910 eval "$as_ac_var=yes"
42912 echo "$as_me: failed program was:" >&5
42913 sed 's/^/| /' conftest.$ac_ext >&5
42915 eval "$as_ac_var=no"
42918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42919 conftest$ac_exeext conftest.$ac_ext
42921 ac_res=`eval echo '${'$as_ac_var'}'`
42922 { echo "$as_me:$LINENO: result: $ac_res" >&5
42923 echo "${ECHO_T}$ac_res" >&6; }
42924 if test `eval echo '${'$as_ac_var'}'` = yes; then
42925 cat >>confdefs.h <<_ACEOF
42926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42928 cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_GETSERVBYNAME 1
42937 if test "$wxUSE_THREADS" = "yes"; then
42938 cat >>confdefs.h <<\_ACEOF
42939 #define wxUSE_THREADS 1
42943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42945 if test "$wx_cv_func_strtok_r" = "yes"; then
42946 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42947 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42948 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42949 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42950 { echo "$as_me:$LINENO: result: yes" >&5
42951 echo "${ECHO_T}yes" >&6; }
42953 { echo "$as_me:$LINENO: result: no" >&5
42954 echo "${ECHO_T}no" >&6; }
42959 if test "$WXGTK2" = 1 ; then
42960 cat >>confdefs.h <<_ACEOF
42961 #define __WXGTK20__ $WXGTK2
42966 if test "$WXGTK127" = 1 ; then
42967 cat >>confdefs.h <<_ACEOF
42968 #define __WXGTK127__ $WXGTK127
42973 if test "$WXGPE" = 1 ; then
42974 cat >>confdefs.h <<_ACEOF
42975 #define __WXGPE__ $WXGPE
42981 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42982 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42983 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42984 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42988 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42989 wxUSE_DEBUG_INFO=yes
42990 if test "$GCC" = yes; then
42991 DEBUG_CFLAGS="-ggdb"
42995 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42996 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42998 if test "$wxUSE_GTK" = 1 ; then
42999 if test "x$wxGTK_VERSION" = "x1" ; then
43000 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43002 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
43007 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43008 cat >>confdefs.h <<\_ACEOF
43009 #define wxUSE_MEMORY_TRACING 1
43012 cat >>confdefs.h <<\_ACEOF
43013 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43016 cat >>confdefs.h <<\_ACEOF
43017 #define wxUSE_DEBUG_NEW_ALWAYS 1
43020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43023 if test "$wxUSE_DMALLOC" = "yes" ; then
43024 DMALLOC_LIBS="-ldmallocthcxx"
43028 if test "$wxUSE_PROFILE" = "yes" ; then
43029 PROFILE_FLAGS=" -pg"
43032 if test "$GCC" = "yes" ; then
43033 if test "$wxUSE_NO_RTTI" = "yes" ; then
43034 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43036 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43037 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43039 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43040 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43045 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43048 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43054 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43055 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43056 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43058 if test "$wxUSE_OPTIMISE" = "no" ; then
43059 if test "$GCC" = yes ; then
43060 OPTIMISE_CFLAGS="-O0"
43063 if test "$GCC" = yes ; then
43065 *-pc-os2_emx | *-pc-os2-emx )
43066 OPTIMISE_CFLAGS="-O2"
43069 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43073 OPTIMISE_CFLAGS="-O"
43079 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43080 cat >>confdefs.h <<\_ACEOF
43081 #define WXWIN_COMPATIBILITY_2_6 1
43085 WXWIN_COMPATIBILITY_2_8="yes"
43088 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43089 cat >>confdefs.h <<\_ACEOF
43090 #define WXWIN_COMPATIBILITY_2_8 1
43096 if test "$wxUSE_GUI" = "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_GUI 1
43105 if test "$wxUSE_UNIX" = "yes"; then
43106 cat >>confdefs.h <<\_ACEOF
43107 #define wxUSE_UNIX 1
43113 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43117 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43118 if test "$USE_DOS" = 1; then
43122 for ac_func in dlopen
43124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43128 echo $ECHO_N "(cached) $ECHO_C" >&6
43130 cat >conftest.$ac_ext <<_ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43138 #define $ac_func innocuous_$ac_func
43140 /* System header to define __stub macros and hopefully few prototypes,
43141 which can conflict with char $ac_func (); below.
43142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43143 <limits.h> exists even on freestanding compilers. */
43146 # include <limits.h>
43148 # include <assert.h>
43153 /* Override any GCC internal prototype to avoid an error.
43154 Use char because int might match the return type of a GCC
43155 builtin and then its argument prototype would still apply. */
43160 /* The GNU C library defines this for functions which it implements
43161 to always fail with ENOSYS. Some functions are actually named
43162 something starting with __ and the normal name is an alias. */
43163 #if defined __stub_$ac_func || defined __stub___$ac_func
43170 return $ac_func ();
43175 rm -f conftest.$ac_objext conftest$ac_exeext
43176 if { (ac_try="$ac_link"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43179 *) ac_try_echo=$ac_try;;
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_link") 2>conftest.er1
43184 grep -v '^ *+' conftest.er1 >conftest.err
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } && {
43189 test -z "$ac_c_werror_flag" ||
43190 test ! -s conftest.err
43191 } && test -s conftest$ac_exeext &&
43192 $as_test_x conftest$ac_exeext; then
43193 eval "$as_ac_var=yes"
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43198 eval "$as_ac_var=no"
43201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43202 conftest$ac_exeext conftest.$ac_ext
43204 ac_res=`eval echo '${'$as_ac_var'}'`
43205 { echo "$as_me:$LINENO: result: $ac_res" >&5
43206 echo "${ECHO_T}$ac_res" >&6; }
43207 if test `eval echo '${'$as_ac_var'}'` = yes; then
43208 cat >>confdefs.h <<_ACEOF
43209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43212 cat >>confdefs.h <<\_ACEOF
43213 #define HAVE_DLOPEN 1
43220 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43221 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43222 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43225 ac_check_lib_save_LIBS=$LIBS
43227 cat >conftest.$ac_ext <<_ACEOF
43230 cat confdefs.h >>conftest.$ac_ext
43231 cat >>conftest.$ac_ext <<_ACEOF
43232 /* end confdefs.h. */
43234 /* Override any GCC internal prototype to avoid an error.
43235 Use char because int might match the return type of a GCC
43236 builtin and then its argument prototype would still apply. */
43249 rm -f conftest.$ac_objext conftest$ac_exeext
43250 if { (ac_try="$ac_link"
43251 case "(($ac_try" in
43252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43253 *) ac_try_echo=$ac_try;;
43255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43256 (eval "$ac_link") 2>conftest.er1
43258 grep -v '^ *+' conftest.er1 >conftest.err
43260 cat conftest.err >&5
43261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43262 (exit $ac_status); } && {
43263 test -z "$ac_c_werror_flag" ||
43264 test ! -s conftest.err
43265 } && test -s conftest$ac_exeext &&
43266 $as_test_x conftest$ac_exeext; then
43267 ac_cv_lib_dl_dlopen=yes
43269 echo "$as_me: failed program was:" >&5
43270 sed 's/^/| /' conftest.$ac_ext >&5
43272 ac_cv_lib_dl_dlopen=no
43275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43276 conftest$ac_exeext conftest.$ac_ext
43277 LIBS=$ac_check_lib_save_LIBS
43279 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43280 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43281 if test $ac_cv_lib_dl_dlopen = yes; then
43283 cat >>confdefs.h <<\_ACEOF
43284 #define HAVE_DLOPEN 1
43288 DL_LINK=" -ldl$DL_LINK"
43293 for ac_func in shl_load
43295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43299 echo $ECHO_N "(cached) $ECHO_C" >&6
43301 cat >conftest.$ac_ext <<_ACEOF
43304 cat confdefs.h >>conftest.$ac_ext
43305 cat >>conftest.$ac_ext <<_ACEOF
43306 /* end confdefs.h. */
43307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43309 #define $ac_func innocuous_$ac_func
43311 /* System header to define __stub macros and hopefully few prototypes,
43312 which can conflict with char $ac_func (); below.
43313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43314 <limits.h> exists even on freestanding compilers. */
43317 # include <limits.h>
43319 # include <assert.h>
43324 /* Override any GCC internal prototype to avoid an error.
43325 Use char because int might match the return type of a GCC
43326 builtin and then its argument prototype would still apply. */
43331 /* The GNU C library defines this for functions which it implements
43332 to always fail with ENOSYS. Some functions are actually named
43333 something starting with __ and the normal name is an alias. */
43334 #if defined __stub_$ac_func || defined __stub___$ac_func
43341 return $ac_func ();
43346 rm -f conftest.$ac_objext conftest$ac_exeext
43347 if { (ac_try="$ac_link"
43348 case "(($ac_try" in
43349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43350 *) ac_try_echo=$ac_try;;
43352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43353 (eval "$ac_link") 2>conftest.er1
43355 grep -v '^ *+' conftest.er1 >conftest.err
43357 cat conftest.err >&5
43358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43359 (exit $ac_status); } && {
43360 test -z "$ac_c_werror_flag" ||
43361 test ! -s conftest.err
43362 } && test -s conftest$ac_exeext &&
43363 $as_test_x conftest$ac_exeext; then
43364 eval "$as_ac_var=yes"
43366 echo "$as_me: failed program was:" >&5
43367 sed 's/^/| /' conftest.$ac_ext >&5
43369 eval "$as_ac_var=no"
43372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43373 conftest$ac_exeext conftest.$ac_ext
43375 ac_res=`eval echo '${'$as_ac_var'}'`
43376 { echo "$as_me:$LINENO: result: $ac_res" >&5
43377 echo "${ECHO_T}$ac_res" >&6; }
43378 if test `eval echo '${'$as_ac_var'}'` = yes; then
43379 cat >>confdefs.h <<_ACEOF
43380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_SHL_LOAD 1
43391 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43392 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43393 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43394 echo $ECHO_N "(cached) $ECHO_C" >&6
43396 ac_check_lib_save_LIBS=$LIBS
43397 LIBS="-lshl_load $LIBS"
43398 cat >conftest.$ac_ext <<_ACEOF
43401 cat confdefs.h >>conftest.$ac_ext
43402 cat >>conftest.$ac_ext <<_ACEOF
43403 /* end confdefs.h. */
43405 /* Override any GCC internal prototype to avoid an error.
43406 Use char because int might match the return type of a GCC
43407 builtin and then its argument prototype would still apply. */
43420 rm -f conftest.$ac_objext conftest$ac_exeext
43421 if { (ac_try="$ac_link"
43422 case "(($ac_try" in
43423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43424 *) ac_try_echo=$ac_try;;
43426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43427 (eval "$ac_link") 2>conftest.er1
43429 grep -v '^ *+' conftest.er1 >conftest.err
43431 cat conftest.err >&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } && {
43434 test -z "$ac_c_werror_flag" ||
43435 test ! -s conftest.err
43436 } && test -s conftest$ac_exeext &&
43437 $as_test_x conftest$ac_exeext; then
43438 ac_cv_lib_shl_load_dld=yes
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43443 ac_cv_lib_shl_load_dld=no
43446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43447 conftest$ac_exeext conftest.$ac_ext
43448 LIBS=$ac_check_lib_save_LIBS
43450 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43451 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43452 if test $ac_cv_lib_shl_load_dld = yes; then
43455 DL_LINK=" -ldld$DL_LINK"
43471 if test "$HAVE_DL_FUNCS" = 1; then
43473 for ac_func in dlerror
43475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43479 echo $ECHO_N "(cached) $ECHO_C" >&6
43481 cat >conftest.$ac_ext <<_ACEOF
43484 cat confdefs.h >>conftest.$ac_ext
43485 cat >>conftest.$ac_ext <<_ACEOF
43486 /* end confdefs.h. */
43487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43489 #define $ac_func innocuous_$ac_func
43491 /* System header to define __stub macros and hopefully few prototypes,
43492 which can conflict with char $ac_func (); below.
43493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43494 <limits.h> exists even on freestanding compilers. */
43497 # include <limits.h>
43499 # include <assert.h>
43504 /* Override any GCC internal prototype to avoid an error.
43505 Use char because int might match the return type of a GCC
43506 builtin and then its argument prototype would still apply. */
43511 /* The GNU C library defines this for functions which it implements
43512 to always fail with ENOSYS. Some functions are actually named
43513 something starting with __ and the normal name is an alias. */
43514 #if defined __stub_$ac_func || defined __stub___$ac_func
43521 return $ac_func ();
43526 rm -f conftest.$ac_objext conftest$ac_exeext
43527 if { (ac_try="$ac_link"
43528 case "(($ac_try" in
43529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43530 *) ac_try_echo=$ac_try;;
43532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43533 (eval "$ac_link") 2>conftest.er1
43535 grep -v '^ *+' conftest.er1 >conftest.err
43537 cat conftest.err >&5
43538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43539 (exit $ac_status); } && {
43540 test -z "$ac_c_werror_flag" ||
43541 test ! -s conftest.err
43542 } && test -s conftest$ac_exeext &&
43543 $as_test_x conftest$ac_exeext; then
43544 eval "$as_ac_var=yes"
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43549 eval "$as_ac_var=no"
43552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43553 conftest$ac_exeext conftest.$ac_ext
43555 ac_res=`eval echo '${'$as_ac_var'}'`
43556 { echo "$as_me:$LINENO: result: $ac_res" >&5
43557 echo "${ECHO_T}$ac_res" >&6; }
43558 if test `eval echo '${'$as_ac_var'}'` = yes; then
43559 cat >>confdefs.h <<_ACEOF
43560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43562 cat >>confdefs.h <<\_ACEOF
43563 #define HAVE_DLERROR 1
43568 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43569 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43570 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43571 echo $ECHO_N "(cached) $ECHO_C" >&6
43573 ac_check_lib_save_LIBS=$LIBS
43575 cat >conftest.$ac_ext <<_ACEOF
43578 cat confdefs.h >>conftest.$ac_ext
43579 cat >>conftest.$ac_ext <<_ACEOF
43580 /* end confdefs.h. */
43582 /* Override any GCC internal prototype to avoid an error.
43583 Use char because int might match the return type of a GCC
43584 builtin and then its argument prototype would still apply. */
43597 rm -f conftest.$ac_objext conftest$ac_exeext
43598 if { (ac_try="$ac_link"
43599 case "(($ac_try" in
43600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43601 *) ac_try_echo=$ac_try;;
43603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43604 (eval "$ac_link") 2>conftest.er1
43606 grep -v '^ *+' conftest.er1 >conftest.err
43608 cat conftest.err >&5
43609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43610 (exit $ac_status); } && {
43611 test -z "$ac_c_werror_flag" ||
43612 test ! -s conftest.err
43613 } && test -s conftest$ac_exeext &&
43614 $as_test_x conftest$ac_exeext; then
43615 ac_cv_lib_dl_dlerror=yes
43617 echo "$as_me: failed program was:" >&5
43618 sed 's/^/| /' conftest.$ac_ext >&5
43620 ac_cv_lib_dl_dlerror=no
43623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43624 conftest$ac_exeext conftest.$ac_ext
43625 LIBS=$ac_check_lib_save_LIBS
43627 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43628 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43629 if test $ac_cv_lib_dl_dlerror = yes; then
43630 cat >>confdefs.h <<\_ACEOF
43631 #define HAVE_DLERROR 1
43644 if test "$USE_DARWIN" = 1; then
43648 if test "$HAVE_DL_FUNCS" = 0; then
43649 if test "$HAVE_SHL_FUNCS" = 0; then
43650 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43651 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43652 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43653 wxUSE_DYNAMIC_LOADER=no
43654 wxUSE_DYNLIB_CLASS=no
43656 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43657 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43664 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43665 cat >>confdefs.h <<\_ACEOF
43666 #define wxUSE_DYNAMIC_LOADER 1
43670 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43671 cat >>confdefs.h <<\_ACEOF
43672 #define wxUSE_DYNLIB_CLASS 1
43679 if test "$wxUSE_PLUGINS" = "yes" ; then
43680 if test "$wxUSE_SHARED" = "no" ; then
43681 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43682 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43685 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43686 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43687 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43690 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43691 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43692 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43695 if test "$wxUSE_PLUGINS" = "yes" ; then
43696 cat >>confdefs.h <<\_ACEOF
43697 #define wxUSE_PLUGINS 1
43704 if test "$wxUSE_FSWATCHER" = "yes"; then
43705 if test "$wxUSE_MSW" != "1"; then
43706 if test "$wxUSE_UNIX" = "yes"; then
43708 for ac_header in sys/inotify.h
43710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43714 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 cat >conftest.$ac_ext <<_ACEOF
43719 cat confdefs.h >>conftest.$ac_ext
43720 cat >>conftest.$ac_ext <<_ACEOF
43721 /* end confdefs.h. */
43722 $ac_includes_default
43724 #include <$ac_header>
43726 rm -f conftest.$ac_objext
43727 if { (ac_try="$ac_compile"
43728 case "(($ac_try" in
43729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43730 *) ac_try_echo=$ac_try;;
43732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43733 (eval "$ac_compile") 2>conftest.er1
43735 grep -v '^ *+' conftest.er1 >conftest.err
43737 cat conftest.err >&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); } && {
43740 test -z "$ac_c_werror_flag" ||
43741 test ! -s conftest.err
43742 } && test -s conftest.$ac_objext; then
43743 eval "$as_ac_Header=yes"
43745 echo "$as_me: failed program was:" >&5
43746 sed 's/^/| /' conftest.$ac_ext >&5
43748 eval "$as_ac_Header=no"
43751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43753 ac_res=`eval echo '${'$as_ac_Header'}'`
43754 { echo "$as_me:$LINENO: result: $ac_res" >&5
43755 echo "${ECHO_T}$ac_res" >&6; }
43756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43757 cat >>confdefs.h <<_ACEOF
43758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43765 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43766 cat >>confdefs.h <<\_ACEOF
43767 #define wxHAS_INOTIFY 1
43772 for ac_header in sys/event.h
43774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43778 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 cat >conftest.$ac_ext <<_ACEOF
43783 cat confdefs.h >>conftest.$ac_ext
43784 cat >>conftest.$ac_ext <<_ACEOF
43785 /* end confdefs.h. */
43786 $ac_includes_default
43788 #include <$ac_header>
43790 rm -f conftest.$ac_objext
43791 if { (ac_try="$ac_compile"
43792 case "(($ac_try" in
43793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_compile") 2>conftest.er1
43799 grep -v '^ *+' conftest.er1 >conftest.err
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest.$ac_objext; then
43807 eval "$as_ac_Header=yes"
43809 echo "$as_me: failed program was:" >&5
43810 sed 's/^/| /' conftest.$ac_ext >&5
43812 eval "$as_ac_Header=no"
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43817 ac_res=`eval echo '${'$as_ac_Header'}'`
43818 { echo "$as_me:$LINENO: result: $ac_res" >&5
43819 echo "${ECHO_T}$ac_res" >&6; }
43820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43821 cat >>confdefs.h <<_ACEOF
43822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43829 if test "$ac_cv_header_sys_event_h" = "yes"; then
43830 cat >>confdefs.h <<\_ACEOF
43831 #define wxHAS_KQUEUE 1
43842 if test "$wxUSE_THREADS" != "yes"; then
43843 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43844 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43849 if test "$wxUSE_FSWATCHER" = "yes"; then
43850 cat >>confdefs.h <<\_ACEOF
43851 #define wxUSE_FSWATCHER 1
43854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43856 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43857 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43862 if test "$wxUSE_STL" = "yes"; then
43863 cat >>confdefs.h <<\_ACEOF
43864 #define wxUSE_STL 1
43869 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43870 cat >>confdefs.h <<\_ACEOF
43871 #define wxUSE_EXTENDED_RTTI 1
43876 if test "$wxUSE_ANY" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_ANY 1
43883 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43884 cat >>confdefs.h <<\_ACEOF
43885 #define wxUSE_APPLE_IEEE 1
43890 if test "$wxUSE_TIMER" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_TIMER 1
43897 if test "$USE_UNIX" = 1 ; then
43898 if test "$wxUSE_MGL" != 1; then
43899 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43900 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43901 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43902 echo $ECHO_N "(cached) $ECHO_C" >&6
43905 cat >conftest.$ac_ext <<_ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43912 #include <sys/ioctl.h>
43913 #include <sys/soundcard.h>
43919 ioctl(0, SNDCTL_DSP_SPEED, 0);
43925 rm -f conftest.$ac_objext conftest$ac_exeext
43926 if { (ac_try="$ac_link"
43927 case "(($ac_try" in
43928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43929 *) ac_try_echo=$ac_try;;
43931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43932 (eval "$ac_link") 2>conftest.er1
43934 grep -v '^ *+' conftest.er1 >conftest.err
43936 cat conftest.err >&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } && {
43939 test -z "$ac_c_werror_flag" ||
43940 test ! -s conftest.err
43941 } && test -s conftest$ac_exeext &&
43942 $as_test_x conftest$ac_exeext; then
43943 ac_cv_header_sys_soundcard=yes
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43950 LIBS="$saveLibs -lossaudio"
43951 cat >conftest.$ac_ext <<_ACEOF
43954 cat confdefs.h >>conftest.$ac_ext
43955 cat >>conftest.$ac_ext <<_ACEOF
43956 /* end confdefs.h. */
43958 #include <sys/ioctl.h>
43959 #include <sys/soundcard.h>
43965 ioctl(0, SNDCTL_DSP_SPEED, 0);
43971 rm -f conftest.$ac_objext conftest$ac_exeext
43972 if { (ac_try="$ac_link"
43973 case "(($ac_try" in
43974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43975 *) ac_try_echo=$ac_try;;
43977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43978 (eval "$ac_link") 2>conftest.er1
43980 grep -v '^ *+' conftest.er1 >conftest.err
43982 cat conftest.err >&5
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); } && {
43985 test -z "$ac_c_werror_flag" ||
43986 test ! -s conftest.err
43987 } && test -s conftest$ac_exeext &&
43988 $as_test_x conftest$ac_exeext; then
43989 ac_cv_header_sys_soundcard=yes
43991 echo "$as_me: failed program was:" >&5
43992 sed 's/^/| /' conftest.$ac_ext >&5
43996 ac_cv_header_sys_soundcard=no
44001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44002 conftest$ac_exeext conftest.$ac_ext
44007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44008 conftest$ac_exeext conftest.$ac_ext
44011 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44012 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44015 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44016 cat >>confdefs.h <<\_ACEOF
44017 #define HAVE_SYS_SOUNDCARD_H 1
44024 if test "$wxUSE_SOUND" = "yes"; then
44025 if test "$USE_UNIX" = 1 ; then
44026 if test "$wxUSE_LIBSDL" != "no"; then
44028 # Check whether --with-sdl-prefix was given.
44029 if test "${with_sdl_prefix+set}" = set; then
44030 withval=$with_sdl_prefix; sdl_prefix="$withval"
44036 # Check whether --with-sdl-exec-prefix was given.
44037 if test "${with_sdl_exec_prefix+set}" = set; then
44038 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44043 # Check whether --enable-sdltest was given.
44044 if test "${enable_sdltest+set}" = set; then
44045 enableval=$enable_sdltest;
44051 if test x$sdl_exec_prefix != x ; then
44052 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44053 if test x${SDL_CONFIG+set} != xset ; then
44054 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44057 if test x$sdl_prefix != x ; then
44058 sdl_args="$sdl_args --prefix=$sdl_prefix"
44059 if test x${SDL_CONFIG+set} != xset ; then
44060 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44064 if test "x$prefix" != xNONE; then
44065 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44067 # Extract the first word of "sdl-config", so it can be a program name with args.
44068 set dummy sdl-config; ac_word=$2
44069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44071 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44072 echo $ECHO_N "(cached) $ECHO_C" >&6
44074 case $SDL_CONFIG in
44076 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44080 for as_dir in $PATH
44083 test -z "$as_dir" && as_dir=.
44084 for ac_exec_ext in '' $ac_executable_extensions; do
44085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44086 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44094 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44098 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44099 if test -n "$SDL_CONFIG"; then
44100 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44101 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44103 { echo "$as_me:$LINENO: result: no" >&5
44104 echo "${ECHO_T}no" >&6; }
44108 min_sdl_version=1.2.0
44109 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44110 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44112 if test "$SDL_CONFIG" = "no" ; then
44115 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44116 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44118 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44120 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44122 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44124 if test "x$enable_sdltest" = "xyes" ; then
44125 ac_save_CFLAGS="$CFLAGS"
44126 ac_save_CXXFLAGS="$CXXFLAGS"
44127 ac_save_LIBS="$LIBS"
44128 CFLAGS="$CFLAGS $SDL_CFLAGS"
44129 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44130 LIBS="$LIBS $SDL_LIBS"
44132 if test "$cross_compiling" = yes; then
44133 echo $ac_n "cross compiling; assumed OK... $ac_c"
44135 cat >conftest.$ac_ext <<_ACEOF
44138 cat confdefs.h >>conftest.$ac_ext
44139 cat >>conftest.$ac_ext <<_ACEOF
44140 /* end confdefs.h. */
44143 #include <stdlib.h>
44144 #include <string.h>
44148 my_strdup (char *str)
44154 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44155 strcpy (new_str, str);
44163 int main (int argc, char *argv[])
44165 int major, minor, micro;
44168 /* This hangs on some systems (?)
44169 system ("touch conf.sdltest");
44171 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44173 /* HP/UX 9 (%@#!) writes to sscanf strings */
44174 tmp_version = my_strdup("$min_sdl_version");
44175 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44176 printf("%s, bad version string\n", "$min_sdl_version");
44180 if (($sdl_major_version > major) ||
44181 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44182 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44188 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44189 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44190 printf("*** best to upgrade to the required version.\n");
44191 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44192 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44193 printf("*** config.cache before re-running configure\n");
44200 rm -f conftest$ac_exeext
44201 if { (ac_try="$ac_link"
44202 case "(($ac_try" in
44203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44204 *) ac_try_echo=$ac_try;;
44206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44207 (eval "$ac_link") 2>&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44211 { (case "(($ac_try" in
44212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44213 *) ac_try_echo=$ac_try;;
44215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44216 (eval "$ac_try") 2>&5
44218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44219 (exit $ac_status); }; }; then
44222 echo "$as_me: program exited with status $ac_status" >&5
44223 echo "$as_me: failed program was:" >&5
44224 sed 's/^/| /' conftest.$ac_ext >&5
44226 ( exit $ac_status )
44229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44233 CFLAGS="$ac_save_CFLAGS"
44234 CXXFLAGS="$ac_save_CXXFLAGS"
44235 LIBS="$ac_save_LIBS"
44238 if test "x$no_sdl" = x ; then
44239 { echo "$as_me:$LINENO: result: yes" >&5
44240 echo "${ECHO_T}yes" >&6; }
44242 EXTRALIBS_SDL="$SDL_LIBS"
44243 CFLAGS="$SDL_CFLAGS $CFLAGS"
44244 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_LIBSDL 1
44251 { echo "$as_me:$LINENO: result: no" >&5
44252 echo "${ECHO_T}no" >&6; }
44253 if test "$SDL_CONFIG" = "no" ; then
44254 echo "*** The sdl-config script installed by SDL could not be found"
44255 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44256 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44257 echo "*** full path to sdl-config."
44259 if test -f conf.sdltest ; then
44262 echo "*** Could not run SDL test program, checking why..."
44263 CFLAGS="$CFLAGS $SDL_CFLAGS"
44264 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44265 LIBS="$LIBS $SDL_LIBS"
44266 cat >conftest.$ac_ext <<_ACEOF
44269 cat confdefs.h >>conftest.$ac_ext
44270 cat >>conftest.$ac_ext <<_ACEOF
44271 /* end confdefs.h. */
44276 int main(int argc, char *argv[])
44279 #define main K_and_R_C_main
44289 rm -f conftest.$ac_objext conftest$ac_exeext
44290 if { (ac_try="$ac_link"
44291 case "(($ac_try" in
44292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44293 *) ac_try_echo=$ac_try;;
44295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44296 (eval "$ac_link") 2>conftest.er1
44298 grep -v '^ *+' conftest.er1 >conftest.err
44300 cat conftest.err >&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); } && {
44303 test -z "$ac_c_werror_flag" ||
44304 test ! -s conftest.err
44305 } && test -s conftest$ac_exeext &&
44306 $as_test_x conftest$ac_exeext; then
44307 echo "*** The test program compiled, but did not run. This usually means"
44308 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44309 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44310 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44311 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44312 echo "*** is required on your system"
44314 echo "*** If you have an old version installed, it is best to remove it, although"
44315 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44317 echo "$as_me: failed program was:" >&5
44318 sed 's/^/| /' conftest.$ac_ext >&5
44320 echo "*** The test program failed to compile or link. See the file config.log for the"
44321 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44322 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44323 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44327 conftest$ac_exeext conftest.$ac_ext
44328 CFLAGS="$ac_save_CFLAGS"
44329 CXXFLAGS="$ac_save_CXXFLAGS"
44330 LIBS="$ac_save_LIBS"
44341 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44346 if test "$wxUSE_MGL" = 1; then
44347 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44348 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44354 if test "$wxUSE_SOUND" = "yes"; then
44355 cat >>confdefs.h <<\_ACEOF
44356 #define wxUSE_SOUND 1
44359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44362 if test "$WXGTK2" = 1; then
44365 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44366 if test -n "$ac_tool_prefix"; then
44367 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44368 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44371 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44372 echo $ECHO_N "(cached) $ECHO_C" >&6
44374 case $PKG_CONFIG in
44376 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44380 for as_dir in $PATH
44383 test -z "$as_dir" && as_dir=.
44384 for ac_exec_ext in '' $ac_executable_extensions; do
44385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44386 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44397 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44398 if test -n "$PKG_CONFIG"; then
44399 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44400 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44402 { echo "$as_me:$LINENO: result: no" >&5
44403 echo "${ECHO_T}no" >&6; }
44408 if test -z "$ac_cv_path_PKG_CONFIG"; then
44409 ac_pt_PKG_CONFIG=$PKG_CONFIG
44410 # Extract the first word of "pkg-config", so it can be a program name with args.
44411 set dummy pkg-config; ac_word=$2
44412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44414 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44415 echo $ECHO_N "(cached) $ECHO_C" >&6
44417 case $ac_pt_PKG_CONFIG in
44419 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44423 for as_dir in $PATH
44426 test -z "$as_dir" && as_dir=.
44427 for ac_exec_ext in '' $ac_executable_extensions; do
44428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44429 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44440 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44441 if test -n "$ac_pt_PKG_CONFIG"; then
44442 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44443 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44445 { echo "$as_me:$LINENO: result: no" >&5
44446 echo "${ECHO_T}no" >&6; }
44449 if test "x$ac_pt_PKG_CONFIG" = x; then
44452 case $cross_compiling:$ac_tool_warned in
44454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44455 whose name does not start with the host triplet. If you think this
44456 configuration is useful to you, please write to autoconf@gnu.org." >&5
44457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44458 whose name does not start with the host triplet. If you think this
44459 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44460 ac_tool_warned=yes ;;
44462 PKG_CONFIG=$ac_pt_PKG_CONFIG
44465 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44469 if test -n "$PKG_CONFIG"; then
44470 _pkg_min_version=0.9.0
44471 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44472 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44473 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44474 { echo "$as_me:$LINENO: result: yes" >&5
44475 echo "${ECHO_T}yes" >&6; }
44477 { echo "$as_me:$LINENO: result: no" >&5
44478 echo "${ECHO_T}no" >&6; }
44484 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44486 if test "$wxUSE_GTKPRINT" = "yes" ; then
44490 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44491 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44493 if test -n "$PKG_CONFIG"; then
44494 if test -n "$GTKPRINT_CFLAGS"; then
44495 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44497 if test -n "$PKG_CONFIG" && \
44498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44499 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; then
44503 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44511 if test -n "$PKG_CONFIG"; then
44512 if test -n "$GTKPRINT_LIBS"; then
44513 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44515 if test -n "$PKG_CONFIG" && \
44516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44517 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); }; then
44521 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44532 if test $pkg_failed = yes; then
44534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44535 _pkg_short_errors_supported=yes
44537 _pkg_short_errors_supported=no
44539 if test $_pkg_short_errors_supported = yes; then
44540 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44542 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44544 # Put the nasty error message in config.log where it belongs
44545 echo "$GTKPRINT_PKG_ERRORS" >&5
44548 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44549 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44550 wxUSE_GTKPRINT="no"
44553 elif test $pkg_failed = untried; then
44555 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44556 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44557 wxUSE_GTKPRINT="no"
44561 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44562 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44563 { echo "$as_me:$LINENO: result: yes" >&5
44564 echo "${ECHO_T}yes" >&6; }
44566 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44567 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_GTKPRINT 1
44576 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44580 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44581 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44583 if test -n "$PKG_CONFIG"; then
44584 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44585 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44587 if test -n "$PKG_CONFIG" && \
44588 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44589 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); }; then
44593 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44601 if test -n "$PKG_CONFIG"; then
44602 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44603 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44605 if test -n "$PKG_CONFIG" && \
44606 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44607 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44610 (exit $ac_status); }; then
44611 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44622 if test $pkg_failed = yes; then
44624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44625 _pkg_short_errors_supported=yes
44627 _pkg_short_errors_supported=no
44629 if test $_pkg_short_errors_supported = yes; then
44630 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44632 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44634 # Put the nasty error message in config.log where it belongs
44635 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44638 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44639 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44640 wxUSE_LIBGNOMEPRINT="no"
44643 elif test $pkg_failed = untried; then
44645 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44646 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44647 wxUSE_LIBGNOMEPRINT="no"
44651 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44652 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44653 { echo "$as_me:$LINENO: result: yes" >&5
44654 echo "${ECHO_T}yes" >&6; }
44656 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44657 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_LIBGNOMEPRINT 1
44667 if test "$wxUSE_MIMETYPE" = "yes" ; then
44668 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44672 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44673 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44675 if test -n "$PKG_CONFIG"; then
44676 if test -n "$GNOMEVFS_CFLAGS"; then
44677 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44679 if test -n "$PKG_CONFIG" && \
44680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44681 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); }; then
44685 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44693 if test -n "$PKG_CONFIG"; then
44694 if test -n "$GNOMEVFS_LIBS"; then
44695 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44697 if test -n "$PKG_CONFIG" && \
44698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44699 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); }; then
44703 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44714 if test $pkg_failed = yes; then
44716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44717 _pkg_short_errors_supported=yes
44719 _pkg_short_errors_supported=no
44721 if test $_pkg_short_errors_supported = yes; then
44722 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44724 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44726 # Put the nasty error message in config.log where it belongs
44727 echo "$GNOMEVFS_PKG_ERRORS" >&5
44730 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44731 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44732 wxUSE_LIBGNOMEVFS="no"
44735 elif test $pkg_failed = untried; then
44737 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44738 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44739 wxUSE_LIBGNOMEVFS="no"
44743 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44744 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44745 { echo "$as_me:$LINENO: result: yes" >&5
44746 echo "${ECHO_T}yes" >&6; }
44748 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44749 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_LIBGNOMEVFS 1
44759 if test "$wxUSE_LIBHILDON" = "yes" ; then
44762 { echo "$as_me:$LINENO: checking for HILDON" >&5
44763 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44765 if test -n "$PKG_CONFIG"; then
44766 if test -n "$HILDON_CFLAGS"; then
44767 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44769 if test -n "$PKG_CONFIG" && \
44770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44771 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44774 (exit $ac_status); }; then
44775 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44783 if test -n "$PKG_CONFIG"; then
44784 if test -n "$HILDON_LIBS"; then
44785 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44787 if test -n "$PKG_CONFIG" && \
44788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44789 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44792 (exit $ac_status); }; then
44793 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44804 if test $pkg_failed = yes; then
44806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44807 _pkg_short_errors_supported=yes
44809 _pkg_short_errors_supported=no
44811 if test $_pkg_short_errors_supported = yes; then
44812 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44814 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44816 # Put the nasty error message in config.log where it belongs
44817 echo "$HILDON_PKG_ERRORS" >&5
44820 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44821 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44822 wxUSE_LIBHILDON="no"
44826 elif test $pkg_failed = untried; then
44828 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44829 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44830 wxUSE_LIBHILDON="no"
44835 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44836 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44837 { echo "$as_me:$LINENO: result: yes" >&5
44838 echo "${ECHO_T}yes" >&6; }
44840 EXTRALIBS_HILDON="$HILDON_LIBS"
44841 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44842 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_LIBHILDON 1
44851 if test "$ac_hildon_lgpl" = 0 ; then
44854 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44855 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44857 if test -n "$PKG_CONFIG"; then
44858 if test -n "$HILDON2_CFLAGS"; then
44859 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44861 if test -n "$PKG_CONFIG" && \
44862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44863 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44866 (exit $ac_status); }; then
44867 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44875 if test -n "$PKG_CONFIG"; then
44876 if test -n "$HILDON2_LIBS"; then
44877 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44879 if test -n "$PKG_CONFIG" && \
44880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44881 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44884 (exit $ac_status); }; then
44885 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44896 if test $pkg_failed = yes; then
44898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44899 _pkg_short_errors_supported=yes
44901 _pkg_short_errors_supported=no
44903 if test $_pkg_short_errors_supported = yes; then
44904 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44906 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44908 # Put the nasty error message in config.log where it belongs
44909 echo "$HILDON2_PKG_ERRORS" >&5
44912 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44913 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44914 wxUSE_LIBHILDON2="no"
44917 elif test $pkg_failed = untried; then
44919 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44920 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44921 wxUSE_LIBHILDON2="no"
44925 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44926 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44927 { echo "$as_me:$LINENO: result: yes" >&5
44928 echo "${ECHO_T}yes" >&6; }
44930 EXTRALIBS_HILDON="$HILDON2_LIBS"
44931 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44932 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_LIBHILDON2 1
44943 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44944 cat >>confdefs.h <<\_ACEOF
44945 #define wxUSE_CMDLINE_PARSER 1
44950 if test "$wxUSE_STOPWATCH" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_STOPWATCH 1
44957 if test "$wxUSE_DATETIME" = "yes"; then
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_DATETIME 1
44964 if test "$wxUSE_FILE" = "yes"; then
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_FILE 1
44971 if test "$wxUSE_FFILE" = "yes"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_FFILE 1
44978 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44979 if test "$wxUSE_STREAMS" != yes; then
44980 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44981 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44982 wxUSE_ARCHIVE_STREAMS=no
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_ARCHIVE_STREAMS 1
44991 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44992 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44993 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44994 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44995 elif test "$wxUSE_ZLIB" = "no"; then
44996 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44997 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_ZIPSTREAM 1
45006 if test "$wxUSE_TARSTREAM" = "yes"; then
45007 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45008 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45009 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_TARSTREAM 1
45018 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_FILE_HISTORY 1
45025 if test "$wxUSE_FILESYSTEM" = "yes"; then
45026 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45027 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45028 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45029 wxUSE_FILESYSTEM=no
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_FILESYSTEM 1
45038 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45039 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45040 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45041 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_FS_ARCHIVE 1
45050 if test "$wxUSE_FS_ZIP" = "yes"; then
45051 if test "$wxUSE_FS_ARCHIVE" != yes; then
45052 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45053 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_FS_ZIP 1
45062 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45063 if test "$USE_UNIX" != 1; then
45064 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45065 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45066 wxUSE_ON_FATAL_EXCEPTION=no
45068 cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_ON_FATAL_EXCEPTION 1
45075 if test "$wxUSE_STACKWALKER" = "yes"; then
45076 cat >>confdefs.h <<\_ACEOF
45077 #define wxUSE_STACKWALKER 1
45082 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45083 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45084 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45085 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45086 wxUSE_DEBUGREPORT=no
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_DEBUGREPORT 1
45092 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45098 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_SNGLINST_CHECKER 1
45105 if test "$wxUSE_BUSYINFO" = "yes"; then
45106 cat >>confdefs.h <<\_ACEOF
45107 #define wxUSE_BUSYINFO 1
45112 if test "$wxUSE_HOTKEY" = "yes"; then
45113 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45114 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45115 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45118 elif test "$wxUSE_HOTKEY" = "auto"; then
45119 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45123 if test "$wxUSE_HOTKEY" = "yes"; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_HOTKEY 1
45130 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_STD_CONTAINERS 1
45137 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define wxUSE_STD_IOSTREAM 1
45144 if test "$wxUSE_STD_STRING" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_STD_STRING 1
45151 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45158 if test "$wxUSE_STDPATHS" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_STDPATHS 1
45165 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_TEXTBUFFER 1
45172 if test "$wxUSE_TEXTFILE" = "yes"; then
45173 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45174 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45175 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_TEXTFILE 1
45184 if test "$wxUSE_CONFIG" = "yes" ; then
45185 if test "$wxUSE_TEXTFILE" != "yes"; then
45186 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45187 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_CONFIG 1
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_CONFIG_NATIVE 1
45197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45201 if test "$wxUSE_INTL" = "yes" ; then
45202 if test "$wxUSE_FILE" != "yes"; then
45203 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45204 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_INTL 1
45210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45211 GUIDIST="$GUIDIST INTL_DIST"
45215 if test "$wxUSE_XLOCALE" = "yes" ; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_XLOCALE 1
45220 { echo "$as_me:$LINENO: checking for locale_t" >&5
45221 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45222 if test "${ac_cv_type_locale_t+set}" = set; then
45223 echo $ECHO_N "(cached) $ECHO_C" >&6
45225 cat >conftest.$ac_ext <<_ACEOF
45228 cat confdefs.h >>conftest.$ac_ext
45229 cat >>conftest.$ac_ext <<_ACEOF
45230 /* end confdefs.h. */
45231 #include <xlocale.h>
45232 #include <locale.h>
45234 typedef locale_t ac__type_new_;
45238 if ((ac__type_new_ *) 0)
45240 if (sizeof (ac__type_new_))
45246 rm -f conftest.$ac_objext
45247 if { (ac_try="$ac_compile"
45248 case "(($ac_try" in
45249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45250 *) ac_try_echo=$ac_try;;
45252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45253 (eval "$ac_compile") 2>conftest.er1
45255 grep -v '^ *+' conftest.er1 >conftest.err
45257 cat conftest.err >&5
45258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45259 (exit $ac_status); } && {
45260 test -z "$ac_c_werror_flag" ||
45261 test ! -s conftest.err
45262 } && test -s conftest.$ac_objext; then
45263 ac_cv_type_locale_t=yes
45265 echo "$as_me: failed program was:" >&5
45266 sed 's/^/| /' conftest.$ac_ext >&5
45268 ac_cv_type_locale_t=no
45271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45273 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45274 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45275 if test $ac_cv_type_locale_t = yes; then
45277 cat >>confdefs.h <<_ACEOF
45278 #define HAVE_LOCALE_T 1
45286 if test "$wxUSE_LOG" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_LOG 1
45292 if test "$wxUSE_LOGGUI" = "yes"; then
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_LOGGUI 1
45299 if test "$wxUSE_LOGWINDOW" = "yes"; then
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_LOGWINDOW 1
45306 if test "$wxUSE_LOGDIALOG" = "yes"; then
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_LOG_DIALOG 1
45313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45316 if test "$wxUSE_LONGLONG" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_LONGLONG 1
45323 if test "$wxUSE_GEOMETRY" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_GEOMETRY 1
45330 if test "$wxUSE_BASE64" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_BASE64 1
45337 if test "$wxUSE_STREAMS" = "yes" ; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_STREAMS 1
45344 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_PRINTF_POS_PARAMS 1
45351 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_OBJC_UNIQUIFYING 1
45359 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_CONSOLE_EVENTLOOP 1
45365 if test "$wxUSE_UNIX" = "yes"; then
45366 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_SELECT_DISPATCHER 1
45373 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45375 for ac_header in sys/epoll.h
45377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45381 echo $ECHO_N "(cached) $ECHO_C" >&6
45383 cat >conftest.$ac_ext <<_ACEOF
45386 cat confdefs.h >>conftest.$ac_ext
45387 cat >>conftest.$ac_ext <<_ACEOF
45388 /* end confdefs.h. */
45389 $ac_includes_default
45391 #include <$ac_header>
45393 rm -f conftest.$ac_objext
45394 if { (ac_try="$ac_compile"
45395 case "(($ac_try" in
45396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45397 *) ac_try_echo=$ac_try;;
45399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45400 (eval "$ac_compile") 2>conftest.er1
45402 grep -v '^ *+' conftest.er1 >conftest.err
45404 cat conftest.err >&5
45405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406 (exit $ac_status); } && {
45407 test -z "$ac_c_werror_flag" ||
45408 test ! -s conftest.err
45409 } && test -s conftest.$ac_objext; then
45410 eval "$as_ac_Header=yes"
45412 echo "$as_me: failed program was:" >&5
45413 sed 's/^/| /' conftest.$ac_ext >&5
45415 eval "$as_ac_Header=no"
45418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45420 ac_res=`eval echo '${'$as_ac_Header'}'`
45421 { echo "$as_me:$LINENO: result: $ac_res" >&5
45422 echo "${ECHO_T}$ac_res" >&6; }
45423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45424 cat >>confdefs.h <<_ACEOF
45425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45432 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_EPOLL_DISPATCHER 1
45438 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45439 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45448 for ac_func in gettimeofday ftime
45450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45454 echo $ECHO_N "(cached) $ECHO_C" >&6
45456 cat >conftest.$ac_ext <<_ACEOF
45459 cat confdefs.h >>conftest.$ac_ext
45460 cat >>conftest.$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45464 #define $ac_func innocuous_$ac_func
45466 /* System header to define __stub macros and hopefully few prototypes,
45467 which can conflict with char $ac_func (); below.
45468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45469 <limits.h> exists even on freestanding compilers. */
45472 # include <limits.h>
45474 # include <assert.h>
45479 /* Override any GCC internal prototype to avoid an error.
45480 Use char because int might match the return type of a GCC
45481 builtin and then its argument prototype would still apply. */
45486 /* The GNU C library defines this for functions which it implements
45487 to always fail with ENOSYS. Some functions are actually named
45488 something starting with __ and the normal name is an alias. */
45489 #if defined __stub_$ac_func || defined __stub___$ac_func
45496 return $ac_func ();
45501 rm -f conftest.$ac_objext conftest$ac_exeext
45502 if { (ac_try="$ac_link"
45503 case "(($ac_try" in
45504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45505 *) ac_try_echo=$ac_try;;
45507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45508 (eval "$ac_link") 2>conftest.er1
45510 grep -v '^ *+' conftest.er1 >conftest.err
45512 cat conftest.err >&5
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); } && {
45515 test -z "$ac_c_werror_flag" ||
45516 test ! -s conftest.err
45517 } && test -s conftest$ac_exeext &&
45518 $as_test_x conftest$ac_exeext; then
45519 eval "$as_ac_var=yes"
45521 echo "$as_me: failed program was:" >&5
45522 sed 's/^/| /' conftest.$ac_ext >&5
45524 eval "$as_ac_var=no"
45527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45528 conftest$ac_exeext conftest.$ac_ext
45530 ac_res=`eval echo '${'$as_ac_var'}'`
45531 { echo "$as_me:$LINENO: result: $ac_res" >&5
45532 echo "${ECHO_T}$ac_res" >&6; }
45533 if test `eval echo '${'$as_ac_var'}'` = yes; then
45534 cat >>confdefs.h <<_ACEOF
45535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45542 if test "$ac_cv_func_gettimeofday" = "yes"; then
45543 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45544 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45545 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45546 echo $ECHO_N "(cached) $ECHO_C" >&6
45549 cat >conftest.$ac_ext <<_ACEOF
45552 cat confdefs.h >>conftest.$ac_ext
45553 cat >>conftest.$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45556 #include <sys/time.h>
45557 #include <unistd.h>
45564 gettimeofday(&tv, NULL);
45570 rm -f conftest.$ac_objext
45571 if { (ac_try="$ac_compile"
45572 case "(($ac_try" in
45573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45574 *) ac_try_echo=$ac_try;;
45576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45577 (eval "$ac_compile") 2>conftest.er1
45579 grep -v '^ *+' conftest.er1 >conftest.err
45581 cat conftest.err >&5
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); } && {
45584 test -z "$ac_c_werror_flag" ||
45585 test ! -s conftest.err
45586 } && test -s conftest.$ac_objext; then
45587 wx_cv_func_gettimeofday_has_2_args=yes
45589 echo "$as_me: failed program was:" >&5
45590 sed 's/^/| /' conftest.$ac_ext >&5
45592 cat >conftest.$ac_ext <<_ACEOF
45595 cat confdefs.h >>conftest.$ac_ext
45596 cat >>conftest.$ac_ext <<_ACEOF
45597 /* end confdefs.h. */
45599 #include <sys/time.h>
45600 #include <unistd.h>
45613 rm -f conftest.$ac_objext
45614 if { (ac_try="$ac_compile"
45615 case "(($ac_try" in
45616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45617 *) ac_try_echo=$ac_try;;
45619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45620 (eval "$ac_compile") 2>conftest.er1
45622 grep -v '^ *+' conftest.er1 >conftest.err
45624 cat conftest.err >&5
45625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45626 (exit $ac_status); } && {
45627 test -z "$ac_c_werror_flag" ||
45628 test ! -s conftest.err
45629 } && test -s conftest.$ac_objext; then
45630 wx_cv_func_gettimeofday_has_2_args=no
45632 echo "$as_me: failed program was:" >&5
45633 sed 's/^/| /' conftest.$ac_ext >&5
45636 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45637 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45638 wx_cv_func_gettimeofday_has_2_args=unknown
45643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45650 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45651 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45653 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define WX_GETTIMEOFDAY_NO_TZ 1
45661 if test "$wxUSE_DATETIME" = "yes"; then
45662 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45663 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45664 if test "${wx_cv_var_timezone+set}" = set; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45669 ac_cpp='$CXXCPP $CPPFLAGS'
45670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45674 cat >conftest.$ac_ext <<_ACEOF
45677 cat confdefs.h >>conftest.$ac_ext
45678 cat >>conftest.$ac_ext <<_ACEOF
45679 /* end confdefs.h. */
45694 rm -f conftest.$ac_objext
45695 if { (ac_try="$ac_compile"
45696 case "(($ac_try" in
45697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45698 *) ac_try_echo=$ac_try;;
45700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45701 (eval "$ac_compile") 2>conftest.er1
45703 grep -v '^ *+' conftest.er1 >conftest.err
45705 cat conftest.err >&5
45706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707 (exit $ac_status); } && {
45708 test -z "$ac_cxx_werror_flag" ||
45709 test ! -s conftest.err
45710 } && test -s conftest.$ac_objext; then
45712 wx_cv_var_timezone=timezone
45715 echo "$as_me: failed program was:" >&5
45716 sed 's/^/| /' conftest.$ac_ext >&5
45719 cat >conftest.$ac_ext <<_ACEOF
45722 cat confdefs.h >>conftest.$ac_ext
45723 cat >>conftest.$ac_ext <<_ACEOF
45724 /* end confdefs.h. */
45739 rm -f conftest.$ac_objext
45740 if { (ac_try="$ac_compile"
45741 case "(($ac_try" in
45742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45743 *) ac_try_echo=$ac_try;;
45745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45746 (eval "$ac_compile") 2>conftest.er1
45748 grep -v '^ *+' conftest.er1 >conftest.err
45750 cat conftest.err >&5
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); } && {
45753 test -z "$ac_cxx_werror_flag" ||
45754 test ! -s conftest.err
45755 } && test -s conftest.$ac_objext; then
45757 wx_cv_var_timezone=_timezone
45760 echo "$as_me: failed program was:" >&5
45761 sed 's/^/| /' conftest.$ac_ext >&5
45764 cat >conftest.$ac_ext <<_ACEOF
45767 cat confdefs.h >>conftest.$ac_ext
45768 cat >>conftest.$ac_ext <<_ACEOF
45769 /* end confdefs.h. */
45784 rm -f conftest.$ac_objext
45785 if { (ac_try="$ac_compile"
45786 case "(($ac_try" in
45787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45788 *) ac_try_echo=$ac_try;;
45790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45791 (eval "$ac_compile") 2>conftest.er1
45793 grep -v '^ *+' conftest.er1 >conftest.err
45795 cat conftest.err >&5
45796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797 (exit $ac_status); } && {
45798 test -z "$ac_cxx_werror_flag" ||
45799 test ! -s conftest.err
45800 } && test -s conftest.$ac_objext; then
45802 wx_cv_var_timezone=__timezone
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45809 if test "$USE_DOS" = 0 ; then
45810 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45811 echo "$as_me: WARNING: no timezone variable" >&2;}
45817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45829 ac_cpp='$CPP $CPPFLAGS'
45830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45837 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45838 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45840 if test "x$wx_cv_var_timezone" != x ; then
45841 cat >>confdefs.h <<_ACEOF
45842 #define WX_TIMEZONE $wx_cv_var_timezone
45848 for ac_func in localtime
45850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45854 echo $ECHO_N "(cached) $ECHO_C" >&6
45856 cat >conftest.$ac_ext <<_ACEOF
45859 cat confdefs.h >>conftest.$ac_ext
45860 cat >>conftest.$ac_ext <<_ACEOF
45861 /* end confdefs.h. */
45862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45864 #define $ac_func innocuous_$ac_func
45866 /* System header to define __stub macros and hopefully few prototypes,
45867 which can conflict with char $ac_func (); below.
45868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45869 <limits.h> exists even on freestanding compilers. */
45872 # include <limits.h>
45874 # include <assert.h>
45879 /* Override any GCC internal prototype to avoid an error.
45880 Use char because int might match the return type of a GCC
45881 builtin and then its argument prototype would still apply. */
45886 /* The GNU C library defines this for functions which it implements
45887 to always fail with ENOSYS. Some functions are actually named
45888 something starting with __ and the normal name is an alias. */
45889 #if defined __stub_$ac_func || defined __stub___$ac_func
45896 return $ac_func ();
45901 rm -f conftest.$ac_objext conftest$ac_exeext
45902 if { (ac_try="$ac_link"
45903 case "(($ac_try" in
45904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45905 *) ac_try_echo=$ac_try;;
45907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45908 (eval "$ac_link") 2>conftest.er1
45910 grep -v '^ *+' conftest.er1 >conftest.err
45912 cat conftest.err >&5
45913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914 (exit $ac_status); } && {
45915 test -z "$ac_c_werror_flag" ||
45916 test ! -s conftest.err
45917 } && test -s conftest$ac_exeext &&
45918 $as_test_x conftest$ac_exeext; then
45919 eval "$as_ac_var=yes"
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45924 eval "$as_ac_var=no"
45927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45928 conftest$ac_exeext conftest.$ac_ext
45930 ac_res=`eval echo '${'$as_ac_var'}'`
45931 { echo "$as_me:$LINENO: result: $ac_res" >&5
45932 echo "${ECHO_T}$ac_res" >&6; }
45933 if test `eval echo '${'$as_ac_var'}'` = yes; then
45934 cat >>confdefs.h <<_ACEOF
45935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45942 if test "$ac_cv_func_localtime" = "yes"; then
45943 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45944 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45945 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45949 cat >conftest.$ac_ext <<_ACEOF
45952 cat confdefs.h >>conftest.$ac_ext
45953 cat >>conftest.$ac_ext <<_ACEOF
45954 /* end confdefs.h. */
45969 rm -f conftest.$ac_objext
45970 if { (ac_try="$ac_compile"
45971 case "(($ac_try" in
45972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45973 *) ac_try_echo=$ac_try;;
45975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45976 (eval "$ac_compile") 2>conftest.er1
45978 grep -v '^ *+' conftest.er1 >conftest.err
45980 cat conftest.err >&5
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); } && {
45983 test -z "$ac_c_werror_flag" ||
45984 test ! -s conftest.err
45985 } && test -s conftest.$ac_objext; then
45987 wx_cv_struct_tm_has_gmtoff=yes
45990 echo "$as_me: failed program was:" >&5
45991 sed 's/^/| /' conftest.$ac_ext >&5
45993 wx_cv_struct_tm_has_gmtoff=no
45997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46000 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46001 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46004 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46005 cat >>confdefs.h <<\_ACEOF
46006 #define WX_GMTOFF_IN_TM 1
46011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46015 if test "$wxUSE_SOCKETS" = "yes"; then
46016 if test "$wxUSE_MGL" = 1; then
46017 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46018 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46023 if test "$wxUSE_SOCKETS" = "yes"; then
46024 if test "$TOOLKIT" != "MSW"; then
46025 { echo "$as_me:$LINENO: checking for socket" >&5
46026 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46027 if test "${ac_cv_func_socket+set}" = set; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46030 cat >conftest.$ac_ext <<_ACEOF
46033 cat confdefs.h >>conftest.$ac_ext
46034 cat >>conftest.$ac_ext <<_ACEOF
46035 /* end confdefs.h. */
46036 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46038 #define socket innocuous_socket
46040 /* System header to define __stub macros and hopefully few prototypes,
46041 which can conflict with char socket (); below.
46042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46043 <limits.h> exists even on freestanding compilers. */
46046 # include <limits.h>
46048 # include <assert.h>
46053 /* Override any GCC internal prototype to avoid an error.
46054 Use char because int might match the return type of a GCC
46055 builtin and then its argument prototype would still apply. */
46060 /* The GNU C library defines this for functions which it implements
46061 to always fail with ENOSYS. Some functions are actually named
46062 something starting with __ and the normal name is an alias. */
46063 #if defined __stub_socket || defined __stub___socket
46075 rm -f conftest.$ac_objext conftest$ac_exeext
46076 if { (ac_try="$ac_link"
46077 case "(($ac_try" in
46078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46079 *) ac_try_echo=$ac_try;;
46081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46082 (eval "$ac_link") 2>conftest.er1
46084 grep -v '^ *+' conftest.er1 >conftest.err
46086 cat conftest.err >&5
46087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46088 (exit $ac_status); } && {
46089 test -z "$ac_c_werror_flag" ||
46090 test ! -s conftest.err
46091 } && test -s conftest$ac_exeext &&
46092 $as_test_x conftest$ac_exeext; then
46093 ac_cv_func_socket=yes
46095 echo "$as_me: failed program was:" >&5
46096 sed 's/^/| /' conftest.$ac_ext >&5
46098 ac_cv_func_socket=no
46101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46102 conftest$ac_exeext conftest.$ac_ext
46104 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46105 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46106 if test $ac_cv_func_socket = yes; then
46110 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46111 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46112 if test "${ac_cv_lib_socket_socket+set}" = set; then
46113 echo $ECHO_N "(cached) $ECHO_C" >&6
46115 ac_check_lib_save_LIBS=$LIBS
46116 LIBS="-lsocket $LIBS"
46117 cat >conftest.$ac_ext <<_ACEOF
46120 cat confdefs.h >>conftest.$ac_ext
46121 cat >>conftest.$ac_ext <<_ACEOF
46122 /* end confdefs.h. */
46124 /* Override any GCC internal prototype to avoid an error.
46125 Use char because int might match the return type of a GCC
46126 builtin and then its argument prototype would still apply. */
46139 rm -f conftest.$ac_objext conftest$ac_exeext
46140 if { (ac_try="$ac_link"
46141 case "(($ac_try" in
46142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46143 *) ac_try_echo=$ac_try;;
46145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46146 (eval "$ac_link") 2>conftest.er1
46148 grep -v '^ *+' conftest.er1 >conftest.err
46150 cat conftest.err >&5
46151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46152 (exit $ac_status); } && {
46153 test -z "$ac_c_werror_flag" ||
46154 test ! -s conftest.err
46155 } && test -s conftest$ac_exeext &&
46156 $as_test_x conftest$ac_exeext; then
46157 ac_cv_lib_socket_socket=yes
46159 echo "$as_me: failed program was:" >&5
46160 sed 's/^/| /' conftest.$ac_ext >&5
46162 ac_cv_lib_socket_socket=no
46165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46166 conftest$ac_exeext conftest.$ac_ext
46167 LIBS=$ac_check_lib_save_LIBS
46169 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46170 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46171 if test $ac_cv_lib_socket_socket = yes; then
46172 if test "$INET_LINK" != " -lsocket"; then
46173 INET_LINK="$INET_LINK -lsocket"
46177 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46178 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46191 if test "$wxUSE_SOCKETS" = "yes" ; then
46192 if test "$TOOLKIT" != "MSW"; then
46193 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46194 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46195 if test "${wx_cv_type_getsockname3+set}" = set; then
46196 echo $ECHO_N "(cached) $ECHO_C" >&6
46200 ac_cpp='$CXXCPP $CPPFLAGS'
46201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46205 cat >conftest.$ac_ext <<_ACEOF
46208 cat confdefs.h >>conftest.$ac_ext
46209 cat >>conftest.$ac_ext <<_ACEOF
46210 /* end confdefs.h. */
46212 #include <sys/types.h>
46213 #include <sys/socket.h>
46220 getsockname(0, 0, &len);
46226 rm -f conftest.$ac_objext
46227 if { (ac_try="$ac_compile"
46228 case "(($ac_try" in
46229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46230 *) ac_try_echo=$ac_try;;
46232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46233 (eval "$ac_compile") 2>conftest.er1
46235 grep -v '^ *+' conftest.er1 >conftest.err
46237 cat conftest.err >&5
46238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46239 (exit $ac_status); } && {
46240 test -z "$ac_cxx_werror_flag" ||
46241 test ! -s conftest.err
46242 } && test -s conftest.$ac_objext; then
46243 wx_cv_type_getsockname3=socklen_t
46245 echo "$as_me: failed program was:" >&5
46246 sed 's/^/| /' conftest.$ac_ext >&5
46249 CFLAGS_OLD="$CFLAGS"
46250 if test "$GCC" = yes ; then
46251 CFLAGS="-Werror $CFLAGS"
46254 cat >conftest.$ac_ext <<_ACEOF
46257 cat confdefs.h >>conftest.$ac_ext
46258 cat >>conftest.$ac_ext <<_ACEOF
46259 /* end confdefs.h. */
46261 #include <sys/types.h>
46262 #include <sys/socket.h>
46269 getsockname(0, 0, &len);
46275 rm -f conftest.$ac_objext
46276 if { (ac_try="$ac_compile"
46277 case "(($ac_try" in
46278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46279 *) ac_try_echo=$ac_try;;
46281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46282 (eval "$ac_compile") 2>conftest.er1
46284 grep -v '^ *+' conftest.er1 >conftest.err
46286 cat conftest.err >&5
46287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46288 (exit $ac_status); } && {
46289 test -z "$ac_cxx_werror_flag" ||
46290 test ! -s conftest.err
46291 } && test -s conftest.$ac_objext; then
46292 wx_cv_type_getsockname3=size_t
46294 echo "$as_me: failed program was:" >&5
46295 sed 's/^/| /' conftest.$ac_ext >&5
46297 cat >conftest.$ac_ext <<_ACEOF
46300 cat confdefs.h >>conftest.$ac_ext
46301 cat >>conftest.$ac_ext <<_ACEOF
46302 /* end confdefs.h. */
46304 #include <sys/types.h>
46305 #include <sys/socket.h>
46312 getsockname(0, 0, &len);
46318 rm -f conftest.$ac_objext
46319 if { (ac_try="$ac_compile"
46320 case "(($ac_try" in
46321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46322 *) ac_try_echo=$ac_try;;
46324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46325 (eval "$ac_compile") 2>conftest.er1
46327 grep -v '^ *+' conftest.er1 >conftest.err
46329 cat conftest.err >&5
46330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46331 (exit $ac_status); } && {
46332 test -z "$ac_cxx_werror_flag" ||
46333 test ! -s conftest.err
46334 } && test -s conftest.$ac_objext; then
46335 wx_cv_type_getsockname3=int
46337 echo "$as_me: failed program was:" >&5
46338 sed 's/^/| /' conftest.$ac_ext >&5
46340 wx_cv_type_getsockname3=unknown
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46350 CFLAGS="$CFLAGS_OLD"
46355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46357 ac_cpp='$CPP $CPPFLAGS'
46358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46364 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46365 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46367 if test "$wx_cv_type_getsockname3" = "unknown"; then
46369 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46370 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46372 cat >>confdefs.h <<_ACEOF
46373 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46377 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46378 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46379 if test "${wx_cv_type_getsockopt5+set}" = set; then
46380 echo $ECHO_N "(cached) $ECHO_C" >&6
46384 ac_cpp='$CXXCPP $CPPFLAGS'
46385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46389 cat >conftest.$ac_ext <<_ACEOF
46392 cat confdefs.h >>conftest.$ac_ext
46393 cat >>conftest.$ac_ext <<_ACEOF
46394 /* end confdefs.h. */
46396 #include <sys/types.h>
46397 #include <sys/socket.h>
46404 getsockopt(0, 0, 0, 0, &len);
46410 rm -f conftest.$ac_objext
46411 if { (ac_try="$ac_compile"
46412 case "(($ac_try" in
46413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46414 *) ac_try_echo=$ac_try;;
46416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46417 (eval "$ac_compile") 2>conftest.er1
46419 grep -v '^ *+' conftest.er1 >conftest.err
46421 cat conftest.err >&5
46422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46423 (exit $ac_status); } && {
46424 test -z "$ac_cxx_werror_flag" ||
46425 test ! -s conftest.err
46426 } && test -s conftest.$ac_objext; then
46427 wx_cv_type_getsockopt5=socklen_t
46429 echo "$as_me: failed program was:" >&5
46430 sed 's/^/| /' conftest.$ac_ext >&5
46433 cat >conftest.$ac_ext <<_ACEOF
46436 cat confdefs.h >>conftest.$ac_ext
46437 cat >>conftest.$ac_ext <<_ACEOF
46438 /* end confdefs.h. */
46440 #include <sys/types.h>
46441 #include <sys/socket.h>
46448 getsockopt(0, 0, 0, 0, &len);
46454 rm -f conftest.$ac_objext
46455 if { (ac_try="$ac_compile"
46456 case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46458 *) ac_try_echo=$ac_try;;
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_compile") 2>conftest.er1
46463 grep -v '^ *+' conftest.er1 >conftest.err
46465 cat conftest.err >&5
46466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467 (exit $ac_status); } && {
46468 test -z "$ac_cxx_werror_flag" ||
46469 test ! -s conftest.err
46470 } && test -s conftest.$ac_objext; then
46471 wx_cv_type_getsockopt5=size_t
46473 echo "$as_me: failed program was:" >&5
46474 sed 's/^/| /' conftest.$ac_ext >&5
46476 cat >conftest.$ac_ext <<_ACEOF
46479 cat confdefs.h >>conftest.$ac_ext
46480 cat >>conftest.$ac_ext <<_ACEOF
46481 /* end confdefs.h. */
46483 #include <sys/types.h>
46484 #include <sys/socket.h>
46491 getsockopt(0, 0, 0, 0, &len);
46497 rm -f conftest.$ac_objext
46498 if { (ac_try="$ac_compile"
46499 case "(($ac_try" in
46500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46501 *) ac_try_echo=$ac_try;;
46503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46504 (eval "$ac_compile") 2>conftest.er1
46506 grep -v '^ *+' conftest.er1 >conftest.err
46508 cat conftest.err >&5
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); } && {
46511 test -z "$ac_cxx_werror_flag" ||
46512 test ! -s conftest.err
46513 } && test -s conftest.$ac_objext; then
46514 wx_cv_type_getsockopt5=int
46516 echo "$as_me: failed program was:" >&5
46517 sed 's/^/| /' conftest.$ac_ext >&5
46519 wx_cv_type_getsockopt5=unknown
46523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46541 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46542 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46544 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46546 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46547 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46549 cat >>confdefs.h <<_ACEOF
46550 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46557 if test "$wxUSE_SOCKETS" = "yes" ; then
46558 if test "$wxUSE_IPV6" = "yes"; then
46559 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46560 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46561 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46562 echo $ECHO_N "(cached) $ECHO_C" >&6
46565 cat >conftest.$ac_ext <<_ACEOF
46568 cat confdefs.h >>conftest.$ac_ext
46569 cat >>conftest.$ac_ext <<_ACEOF
46570 /* end confdefs.h. */
46572 #include <sys/types.h>
46573 #include <sys/socket.h>
46574 #include <netinet/in.h>
46580 struct sockaddr_in6 sa6;
46586 rm -f conftest.$ac_objext
46587 if { (ac_try="$ac_compile"
46588 case "(($ac_try" in
46589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46590 *) ac_try_echo=$ac_try;;
46592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46593 (eval "$ac_compile") 2>conftest.er1
46595 grep -v '^ *+' conftest.er1 >conftest.err
46597 cat conftest.err >&5
46598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46599 (exit $ac_status); } && {
46600 test -z "$ac_c_werror_flag" ||
46601 test ! -s conftest.err
46602 } && test -s conftest.$ac_objext; then
46603 wx_cv_type_sockaddr_in6=yes
46605 echo "$as_me: failed program was:" >&5
46606 sed 's/^/| /' conftest.$ac_ext >&5
46608 wx_cv_type_sockaddr_in6=no
46612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46616 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46617 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46619 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_IPV6 1
46625 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46626 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46630 cat >>confdefs.h <<\_ACEOF
46631 #define wxUSE_SOCKETS 1
46634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46637 if test "$wxUSE_PROTOCOL" = "yes"; then
46638 if test "$wxUSE_SOCKETS" != "yes"; then
46639 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46640 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46645 if test "$wxUSE_PROTOCOL" = "yes"; then
46646 cat >>confdefs.h <<\_ACEOF
46647 #define wxUSE_PROTOCOL 1
46651 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define wxUSE_PROTOCOL_HTTP 1
46657 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46658 cat >>confdefs.h <<\_ACEOF
46659 #define wxUSE_PROTOCOL_FTP 1
46663 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_PROTOCOL_FILE 1
46670 if test "$wxUSE_FS_INET" = "yes"; then
46671 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46672 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46677 if test "$wxUSE_URL" = "yes"; then
46678 if test "$wxUSE_PROTOCOL" != "yes"; then
46679 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46680 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46683 if test "$wxUSE_URL" = "yes"; then
46684 cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_URL 1
46691 if test "$wxUSE_VARIANT" = "yes"; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_VARIANT 1
46698 if test "$wxUSE_FS_INET" = "yes"; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_FS_INET 1
46706 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46709 if test "$TOOLKIT" = "MSW"; then
46712 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46713 if test "$USE_DARWIN" = 1; then
46714 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46715 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46717 ac_cpp='$CXXCPP $CPPFLAGS'
46718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46722 cat >conftest.$ac_ext <<_ACEOF
46725 cat confdefs.h >>conftest.$ac_ext
46726 cat >>conftest.$ac_ext <<_ACEOF
46727 /* end confdefs.h. */
46728 #include <IOKit/hid/IOHIDLib.h>
46732 IOHIDQueueInterface *qi = NULL;
46733 IOHIDCallbackFunction cb = NULL;
46734 qi->setEventCallout(NULL, cb, NULL, NULL);
46739 rm -f conftest.$ac_objext
46740 if { (ac_try="$ac_compile"
46741 case "(($ac_try" in
46742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46743 *) ac_try_echo=$ac_try;;
46745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46746 (eval "$ac_compile") 2>conftest.er1
46748 grep -v '^ *+' conftest.er1 >conftest.err
46750 cat conftest.err >&5
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); } && {
46753 test -z "$ac_cxx_werror_flag" ||
46754 test ! -s conftest.err
46755 } && test -s conftest.$ac_objext; then
46759 echo "$as_me: failed program was:" >&5
46760 sed 's/^/| /' conftest.$ac_ext >&5
46765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46767 ac_cpp='$CPP $CPPFLAGS'
46768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46772 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46773 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46777 if test "$wxUSE_MGL" != 1; then
46779 for ac_header in linux/joystick.h
46781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46787 cat >conftest.$ac_ext <<_ACEOF
46790 cat confdefs.h >>conftest.$ac_ext
46791 cat >>conftest.$ac_ext <<_ACEOF
46792 /* end confdefs.h. */
46793 $ac_includes_default
46795 #include <$ac_header>
46797 rm -f conftest.$ac_objext
46798 if { (ac_try="$ac_compile"
46799 case "(($ac_try" in
46800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46801 *) ac_try_echo=$ac_try;;
46803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46804 (eval "$ac_compile") 2>conftest.er1
46806 grep -v '^ *+' conftest.er1 >conftest.err
46808 cat conftest.err >&5
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); } && {
46811 test -z "$ac_c_werror_flag" ||
46812 test ! -s conftest.err
46813 } && test -s conftest.$ac_objext; then
46814 eval "$as_ac_Header=yes"
46816 echo "$as_me: failed program was:" >&5
46817 sed 's/^/| /' conftest.$ac_ext >&5
46819 eval "$as_ac_Header=no"
46822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46824 ac_res=`eval echo '${'$as_ac_Header'}'`
46825 { echo "$as_me:$LINENO: result: $ac_res" >&5
46826 echo "${ECHO_T}$ac_res" >&6; }
46827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46828 cat >>confdefs.h <<_ACEOF
46829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46839 if test "$wxUSE_JOYSTICK" = "yes"; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_JOYSTICK 1
46844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46846 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46847 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46853 if test "$wxUSE_FONTENUM" = "yes" ; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_FONTENUM 1
46860 if test "$wxUSE_FONTMAP" = "yes" ; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_FONTMAP 1
46867 if test "$wxUSE_UNICODE" = "yes" ; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_UNICODE 1
46873 if test "$USE_WIN32" != 1; then
46874 wxUSE_UNICODE_MSLU=no
46877 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46878 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46879 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46880 if test "${ac_cv_lib_unicows_main+set}" = set; then
46881 echo $ECHO_N "(cached) $ECHO_C" >&6
46883 ac_check_lib_save_LIBS=$LIBS
46884 LIBS="-lunicows $LIBS"
46885 cat >conftest.$ac_ext <<_ACEOF
46888 cat confdefs.h >>conftest.$ac_ext
46889 cat >>conftest.$ac_ext <<_ACEOF
46890 /* end confdefs.h. */
46901 rm -f conftest.$ac_objext conftest$ac_exeext
46902 if { (ac_try="$ac_link"
46903 case "(($ac_try" in
46904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46905 *) ac_try_echo=$ac_try;;
46907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46908 (eval "$ac_link") 2>conftest.er1
46910 grep -v '^ *+' conftest.er1 >conftest.err
46912 cat conftest.err >&5
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); } && {
46915 test -z "$ac_c_werror_flag" ||
46916 test ! -s conftest.err
46917 } && test -s conftest$ac_exeext &&
46918 $as_test_x conftest$ac_exeext; then
46919 ac_cv_lib_unicows_main=yes
46921 echo "$as_me: failed program was:" >&5
46922 sed 's/^/| /' conftest.$ac_ext >&5
46924 ac_cv_lib_unicows_main=no
46927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46928 conftest$ac_exeext conftest.$ac_ext
46929 LIBS=$ac_check_lib_save_LIBS
46931 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46932 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46933 if test $ac_cv_lib_unicows_main = yes; then
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_UNICODE_MSLU 1
46942 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46943 Applications will only run on Windows NT/2000/XP!" >&5
46944 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46945 Applications will only run on Windows NT/2000/XP!" >&2;}
46946 wxUSE_UNICODE_MSLU=no
46953 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_UNICODE_UTF8 1
46959 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_UTF8_LOCALE_ONLY 1
46968 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_CONSTRAINTS 1
46973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46976 if test "$wxUSE_MDI" = "yes"; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_MDI 1
46982 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_MDI_ARCHITECTURE 1
46987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46991 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46992 cat >>confdefs.h <<\_ACEOF
46993 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46999 if test "$wxUSE_HELP" = "yes"; then
47000 cat >>confdefs.h <<\_ACEOF
47001 #define wxUSE_HELP 1
47004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47006 if test "$wxUSE_MSW" = 1; then
47007 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47008 cat >>confdefs.h <<\_ACEOF
47009 #define wxUSE_MS_HTML_HELP 1
47015 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47016 if test "$wxUSE_HTML" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_WXHTML_HELP 1
47022 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47023 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47024 wxUSE_WXHTML_HELP=no
47029 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47030 cat >>confdefs.h <<\_ACEOF
47031 #define wxUSE_PRINTING_ARCHITECTURE 1
47034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47037 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_POSTSCRIPT 1
47044 cat >>confdefs.h <<\_ACEOF
47045 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47049 if test "$wxUSE_SVG" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_SVG 1
47057 if test "$wxUSE_METAFILE" = "yes"; then
47058 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47059 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47060 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47063 elif test "$wxUSE_METAFILE" = "auto"; then
47064 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
47069 if test "$wxUSE_METAFILE" = "yes"; then
47070 cat >>confdefs.h <<\_ACEOF
47071 #define wxUSE_METAFILE 1
47074 if test "$wxUSE_MSW" = 1; then
47075 cat >>confdefs.h <<\_ACEOF
47076 #define wxUSE_ENH_METAFILE 1
47083 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47084 -o "$wxUSE_CLIPBOARD" = "yes" \
47085 -o "$wxUSE_OLE" = "yes" \
47086 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47087 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47088 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47089 if test "${ac_cv_header_ole2_h+set}" = set; then
47090 echo $ECHO_N "(cached) $ECHO_C" >&6
47092 cat >conftest.$ac_ext <<_ACEOF
47095 cat confdefs.h >>conftest.$ac_ext
47096 cat >>conftest.$ac_ext <<_ACEOF
47097 /* end confdefs.h. */
47102 rm -f conftest.$ac_objext
47103 if { (ac_try="$ac_compile"
47104 case "(($ac_try" in
47105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47106 *) ac_try_echo=$ac_try;;
47108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47109 (eval "$ac_compile") 2>conftest.er1
47111 grep -v '^ *+' conftest.er1 >conftest.err
47113 cat conftest.err >&5
47114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115 (exit $ac_status); } && {
47116 test -z "$ac_c_werror_flag" ||
47117 test ! -s conftest.err
47118 } && test -s conftest.$ac_objext; then
47119 ac_cv_header_ole2_h=yes
47121 echo "$as_me: failed program was:" >&5
47122 sed 's/^/| /' conftest.$ac_ext >&5
47124 ac_cv_header_ole2_h=no
47127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47129 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47130 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47134 if test "$ac_cv_header_ole2_h" = "yes" ; then
47135 if test "$GCC" = yes ; then
47136 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47137 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47138 cat >conftest.$ac_ext <<_ACEOF
47141 cat confdefs.h >>conftest.$ac_ext
47142 cat >>conftest.$ac_ext <<_ACEOF
47143 /* end confdefs.h. */
47144 #include <windows.h>
47154 rm -f conftest.$ac_objext
47155 if { (ac_try="$ac_compile"
47156 case "(($ac_try" in
47157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47158 *) ac_try_echo=$ac_try;;
47160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47161 (eval "$ac_compile") 2>conftest.er1
47163 grep -v '^ *+' conftest.er1 >conftest.err
47165 cat conftest.err >&5
47166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47167 (exit $ac_status); } && {
47168 test -z "$ac_c_werror_flag" ||
47169 test ! -s conftest.err
47170 } && test -s conftest.$ac_objext; then
47171 { echo "$as_me:$LINENO: result: no" >&5
47172 echo "${ECHO_T}no" >&6; }
47174 echo "$as_me: failed program was:" >&5
47175 sed 's/^/| /' conftest.$ac_ext >&5
47177 { echo "$as_me:$LINENO: result: yes" >&5
47178 echo "${ECHO_T}yes" >&6; }
47179 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47183 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47184 if test "$wxUSE_OLE" = "yes" ; then
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_OLE 1
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_OLE_AUTOMATION 1
47193 cat >>confdefs.h <<\_ACEOF
47194 #define wxUSE_ACTIVEX 1
47197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47201 if test "$wxUSE_DATAOBJ" = "yes" ; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_DATAOBJ 1
47208 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47209 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47212 wxUSE_DRAG_AND_DROP=no
47218 if test "$wxUSE_IPC" = "yes"; then
47219 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47220 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47221 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47225 if test "$wxUSE_IPC" = "yes"; then
47226 cat >>confdefs.h <<\_ACEOF
47227 #define wxUSE_IPC 1
47230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47234 if test "$wxUSE_DATAOBJ" = "yes"; then
47235 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47236 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47237 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_DATAOBJ 1
47246 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47247 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47249 wxUSE_DRAG_AND_DROP=no
47252 if test "$wxUSE_CLIPBOARD" = "yes"; then
47253 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47254 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47255 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47259 if test "$wxUSE_CLIPBOARD" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_CLIPBOARD 1
47267 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47268 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47269 "$wxUSE_DFB" = 1; then
47270 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47271 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47272 wxUSE_DRAG_AND_DROP=no
47275 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_DRAG_AND_DROP 1
47284 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47288 if test "$wxUSE_CLIPBOARD" = "yes"; then
47289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47292 if test "$wxUSE_SPLINES" = "yes" ; then
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_SPLINES 1
47299 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_MOUSEWHEEL 1
47306 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_UIACTIONSIMULATOR 1
47311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47314 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_DC_TRANSFORM_MATRIX 1
47323 if test "$wxUSE_CONTROLS" = "yes"; then
47327 if test "$wxUSE_MARKUP" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_MARKUP 1
47334 if test "$wxUSE_ACCEL" = "yes"; then
47335 cat >>confdefs.h <<\_ACEOF
47336 #define wxUSE_ACCEL 1
47342 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47343 cat >>confdefs.h <<\_ACEOF
47344 #define wxUSE_ANIMATIONCTRL 1
47348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47351 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_BANNERWINDOW 1
47358 if test "$wxUSE_BUTTON" = "yes"; then
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_BUTTON 1
47366 if test "$wxUSE_BMPBUTTON" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_BMPBUTTON 1
47374 if test "$wxUSE_CALCTRL" = "yes"; then
47375 cat >>confdefs.h <<\_ACEOF
47376 #define wxUSE_CALENDARCTRL 1
47380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47383 if test "$wxUSE_CARET" = "yes"; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_CARET 1
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47392 if test "$wxUSE_COLLPANE" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_COLLPANE 1
47398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47401 if test "$wxUSE_COMBOBOX" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_COMBOBOX 1
47409 if test "$wxUSE_COMBOCTRL" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_COMBOCTRL 1
47417 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_COMMANDLINKBUTTON 1
47425 if test "$wxUSE_CHOICE" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_CHOICE 1
47433 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_CHOICEBOOK 1
47441 if test "$wxUSE_CHECKBOX" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_CHECKBOX 1
47449 if test "$wxUSE_CHECKLST" = "yes"; then
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_CHECKLISTBOX 1
47457 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_COLOURPICKERCTRL 1
47465 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_DATEPICKCTRL 1
47473 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_DIRPICKERCTRL 1
47481 if test "$wxUSE_FILECTRL" = "yes"; then
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_FILECTRL 1
47489 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_FILEPICKERCTRL 1
47497 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47498 cat >>confdefs.h <<\_ACEOF
47499 #define wxUSE_FONTPICKERCTRL 1
47505 if test "$wxUSE_DISPLAY" = "yes"; then
47506 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47507 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47508 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_DISPLAY 1
47515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47519 if test "$wxUSE_DETECT_SM" = "yes"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_DETECT_SM 1
47526 if test "$wxUSE_GAUGE" = "yes"; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_GAUGE 1
47534 if test "$wxUSE_GRID" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_GRID 1
47540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47543 if test "$wxUSE_HEADERCTRL" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_HEADERCTRL 1
47551 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_HYPERLINKCTRL 1
47559 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47560 cat >>confdefs.h <<\_ACEOF
47561 #define wxUSE_BITMAPCOMBOBOX 1
47567 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_DATAVIEWCTRL 1
47573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47576 if test "$wxUSE_IMAGLIST" = "yes"; then
47577 cat >>confdefs.h <<\_ACEOF
47578 #define wxUSE_IMAGLIST 1
47583 if test "$wxUSE_INFOBAR" = "yes"; then
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_INFOBAR 1
47590 if test "$wxUSE_LISTBOOK" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_LISTBOOK 1
47598 if test "$wxUSE_LISTBOX" = "yes"; then
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_LISTBOX 1
47606 if test "$wxUSE_LISTCTRL" = "yes"; then
47607 if test "$wxUSE_IMAGLIST" = "yes"; then
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_LISTCTRL 1
47613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47615 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47616 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47620 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_EDITABLELISTBOX 1
47628 if test "$wxUSE_NOTEBOOK" = "yes"; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_NOTEBOOK 1
47634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47637 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_NOTIFICATION_MESSAGE 1
47644 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_ODCOMBOBOX 1
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47653 if test "$wxUSE_RADIOBOX" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_RADIOBOX 1
47661 if test "$wxUSE_RADIOBTN" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_RADIOBTN 1
47669 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_REARRANGECTRL 1
47676 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_RICHMSGDLG 1
47683 if test "$wxUSE_SASH" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_SASH 1
47688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47691 if test "$wxUSE_SCROLLBAR" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_SCROLLBAR 1
47697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47700 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_SEARCHCTRL 1
47708 if test "$wxUSE_SLIDER" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_SLIDER 1
47716 if test "$wxUSE_SPINBTN" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_SPINBTN 1
47724 if test "$wxUSE_SPINCTRL" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_SPINCTRL 1
47732 if test "$wxUSE_SPLITTER" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_SPLITTER 1
47737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47740 if test "$wxUSE_STATBMP" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_STATBMP 1
47748 if test "$wxUSE_STATBOX" = "yes"; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_STATBOX 1
47756 if test "$wxUSE_STATTEXT" = "yes"; then
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_STATTEXT 1
47764 if test "$wxUSE_STATLINE" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_STATLINE 1
47772 if test "$wxUSE_STATUSBAR" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_NATIVE_STATUSBAR 1
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_STATUSBAR 1
47783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47786 if test "$wxUSE_TEXTCTRL" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_TEXTCTRL 1
47792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47794 cat >>confdefs.h <<\_ACEOF
47795 #define wxUSE_RICHEDIT 1
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_RICHEDIT2 1
47804 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47805 if test "$wxUSE_OLD_COCOA" = 1 ; then
47806 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47807 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47811 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_TOGGLEBTN 1
47820 if test "$wxUSE_TOOLBAR" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_TOOLBAR 1
47827 if test "$wxUSE_UNIVERSAL" = "yes"; then
47828 wxUSE_TOOLBAR_NATIVE="no"
47830 wxUSE_TOOLBAR_NATIVE="yes"
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_TOOLBAR_NATIVE 1
47837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47840 if test "$wxUSE_TOOLTIPS" = "yes"; then
47841 if test "$wxUSE_MOTIF" = 1; then
47842 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47843 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47845 if test "$wxUSE_UNIVERSAL" = "yes"; then
47846 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47847 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_TOOLTIPS 1
47857 if test "$wxUSE_TREEBOOK" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_TREEBOOK 1
47865 if test "$wxUSE_TOOLBOOK" = "yes"; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_TOOLBOOK 1
47873 if test "$wxUSE_TREECTRL" = "yes"; then
47874 if test "$wxUSE_IMAGLIST" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_TREECTRL 1
47880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47882 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47883 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47887 if test "$wxUSE_TREECTRL" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_TREELISTCTRL 1
47895 if test "$wxUSE_POPUPWIN" = "yes"; then
47896 if test "$wxUSE_OLD_COCOA" = 1 ; then
47897 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47898 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47900 if test "$wxUSE_PM" = 1; then
47901 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47902 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_POPUPWIN 1
47908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47915 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47916 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47917 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47918 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_DIALUP_MANAGER 1
47924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47928 if test "$wxUSE_TIPWINDOW" = "yes"; then
47929 if test "$wxUSE_PM" = 1; then
47930 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47931 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47933 cat >>confdefs.h <<\_ACEOF
47934 #define wxUSE_TIPWINDOW 1
47940 if test "$USES_CONTROLS" = 1; then
47941 cat >>confdefs.h <<\_ACEOF
47942 #define wxUSE_CONTROLS 1
47948 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_ACCESSIBILITY 1
47953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47956 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_ARTPROVIDER_STD 1
47963 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47964 if test "$wxUSE_GTK" != 1; then
47965 if test "$wxUSE_LIBPNG" != no -a \
47966 "$wxUSE_IMAGE" = yes -a \
47967 "$wxUSE_STREAMS" = yes; then
47968 wxUSE_ARTPROVIDER_TANGO="yes"
47973 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_ARTPROVIDER_TANGO 1
47980 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_DRAGIMAGE 1
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47988 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47989 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47990 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47991 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_EXCEPTIONS 1
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48002 if test "$wxUSE_HTML" = "yes"; then
48003 cat >>confdefs.h <<\_ACEOF
48004 #define wxUSE_HTML 1
48008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48010 if test "$wxUSE_WEBKIT" = "yes"; then
48011 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48012 old_CPPFLAGS="$CPPFLAGS"
48013 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48014 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48015 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48016 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48017 echo $ECHO_N "(cached) $ECHO_C" >&6
48019 cat >conftest.$ac_ext <<_ACEOF
48022 cat confdefs.h >>conftest.$ac_ext
48023 cat >>conftest.$ac_ext <<_ACEOF
48024 /* end confdefs.h. */
48026 #include <Carbon/Carbon.h>
48027 #include <WebKit/WebKit.h>
48030 #include <WebKit/HIWebView.h>
48032 rm -f conftest.$ac_objext
48033 if { (ac_try="$ac_compile"
48034 case "(($ac_try" in
48035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48036 *) ac_try_echo=$ac_try;;
48038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48039 (eval "$ac_compile") 2>conftest.er1
48041 grep -v '^ *+' conftest.er1 >conftest.err
48043 cat conftest.err >&5
48044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48045 (exit $ac_status); } && {
48046 test -z "$ac_c_werror_flag" ||
48047 test ! -s conftest.err
48048 } && test -s conftest.$ac_objext; then
48049 ac_cv_header_WebKit_HIWebView_h=yes
48051 echo "$as_me: failed program was:" >&5
48052 sed 's/^/| /' conftest.$ac_ext >&5
48054 ac_cv_header_WebKit_HIWebView_h=no
48057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48059 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48060 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48061 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_WEBKIT 1
48067 WEBKIT_LINK="-framework WebKit"
48071 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48072 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48078 CPPFLAGS="$old_CPPFLAGS"
48079 elif test "$wxUSE_OLD_COCOA" = 1; then
48080 cat >>confdefs.h <<\_ACEOF
48081 #define wxUSE_WEBKIT 1
48087 if test "$wxUSE_WEBKIT" = "yes"; then
48088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48093 if test "$wxUSE_XRC" = "yes"; then
48094 if test "$wxUSE_XML" != "yes"; then
48095 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48096 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_XRC 1
48104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48109 if test "$wxUSE_AUI" = "yes"; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_AUI 1
48115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48119 if test "$wxUSE_PROPGRID" = "yes"; then
48120 cat >>confdefs.h <<\_ACEOF
48121 #define wxUSE_PROPGRID 1
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48129 if test "$wxUSE_RIBBON" = "yes"; then
48130 cat >>confdefs.h <<\_ACEOF
48131 #define wxUSE_RIBBON 1
48135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48139 if test "$wxUSE_STC" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_STC 1
48145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48147 # Extract the first word of "python", so it can be a program name with args.
48148 set dummy python; ac_word=$2
48149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48151 if test "${ac_cv_path_PYTHON+set}" = set; then
48152 echo $ECHO_N "(cached) $ECHO_C" >&6
48156 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48160 for as_dir in $PATH
48163 test -z "$as_dir" && as_dir=.
48164 for ac_exec_ext in '' $ac_executable_extensions; do
48165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48166 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48177 PYTHON=$ac_cv_path_PYTHON
48178 if test -n "$PYTHON"; then
48179 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48180 echo "${ECHO_T}$PYTHON" >&6; }
48182 { echo "$as_me:$LINENO: result: no" >&5
48183 echo "${ECHO_T}no" >&6; }
48187 if test "x$PYTHON" = "x"; then
48193 if test "$wxUSE_MENUS" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_MENUS 1
48198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48201 if test "$wxUSE_MIMETYPE" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_MIMETYPE 1
48208 if test "$wxUSE_MINIFRAME" = "yes"; then
48209 cat >>confdefs.h <<\_ACEOF
48210 #define wxUSE_MINIFRAME 1
48215 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48216 cat >>confdefs.h <<\_ACEOF
48217 #define wxUSE_SYSTEM_OPTIONS 1
48222 if test "$wxUSE_TASKBARICON" = "yes"; then
48223 cat >>confdefs.h <<\_ACEOF
48224 #define wxUSE_TASKBARICON 1
48227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48231 if test "$wxUSE_VALIDATORS" = "yes"; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_VALIDATORS 1
48236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48239 if test "$wxUSE_PALETTE" = "yes" ; then
48240 if test "$wxUSE_DFB" = 1; then
48241 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48242 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48245 cat >>confdefs.h <<\_ACEOF
48246 #define wxUSE_PALETTE 1
48252 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48253 LIBS=" -lunicows $LIBS"
48257 if test "$wxUSE_RICHTEXT" = "yes"; then
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_RICHTEXT 1
48263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48267 if test "$wxUSE_IMAGE" = "yes" ; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_IMAGE 1
48273 if test "$wxUSE_GIF" = "yes" ; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_GIF 1
48280 if test "$wxUSE_PCX" = "yes" ; then
48281 cat >>confdefs.h <<\_ACEOF
48282 #define wxUSE_PCX 1
48287 if test "$wxUSE_TGA" = "yes" ; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_TGA 1
48294 if test "$wxUSE_IFF" = "yes" ; then
48295 cat >>confdefs.h <<\_ACEOF
48296 #define wxUSE_IFF 1
48301 if test "$wxUSE_PNM" = "yes" ; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_PNM 1
48308 if test "$wxUSE_XPM" = "yes" ; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_XPM 1
48315 if test "$wxUSE_ICO_CUR" = "yes" ; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_ICO_CUR 1
48324 if test "$wxUSE_ABOUTDLG" = "yes"; then
48325 cat >>confdefs.h <<\_ACEOF
48326 #define wxUSE_ABOUTDLG 1
48331 if test "$wxUSE_CHOICEDLG" = "yes"; then
48332 cat >>confdefs.h <<\_ACEOF
48333 #define wxUSE_CHOICEDLG 1
48338 if test "$wxUSE_COLOURDLG" = "yes"; then
48339 cat >>confdefs.h <<\_ACEOF
48340 #define wxUSE_COLOURDLG 1
48345 if test "$wxUSE_FILEDLG" = "yes"; then
48346 cat >>confdefs.h <<\_ACEOF
48347 #define wxUSE_FILEDLG 1
48352 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_FINDREPLDLG 1
48359 if test "$wxUSE_FONTDLG" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_FONTDLG 1
48366 if test "$wxUSE_DIRDLG" = "yes"; then
48367 if test "$wxUSE_TREECTRL" != "yes"; then
48368 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48369 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48371 cat >>confdefs.h <<\_ACEOF
48372 #define wxUSE_DIRDLG 1
48378 if test "$wxUSE_MSGDLG" = "yes"; then
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_MSGDLG 1
48385 if test "$wxUSE_NUMBERDLG" = "yes"; then
48386 cat >>confdefs.h <<\_ACEOF
48387 #define wxUSE_NUMBERDLG 1
48392 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48393 cat >>confdefs.h <<\_ACEOF
48394 #define wxUSE_PROGRESSDLG 1
48399 if test "$wxUSE_SPLASH" = "yes"; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_SPLASH 1
48404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48407 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48408 cat >>confdefs.h <<\_ACEOF
48409 #define wxUSE_STARTUP_TIPS 1
48414 if test "$wxUSE_TEXTDLG" = "yes"; then
48415 cat >>confdefs.h <<\_ACEOF
48416 #define wxUSE_TEXTDLG 1
48421 if test "$wxUSE_WIZARDDLG" = "yes"; then
48422 cat >>confdefs.h <<\_ACEOF
48423 #define wxUSE_WIZARDDLG 1
48426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48430 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48431 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_OWNER_DRAWN 1
48440 if test "$wxUSE_MSW" = 1 ; then
48442 if test "$wxUSE_DC_CACHEING" = "yes"; then
48443 cat >>confdefs.h <<\_ACEOF
48444 #define wxUSE_DC_CACHEING 1
48449 if test "$wxUSE_DIB" = "yes"; then
48450 cat >>confdefs.h <<\_ACEOF
48451 #define wxUSE_WXDIB 1
48456 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48457 cat >>confdefs.h <<\_ACEOF
48458 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48463 if test "$wxUSE_UXTHEME" = "yes"; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_UXTHEME 1
48472 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48473 cat >>confdefs.h <<\_ACEOF
48474 #define wxUSE_AUTOID_MANAGEMENT 1
48479 if test "$USE_WIN32" = 1 ; then
48480 if test "$wxUSE_INICONF" = "yes"; then
48481 cat >>confdefs.h <<\_ACEOF
48482 #define wxUSE_INICONF 1
48487 if test "$wxUSE_REGKEY" = "yes"; then
48488 cat >>confdefs.h <<\_ACEOF
48489 #define wxUSE_REGKEY 1
48496 if test "$wxUSE_MAC" = 1; then
48497 wxUSE_GRAPHICS_CONTEXT="yes"
48500 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48502 if test "$wxUSE_MSW" = 1; then
48503 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48504 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48505 if test "${wx_cv_lib_gdiplus+set}" = set; then
48506 echo $ECHO_N "(cached) $ECHO_C" >&6
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48515 cat >conftest.$ac_ext <<_ACEOF
48518 cat confdefs.h >>conftest.$ac_ext
48519 cat >>conftest.$ac_ext <<_ACEOF
48520 /* end confdefs.h. */
48521 #include <windows.h>
48522 #include <gdiplus.h>
48527 using namespace Gdiplus;
48533 rm -f conftest.$ac_objext
48534 if { (ac_try="$ac_compile"
48535 case "(($ac_try" in
48536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48537 *) ac_try_echo=$ac_try;;
48539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48540 (eval "$ac_compile") 2>conftest.er1
48542 grep -v '^ *+' conftest.er1 >conftest.err
48544 cat conftest.err >&5
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); } && {
48547 test -z "$ac_cxx_werror_flag" ||
48548 test ! -s conftest.err
48549 } && test -s conftest.$ac_objext; then
48550 wx_cv_lib_gdiplus=yes
48552 echo "$as_me: failed program was:" >&5
48553 sed 's/^/| /' conftest.$ac_ext >&5
48555 wx_cv_lib_gdiplus=no
48559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48561 ac_cpp='$CPP $CPPFLAGS'
48562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48569 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48570 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48571 if test "$wx_cv_lib_gdiplus" = "yes"; then
48574 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48577 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48578 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48580 if test -n "$PKG_CONFIG"; then
48581 if test -n "$CAIRO_CFLAGS"; then
48582 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48584 if test -n "$PKG_CONFIG" && \
48585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48586 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); }; then
48590 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48598 if test -n "$PKG_CONFIG"; then
48599 if test -n "$CAIRO_LIBS"; then
48600 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48602 if test -n "$PKG_CONFIG" && \
48603 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48604 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607 (exit $ac_status); }; then
48608 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48619 if test $pkg_failed = yes; then
48621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48622 _pkg_short_errors_supported=yes
48624 _pkg_short_errors_supported=no
48626 if test $_pkg_short_errors_supported = yes; then
48627 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48629 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48631 # Put the nasty error message in config.log where it belongs
48632 echo "$CAIRO_PKG_ERRORS" >&5
48634 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48635 echo "$as_me: WARNING: Cairo library not found" >&2;}
48637 elif test $pkg_failed = untried; then
48638 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48639 echo "$as_me: WARNING: Cairo library not found" >&2;}
48642 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48643 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48644 { echo "$as_me:$LINENO: result: yes" >&5
48645 echo "${ECHO_T}yes" >&6; }
48648 if test "$wx_has_graphics" = 1; then
48650 LIBS="$LIBS $CAIRO_LIBS"
48652 for ac_func in cairo_push_group
48654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48655 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48658 echo $ECHO_N "(cached) $ECHO_C" >&6
48660 cat >conftest.$ac_ext <<_ACEOF
48663 cat confdefs.h >>conftest.$ac_ext
48664 cat >>conftest.$ac_ext <<_ACEOF
48665 /* end confdefs.h. */
48666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48668 #define $ac_func innocuous_$ac_func
48670 /* System header to define __stub macros and hopefully few prototypes,
48671 which can conflict with char $ac_func (); below.
48672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48673 <limits.h> exists even on freestanding compilers. */
48676 # include <limits.h>
48678 # include <assert.h>
48683 /* Override any GCC internal prototype to avoid an error.
48684 Use char because int might match the return type of a GCC
48685 builtin and then its argument prototype would still apply. */
48690 /* The GNU C library defines this for functions which it implements
48691 to always fail with ENOSYS. Some functions are actually named
48692 something starting with __ and the normal name is an alias. */
48693 #if defined __stub_$ac_func || defined __stub___$ac_func
48700 return $ac_func ();
48705 rm -f conftest.$ac_objext conftest$ac_exeext
48706 if { (ac_try="$ac_link"
48707 case "(($ac_try" in
48708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48709 *) ac_try_echo=$ac_try;;
48711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48712 (eval "$ac_link") 2>conftest.er1
48714 grep -v '^ *+' conftest.er1 >conftest.err
48716 cat conftest.err >&5
48717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48718 (exit $ac_status); } && {
48719 test -z "$ac_c_werror_flag" ||
48720 test ! -s conftest.err
48721 } && test -s conftest$ac_exeext &&
48722 $as_test_x conftest$ac_exeext; then
48723 eval "$as_ac_var=yes"
48725 echo "$as_me: failed program was:" >&5
48726 sed 's/^/| /' conftest.$ac_ext >&5
48728 eval "$as_ac_var=no"
48731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48732 conftest$ac_exeext conftest.$ac_ext
48734 ac_res=`eval echo '${'$as_ac_var'}'`
48735 { echo "$as_me:$LINENO: result: $ac_res" >&5
48736 echo "${ECHO_T}$ac_res" >&6; }
48737 if test `eval echo '${'$as_ac_var'}'` = yes; then
48738 cat >>confdefs.h <<_ACEOF
48739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48746 if test "$ac_cv_func_cairo_push_group" = "no"; then
48748 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48749 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48751 cat >>confdefs.h <<\_ACEOF
48752 #define wxUSE_CAIRO 1
48756 if test "$wxUSE_GTK" != 1; then
48757 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48758 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48766 if test "$wx_has_graphics" = 1; then
48767 cat >>confdefs.h <<\_ACEOF
48768 #define wxUSE_GRAPHICS_CONTEXT 1
48772 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48773 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48780 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48783 if test "$wxUSE_GTK" = 1; then
48784 wxUSE_GSTREAMER="no"
48786 GST_VERSION_MAJOR=0
48787 GST_VERSION_MINOR=10
48788 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48790 if test "$wxUSE_GSTREAMER8" = "no"; then
48793 { echo "$as_me:$LINENO: checking for GST" >&5
48794 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48796 if test -n "$PKG_CONFIG"; then
48797 if test -n "$GST_CFLAGS"; then
48798 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48800 if test -n "$PKG_CONFIG" && \
48801 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48802 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48805 (exit $ac_status); }; then
48806 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48814 if test -n "$PKG_CONFIG"; then
48815 if test -n "$GST_LIBS"; then
48816 pkg_cv_GST_LIBS="$GST_LIBS"
48818 if test -n "$PKG_CONFIG" && \
48819 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48820 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48823 (exit $ac_status); }; then
48824 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48835 if test $pkg_failed = yes; then
48837 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48838 _pkg_short_errors_supported=yes
48840 _pkg_short_errors_supported=no
48842 if test $_pkg_short_errors_supported = yes; then
48843 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48845 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48847 # Put the nasty error message in config.log where it belongs
48848 echo "$GST_PKG_ERRORS" >&5
48851 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48852 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48853 GST_VERSION_MINOR=8
48856 elif test $pkg_failed = untried; then
48858 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48859 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48860 GST_VERSION_MINOR=8
48864 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48865 GST_LIBS=$pkg_cv_GST_LIBS
48866 { echo "$as_me:$LINENO: result: yes" >&5
48867 echo "${ECHO_T}yes" >&6; }
48869 wxUSE_GSTREAMER="yes"
48870 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48874 GST_VERSION_MINOR=8
48877 if test $GST_VERSION_MINOR = "8"; then
48878 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48881 { echo "$as_me:$LINENO: checking for GST" >&5
48882 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48884 if test -n "$PKG_CONFIG"; then
48885 if test -n "$GST_CFLAGS"; then
48886 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48888 if test -n "$PKG_CONFIG" && \
48889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48890 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); }; then
48894 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48902 if test -n "$PKG_CONFIG"; then
48903 if test -n "$GST_LIBS"; then
48904 pkg_cv_GST_LIBS="$GST_LIBS"
48906 if test -n "$PKG_CONFIG" && \
48907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48908 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); }; then
48912 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48923 if test $pkg_failed = yes; then
48925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48926 _pkg_short_errors_supported=yes
48928 _pkg_short_errors_supported=no
48930 if test $_pkg_short_errors_supported = yes; then
48931 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48933 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48935 # Put the nasty error message in config.log where it belongs
48936 echo "$GST_PKG_ERRORS" >&5
48939 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48940 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48942 elif test $pkg_failed = untried; then
48944 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48945 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48948 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48949 GST_LIBS=$pkg_cv_GST_LIBS
48950 { echo "$as_me:$LINENO: result: yes" >&5
48951 echo "${ECHO_T}yes" >&6; }
48952 wxUSE_GSTREAMER="yes"
48957 if test "$wxUSE_GSTREAMER" = "yes"; then
48958 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48959 EXTRALIBS_MEDIA="$GST_LIBS"
48961 cat >>confdefs.h <<\_ACEOF
48962 #define wxUSE_GSTREAMER 1
48970 if test $USE_MEDIA = 1; then
48971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_MEDIACTRL 1
48977 if test "$wxUSE_MEDIACTRL" = "yes"; then
48978 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48979 echo "$as_me: error: GStreamer not available" >&2;}
48980 { (exit 1); exit 1; }; }
48982 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48983 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48989 if test "$cross_compiling" != "no"; then
48992 OSINFO=`uname -s -r -m`
48993 OSINFO="\"$OSINFO\""
48996 cat >>confdefs.h <<_ACEOF
48997 #define WXWIN_OS_DESCRIPTION $OSINFO
49002 if test "x$prefix" != "xNONE"; then
49005 wxPREFIX=$ac_default_prefix
49008 cat >>confdefs.h <<_ACEOF
49009 #define wxINSTALL_PREFIX "$wxPREFIX"
49015 STD_BASE_LIBS="base"
49017 BUILT_WX_LIBS="base"
49018 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49020 if test "$wxUSE_SOCKETS" = "yes" ; then
49021 STD_BASE_LIBS="net $STD_BASE_LIBS"
49022 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49024 if test "$wxUSE_XML" = "yes" ; then
49025 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49026 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49029 if test "$wxUSE_GUI" = "yes"; then
49030 STD_GUI_LIBS="adv core"
49031 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49033 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49034 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49035 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49037 if test "$wxUSE_HTML" = "yes" ; then
49038 STD_GUI_LIBS="html $STD_GUI_LIBS"
49039 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49041 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49042 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49044 if test "$wxUSE_OPENGL" = "yes" ; then
49045 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49047 if test "$wxUSE_AUI" = "yes" ; then
49048 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49050 if test "$wxUSE_PROPGRID" = "yes" ; then
49051 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49053 if test "$wxUSE_RIBBON" = "yes" ; then
49054 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49056 if test "$wxUSE_RICHTEXT" = "yes" ; then
49057 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49059 if test "$wxUSE_STC" = "yes" ; then
49060 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49062 if test "$wxUSE_XRC" = "yes" ; then
49063 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49064 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49075 if test "$wxUSE_MAC" = 1 ; then
49076 if test "$USE_DARWIN" = 1; then
49077 if test "$wxUSE_OSX_IPHONE" = 1; then
49078 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49080 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49084 if test "$wxUSE_OLD_COCOA" = 1 ; then
49085 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49086 if test "$wxUSE_MEDIACTRL" = "yes"; then
49087 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49090 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49091 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49094 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49095 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49097 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49099 if test "$wxUSE_GUI" = "yes"; then
49102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49103 erase event exec font image minimal render \
49104 shaped svg taborder vscroll widgets wrapsizer"
49106 if test "$wxUSE_MONOLITHIC" != "yes"; then
49107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49109 if test "$TOOLKIT" = "MSW"; then
49110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49111 if test "$wxUSE_UNIVERSAL" != "yes"; then
49112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49115 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49119 SAMPLES_SUBDIRS="console"
49120 if test "$wxUSE_SOCKETS" = "yes" ; then
49121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49123 if test "$wxUSE_IPC" = "yes" ; then
49124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49129 if test "x$INTELCC" = "xyes" ; then
49130 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49131 elif test "$GCC" = yes ; then
49132 CWARNINGS="-Wall -Wundef"
49135 if test "x$INTELCXX" = "xyes" ; then
49136 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49137 elif test "$GXX" = yes ; then
49138 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49139 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49140 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49141 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49142 echo $ECHO_N "(cached) $ECHO_C" >&6
49144 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49147 ac_cpp='$CXXCPP $CPPFLAGS'
49148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49152 ac_save_CXXFLAGS="$CXXFLAGS"
49153 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49154 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49155 cat >conftest.$ac_ext <<_ACEOF
49158 cat confdefs.h >>conftest.$ac_ext
49159 cat >>conftest.$ac_ext <<_ACEOF
49160 /* end confdefs.h. */
49170 rm -f conftest.$ac_objext
49171 if { (ac_try="$ac_compile"
49172 case "(($ac_try" in
49173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49174 *) ac_try_echo=$ac_try;;
49176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49177 (eval "$ac_compile") 2>conftest.er1
49179 grep -v '^ *+' conftest.er1 >conftest.err
49181 cat conftest.err >&5
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); } && {
49184 test -z "$ac_cxx_werror_flag" ||
49185 test ! -s conftest.err
49186 } && test -s conftest.$ac_objext; then
49187 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49189 echo "$as_me: failed program was:" >&5
49190 sed 's/^/| /' conftest.$ac_ext >&5
49195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49197 CXXFLAGS="$ac_save_CXXFLAGS"
49199 ac_cpp='$CPP $CPPFLAGS'
49200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49206 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49207 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49208 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49212 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49213 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49214 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49217 (exit $ac_status); }
49218 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49219 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49222 (exit $ac_status); }
49223 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49229 if test "$wxUSE_MAC" = 1 ; then
49230 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49235 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49236 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49239 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49240 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49241 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49244 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49245 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49246 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49247 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49248 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49250 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49253 if test "x$MWCC" = "xyes"; then
49255 CC="$CC -cwd source -I-"
49256 CXX="$CXX -cwd source -I-"
49261 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49262 EXTRALIBS_XML="$EXPAT_LINK"
49263 EXTRALIBS_HTML="$MSPACK_LINK"
49264 EXTRALIBS_MEDIA="$GST_LIBS"
49265 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49266 if test "$wxUSE_GUI" = "yes"; then
49267 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49269 if test "$wxUSE_OPENGL" = "yes"; then
49270 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49273 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49275 WXCONFIG_LIBS="$LIBS"
49277 if test "$wxUSE_REGEX" = "builtin" ; then
49278 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49280 if test "$wxUSE_EXPAT" = "builtin" ; then
49281 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49283 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49284 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49286 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49287 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49289 if test "$wxUSE_LIBPNG" = "builtin" ; then
49290 wxconfig_3rdparty="png $wxconfig_3rdparty"
49292 if test "$wxUSE_ZLIB" = "builtin" ; then
49293 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49296 for i in $wxconfig_3rdparty ; do
49297 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49301 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49304 case "$wxUNIV_THEMES" in
49306 cat >>confdefs.h <<\_ACEOF
49307 #define wxUSE_ALL_THEMES 1
49313 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49314 cat >>confdefs.h <<_ACEOF
49315 #define wxUSE_THEME_$t 1
49331 if test $wxUSE_MONOLITHIC = "yes" ; then
49337 if test $wxUSE_PLUGINS = "yes" ; then
49343 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49349 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49381 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49394 TOOLKIT_DESC="GTK+"
49395 if test "$WXGTK2" = 1; then
49396 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49397 if test "$wxUSE_GTKPRINT" = "yes" ; then
49398 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49400 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49401 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49403 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49404 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49406 if test "$wxUSE_LIBHILDON" = "yes"; then
49407 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49409 if test "$wxUSE_LIBHILDON2" = "yes"; then
49410 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49413 if test "$TOOLKIT_EXTRA" != ""; then
49414 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49420 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49424 TOOLKIT_DESC="base only"
49428 if test "$wxUSE_WINE" = "yes"; then
49429 BAKEFILE_FORCE_PLATFORM=win32
49432 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49434 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49435 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49436 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49437 echo $ECHO_N "(cached) $ECHO_C" >&6
49440 echo '#include <stdio.h>
49441 const wchar_t test_var[] = L"awidetest";' > conftest.h
49443 echo '#include "conftest.h"
49446 printf("%ls", test_var);
49450 wx_cv_gcc_pch_bug="pch not supported"
49452 if $CXX conftest.h >/dev/null 2>&1
49456 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49458 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49459 grep awidetest >/dev/null
49461 wx_cv_gcc_pch_bug=no
49463 wx_cv_gcc_pch_bug=yes
49468 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49471 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49472 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49474 if test "$wx_cv_gcc_pch_bug" = yes; then
49485 if test "x$BAKEFILE_HOST" = "x"; then
49486 if test "x${host}" = "x" ; then
49487 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49488 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49489 { (exit 1); exit 1; }; }
49492 BAKEFILE_HOST="${host}"
49495 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49497 if test -n "$ac_tool_prefix"; then
49498 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49499 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49502 if test "${ac_cv_prog_RANLIB+set}" = set; then
49503 echo $ECHO_N "(cached) $ECHO_C" >&6
49505 if test -n "$RANLIB"; then
49506 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49509 for as_dir in $PATH
49512 test -z "$as_dir" && as_dir=.
49513 for ac_exec_ext in '' $ac_executable_extensions; do
49514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49515 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49525 RANLIB=$ac_cv_prog_RANLIB
49526 if test -n "$RANLIB"; then
49527 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49528 echo "${ECHO_T}$RANLIB" >&6; }
49530 { echo "$as_me:$LINENO: result: no" >&5
49531 echo "${ECHO_T}no" >&6; }
49536 if test -z "$ac_cv_prog_RANLIB"; then
49537 ac_ct_RANLIB=$RANLIB
49538 # Extract the first word of "ranlib", so it can be a program name with args.
49539 set dummy ranlib; ac_word=$2
49540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49542 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49543 echo $ECHO_N "(cached) $ECHO_C" >&6
49545 if test -n "$ac_ct_RANLIB"; then
49546 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49549 for as_dir in $PATH
49552 test -z "$as_dir" && as_dir=.
49553 for ac_exec_ext in '' $ac_executable_extensions; do
49554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49555 ac_cv_prog_ac_ct_RANLIB="ranlib"
49556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49565 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49566 if test -n "$ac_ct_RANLIB"; then
49567 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49568 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49570 { echo "$as_me:$LINENO: result: no" >&5
49571 echo "${ECHO_T}no" >&6; }
49574 if test "x$ac_ct_RANLIB" = x; then
49577 case $cross_compiling:$ac_tool_warned in
49579 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49580 whose name does not start with the host triplet. If you think this
49581 configuration is useful to you, please write to autoconf@gnu.org." >&5
49582 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49583 whose name does not start with the host triplet. If you think this
49584 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49585 ac_tool_warned=yes ;;
49587 RANLIB=$ac_ct_RANLIB
49590 RANLIB="$ac_cv_prog_RANLIB"
49593 # Find a good install program. We prefer a C program (faster),
49594 # so one script is as good as another. But avoid the broken or
49595 # incompatible versions:
49596 # SysV /etc/install, /usr/sbin/install
49597 # SunOS /usr/etc/install
49598 # IRIX /sbin/install
49600 # AmigaOS /C/install, which installs bootblocks on floppy discs
49601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49604 # OS/2's system install, which has a completely different semantic
49605 # ./install, which can be erroneously created by make from ./install.sh.
49606 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49607 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49608 if test -z "$INSTALL"; then
49609 if test "${ac_cv_path_install+set}" = set; then
49610 echo $ECHO_N "(cached) $ECHO_C" >&6
49612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49613 for as_dir in $PATH
49616 test -z "$as_dir" && as_dir=.
49617 # Account for people who put trailing slashes in PATH elements.
49619 ./ | .// | /cC/* | \
49620 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49621 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49624 # OSF1 and SCO ODT 3.0 have their own names for install.
49625 # Don't use installbsd from OSF since it installs stuff as root
49627 for ac_prog in ginstall scoinst install; do
49628 for ac_exec_ext in '' $ac_executable_extensions; do
49629 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49630 if test $ac_prog = install &&
49631 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49632 # AIX install. It has an incompatible calling convention.
49634 elif test $ac_prog = install &&
49635 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49636 # program-specific install script used by HP pwplus--don't use.
49639 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49652 if test "${ac_cv_path_install+set}" = set; then
49653 INSTALL=$ac_cv_path_install
49655 # As a last resort, use the slow shell script. Don't cache a
49656 # value for INSTALL within a source directory, because that will
49657 # break other packages using the cache if that directory is
49658 # removed, or if the value is a relative name.
49659 INSTALL=$ac_install_sh
49662 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49663 echo "${ECHO_T}$INSTALL" >&6; }
49665 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49666 # It thinks the first close brace ends the variable substitution.
49667 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49669 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49671 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49673 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49674 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49676 if test "$LN_S" = "ln -s"; then
49677 { echo "$as_me:$LINENO: result: yes" >&5
49678 echo "${ECHO_T}yes" >&6; }
49680 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49681 echo "${ECHO_T}no, using $LN_S" >&6; }
49685 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49686 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49687 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49688 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49689 echo $ECHO_N "(cached) $ECHO_C" >&6
49691 cat >conftest.make <<\_ACEOF
49694 @echo '@@@%%%=$(MAKE)=@@@%%%'
49696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49697 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49698 *@@@%%%=?*=@@@%%%*)
49699 eval ac_cv_prog_make_${ac_make}_set=yes;;
49701 eval ac_cv_prog_make_${ac_make}_set=no;;
49703 rm -f conftest.make
49705 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49706 { echo "$as_me:$LINENO: result: yes" >&5
49707 echo "${ECHO_T}yes" >&6; }
49710 { echo "$as_me:$LINENO: result: no" >&5
49711 echo "${ECHO_T}no" >&6; }
49712 SET_MAKE="MAKE=${MAKE-make}"
49717 if test "x$SUNCXX" = "xyes"; then
49719 AROPTIONS="-xar -o"
49721 elif test "x$SGICC" = "xyes"; then
49726 if test -n "$ac_tool_prefix"; then
49727 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49728 set dummy ${ac_tool_prefix}ar; ac_word=$2
49729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49731 if test "${ac_cv_prog_AR+set}" = set; then
49732 echo $ECHO_N "(cached) $ECHO_C" >&6
49734 if test -n "$AR"; then
49735 ac_cv_prog_AR="$AR" # Let the user override the test.
49737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49738 for as_dir in $PATH
49741 test -z "$as_dir" && as_dir=.
49742 for ac_exec_ext in '' $ac_executable_extensions; do
49743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49744 ac_cv_prog_AR="${ac_tool_prefix}ar"
49745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49755 if test -n "$AR"; then
49756 { echo "$as_me:$LINENO: result: $AR" >&5
49757 echo "${ECHO_T}$AR" >&6; }
49759 { echo "$as_me:$LINENO: result: no" >&5
49760 echo "${ECHO_T}no" >&6; }
49765 if test -z "$ac_cv_prog_AR"; then
49767 # Extract the first word of "ar", so it can be a program name with args.
49768 set dummy ar; ac_word=$2
49769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49771 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49772 echo $ECHO_N "(cached) $ECHO_C" >&6
49774 if test -n "$ac_ct_AR"; then
49775 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49778 for as_dir in $PATH
49781 test -z "$as_dir" && as_dir=.
49782 for ac_exec_ext in '' $ac_executable_extensions; do
49783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49784 ac_cv_prog_ac_ct_AR="ar"
49785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49794 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49795 if test -n "$ac_ct_AR"; then
49796 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49797 echo "${ECHO_T}$ac_ct_AR" >&6; }
49799 { echo "$as_me:$LINENO: result: no" >&5
49800 echo "${ECHO_T}no" >&6; }
49803 if test "x$ac_ct_AR" = x; then
49806 case $cross_compiling:$ac_tool_warned in
49808 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49809 whose name does not start with the host triplet. If you think this
49810 configuration is useful to you, please write to autoconf@gnu.org." >&5
49811 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49812 whose name does not start with the host triplet. If you think this
49813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49814 ac_tool_warned=yes ;;
49819 AR="$ac_cv_prog_AR"
49826 if test -n "$ac_tool_prefix"; then
49827 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49828 set dummy ${ac_tool_prefix}strip; ac_word=$2
49829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49831 if test "${ac_cv_prog_STRIP+set}" = set; then
49832 echo $ECHO_N "(cached) $ECHO_C" >&6
49834 if test -n "$STRIP"; then
49835 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49838 for as_dir in $PATH
49841 test -z "$as_dir" && as_dir=.
49842 for ac_exec_ext in '' $ac_executable_extensions; do
49843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49844 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49854 STRIP=$ac_cv_prog_STRIP
49855 if test -n "$STRIP"; then
49856 { echo "$as_me:$LINENO: result: $STRIP" >&5
49857 echo "${ECHO_T}$STRIP" >&6; }
49859 { echo "$as_me:$LINENO: result: no" >&5
49860 echo "${ECHO_T}no" >&6; }
49865 if test -z "$ac_cv_prog_STRIP"; then
49867 # Extract the first word of "strip", so it can be a program name with args.
49868 set dummy strip; ac_word=$2
49869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49871 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49872 echo $ECHO_N "(cached) $ECHO_C" >&6
49874 if test -n "$ac_ct_STRIP"; then
49875 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49878 for as_dir in $PATH
49881 test -z "$as_dir" && as_dir=.
49882 for ac_exec_ext in '' $ac_executable_extensions; do
49883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49884 ac_cv_prog_ac_ct_STRIP="strip"
49885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49894 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49895 if test -n "$ac_ct_STRIP"; then
49896 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49897 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49899 { echo "$as_me:$LINENO: result: no" >&5
49900 echo "${ECHO_T}no" >&6; }
49903 if test "x$ac_ct_STRIP" = x; then
49906 case $cross_compiling:$ac_tool_warned in
49908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49909 whose name does not start with the host triplet. If you think this
49910 configuration is useful to you, please write to autoconf@gnu.org." >&5
49911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49912 whose name does not start with the host triplet. If you think this
49913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49914 ac_tool_warned=yes ;;
49919 STRIP="$ac_cv_prog_STRIP"
49922 if test -n "$ac_tool_prefix"; then
49923 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49924 set dummy ${ac_tool_prefix}nm; ac_word=$2
49925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49927 if test "${ac_cv_prog_NM+set}" = set; then
49928 echo $ECHO_N "(cached) $ECHO_C" >&6
49930 if test -n "$NM"; then
49931 ac_cv_prog_NM="$NM" # Let the user override the test.
49933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49934 for as_dir in $PATH
49937 test -z "$as_dir" && as_dir=.
49938 for ac_exec_ext in '' $ac_executable_extensions; do
49939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49940 ac_cv_prog_NM="${ac_tool_prefix}nm"
49941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49951 if test -n "$NM"; then
49952 { echo "$as_me:$LINENO: result: $NM" >&5
49953 echo "${ECHO_T}$NM" >&6; }
49955 { echo "$as_me:$LINENO: result: no" >&5
49956 echo "${ECHO_T}no" >&6; }
49961 if test -z "$ac_cv_prog_NM"; then
49963 # Extract the first word of "nm", so it can be a program name with args.
49964 set dummy nm; ac_word=$2
49965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49967 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49968 echo $ECHO_N "(cached) $ECHO_C" >&6
49970 if test -n "$ac_ct_NM"; then
49971 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49974 for as_dir in $PATH
49977 test -z "$as_dir" && as_dir=.
49978 for ac_exec_ext in '' $ac_executable_extensions; do
49979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49980 ac_cv_prog_ac_ct_NM="nm"
49981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49990 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49991 if test -n "$ac_ct_NM"; then
49992 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49993 echo "${ECHO_T}$ac_ct_NM" >&6; }
49995 { echo "$as_me:$LINENO: result: no" >&5
49996 echo "${ECHO_T}no" >&6; }
49999 if test "x$ac_ct_NM" = x; then
50002 case $cross_compiling:$ac_tool_warned in
50004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50005 whose name does not start with the host triplet. If you think this
50006 configuration is useful to you, please write to autoconf@gnu.org." >&5
50007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50008 whose name does not start with the host triplet. If you think this
50009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50010 ac_tool_warned=yes ;;
50015 NM="$ac_cv_prog_NM"
50019 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50020 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50021 INSTALL_TEST_DIR=acbftest$$
50022 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
50023 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
50024 rmdir $INSTALL_TEST_DIR
50025 INSTALL_DIR='$(INSTALL) -d'
50026 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50027 echo "${ECHO_T}$INSTALL -d" >&6; }
50029 INSTALL_DIR="mkdir -p"
50030 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50031 echo "${ECHO_T}mkdir -p" >&6; }
50036 case ${BAKEFILE_HOST} in
50037 *-*-cygwin* | *-*-mingw32* )
50038 LDFLAGS_GUI="-mwindows"
50044 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50045 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50046 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50047 echo $ECHO_N "(cached) $ECHO_C" >&6
50050 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50051 egrep -s GNU > /dev/null); then
50052 bakefile_cv_prog_makeisgnu="yes"
50054 bakefile_cv_prog_makeisgnu="no"
50058 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50059 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50061 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50078 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50079 case "${BAKEFILE_HOST}" in
50086 *-pc-os2_emx | *-pc-os2-emx )
50096 powerpc-apple-macos* )
50105 case "$BAKEFILE_FORCE_PLATFORM" in
50126 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50127 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50128 { (exit 1); exit 1; }; }
50143 # Check whether --enable-omf was given.
50144 if test "${enable_omf+set}" = set; then
50145 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50149 case "${BAKEFILE_HOST}" in
50151 if test "x$GCC" = "xyes"; then
50152 CFLAGS="$CFLAGS -fno-common"
50153 CXXFLAGS="$CXXFLAGS -fno-common"
50155 if test "x$XLCC" = "xyes"; then
50156 CFLAGS="$CFLAGS -qnocommon"
50157 CXXFLAGS="$CXXFLAGS -qnocommon"
50161 *-pc-os2_emx | *-pc-os2-emx )
50162 if test "x$bk_os2_use_omf" = "xyes" ; then
50165 LDFLAGS="-Zomf $LDFLAGS"
50166 CFLAGS="-Zomf $CFLAGS"
50167 CXXFLAGS="-Zomf $CXXFLAGS"
50175 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50181 SO_SUFFIX_MODULE="so"
50186 DLLPREFIX_MODULE=""
50190 case "${BAKEFILE_HOST}" in
50195 SO_SUFFIX_MODULE="sl"
50199 SO_SUFFIX_MODULE="a"
50203 SO_SUFFIX_MODULE="dll"
50204 DLLIMP_SUFFIX="dll.a"
50211 SO_SUFFIX_MODULE="dll"
50212 DLLIMP_SUFFIX="dll.a"
50222 *-pc-os2_emx | *-pc-os2-emx )
50224 SO_SUFFIX_MODULE="dll"
50225 DLLIMP_SUFFIX=$OS2_LIBEXT
50229 LIBEXT=".$OS2_LIBEXT"
50234 SO_SUFFIX_MODULE="bundle"
50238 if test "x$DLLIMP_SUFFIX" = "x" ; then
50239 DLLIMP_SUFFIX="$SO_SUFFIX"
50254 if test "x$GCC" = "xyes"; then
50258 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50259 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50262 case "${BAKEFILE_HOST}" in
50264 if test "x$GCC" != "xyes"; then
50265 LDFLAGS="$LDFLAGS -L/usr/lib"
50267 SHARED_LD_CC="${CC} -b -o"
50268 SHARED_LD_CXX="${CXX} -b -o"
50274 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50276 elif test "x$SUNCXX" = "xyes"; then
50277 SHARED_LD_CC="${CC} -G -o"
50278 SHARED_LD_CXX="${CXX} -G -o"
50284 if test "x$SUNCXX" = xyes ; then
50285 SHARED_LD_CC="${CC} -G -o"
50286 SHARED_LD_CXX="${CXX} -G -o"
50294 cat <<EOF >shared-ld-sh
50296 #-----------------------------------------------------------------------------
50297 #-- Name: distrib/mac/shared-ld-sh
50298 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50299 #-- Author: Gilles Depeyrot
50300 #-- Copyright: (c) 2002 Gilles Depeyrot
50301 #-- Licence: any use permitted
50302 #-----------------------------------------------------------------------------
50307 linking_flag="-dynamiclib"
50308 ldargs="-r -keep_private_externs -nostdlib"
50310 if test "x${D}CXX" = "x"; then
50314 while test ${D}# -gt 0; do
50321 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50322 # collect these options and values
50323 args="${D}{args} ${D}1 ${D}2"
50328 # collect these options and values
50329 ldargs="${D}{ldargs} ${D}1 ${D}2"
50334 # collect these load args
50335 ldargs="${D}{ldargs} ${D}1"
50338 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50339 # collect these options
50340 args="${D}{args} ${D}1"
50343 -dynamiclib|-bundle)
50344 linking_flag="${D}1"
50348 echo "shared-ld: unhandled option '${D}1'"
50352 *.o | *.a | *.dylib)
50353 # collect object files
50354 objects="${D}{objects} ${D}1"
50358 echo "shared-ld: unhandled argument '${D}1'"
50369 # Link one module containing all the others
50371 if test ${D}{verbose} = 1; then
50372 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50374 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50378 # Link the shared library from the single module created, but only if the
50379 # previous command didn't fail:
50381 if test ${D}{status} = 0; then
50382 if test ${D}{verbose} = 1; then
50383 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50385 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50390 # Remove intermediate module
50392 rm -f master.${D}${D}.o
50397 chmod +x shared-ld-sh
50399 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50400 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50403 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50404 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50405 if test "${bakefile_cv_gcc31+set}" = set; then
50406 echo $ECHO_N "(cached) $ECHO_C" >&6
50409 cat >conftest.$ac_ext <<_ACEOF
50412 cat confdefs.h >>conftest.$ac_ext
50413 cat >>conftest.$ac_ext <<_ACEOF
50414 /* end confdefs.h. */
50420 #if (__GNUC__ < 3) || \
50421 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50429 rm -f conftest.$ac_objext
50430 if { (ac_try="$ac_compile"
50431 case "(($ac_try" in
50432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50433 *) ac_try_echo=$ac_try;;
50435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50436 (eval "$ac_compile") 2>conftest.er1
50438 grep -v '^ *+' conftest.er1 >conftest.err
50440 cat conftest.err >&5
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); } && {
50443 test -z "$ac_c_werror_flag" ||
50444 test ! -s conftest.err
50445 } && test -s conftest.$ac_objext; then
50447 bakefile_cv_gcc31=yes
50450 echo "$as_me: failed program was:" >&5
50451 sed 's/^/| /' conftest.$ac_ext >&5
50454 bakefile_cv_gcc31=no
50459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50462 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50463 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50464 if test "$bakefile_cv_gcc31" = "no"; then
50465 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50466 SHARED_LD_CXX="$SHARED_LD_CC"
50468 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50469 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50472 if test "x$GCC" == "xyes"; then
50473 PIC_FLAG="-dynamic -fPIC"
50475 if test "x$XLCC" = "xyes"; then
50476 PIC_FLAG="-dynamic -DPIC"
50481 if test "x$GCC" = "xyes"; then
50484 case "${BAKEFILE_HOST}" in
50486 LD_EXPFULL="-Wl,-bexpfull"
50490 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50491 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50493 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50494 set dummy makeC++SharedLib; ac_word=$2
50495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50497 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50498 echo $ECHO_N "(cached) $ECHO_C" >&6
50500 if test -n "$AIX_CXX_LD"; then
50501 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50504 for as_dir in $PATH
50507 test -z "$as_dir" && as_dir=.
50508 for ac_exec_ext in '' $ac_executable_extensions; do
50509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50510 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50518 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50521 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50522 if test -n "$AIX_CXX_LD"; then
50523 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50524 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50526 { echo "$as_me:$LINENO: result: no" >&5
50527 echo "${ECHO_T}no" >&6; }
50531 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50532 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50537 SHARED_LD_CC="${LD} -nostart -o"
50538 SHARED_LD_CXX="${LD} -nostart -o"
50542 if test "x$GCC" != "xyes"; then
50547 *-*-cygwin* | *-*-mingw32* )
50549 SHARED_LD_CC="\$(CC) -shared -o"
50550 SHARED_LD_CXX="\$(CXX) -shared -o"
50554 *-pc-os2_emx | *-pc-os2-emx )
50555 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50556 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50560 cat <<EOF >dllar.sh
50563 # dllar - a tool to build both a .dll and an .a file
50564 # from a set of object (.o) files for EMX/OS2.
50566 # Written by Andrew Zabolotny, bit@freya.etu.ru
50567 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50569 # This script will accept a set of files on the command line.
50570 # All the public symbols from the .o files will be exported into
50571 # a .DEF file, then linker will be run (through gcc) against them to
50572 # build a shared library consisting of all given .o files. All libraries
50573 # (.a) will be first decompressed into component .o files then act as
50574 # described above. You can optionally give a description (-d "description")
50575 # which will be put into .DLL. To see the list of accepted options (as well
50576 # as command-line format) simply run this program without options. The .DLL
50577 # is built to be imported by name (there is no guarantee that new versions
50578 # of the library you build will have same ordinals for same symbols).
50580 # dllar is free software; you can redistribute it and/or modify
50581 # it under the terms of the GNU General Public License as published by
50582 # the Free Software Foundation; either version 2, or (at your option)
50583 # any later version.
50585 # dllar is distributed in the hope that it will be useful,
50586 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50587 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50588 # GNU General Public License for more details.
50590 # You should have received a copy of the GNU General Public License
50591 # along with dllar; see the file COPYING. If not, write to the Free
50592 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50595 # To successfuly run this program you will need:
50596 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50597 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50599 # (used to build the .dll)
50601 # (used to create .def file from .o files)
50603 # (used to create .a file from .def file)
50604 # - GNU text utilites (cat, sort, uniq)
50605 # used to process emxexp output
50606 # - GNU file utilities (mv, rm)
50608 # - lxlite (optional, see flag below)
50609 # (used for general .dll cleanup)
50616 # basnam, variant of basename, which does _not_ remove the path, _iff_
50617 # second argument (suffix to remove) is given
50621 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50624 echo ${D}1 | sed 's/'${D}2'${D}//'
50627 echo "error in basnam ${D}*"
50633 # Cleanup temporary files and output
50636 for i in ${D}inputFiles ; do
50639 rm -rf \`basnam ${D}i !\`
50646 # Kill result in case of failure as there is just to many stupid make/nmake
50647 # things out there which doesn't do this.
50648 if [ ${D}# -eq 0 ]; then
50649 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50653 # Print usage and exit script with rc=1.
50655 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50656 echo ' [-name-mangler-script script.sh]'
50657 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50658 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50659 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50660 echo ' [*.o] [*.a]'
50661 echo '*> "output_file" should have no extension.'
50662 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50663 echo ' The import library name is derived from this and is set to "name".a,'
50664 echo ' unless overridden by -import'
50665 echo '*> "importlib_name" should have no extension.'
50666 echo ' If it has the .o, or .a extension, it is automatically removed.'
50667 echo ' This name is used as the import library name and may be longer and'
50668 echo ' more descriptive than the DLL name which has to follow the old '
50669 echo ' 8.3 convention of FAT.'
50670 echo '*> "script.sh may be given to override the output_file name by a'
50671 echo ' different name. It is mainly useful if the regular make process'
50672 echo ' of some package does not take into account OS/2 restriction of'
50673 echo ' DLL name lengths. It takes the importlib name as input and is'
50674 echo ' supposed to procude a shorter name as output. The script should'
50675 echo ' expect to get importlib_name without extension and should produce'
50676 echo ' a (max.) 8 letter name without extension.'
50677 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50678 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50679 echo ' These flags will be put at the start of GCC command line.'
50680 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50681 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50682 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50683 echo ' If the last character of a symbol is "*", all symbols beginning'
50684 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50685 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50686 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50687 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50688 echo ' C runtime DLLs.'
50689 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50690 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50691 echo ' unchanged to GCC at the end of command line.'
50692 echo '*> If you create a DLL from a library and you do not specify -o,'
50693 echo ' the basename for DLL and import library will be set to library name,'
50694 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50695 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50696 echo ' library will be renamed into gcc_s.a.'
50699 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50700 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50705 # Execute a command.
50706 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50707 # @Uses Whatever CleanUp() uses.
50713 if [ ${D}rcCmd -ne 0 ]; then
50714 echo "command failed, exit code="${D}rcCmd
50729 CFLAGS="-s -Zcrtdll"
50731 EXPORT_BY_ORDINALS=0
50736 case ${D}curDirS in
50740 curDirS=${D}{curDirS}"/"
50743 # Parse commandline
50746 while [ ${D}1 ]; do
50749 EXPORT_BY_ORDINALS=1;
50759 -name-mangler-script)
50780 exclude_symbols=${D}{exclude_symbols}${D}1" "
50784 library_flags=${D}{library_flags}${D}1" "
50803 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50806 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50807 if [ ${D}omfLinking -eq 1 ]; then
50808 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50810 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50815 if [ ${D}libsToLink -ne 0 ]; then
50816 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50818 for file in ${D}1 ; do
50819 if [ -f ${D}file ]; then
50820 inputFiles="${D}{inputFiles} ${D}file"
50824 if [ ${D}found -eq 0 ]; then
50825 echo "ERROR: No file(s) found: "${D}1
50832 done # iterate cmdline words
50835 if [ -z "${D}inputFiles" ]; then
50836 echo "dllar: no input files"
50840 # Now extract all .o files from .a files
50842 for file in ${D}inputFiles ; do
50853 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50858 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50860 if [ ${D}? -ne 0 ]; then
50861 echo "Failed to create subdirectory ./${D}dirname"
50865 # Append '!' to indicate archive
50866 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50867 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50870 for subfile in ${D}dirname/*.o* ; do
50871 if [ -f ${D}subfile ]; then
50873 if [ -s ${D}subfile ]; then
50874 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50875 newInputFiles="${D}newInputFiles ${D}subfile"
50879 if [ ${D}found -eq 0 ]; then
50880 echo "WARNING: there are no files in archive \\'${D}file\\'"
50884 newInputFiles="${D}{newInputFiles} ${D}file"
50888 inputFiles="${D}newInputFiles"
50890 # Output filename(s).
50892 if [ -z ${D}outFile ]; then
50894 set outFile ${D}inputFiles; outFile=${D}2
50897 # If it is an archive, remove the '!' and the '_%' suffixes
50898 case ${D}outFile in
50900 outFile=\`basnam ${D}outFile _%!\`
50905 case ${D}outFile in
50907 outFile=\`basnam ${D}outFile .dll\`
50910 outFile=\`basnam ${D}outFile .DLL\`
50913 outFile=\`basnam ${D}outFile .o\`
50916 outFile=\`basnam ${D}outFile .obj\`
50919 outFile=\`basnam ${D}outFile .a\`
50922 outFile=\`basnam ${D}outFile .lib\`
50927 case ${D}outimpFile in
50929 outimpFile=\`basnam ${D}outimpFile .a\`
50932 outimpFile=\`basnam ${D}outimpFile .lib\`
50937 if [ -z ${D}outimpFile ]; then
50938 outimpFile=${D}outFile
50940 defFile="${D}{outFile}.def"
50941 arcFile="${D}{outimpFile}.a"
50942 arcFile2="${D}{outimpFile}.lib"
50944 #create ${D}dllFile as something matching 8.3 restrictions,
50945 if [ -z ${D}renameScript ] ; then
50946 dllFile="${D}outFile"
50948 dllFile=\`${D}renameScript ${D}outimpFile\`
50951 if [ ${D}do_backup -ne 0 ] ; then
50952 if [ -f ${D}arcFile ] ; then
50953 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50955 if [ -f ${D}arcFile2 ] ; then
50956 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50960 # Extract public symbols from all the object files.
50961 tmpdefFile=${D}{defFile}_%
50962 rm -f ${D}tmpdefFile
50963 for file in ${D}inputFiles ; do
50968 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50973 # Create the def file.
50975 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50976 dllFile="${D}{dllFile}.dll"
50977 if [ ! -z ${D}description ]; then
50978 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50980 echo "EXPORTS" >> ${D}defFile
50982 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50983 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50985 # Checks if the export is ok or not.
50986 for word in ${D}exclude_symbols; do
50987 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50988 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50992 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50993 sed "=" < ${D}tmpdefFile | \\
50997 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50999 ' > ${D}{tmpdefFile}%
51000 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51002 rm -f ${D}{tmpdefFile}%
51004 cat ${D}tmpdefFile >> ${D}defFile
51005 rm -f ${D}tmpdefFile
51007 # Do linking, create implib, and apply lxlite.
51009 for file in ${D}inputFiles ; do
51014 gccCmdl="${D}gccCmdl ${D}file"
51018 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51019 touch "${D}{outFile}.dll"
51021 doCommand "emximp -o ${D}arcFile ${D}defFile"
51022 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51024 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51027 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51029 doCommand "emxomf -s -l ${D}arcFile"
51039 powerpc-apple-macos* | \
51040 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51050 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51051 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51052 { (exit 1); exit 1; }; }
51055 if test "x$PIC_FLAG" != "x" ; then
51056 PIC_FLAG="$PIC_FLAG -DPIC"
51059 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51060 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51062 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51063 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51078 USE_SOTWOSYMLINKS=0
51082 case "${BAKEFILE_HOST}" in
51083 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51084 *-*-k*bsd*-gnu | *-*-mirbsd* )
51085 if test "x$SUNCXX" = "xyes"; then
51088 SONAME_FLAG="-Wl,-soname,"
51092 USE_SOTWOSYMLINKS=1
51104 USE_SOTWOSYMLINKS=1
51122 # Check whether --enable-dependency-tracking was given.
51123 if test "${enable_dependency_tracking+set}" = set; then
51124 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51128 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51129 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51132 if test "x$bk_use_trackdeps" = "xno" ; then
51134 { echo "$as_me:$LINENO: result: disabled" >&5
51135 echo "${ECHO_T}disabled" >&6; }
51139 if test "x$GCC" = "xyes"; then
51141 case "${BAKEFILE_HOST}" in
51143 DEPSFLAG="-no-cpp-precomp -MMD"
51149 { echo "$as_me:$LINENO: result: gcc" >&5
51150 echo "${ECHO_T}gcc" >&6; }
51151 elif test "x$MWCC" = "xyes"; then
51154 { echo "$as_me:$LINENO: result: mwcc" >&5
51155 echo "${ECHO_T}mwcc" >&6; }
51156 elif test "x$SUNCC" = "xyes"; then
51159 { echo "$as_me:$LINENO: result: Sun cc" >&5
51160 echo "${ECHO_T}Sun cc" >&6; }
51161 elif test "x$SGICC" = "xyes"; then
51164 { echo "$as_me:$LINENO: result: SGI cc" >&5
51165 echo "${ECHO_T}SGI cc" >&6; }
51166 elif test "x$HPCC" = "xyes"; then
51169 { echo "$as_me:$LINENO: result: HP cc" >&5
51170 echo "${ECHO_T}HP cc" >&6; }
51171 elif test "x$COMPAQCC" = "xyes"; then
51174 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51175 echo "${ECHO_T}Compaq cc" >&6; }
51178 { echo "$as_me:$LINENO: result: none" >&5
51179 echo "${ECHO_T}none" >&6; }
51182 if test $DEPS_TRACKING = 1 ; then
51188 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51189 # script. It is used to track C/C++ files dependencies in portable way.
51191 # Permission is given to use this file in any way.
51193 DEPSMODE=${DEPSMODE}
51194 DEPSFLAG="${DEPSFLAG}"
51197 if test ${D}DEPSMODE = gcc ; then
51198 ${D}* ${D}{DEPSFLAG}
51201 # determine location of created files:
51202 while test ${D}# -gt 0; do
51216 objfilebase=\`basename ${D}objfile\`
51217 builddir=\`dirname ${D}objfile\`
51218 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51219 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51220 depsdir=${D}builddir/${D}DEPSDIRBASE
51221 mkdir -p ${D}depsdir
51223 # if the compiler failed, we're done:
51224 if test ${D}{status} != 0 ; then
51229 # move created file to the location we want it in:
51230 if test -f ${D}depfile ; then
51231 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51234 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51235 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51236 if test ! -f ${D}depfile ; then
51237 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51238 depfile="${D}objfile.d"
51240 if test -f ${D}depfile ; then
51241 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51247 elif test ${D}DEPSMODE = mwcc ; then
51248 ${D}* || exit ${D}?
51249 # Run mwcc again with -MM and redirect into the dep file we want
51250 # NOTE: We can't use shift here because we need ${D}* to be valid
51252 for arg in ${D}* ; do
51253 if test "${D}prevarg" = "-o"; then
51267 objfilebase=\`basename ${D}objfile\`
51268 builddir=\`dirname ${D}objfile\`
51269 depsdir=${D}builddir/${D}DEPSDIRBASE
51270 mkdir -p ${D}depsdir
51272 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51275 elif test ${D}DEPSMODE = unixcc; then
51276 ${D}* || exit ${D}?
51277 # Run compiler again with deps flag and redirect into the dep file.
51278 # It doesn't work if the '-o FILE' option is used, but without it the
51279 # dependency file will contain the wrong name for the object. So it is
51280 # removed from the command line, and the dep file is fixed with sed.
51282 while test ${D}# -gt 0; do
51289 eval arg${D}#=\\${D}1
51290 cmd="${D}cmd \\${D}arg${D}#"
51296 objfilebase=\`basename ${D}objfile\`
51297 builddir=\`dirname ${D}objfile\`
51298 depsdir=${D}builddir/${D}DEPSDIRBASE
51299 mkdir -p ${D}depsdir
51301 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51311 BK_DEPS="`pwd`/bk-deps"
51319 case ${BAKEFILE_HOST} in
51320 *-*-cygwin* | *-*-mingw32* )
51321 if test -n "$ac_tool_prefix"; then
51322 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51323 set dummy ${ac_tool_prefix}windres; ac_word=$2
51324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51326 if test "${ac_cv_prog_WINDRES+set}" = set; then
51327 echo $ECHO_N "(cached) $ECHO_C" >&6
51329 if test -n "$WINDRES"; then
51330 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51336 test -z "$as_dir" && as_dir=.
51337 for ac_exec_ext in '' $ac_executable_extensions; do
51338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51339 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51349 WINDRES=$ac_cv_prog_WINDRES
51350 if test -n "$WINDRES"; then
51351 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51352 echo "${ECHO_T}$WINDRES" >&6; }
51354 { echo "$as_me:$LINENO: result: no" >&5
51355 echo "${ECHO_T}no" >&6; }
51360 if test -z "$ac_cv_prog_WINDRES"; then
51361 ac_ct_WINDRES=$WINDRES
51362 # Extract the first word of "windres", so it can be a program name with args.
51363 set dummy windres; ac_word=$2
51364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51366 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51367 echo $ECHO_N "(cached) $ECHO_C" >&6
51369 if test -n "$ac_ct_WINDRES"; then
51370 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51373 for as_dir in $PATH
51376 test -z "$as_dir" && as_dir=.
51377 for ac_exec_ext in '' $ac_executable_extensions; do
51378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51379 ac_cv_prog_ac_ct_WINDRES="windres"
51380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51389 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51390 if test -n "$ac_ct_WINDRES"; then
51391 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51392 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51394 { echo "$as_me:$LINENO: result: no" >&5
51395 echo "${ECHO_T}no" >&6; }
51398 if test "x$ac_ct_WINDRES" = x; then
51401 case $cross_compiling:$ac_tool_warned in
51403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51404 whose name does not start with the host triplet. If you think this
51405 configuration is useful to you, please write to autoconf@gnu.org." >&5
51406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51407 whose name does not start with the host triplet. If you think this
51408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51409 ac_tool_warned=yes ;;
51411 WINDRES=$ac_ct_WINDRES
51414 WINDRES="$ac_cv_prog_WINDRES"
51419 *-*-darwin* | powerpc-apple-macos* )
51420 # Extract the first word of "Rez", so it can be a program name with args.
51421 set dummy Rez; ac_word=$2
51422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51424 if test "${ac_cv_prog_REZ+set}" = set; then
51425 echo $ECHO_N "(cached) $ECHO_C" >&6
51427 if test -n "$REZ"; then
51428 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51431 for as_dir in $PATH
51434 test -z "$as_dir" && as_dir=.
51435 for ac_exec_ext in '' $ac_executable_extensions; do
51436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51437 ac_cv_prog_REZ="Rez"
51438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51445 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51448 REZ=$ac_cv_prog_REZ
51449 if test -n "$REZ"; then
51450 { echo "$as_me:$LINENO: result: $REZ" >&5
51451 echo "${ECHO_T}$REZ" >&6; }
51453 { echo "$as_me:$LINENO: result: no" >&5
51454 echo "${ECHO_T}no" >&6; }
51458 # Extract the first word of "SetFile", so it can be a program name with args.
51459 set dummy SetFile; ac_word=$2
51460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51462 if test "${ac_cv_prog_SETFILE+set}" = set; then
51463 echo $ECHO_N "(cached) $ECHO_C" >&6
51465 if test -n "$SETFILE"; then
51466 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51469 for as_dir in $PATH
51472 test -z "$as_dir" && as_dir=.
51473 for ac_exec_ext in '' $ac_executable_extensions; do
51474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51475 ac_cv_prog_SETFILE="SetFile"
51476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51483 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51486 SETFILE=$ac_cv_prog_SETFILE
51487 if test -n "$SETFILE"; then
51488 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51489 echo "${ECHO_T}$SETFILE" >&6; }
51491 { echo "$as_me:$LINENO: result: no" >&5
51492 echo "${ECHO_T}no" >&6; }
51507 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51510 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51514 # Check whether --enable-precomp-headers was given.
51515 if test "${enable_precomp_headers+set}" = set; then
51516 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51525 case ${BAKEFILE_HOST} in
51531 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51532 if test "x$GCC" = "xyes"; then
51533 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51534 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51535 cat >conftest.$ac_ext <<_ACEOF
51538 cat confdefs.h >>conftest.$ac_ext
51539 cat >>conftest.$ac_ext <<_ACEOF
51540 /* end confdefs.h. */
51546 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51547 There is no PCH support
51550 There is no PCH support
51552 #if (__GNUC__ == 3) && \
51553 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51554 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51555 ( defined(__INTEL_COMPILER) )
51556 There is no PCH support
51563 rm -f conftest.$ac_objext
51564 if { (ac_try="$ac_compile"
51565 case "(($ac_try" in
51566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51567 *) ac_try_echo=$ac_try;;
51569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51570 (eval "$ac_compile") 2>conftest.er1
51572 grep -v '^ *+' conftest.er1 >conftest.err
51574 cat conftest.err >&5
51575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51576 (exit $ac_status); } && {
51577 test -z "$ac_c_werror_flag" ||
51578 test ! -s conftest.err
51579 } && test -s conftest.$ac_objext; then
51581 { echo "$as_me:$LINENO: result: yes" >&5
51582 echo "${ECHO_T}yes" >&6; }
51586 echo "$as_me: failed program was:" >&5
51587 sed 's/^/| /' conftest.$ac_ext >&5
51590 if test "$INTELCXX8" = "yes"; then
51591 { echo "$as_me:$LINENO: result: yes" >&5
51592 echo "${ECHO_T}yes" >&6; }
51594 if test "$INTELCXX10" = "yes"; then
51595 ICC_PCH_CREATE_SWITCH="-pch-create"
51596 ICC_PCH_USE_SWITCH="-pch-use"
51598 ICC_PCH_CREATE_SWITCH="-create-pch"
51599 ICC_PCH_USE_SWITCH="-use-pch"
51602 { echo "$as_me:$LINENO: result: no" >&5
51603 echo "${ECHO_T}no" >&6; }
51608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51609 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51613 cat <<EOF >bk-make-pch
51616 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51617 # script. It is used to generated precompiled headers.
51619 # Permission is given to use this file in any way.
51626 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51631 while test ${D}{#} -gt 0; do
51635 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51636 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51637 headerfile="${D}{incdir}/${D}{header}"
51640 -use-pch|-use_pch|-pch-use )
51645 if test ${D}add_to_cmdline = 1 ; then
51646 compiler="${D}{compiler} ${D}{1}"
51651 if test "x${D}{headerfile}" = "x" ; then
51652 echo "error: can't find header ${D}{header} in include paths" >&2
51654 if test -f ${D}{outfile} ; then
51655 rm -f ${D}{outfile}
51657 mkdir -p \`dirname ${D}{outfile}\`
51659 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51660 mkdir -p ${D}{builddir}/.deps
51661 if test "x${GCC_PCH}" = "x1" ; then
51662 # can do this because gcc is >= 3.4:
51663 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51664 elif test "x${ICC_PCH}" = "x1" ; then
51665 filename=pch_gen-${D}${D}
51666 file=${D}{filename}.c
51667 dfile=${D}{filename}.d
51668 cat > ${D}file <<EOT
51669 #include "${D}header"
51671 # using -MF icc complains about differing command lines in creation/use
51672 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51673 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51674 rm -f ${D}file ${D}dfile ${D}{filename}.o
51680 chmod +x bk-make-pch
51681 BK_MAKE_PCH="`pwd`/bk-make-pch"
51692 COND_BUILD_DEBUG="#"
51693 if test "x$BUILD" = "xdebug" ; then
51694 COND_BUILD_DEBUG=""
51697 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51698 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51702 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51703 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51704 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51707 COND_BUILD_DEBUG_UNICODE_0="#"
51708 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51709 COND_BUILD_DEBUG_UNICODE_0=""
51712 COND_BUILD_DEBUG_UNICODE_1="#"
51713 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51714 COND_BUILD_DEBUG_UNICODE_1=""
51717 COND_BUILD_RELEASE="#"
51718 if test "x$BUILD" = "xrelease" ; then
51719 COND_BUILD_RELEASE=""
51722 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51723 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51724 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51727 COND_BUILD_RELEASE_UNICODE_0="#"
51728 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51729 COND_BUILD_RELEASE_UNICODE_0=""
51732 COND_BUILD_RELEASE_UNICODE_1="#"
51733 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51734 COND_BUILD_RELEASE_UNICODE_1=""
51737 COND_BUILD_debug="#"
51738 if test "x$BUILD" = "xdebug" ; then
51739 COND_BUILD_debug=""
51742 COND_BUILD_debug_DEBUG_FLAG_default="#"
51743 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51744 COND_BUILD_debug_DEBUG_FLAG_default=""
51747 COND_BUILD_debug_DEBUG_INFO_default="#"
51748 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51749 COND_BUILD_debug_DEBUG_INFO_default=""
51752 COND_BUILD_debug_UNICODE_0="#"
51753 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51754 COND_BUILD_debug_UNICODE_0=""
51757 COND_BUILD_debug_UNICODE_1="#"
51758 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51759 COND_BUILD_debug_UNICODE_1=""
51762 COND_BUILD_release="#"
51763 if test "x$BUILD" = "xrelease" ; then
51764 COND_BUILD_release=""
51767 COND_BUILD_release_DEBUG_INFO_default="#"
51768 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51769 COND_BUILD_release_DEBUG_INFO_default=""
51772 COND_BUILD_release_UNICODE_0="#"
51773 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51774 COND_BUILD_release_UNICODE_0=""
51777 COND_BUILD_release_UNICODE_1="#"
51778 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51779 COND_BUILD_release_UNICODE_1=""
51782 COND_DEBUG_FLAG_0="#"
51783 if test "x$DEBUG_FLAG" = "x0" ; then
51784 COND_DEBUG_FLAG_0=""
51787 COND_DEBUG_FLAG_1="#"
51788 if test "x$DEBUG_FLAG" = "x1" ; then
51789 COND_DEBUG_FLAG_1=""
51792 COND_DEBUG_INFO_0="#"
51793 if test "x$DEBUG_INFO" = "x0" ; then
51794 COND_DEBUG_INFO_0=""
51797 COND_DEBUG_INFO_1="#"
51798 if test "x$DEBUG_INFO" = "x1" ; then
51799 COND_DEBUG_INFO_1=""
51802 COND_DEPS_TRACKING_0="#"
51803 if test "x$DEPS_TRACKING" = "x0" ; then
51804 COND_DEPS_TRACKING_0=""
51807 COND_DEPS_TRACKING_1="#"
51808 if test "x$DEPS_TRACKING" = "x1" ; then
51809 COND_DEPS_TRACKING_1=""
51813 if test "x$GCC_PCH" = "x1" ; then
51818 if test "x$ICC_PCH" = "x1" ; then
51822 COND_MONOLITHIC_0="#"
51823 if test "x$MONOLITHIC" = "x0" ; then
51824 COND_MONOLITHIC_0=""
51827 COND_MONOLITHIC_0_SHARED_0="#"
51828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51829 COND_MONOLITHIC_0_SHARED_0=""
51832 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51834 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51857 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51859 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51862 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51864 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51867 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51869 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51872 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51874 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51877 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51879 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51882 COND_MONOLITHIC_0_SHARED_1="#"
51883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51884 COND_MONOLITHIC_0_SHARED_1=""
51887 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51889 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51902 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51912 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51914 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51917 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51919 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51922 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51924 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51927 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51929 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51932 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51934 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51937 COND_MONOLITHIC_0_USE_AUI_1="#"
51938 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51939 COND_MONOLITHIC_0_USE_AUI_1=""
51942 COND_MONOLITHIC_0_USE_GUI_1="#"
51943 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51944 COND_MONOLITHIC_0_USE_GUI_1=""
51947 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51948 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51949 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51952 COND_MONOLITHIC_0_USE_HTML_1="#"
51953 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51954 COND_MONOLITHIC_0_USE_HTML_1=""
51957 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51958 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51959 COND_MONOLITHIC_0_USE_MEDIA_1=""
51962 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51963 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51964 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51967 COND_MONOLITHIC_0_USE_QA_1="#"
51968 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51969 COND_MONOLITHIC_0_USE_QA_1=""
51972 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51973 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51974 COND_MONOLITHIC_0_USE_RIBBON_1=""
51977 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51978 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51979 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51982 COND_MONOLITHIC_0_USE_STC_1="#"
51983 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51984 COND_MONOLITHIC_0_USE_STC_1=""
51987 COND_MONOLITHIC_0_USE_XRC_1="#"
51988 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51989 COND_MONOLITHIC_0_USE_XRC_1=""
51992 COND_MONOLITHIC_1="#"
51993 if test "x$MONOLITHIC" = "x1" ; then
51994 COND_MONOLITHIC_1=""
51997 COND_MONOLITHIC_1_SHARED_0="#"
51998 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51999 COND_MONOLITHIC_1_SHARED_0=""
52002 COND_MONOLITHIC_1_SHARED_1="#"
52003 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52004 COND_MONOLITHIC_1_SHARED_1=""
52007 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52008 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52009 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52012 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52013 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52014 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52017 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52018 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52019 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52022 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52023 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52024 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52027 COND_PLATFORM_MACOSX_1="#"
52028 if test "x$PLATFORM_MACOSX" = "x1" ; then
52029 COND_PLATFORM_MACOSX_1=""
52032 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52033 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52034 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52037 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52038 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52039 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52042 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52043 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52044 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52047 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52048 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52049 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52052 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52054 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52057 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52058 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52059 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52062 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52063 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52064 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52067 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52069 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52072 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52074 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52077 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52079 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52082 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52084 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52087 COND_PLATFORM_MACOS_1="#"
52088 if test "x$PLATFORM_MACOS" = "x1" ; then
52089 COND_PLATFORM_MACOS_1=""
52092 COND_PLATFORM_MAC_0="#"
52093 if test "x$PLATFORM_MAC" = "x0" ; then
52094 COND_PLATFORM_MAC_0=""
52097 COND_PLATFORM_MAC_1="#"
52098 if test "x$PLATFORM_MAC" = "x1" ; then
52099 COND_PLATFORM_MAC_1=""
52102 COND_PLATFORM_MSDOS_0="#"
52103 if test "x$PLATFORM_MSDOS" = "x0" ; then
52104 COND_PLATFORM_MSDOS_0=""
52107 COND_PLATFORM_MSDOS_1="#"
52108 if test "x$PLATFORM_MSDOS" = "x1" ; then
52109 COND_PLATFORM_MSDOS_1=""
52112 COND_PLATFORM_OS2_1="#"
52113 if test "x$PLATFORM_OS2" = "x1" ; then
52114 COND_PLATFORM_OS2_1=""
52117 COND_PLATFORM_UNIX_0="#"
52118 if test "x$PLATFORM_UNIX" = "x0" ; then
52119 COND_PLATFORM_UNIX_0=""
52122 COND_PLATFORM_UNIX_1="#"
52123 if test "x$PLATFORM_UNIX" = "x1" ; then
52124 COND_PLATFORM_UNIX_1=""
52127 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52128 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52129 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52133 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52134 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52137 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52138 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52139 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52142 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52143 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52144 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52147 COND_PLATFORM_WIN32_0="#"
52148 if test "x$PLATFORM_WIN32" = "x0" ; then
52149 COND_PLATFORM_WIN32_0=""
52152 COND_PLATFORM_WIN32_1="#"
52153 if test "x$PLATFORM_WIN32" = "x1" ; then
52154 COND_PLATFORM_WIN32_1=""
52157 COND_PLATFORM_WIN32_1_SHARED_0="#"
52158 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52159 COND_PLATFORM_WIN32_1_SHARED_0=""
52163 if test "x$SHARED" = "x0" ; then
52167 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52168 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52169 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52172 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52173 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52174 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52177 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52178 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52179 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52182 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52183 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52184 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52187 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52188 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52189 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52192 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52193 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52194 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52197 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52199 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52202 COND_SHARED_0_USE_STC_1="#"
52203 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52204 COND_SHARED_0_USE_STC_1=""
52207 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52208 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52209 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52212 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52213 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52214 COND_SHARED_0_wxUSE_REGEX_builtin=""
52217 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52218 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52219 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52223 if test "x$SHARED" = "x1" ; then
52227 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52228 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52229 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52233 if test "x$TOOLKIT" = "x" ; then
52237 COND_TOOLKIT_COCOA="#"
52238 if test "x$TOOLKIT" = "xCOCOA" ; then
52239 COND_TOOLKIT_COCOA=""
52242 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52243 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52244 COND_TOOLKIT_COCOA_USE_GUI_1=""
52247 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52248 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52249 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52252 COND_TOOLKIT_DFB="#"
52253 if test "x$TOOLKIT" = "xDFB" ; then
52254 COND_TOOLKIT_DFB=""
52257 COND_TOOLKIT_DFB_USE_GUI_1="#"
52258 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52259 COND_TOOLKIT_DFB_USE_GUI_1=""
52262 COND_TOOLKIT_GTK="#"
52263 if test "x$TOOLKIT" = "xGTK" ; then
52264 COND_TOOLKIT_GTK=""
52267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52272 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52273 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52274 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52283 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52287 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52289 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52292 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52294 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52297 COND_TOOLKIT_GTK_USE_GUI_1="#"
52298 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52299 COND_TOOLKIT_GTK_USE_GUI_1=""
52302 COND_TOOLKIT_MAC="#"
52303 if test "x$TOOLKIT" = "xMAC" ; then
52304 COND_TOOLKIT_MAC=""
52307 COND_TOOLKIT_MGL="#"
52308 if test "x$TOOLKIT" = "xMGL" ; then
52309 COND_TOOLKIT_MGL=""
52312 COND_TOOLKIT_MGL_USE_GUI_1="#"
52313 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52314 COND_TOOLKIT_MGL_USE_GUI_1=""
52317 COND_TOOLKIT_MOTIF="#"
52318 if test "x$TOOLKIT" = "xMOTIF" ; then
52319 COND_TOOLKIT_MOTIF=""
52322 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52323 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52324 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52327 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52328 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52329 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52332 COND_TOOLKIT_MSW="#"
52333 if test "x$TOOLKIT" = "xMSW" ; then
52334 COND_TOOLKIT_MSW=""
52337 COND_TOOLKIT_MSW_USE_GUI_1="#"
52338 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52339 COND_TOOLKIT_MSW_USE_GUI_1=""
52342 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52343 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52344 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52347 COND_TOOLKIT_MSW_WXUNIV_0="#"
52348 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52349 COND_TOOLKIT_MSW_WXUNIV_0=""
52352 COND_TOOLKIT_OSX_CARBON="#"
52353 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52354 COND_TOOLKIT_OSX_CARBON=""
52357 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52358 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52359 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52362 COND_TOOLKIT_OSX_COCOA="#"
52363 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52364 COND_TOOLKIT_OSX_COCOA=""
52367 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52368 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52369 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52372 COND_TOOLKIT_OSX_IPHONE="#"
52373 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52374 COND_TOOLKIT_OSX_IPHONE=""
52377 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52378 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52379 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52382 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52383 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52384 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52387 COND_TOOLKIT_PM="#"
52388 if test "x$TOOLKIT" = "xPM" ; then
52392 COND_TOOLKIT_PM_USE_GUI_1="#"
52393 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52394 COND_TOOLKIT_PM_USE_GUI_1=""
52397 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52398 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52399 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52402 COND_TOOLKIT_WINCE="#"
52403 if test "x$TOOLKIT" = "xWINCE" ; then
52404 COND_TOOLKIT_WINCE=""
52407 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52408 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52409 COND_TOOLKIT_WINCE_USE_GUI_1=""
52412 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52413 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52414 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52417 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52418 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52419 COND_TOOLKIT_WINCE_WXUNIV_0=""
52422 COND_TOOLKIT_X11="#"
52423 if test "x$TOOLKIT" = "xX11" ; then
52424 COND_TOOLKIT_X11=""
52427 COND_TOOLKIT_X11_USE_GUI_1="#"
52428 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52429 COND_TOOLKIT_X11_USE_GUI_1=""
52433 if test "x$UNICODE" = "x1" ; then
52437 COND_USE_CAIRO_1="#"
52438 if test "x$USE_CAIRO" = "x1" ; then
52439 COND_USE_CAIRO_1=""
52442 COND_USE_EXCEPTIONS_0="#"
52443 if test "x$USE_EXCEPTIONS" = "x0" ; then
52444 COND_USE_EXCEPTIONS_0=""
52447 COND_USE_EXCEPTIONS_1="#"
52448 if test "x$USE_EXCEPTIONS" = "x1" ; then
52449 COND_USE_EXCEPTIONS_1=""
52453 if test "x$USE_GUI" = "x0" ; then
52458 if test "x$USE_GUI" = "x1" ; then
52462 COND_USE_GUI_1_USE_OPENGL_1="#"
52463 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52464 COND_USE_GUI_1_USE_OPENGL_1=""
52467 COND_USE_GUI_1_WXUNIV_0="#"
52468 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52469 COND_USE_GUI_1_WXUNIV_0=""
52472 COND_USE_GUI_1_WXUNIV_1="#"
52473 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52474 COND_USE_GUI_1_WXUNIV_1=""
52477 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52479 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52482 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52483 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52484 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52487 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52488 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52489 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52492 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52493 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52494 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52497 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52498 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52499 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52502 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52503 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52504 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52507 COND_USE_OPENGL_1="#"
52508 if test "x$USE_OPENGL" = "x1" ; then
52509 COND_USE_OPENGL_1=""
52513 if test "x$USE_PCH" = "x1" ; then
52517 COND_USE_PLUGINS_0="#"
52518 if test "x$USE_PLUGINS" = "x0" ; then
52519 COND_USE_PLUGINS_0=""
52522 COND_USE_RTTI_0="#"
52523 if test "x$USE_RTTI" = "x0" ; then
52527 COND_USE_RTTI_1="#"
52528 if test "x$USE_RTTI" = "x1" ; then
52532 COND_USE_SOTWOSYMLINKS_1="#"
52533 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52534 COND_USE_SOTWOSYMLINKS_1=""
52537 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52538 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52539 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52542 COND_USE_SOVERLINUX_1="#"
52543 if test "x$USE_SOVERLINUX" = "x1" ; then
52544 COND_USE_SOVERLINUX_1=""
52547 COND_USE_SOVERSION_0="#"
52548 if test "x$USE_SOVERSION" = "x0" ; then
52549 COND_USE_SOVERSION_0=""
52552 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52553 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52554 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52557 COND_USE_SOVERSOLARIS_1="#"
52558 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52559 COND_USE_SOVERSOLARIS_1=""
52563 if test "x$USE_STC" = "x1" ; then
52567 COND_USE_THREADS_0="#"
52568 if test "x$USE_THREADS" = "x0" ; then
52569 COND_USE_THREADS_0=""
52572 COND_USE_THREADS_1="#"
52573 if test "x$USE_THREADS" = "x1" ; then
52574 COND_USE_THREADS_1=""
52578 if test "x$USE_XRC" = "x1" ; then
52582 COND_WINDOWS_IMPLIB_1="#"
52583 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52584 COND_WINDOWS_IMPLIB_1=""
52587 COND_WITH_PLUGIN_SDL_1="#"
52588 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52589 COND_WITH_PLUGIN_SDL_1=""
52593 if test "x$WXUNIV" = "x0" ; then
52598 if test "x$WXUNIV" = "x1" ; then
52602 COND_WXUSE_EXPAT_BUILTIN="#"
52603 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52604 COND_WXUSE_EXPAT_BUILTIN=""
52607 COND_WXUSE_LIBJPEG_BUILTIN="#"
52608 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52609 COND_WXUSE_LIBJPEG_BUILTIN=""
52612 COND_WXUSE_LIBPNG_BUILTIN="#"
52613 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52614 COND_WXUSE_LIBPNG_BUILTIN=""
52617 COND_WXUSE_LIBTIFF_BUILTIN="#"
52618 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52619 COND_WXUSE_LIBTIFF_BUILTIN=""
52622 COND_WXUSE_REGEX_BUILTIN="#"
52623 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52624 COND_WXUSE_REGEX_BUILTIN=""
52627 COND_WXUSE_ZLIB_BUILTIN="#"
52628 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52629 COND_WXUSE_ZLIB_BUILTIN=""
52632 COND_wxUSE_EXPAT_builtin="#"
52633 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52634 COND_wxUSE_EXPAT_builtin=""
52637 COND_wxUSE_LIBJPEG_builtin="#"
52638 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52639 COND_wxUSE_LIBJPEG_builtin=""
52642 COND_wxUSE_LIBPNG_builtin="#"
52643 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52644 COND_wxUSE_LIBPNG_builtin=""
52647 COND_wxUSE_LIBTIFF_builtin="#"
52648 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52649 COND_wxUSE_LIBTIFF_builtin=""
52652 COND_wxUSE_REGEX_builtin="#"
52653 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52654 COND_wxUSE_REGEX_builtin=""
52657 COND_wxUSE_ZLIB_builtin="#"
52658 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52659 COND_wxUSE_ZLIB_builtin=""
52664 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52665 { { 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
52666 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;}
52667 { (exit 1); exit 1; }; }
52670 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52671 { { 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
52672 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;}
52673 { (exit 1); exit 1; }; }
52680 ?:* ) # Drive letter, considered as absolute.
52683 INSTALL=`pwd`/${INSTALL} ;;
52686 if test "$wxUSE_GUI" = "yes"; then
52688 if test "$wxUSE_MSW" = 1 ; then
52689 if test "x$WINDRES" = "x"; then
52690 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52691 echo "$as_me: error: Required windres program not found" >&2;}
52692 { (exit 1); exit 1; }; }
52698 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52699 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52700 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52702 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52704 # Extract the first word of "DeRez", so it can be a program name with args.
52705 set dummy DeRez; ac_word=$2
52706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52708 if test "${ac_cv_prog_DEREZ+set}" = set; then
52709 echo $ECHO_N "(cached) $ECHO_C" >&6
52711 if test -n "$DEREZ"; then
52712 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52715 for as_dir in $PATH
52718 test -z "$as_dir" && as_dir=.
52719 for ac_exec_ext in '' $ac_executable_extensions; do
52720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52721 ac_cv_prog_DEREZ="DeRez"
52722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52729 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52732 DEREZ=$ac_cv_prog_DEREZ
52733 if test -n "$DEREZ"; then
52734 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52735 echo "${ECHO_T}$DEREZ" >&6; }
52737 { echo "$as_me:$LINENO: result: no" >&5
52738 echo "${ECHO_T}no" >&6; }
52743 MACSETFILE="\$(SETFILE)"
52745 if test "$wxUSE_OSX_CARBON" = 1; then
52746 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52748 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52750 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52751 RESCOMP="cat /dev/null \| $REZ"
52752 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52758 if test "$wxUSE_PM" = 1; then
52760 WXCONFIG_RESFLAGS="-ep"
52762 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52764 POSTLINK_COMMAND="@true"
52771 if test $GCC_PCH = 1
52773 if test "$wx_cv_gcc_pch_bug" = yes; then
52774 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52775 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52776 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52777 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52778 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52779 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52782 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52783 # the headers that benefit from precompilation are mostly C++ headers.
52784 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52785 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52786 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52790 if test "$wxUSE_MAC" = 1 ; then
52791 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52792 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52798 if test "$wxUSE_SHARED" = "yes"; then
52800 *-pc-os2_emx | *-pc-os2-emx )
52801 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52802 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52803 cp -p ${srcdir}/src/os2/dllnames.sh .
52804 cp -p ${srcdir}/src/os2/dllar.sh .
52808 if test "$wxUSE_OMF" = "yes"; then
52810 *-pc-os2_emx | *-pc-os2-emx )
52811 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52812 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52813 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52818 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52823 if test "$GCC" = yes; then
52824 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52825 LIBS=`echo $LIBS | sed 's/-mt//'`
52826 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52831 if test "x$SUNCXX" = xyes; then
52832 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52833 LIBS=`echo $LIBS | sed 's/-pthread//'`
52834 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52839 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52840 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52841 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52842 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52844 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52905 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52906 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52907 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52908 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52909 echo $ECHO_N "(cached) $ECHO_C" >&6
52911 cat >conftest.make <<\_ACEOF
52914 @echo '@@@%%%=$(MAKE)=@@@%%%'
52916 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52918 *@@@%%%=?*=@@@%%%*)
52919 eval ac_cv_prog_make_${ac_make}_set=yes;;
52921 eval ac_cv_prog_make_${ac_make}_set=no;;
52923 rm -f conftest.make
52925 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52926 { echo "$as_me:$LINENO: result: yes" >&5
52927 echo "${ECHO_T}yes" >&6; }
52930 { echo "$as_me:$LINENO: result: no" >&5
52931 echo "${ECHO_T}no" >&6; }
52932 SET_MAKE="MAKE=${MAKE-make}"
52937 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52940 if test "$USE_WIN32" = 1; then
52941 ac_config_commands="$ac_config_commands rcdefs.h"
52945 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52948 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52951 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52954 if test "$wx_cv_version_script" = "yes"; then
52955 ac_config_files="$ac_config_files version-script"
52958 ac_config_files="$ac_config_files Makefile"
52961 ac_config_commands="$ac_config_commands wx-config"
52965 if test "$wxWITH_SUBDIRS" != "no"; then
52966 if test "$wxUSE_GUI" = "yes"; then
52967 SUBDIRS="samples demos utils"
52969 SUBDIRS="samples utils"
52974 # Check whether --with-cppunit-prefix was given.
52975 if test "${with_cppunit_prefix+set}" = set; then
52976 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52978 cppunit_config_prefix=""
52982 # Check whether --with-cppunit-exec-prefix was given.
52983 if test "${with_cppunit_exec_prefix+set}" = set; then
52984 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52986 cppunit_config_exec_prefix=""
52990 if test x$cppunit_config_exec_prefix != x ; then
52991 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52992 if test x${CPPUNIT_CONFIG+set} != xset ; then
52993 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52996 if test x$cppunit_config_prefix != x ; then
52997 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52998 if test x${CPPUNIT_CONFIG+set} != xset ; then
52999 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53003 # Extract the first word of "cppunit-config", so it can be a program name with args.
53004 set dummy cppunit-config; ac_word=$2
53005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53007 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53008 echo $ECHO_N "(cached) $ECHO_C" >&6
53010 case $CPPUNIT_CONFIG in
53012 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53016 for as_dir in $PATH
53019 test -z "$as_dir" && as_dir=.
53020 for ac_exec_ext in '' $ac_executable_extensions; do
53021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53022 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53030 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53034 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53035 if test -n "$CPPUNIT_CONFIG"; then
53036 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53037 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53039 { echo "$as_me:$LINENO: result: no" >&5
53040 echo "${ECHO_T}no" >&6; }
53044 cppunit_version_min=1.8.0
53046 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53047 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53049 if test "$CPPUNIT_CONFIG" = "no" ; then
53050 { echo "$as_me:$LINENO: result: no" >&5
53051 echo "${ECHO_T}no" >&6; }
53054 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53055 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53056 cppunit_version=`$CPPUNIT_CONFIG --version`
53058 cppunit_major_version=`echo $cppunit_version | \
53059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53060 cppunit_minor_version=`echo $cppunit_version | \
53061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53062 cppunit_micro_version=`echo $cppunit_version | \
53063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53065 cppunit_major_min=`echo $cppunit_version_min | \
53066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53067 cppunit_minor_min=`echo $cppunit_version_min | \
53068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53069 cppunit_micro_min=`echo $cppunit_version_min | \
53070 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53072 cppunit_version_proper=`expr \
53073 $cppunit_major_version \> $cppunit_major_min \| \
53074 $cppunit_major_version \= $cppunit_major_min \& \
53075 $cppunit_minor_version \> $cppunit_minor_min \| \
53076 $cppunit_major_version \= $cppunit_major_min \& \
53077 $cppunit_minor_version \= $cppunit_minor_min \& \
53078 $cppunit_micro_version \>= $cppunit_micro_min `
53080 if test "$cppunit_version_proper" = "1" ; then
53081 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53082 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53084 { echo "$as_me:$LINENO: result: no" >&5
53085 echo "${ECHO_T}no" >&6; }
53090 if test "x$no_cppunit" = x ; then
53091 SUBDIRS="$SUBDIRS tests"
53102 for subdir in $SUBDIRS; do
53103 if test -d ${srcdir}/${subdir} ; then
53104 if test "$wxUSE_GUI" = "yes"; then
53105 if test ${subdir} = "samples"; then
53106 makefiles="samples/Makefile.in $makefiles"
53107 for sample in $SAMPLES_SUBDIRS; do
53108 if test -d $srcdir/samples/$sample; then
53109 makefiles="samples/$sample/Makefile.in $makefiles"
53113 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53114 eval "disabled=\$$disabled_var"
53115 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53116 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53119 if test ${subdir} = "samples"; then
53120 makefiles="samples/Makefile.in $makefiles"
53121 for sample in `echo $SAMPLES_SUBDIRS`; do
53122 if test -d $srcdir/samples/$sample; then
53123 makefiles="samples/$sample/Makefile.in $makefiles"
53126 elif test ${subdir} = "utils"; then
53128 for util in ifacecheck ; do
53129 if test -d $srcdir/utils/$util ; then
53130 makefiles="utils/$util/src/Makefile.in \
53135 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53139 for mkin in $makefiles ; do
53140 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53141 ac_config_files="$ac_config_files $mk"
53147 cat >confcache <<\_ACEOF
53148 # This file is a shell script that caches the results of configure
53149 # tests run on this system so they can be shared between configure
53150 # scripts and configure runs, see configure's option --config-cache.
53151 # It is not useful on other systems. If it contains results you don't
53152 # want to keep, you may remove or edit it.
53154 # config.status only pays attention to the cache file if you give it
53155 # the --recheck option to rerun configure.
53157 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53158 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53159 # following values.
53163 # The following way of writing the cache mishandles newlines in values,
53164 # but we know of no workaround that is simple, portable, and efficient.
53165 # So, we kill variables containing newlines.
53166 # Ultrix sh set writes to stderr and can't be redirected directly,
53167 # and sets the high bit in the cache file unless we assign to the vars.
53169 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53170 eval ac_val=\$$ac_var
53174 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53175 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53178 _ | IFS | as_nl) ;; #(
53179 *) $as_unset $ac_var ;;
53185 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53186 *${as_nl}ac_space=\ *)
53187 # `set' does not quote correctly, so add quotes (double-quote
53188 # substitution turns \\\\ into \\, and sed turns \\ into \).
53191 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53194 # `set' quotes correctly as required by POSIX, so do not add quotes.
53195 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53204 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53206 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53208 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53209 if test -w "$cache_file"; then
53210 test "x$cache_file" != "x/dev/null" &&
53211 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53212 echo "$as_me: updating cache $cache_file" >&6;}
53213 cat confcache >$cache_file
53215 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53216 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53221 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53222 # Let make expand exec_prefix.
53223 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53225 DEFS=-DHAVE_CONFIG_H
53229 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53230 # 1. Remove the extension, and $U if already installed.
53231 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53232 ac_i=`echo "$ac_i" | sed "$ac_script"`
53233 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53234 # will be set to the directory where LIBOBJS objects are built.
53235 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53236 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53238 LIBOBJS=$ac_libobjs
53240 LTLIBOBJS=$ac_ltlibobjs
53244 : ${CONFIG_STATUS=./config.status}
53245 ac_clean_files_save=$ac_clean_files
53246 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53247 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53248 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53249 cat >$CONFIG_STATUS <<_ACEOF
53251 # Generated by $as_me.
53252 # Run this file to recreate the current configuration.
53253 # Compiler output produced by configure, useful for debugging
53254 # configure, is in config.log if it exists.
53257 ac_cs_recheck=false
53259 SHELL=\${CONFIG_SHELL-$SHELL}
53262 cat >>$CONFIG_STATUS <<\_ACEOF
53263 ## --------------------- ##
53264 ## M4sh Initialization. ##
53265 ## --------------------- ##
53267 # Be more Bourne compatible
53268 DUALCASE=1; export DUALCASE # for MKS sh
53269 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53272 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53273 # is contrary to our usage. Disable this feature.
53274 alias -g '${1+"$@"}'='"$@"'
53275 setopt NO_GLOB_SUBST
53277 case `(set -o) 2>/dev/null` in
53278 *posix*) set -o posix ;;
53287 # Avoid depending upon Character Ranges.
53288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53291 as_cr_digits='0123456789'
53292 as_cr_alnum=$as_cr_Letters$as_cr_digits
53294 # The user is always right.
53295 if test "${PATH_SEPARATOR+set}" != set; then
53296 echo "#! /bin/sh" >conf$$.sh
53297 echo "exit 0" >>conf$$.sh
53299 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53307 # Support unset when possible.
53308 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53316 # We need space, tab and new line, in precisely that order. Quoting is
53317 # there to prevent editors from complaining about space-tab.
53318 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53319 # splitting by setting IFS to empty value.)
53324 # Find who we are. Look in the path if we contain no directory separator.
53326 *[\\/]* ) as_myself=$0 ;;
53327 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53328 for as_dir in $PATH
53331 test -z "$as_dir" && as_dir=.
53332 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53338 # We did not find ourselves, most probably we were run as `sh COMMAND'
53339 # in which case we are not to be found in the path.
53340 if test "x$as_myself" = x; then
53343 if test ! -f "$as_myself"; then
53344 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53345 { (exit 1); exit 1; }
53348 # Work around bugs in pre-3.0 UWIN ksh.
53349 for as_var in ENV MAIL MAILPATH
53350 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53358 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53359 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53360 LC_TELEPHONE LC_TIME
53362 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53363 eval $as_var=C; export $as_var
53365 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53369 # Required to use basename.
53370 if expr a : '\(a\)' >/dev/null 2>&1 &&
53371 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53377 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53378 as_basename=basename
53384 # Name of the executable.
53385 as_me=`$as_basename -- "$0" ||
53386 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53387 X"$0" : 'X\(//\)$' \| \
53388 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53390 sed '/^.*\/\([^/][^/]*\)\/*$/{
53409 as_lineno_1=$LINENO
53410 as_lineno_2=$LINENO
53411 test "x$as_lineno_1" != "x$as_lineno_2" &&
53412 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53414 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53415 # uniformly replaced by the line number. The first 'sed' inserts a
53416 # line-number line after each line using $LINENO; the second 'sed'
53417 # does the real work. The second script uses 'N' to pair each
53418 # line-number line with the line containing $LINENO, and appends
53419 # trailing '-' during substitution so that $LINENO is not a special
53420 # case at line end.
53421 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53422 # scripts with optimization help from Paolo Bonzini. Blame Lee
53423 # E. McMahon (1931-1989) for sed's syntax. :-)
53435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53438 ' >$as_me.lineno &&
53439 chmod +x "$as_me.lineno" ||
53440 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53441 { (exit 1); exit 1; }; }
53443 # Don't try to exec as it changes $[0], causing all sort of problems
53444 # (the dirname of $[0] is not the place where we might find the
53445 # original and so on. Autoconf is especially sensitive to this).
53446 . "./$as_me.lineno"
53447 # Exit status is that of the last command.
53452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53458 ECHO_C= ECHO_N= ECHO_T=
53459 case `echo -n x` in
53461 case `echo 'x\c'` in
53462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53469 if expr a : '\(a\)' >/dev/null 2>&1 &&
53470 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53476 rm -f conf$$ conf$$.exe conf$$.file
53477 if test -d conf$$.dir; then
53478 rm -f conf$$.dir/conf$$.file
53484 if ln -s conf$$.file conf$$ 2>/dev/null; then
53486 # ... but there are two gotchas:
53487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53489 # In both cases, we have to default to `cp -p'.
53490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53492 elif ln conf$$.file conf$$ 2>/dev/null; then
53497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53498 rmdir conf$$.dir 2>/dev/null
53500 if mkdir -p . 2>/dev/null; then
53503 test -d ./-p && rmdir ./-p
53507 if test -x / >/dev/null 2>&1; then
53508 as_test_x='test -x'
53510 if ls -dL / >/dev/null 2>&1; then
53517 if test -d "$1"; then
53523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53524 ???[sx]*):;;*)false;;esac;fi
53528 as_executable_p=$as_test_x
53530 # Sed expression to map a string onto a valid CPP name.
53531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53533 # Sed expression to map a string onto a valid variable name.
53534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53539 # Save the log message, to keep $[0] and so on meaningful, and to
53540 # report actual input values of CONFIG_FILES etc. instead of their
53541 # values after options handling.
53543 This file was extended by wxWidgets $as_me 2.9.3, which was
53544 generated by GNU Autoconf 2.61. Invocation command line was
53546 CONFIG_FILES = $CONFIG_FILES
53547 CONFIG_HEADERS = $CONFIG_HEADERS
53548 CONFIG_LINKS = $CONFIG_LINKS
53549 CONFIG_COMMANDS = $CONFIG_COMMANDS
53552 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53557 cat >>$CONFIG_STATUS <<_ACEOF
53558 # Files that config.status was made for.
53559 config_files="$ac_config_files"
53560 config_headers="$ac_config_headers"
53561 config_commands="$ac_config_commands"
53565 cat >>$CONFIG_STATUS <<\_ACEOF
53567 \`$as_me' instantiates files from templates according to the
53568 current configuration.
53570 Usage: $0 [OPTIONS] [FILE]...
53572 -h, --help print this help, then exit
53573 -V, --version print version number and configuration settings, then exit
53574 -q, --quiet do not print progress messages
53575 -d, --debug don't remove temporary files
53576 --recheck update $as_me by reconfiguring in the same conditions
53577 --file=FILE[:TEMPLATE]
53578 instantiate the configuration file FILE
53579 --header=FILE[:TEMPLATE]
53580 instantiate the configuration header FILE
53582 Configuration files:
53585 Configuration headers:
53588 Configuration commands:
53591 Report bugs to <bug-autoconf@gnu.org>."
53594 cat >>$CONFIG_STATUS <<_ACEOF
53596 wxWidgets config.status 2.9.3
53597 configured by $0, generated by GNU Autoconf 2.61,
53598 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53600 Copyright (C) 2006 Free Software Foundation, Inc.
53601 This config.status script is free software; the Free Software Foundation
53602 gives unlimited permission to copy, distribute and modify it."
53609 cat >>$CONFIG_STATUS <<\_ACEOF
53610 # If no file are specified by the user, then we need to provide default
53611 # value. By we need to know if files were specified by the user.
53617 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53618 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53629 # Handling of the options.
53630 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53632 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53633 echo "$ac_cs_version"; exit ;;
53634 --debug | --debu | --deb | --de | --d | -d )
53636 --file | --fil | --fi | --f )
53638 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53639 ac_need_defaults=false;;
53640 --header | --heade | --head | --hea )
53642 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53643 ac_need_defaults=false;;
53645 # Conflict between --help and --header
53646 { echo "$as_me: error: ambiguous option: $1
53647 Try \`$0 --help' for more information." >&2
53648 { (exit 1); exit 1; }; };;
53649 --help | --hel | -h )
53650 echo "$ac_cs_usage"; exit ;;
53651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53652 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53655 # This is an error.
53656 -*) { echo "$as_me: error: unrecognized option: $1
53657 Try \`$0 --help' for more information." >&2
53658 { (exit 1); exit 1; }; } ;;
53660 *) ac_config_targets="$ac_config_targets $1"
53661 ac_need_defaults=false ;;
53667 ac_configure_extra_args=
53669 if $ac_cs_silent; then
53671 ac_configure_extra_args="$ac_configure_extra_args --silent"
53675 cat >>$CONFIG_STATUS <<_ACEOF
53676 if \$ac_cs_recheck; then
53677 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53678 CONFIG_SHELL=$SHELL
53679 export CONFIG_SHELL
53680 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53684 cat >>$CONFIG_STATUS <<\_ACEOF
53688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53689 ## Running $as_me. ##
53695 cat >>$CONFIG_STATUS <<_ACEOF
53701 infile="$srcdir/include/wx/msw/genrcdefs.h"
53702 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53705 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53706 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53707 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53713 cat >>$CONFIG_STATUS <<\_ACEOF
53715 # Handling of arguments.
53716 for ac_config_target in $ac_config_targets
53718 case $ac_config_target in
53719 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53720 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53721 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53722 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53723 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53724 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53725 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53726 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53727 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53729 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53730 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53731 { (exit 1); exit 1; }; };;
53736 # If the user did not use the arguments to specify the items to instantiate,
53737 # then the envvar interface is used. Set only those that are not.
53738 # We use the long form for the default assignment because of an extremely
53739 # bizarre bug on SunOS 4.1.3.
53740 if $ac_need_defaults; then
53741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53742 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53743 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53746 # Have a temporary directory for convenience. Make it in the build tree
53747 # simply because there is no reason against having it here, and in addition,
53748 # creating and moving files from /tmp can sometimes cause problems.
53749 # Hook for its removal unless debugging.
53750 # Note that there is a small window in which the directory will not be cleaned:
53751 # after its creation but before its name has been assigned to `$tmp'.
53755 trap 'exit_status=$?
53756 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53758 trap '{ (exit 1); exit 1; }' 1 2 13 15
53760 # Create a (secure) tmp directory for tmp files.
53763 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53764 test -n "$tmp" && test -d "$tmp"
53767 tmp=./conf$$-$RANDOM
53768 (umask 077 && mkdir "$tmp")
53771 echo "$me: cannot create a temporary directory in ." >&2
53772 { (exit 1); exit 1; }
53776 # Set up the sed scripts for CONFIG_FILES section.
53779 # No need to generate the scripts if there are no CONFIG_FILES.
53780 # This happens for instance when ./config.status config.h
53781 if test -n "$CONFIG_FILES"; then
53788 for ac_last_try in false false false false false :; do
53789 cat >conf$$subs.sed <<_ACEOF
53790 SHELL!$SHELL$ac_delim
53791 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53792 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53793 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53794 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53795 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53796 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53797 exec_prefix!$exec_prefix$ac_delim
53798 prefix!$prefix$ac_delim
53799 program_transform_name!$program_transform_name$ac_delim
53800 bindir!$bindir$ac_delim
53801 sbindir!$sbindir$ac_delim
53802 libexecdir!$libexecdir$ac_delim
53803 datarootdir!$datarootdir$ac_delim
53804 datadir!$datadir$ac_delim
53805 sysconfdir!$sysconfdir$ac_delim
53806 sharedstatedir!$sharedstatedir$ac_delim
53807 localstatedir!$localstatedir$ac_delim
53808 includedir!$includedir$ac_delim
53809 oldincludedir!$oldincludedir$ac_delim
53810 docdir!$docdir$ac_delim
53811 infodir!$infodir$ac_delim
53812 htmldir!$htmldir$ac_delim
53813 dvidir!$dvidir$ac_delim
53814 pdfdir!$pdfdir$ac_delim
53815 psdir!$psdir$ac_delim
53816 libdir!$libdir$ac_delim
53817 localedir!$localedir$ac_delim
53818 mandir!$mandir$ac_delim
53819 DEFS!$DEFS$ac_delim
53820 ECHO_C!$ECHO_C$ac_delim
53821 ECHO_N!$ECHO_N$ac_delim
53822 ECHO_T!$ECHO_T$ac_delim
53823 LIBS!$LIBS$ac_delim
53824 build_alias!$build_alias$ac_delim
53825 host_alias!$host_alias$ac_delim
53826 target_alias!$target_alias$ac_delim
53827 build!$build$ac_delim
53828 build_cpu!$build_cpu$ac_delim
53829 build_vendor!$build_vendor$ac_delim
53830 build_os!$build_os$ac_delim
53831 host!$host$ac_delim
53832 host_cpu!$host_cpu$ac_delim
53833 host_vendor!$host_vendor$ac_delim
53834 host_os!$host_os$ac_delim
53835 wx_top_builddir!$wx_top_builddir$ac_delim
53837 CFLAGS!$CFLAGS$ac_delim
53838 LDFLAGS!$LDFLAGS$ac_delim
53839 CPPFLAGS!$CPPFLAGS$ac_delim
53840 ac_ct_CC!$ac_ct_CC$ac_delim
53841 EXEEXT!$EXEEXT$ac_delim
53842 OBJEXT!$OBJEXT$ac_delim
53844 GREP!$GREP$ac_delim
53845 EGREP!$EGREP$ac_delim
53847 CXXFLAGS!$CXXFLAGS$ac_delim
53848 ac_ct_CXX!$ac_ct_CXX$ac_delim
53850 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53851 CXXCPP!$CXXCPP$ac_delim
53852 subdirs!$subdirs$ac_delim
53853 PKG_CONFIG!$PKG_CONFIG$ac_delim
53854 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53855 GTK_LIBS!$GTK_LIBS$ac_delim
53856 GTK_CONFIG!$GTK_CONFIG$ac_delim
53857 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53858 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53859 XMKMF!$XMKMF$ac_delim
53860 X_CFLAGS!$X_CFLAGS$ac_delim
53861 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53862 X_LIBS!$X_LIBS$ac_delim
53863 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53864 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53865 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53866 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53867 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53868 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53869 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53870 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53871 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53872 LIBICONV!$LIBICONV$ac_delim
53873 GXX_VERSION!$GXX_VERSION$ac_delim
53874 SDL_CONFIG!$SDL_CONFIG$ac_delim
53875 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53876 SDL_LIBS!$SDL_LIBS$ac_delim
53877 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53878 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53879 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53880 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53881 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53882 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53883 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53884 HILDON_LIBS!$HILDON_LIBS$ac_delim
53885 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53886 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53889 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53891 elif $ac_last_try; then
53892 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53893 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53894 { (exit 1); exit 1; }; }
53896 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53900 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53901 if test -n "$ac_eof"; then
53902 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53903 ac_eof=`expr $ac_eof + 1`
53906 cat >>$CONFIG_STATUS <<_ACEOF
53907 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53908 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53911 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53912 s/^/s,@/; s/!/@,|#_!!_#|/
53915 s/'"$ac_delim"'$/,g/; t
53917 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53918 ' >>$CONFIG_STATUS <conf$$subs.sed
53919 rm -f conf$$subs.sed
53920 cat >>$CONFIG_STATUS <<_ACEOF
53926 for ac_last_try in false false false false false :; do
53927 cat >conf$$subs.sed <<_ACEOF
53928 PYTHON!$PYTHON$ac_delim
53929 COND_PYTHON!$COND_PYTHON$ac_delim
53930 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53931 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53932 GST_CFLAGS!$GST_CFLAGS$ac_delim
53933 GST_LIBS!$GST_LIBS$ac_delim
53934 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53935 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53936 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53937 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53938 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53939 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53940 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53941 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53942 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53943 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53944 VENDOR!$VENDOR$ac_delim
53945 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53946 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53947 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53948 WXUNIV!$WXUNIV$ac_delim
53949 MONOLITHIC!$MONOLITHIC$ac_delim
53950 USE_PLUGINS!$USE_PLUGINS$ac_delim
53951 CXXWARNINGS!$CXXWARNINGS$ac_delim
53952 EXTRALIBS!$EXTRALIBS$ac_delim
53953 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53954 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53955 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53956 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53957 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53958 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53959 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53960 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53961 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53962 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53963 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53964 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53965 UNICODE!$UNICODE$ac_delim
53966 DEBUG_INFO!$DEBUG_INFO$ac_delim
53967 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53968 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53969 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53970 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53971 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53972 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53973 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53974 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53975 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53976 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53977 RANLIB!$RANLIB$ac_delim
53978 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53979 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53980 INSTALL_DATA!$INSTALL_DATA$ac_delim
53981 LN_S!$LN_S$ac_delim
53982 SET_MAKE!$SET_MAKE$ac_delim
53983 MAKE_SET!$MAKE_SET$ac_delim
53984 AROPTIONS!$AROPTIONS$ac_delim
53985 STRIP!$STRIP$ac_delim
53987 INSTALL_DIR!$INSTALL_DIR$ac_delim
53988 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53989 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53990 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53991 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53992 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53993 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53994 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53995 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53996 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53997 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53998 SO_SUFFIX!$SO_SUFFIX$ac_delim
53999 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54000 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54001 LIBPREFIX!$LIBPREFIX$ac_delim
54002 LIBEXT!$LIBEXT$ac_delim
54003 DLLPREFIX!$DLLPREFIX$ac_delim
54004 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54005 dlldir!$dlldir$ac_delim
54006 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54007 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54008 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54009 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54010 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54011 PIC_FLAG!$PIC_FLAG$ac_delim
54012 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54013 USE_SOVERSION!$USE_SOVERSION$ac_delim
54014 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54015 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54016 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54017 USE_MACVERSION!$USE_MACVERSION$ac_delim
54018 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54019 SONAME_FLAG!$SONAME_FLAG$ac_delim
54020 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54021 BK_DEPS!$BK_DEPS$ac_delim
54022 WINDRES!$WINDRES$ac_delim
54024 SETFILE!$SETFILE$ac_delim
54027 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54029 elif $ac_last_try; then
54030 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54031 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54032 { (exit 1); exit 1; }; }
54034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54038 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54039 if test -n "$ac_eof"; then
54040 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54041 ac_eof=`expr $ac_eof + 1`
54044 cat >>$CONFIG_STATUS <<_ACEOF
54045 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54049 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54050 s/^/s,@/; s/!/@,|#_!!_#|/
54053 s/'"$ac_delim"'$/,g/; t
54055 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54056 ' >>$CONFIG_STATUS <conf$$subs.sed
54057 rm -f conf$$subs.sed
54058 cat >>$CONFIG_STATUS <<_ACEOF
54064 for ac_last_try in false false false false false :; do
54065 cat >conf$$subs.sed <<_ACEOF
54066 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54067 GCC_PCH!$GCC_PCH$ac_delim
54068 ICC_PCH!$ICC_PCH$ac_delim
54069 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54070 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54071 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54072 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54073 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54074 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54075 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54076 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54077 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54078 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54079 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54080 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54081 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54082 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54083 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54084 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54085 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54086 COND_BUILD_release!$COND_BUILD_release$ac_delim
54087 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54088 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54089 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54090 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54091 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54092 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54093 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54094 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54095 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54096 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54097 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54098 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54099 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54100 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54105 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54106 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54107 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54108 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54109 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54110 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54111 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54116 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54117 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54118 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54119 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54120 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54121 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54122 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54123 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54124 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54125 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54126 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54127 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54128 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54129 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54130 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54131 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54132 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54133 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54134 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54135 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54136 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54137 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54138 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54139 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54140 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54141 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54142 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54143 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
54144 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54145 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
54146 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54147 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
54148 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54149 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54150 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54151 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54152 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54153 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54154 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54155 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54156 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54157 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54158 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54159 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54160 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54161 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54162 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54165 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54167 elif $ac_last_try; then
54168 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54169 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54170 { (exit 1); exit 1; }; }
54172 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54176 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54177 if test -n "$ac_eof"; then
54178 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54179 ac_eof=`expr $ac_eof + 1`
54182 cat >>$CONFIG_STATUS <<_ACEOF
54183 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54187 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54188 s/^/s,@/; s/!/@,|#_!!_#|/
54191 s/'"$ac_delim"'$/,g/; t
54193 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54194 ' >>$CONFIG_STATUS <conf$$subs.sed
54195 rm -f conf$$subs.sed
54196 cat >>$CONFIG_STATUS <<_ACEOF
54202 for ac_last_try in false false false false false :; do
54203 cat >conf$$subs.sed <<_ACEOF
54204 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54205 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54206 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54207 COND_SHARED_0!$COND_SHARED_0$ac_delim
54208 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54209 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54210 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54211 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54212 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54213 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54214 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54215 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54216 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54217 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54218 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54219 COND_SHARED_1!$COND_SHARED_1$ac_delim
54220 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54221 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54222 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54223 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54224 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54225 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54226 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54227 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54232 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54234 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54235 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54236 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54237 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54238 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54239 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54240 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54241 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54242 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54243 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54244 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54245 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54246 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54247 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54248 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54249 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54250 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54251 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54252 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54253 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54254 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54255 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54256 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54257 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54258 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54259 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54260 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54261 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54262 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54263 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54264 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54265 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54266 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54267 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54268 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54269 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54270 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54271 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54272 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54273 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54274 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54275 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54276 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54277 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54278 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54279 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54280 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54281 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54282 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54283 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54284 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54285 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54286 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54287 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54288 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54289 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54290 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54291 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54292 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54293 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54294 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54295 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54296 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54297 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54298 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54299 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54300 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54303 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54305 elif $ac_last_try; then
54306 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54307 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54308 { (exit 1); exit 1; }; }
54310 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54314 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54315 if test -n "$ac_eof"; then
54316 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54317 ac_eof=`expr $ac_eof + 1`
54320 cat >>$CONFIG_STATUS <<_ACEOF
54321 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54322 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54325 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54326 s/^/s,@/; s/!/@,|#_!!_#|/
54329 s/'"$ac_delim"'$/,g/; t
54331 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54332 ' >>$CONFIG_STATUS <conf$$subs.sed
54333 rm -f conf$$subs.sed
54334 cat >>$CONFIG_STATUS <<_ACEOF
54340 for ac_last_try in false false false false false :; do
54341 cat >conf$$subs.sed <<_ACEOF
54342 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54343 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54344 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54345 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54346 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54347 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54348 DEREZ!$DEREZ$ac_delim
54349 SHARED!$SHARED$ac_delim
54350 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54351 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54352 USE_GUI!$USE_GUI$ac_delim
54353 AFMINSTALL!$AFMINSTALL$ac_delim
54354 WIN32INSTALL!$WIN32INSTALL$ac_delim
54355 TOOLKIT!$TOOLKIT$ac_delim
54356 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54357 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54358 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54359 cross_compiling!$cross_compiling$ac_delim
54360 WIDGET_SET!$WIDGET_SET$ac_delim
54361 WX_RELEASE!$WX_RELEASE$ac_delim
54362 WX_VERSION!$WX_VERSION$ac_delim
54363 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54364 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54365 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54366 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54367 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54368 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54369 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54370 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54371 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54372 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54373 GUIDIST!$GUIDIST$ac_delim
54374 DISTDIR!$DISTDIR$ac_delim
54375 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54376 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54377 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54378 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54379 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54380 RESCOMP!$RESCOMP$ac_delim
54381 RESFLAGS!$RESFLAGS$ac_delim
54382 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54383 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54384 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54385 LIBWXMACRES!$LIBWXMACRES$ac_delim
54386 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54387 MACSETFILE!$MACSETFILE$ac_delim
54389 DLLTOOL!$DLLTOOL$ac_delim
54390 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54391 LIBOBJS!$LIBOBJS$ac_delim
54392 LTLIBOBJS!$LTLIBOBJS$ac_delim
54395 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54397 elif $ac_last_try; then
54398 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54399 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54400 { (exit 1); exit 1; }; }
54402 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54406 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54407 if test -n "$ac_eof"; then
54408 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54409 ac_eof=`expr $ac_eof + 1`
54412 cat >>$CONFIG_STATUS <<_ACEOF
54413 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54414 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54417 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54418 s/^/s,@/; s/!/@,|#_!!_#|/
54421 s/'"$ac_delim"'$/,g/; t
54423 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54424 ' >>$CONFIG_STATUS <conf$$subs.sed
54425 rm -f conf$$subs.sed
54426 cat >>$CONFIG_STATUS <<_ACEOF
54433 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54434 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54435 # trailing colons and then remove the whole line if VPATH becomes empty
54436 # (actually we leave an empty line to preserve line numbers).
54437 if test "x$srcdir" = x.; then
54438 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54439 s/:*\$(srcdir):*/:/
54440 s/:*\${srcdir}:*/:/
54442 s/^\([^=]*=[ ]*\):*/\1/
54448 cat >>$CONFIG_STATUS <<\_ACEOF
54449 fi # test -n "$CONFIG_FILES"
54452 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54455 :[FHLC]) ac_mode=$ac_tag; continue;;
54457 case $ac_mode$ac_tag in
54459 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54460 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54461 { (exit 1); exit 1; }; };;
54462 :[FH]-) ac_tag=-:-;;
54463 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54480 -) ac_f="$tmp/stdin";;
54481 *) # Look for the file first in the build tree, then in the source tree
54482 # (if the path is not absolute). The absolute path cannot be DOS-style,
54483 # because $ac_f cannot contain `:'.
54487 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54489 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54490 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54491 { (exit 1); exit 1; }; };;
54493 ac_file_inputs="$ac_file_inputs $ac_f"
54496 # Let's still pretend it is `configure' which instantiates (i.e., don't
54497 # use $as_me), people would be surprised to read:
54498 # /* config.h. Generated by config.status. */
54499 configure_input="Generated from "`IFS=:
54500 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54501 if test x"$ac_file" != x-; then
54502 configure_input="$ac_file. $configure_input"
54503 { echo "$as_me:$LINENO: creating $ac_file" >&5
54504 echo "$as_me: creating $ac_file" >&6;}
54508 *:-:* | *:-) cat >"$tmp/stdin";;
54513 ac_dir=`$as_dirname -- "$ac_file" ||
54514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54515 X"$ac_file" : 'X\(//\)[^/]' \| \
54516 X"$ac_file" : 'X\(//\)$' \| \
54517 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54523 /^X\(\/\/\)[^/].*/{
54538 -*) as_dir=./$as_dir;;
54540 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54544 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54545 *) as_qdir=$as_dir;;
54547 as_dirs="'$as_qdir' $as_dirs"
54548 as_dir=`$as_dirname -- "$as_dir" ||
54549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54550 X"$as_dir" : 'X\(//\)[^/]' \| \
54551 X"$as_dir" : 'X\(//\)$' \| \
54552 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54558 /^X\(\/\/\)[^/].*/{
54571 test -d "$as_dir" && break
54573 test -z "$as_dirs" || eval "mkdir $as_dirs"
54574 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54575 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54576 { (exit 1); exit 1; }; }; }
54580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54582 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54583 # A ".." for each directory in $ac_dir_suffix.
54584 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54585 case $ac_top_builddir_sub in
54586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54590 ac_abs_top_builddir=$ac_pwd
54591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54592 # for backward compatibility:
54593 ac_top_builddir=$ac_top_build_prefix
54596 .) # We are building in place.
54598 ac_top_srcdir=$ac_top_builddir_sub
54599 ac_abs_top_srcdir=$ac_pwd ;;
54600 [\\/]* | ?:[\\/]* ) # Absolute name.
54601 ac_srcdir=$srcdir$ac_dir_suffix;
54602 ac_top_srcdir=$srcdir
54603 ac_abs_top_srcdir=$srcdir ;;
54604 *) # Relative name.
54605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54606 ac_top_srcdir=$ac_top_build_prefix$srcdir
54607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54619 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54620 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54624 cat >>$CONFIG_STATUS <<\_ACEOF
54625 # If the template does not know about datarootdir, expand it.
54626 # FIXME: This hack should be removed a few years after 2.60.
54627 ac_datarootdir_hack=; ac_datarootdir_seen=
54629 case `sed -n '/datarootdir/ {
54638 ' $ac_file_inputs` in
54639 *datarootdir*) ac_datarootdir_seen=yes;;
54640 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54641 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54642 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54644 cat >>$CONFIG_STATUS <<_ACEOF
54645 ac_datarootdir_hack='
54646 s&@datadir@&$datadir&g
54647 s&@docdir@&$docdir&g
54648 s&@infodir@&$infodir&g
54649 s&@localedir@&$localedir&g
54650 s&@mandir@&$mandir&g
54651 s&\\\${datarootdir}&$datarootdir&g' ;;
54655 # Neutralize VPATH when `$srcdir' = `.'.
54656 # Shell code in configure.ac might set extrasub.
54657 # FIXME: do we really want to maintain this feature?
54658 cat >>$CONFIG_STATUS <<_ACEOF
54662 cat >>$CONFIG_STATUS <<\_ACEOF
54664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54665 s&@configure_input@&$configure_input&;t t
54666 s&@top_builddir@&$ac_top_builddir_sub&;t t
54667 s&@srcdir@&$ac_srcdir&;t t
54668 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54669 s&@top_srcdir@&$ac_top_srcdir&;t t
54670 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54671 s&@builddir@&$ac_builddir&;t t
54672 s&@abs_builddir@&$ac_abs_builddir&;t t
54673 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54674 s&@INSTALL@&$ac_INSTALL&;t t
54675 $ac_datarootdir_hack
54676 " $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
54678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54679 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54680 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54681 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54682 which seems to be undefined. Please make sure it is defined." >&5
54683 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54684 which seems to be undefined. Please make sure it is defined." >&2;}
54688 -) cat "$tmp/out"; rm -f "$tmp/out";;
54689 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54698 # Transform confdefs.h into a sed script `conftest.defines', that
54699 # substitutes the proper values into config.h.in to produce config.h.
54700 rm -f conftest.defines conftest.tail
54701 # First, append a space to every undef/define line, to ease matching.
54702 echo 's/$/ /' >conftest.defines
54703 # Then, protect against being on the right side of a sed subst, or in
54704 # an unquoted here document, in config.status. If some macros were
54705 # called several times there might be several #defines for the same
54706 # symbol, which is useless. But do not sort them, since the last
54707 # AC_DEFINE must be honored.
54708 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54709 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54710 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54711 # PARAMS is the parameter list in the macro definition--in most cases, it's
54712 # just an empty string.
54713 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54714 ac_dB='\\)[ (].*,\\1define\\2'
54722 s/^[ ]*#[ ]*define[ ][ ]*//
54727 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54728 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54729 ' >>conftest.defines
54731 # Remove the space that was appended to ease matching.
54732 # Then replace #undef with comments. This is necessary, for
54733 # example, in the case of _POSIX_SOURCE, which is predefined and required
54734 # on some systems where configure will not decide to define it.
54735 # (The regexp can be short, since the line contains either #define or #undef.)
54737 s,^[ #]*u.*,/* & */,' >>conftest.defines
54739 # Break up conftest.defines:
54740 ac_max_sed_lines=50
54742 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54743 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54744 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54746 ac_in='$ac_file_inputs'
54747 ac_out='"$tmp/out1"'
54748 ac_nxt='"$tmp/out2"'
54752 # Write a here document:
54753 cat >>$CONFIG_STATUS <<_ACEOF
54754 # First, check the format of the line:
54755 cat >"\$tmp/defines.sed" <<\\CEOF
54756 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54757 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54761 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54763 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54764 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54765 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54766 grep . conftest.tail >/dev/null || break
54767 rm -f conftest.defines
54768 mv conftest.tail conftest.defines
54770 rm -f conftest.defines conftest.tail
54772 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54773 cat >>$CONFIG_STATUS <<\_ACEOF
54774 if test x"$ac_file" != x-; then
54775 echo "/* $configure_input */" >"$tmp/config.h"
54776 cat "$ac_result" >>"$tmp/config.h"
54777 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54778 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54779 echo "$as_me: $ac_file is unchanged" >&6;}
54782 mv "$tmp/config.h" $ac_file
54785 echo "/* $configure_input */"
54791 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54792 echo "$as_me: executing $ac_file commands" >&6;}
54797 case $ac_file$ac_mode in
54799 mkdir -p $outdir &&
54800 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54802 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54803 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54804 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54805 "wx-config":C) rm -f wx-config
54806 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54813 { (exit 0); exit 0; }
54815 chmod +x $CONFIG_STATUS
54816 ac_clean_files=$ac_clean_files_save
54819 # configure is writing to config.log, and then calls config.status.
54820 # config.status does its own redirection, appending to config.log.
54821 # Unfortunately, on DOS this fails, as config.log is still kept open
54822 # by configure, so config.status won't be able to write to it; its
54823 # output is simply discarded. So we exec the FD to /dev/null,
54824 # effectively closing config.log, so it can be properly (re)opened and
54825 # appended to by config.status. When coming back to configure, we
54826 # need to make the FD available again.
54827 if test "$no_create" != yes; then
54829 ac_config_status_args=
54830 test "$silent" = yes &&
54831 ac_config_status_args="$ac_config_status_args --quiet"
54833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54836 # would make configure fail if this is the last instruction.
54837 $ac_cs_success || { (exit 1); exit 1; }
54841 # CONFIG_SUBDIRS section.
54843 if test "$no_recursion" != yes; then
54845 # Remove --cache-file and --srcdir arguments so they do not pile up.
54846 ac_sub_configure_args=
54848 eval "set x $ac_configure_args"
54852 if test -n "$ac_prev"; then
54857 -cache-file | --cache-file | --cache-fil | --cache-fi \
54858 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54859 ac_prev=cache_file ;;
54860 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54861 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54864 --config-cache | -C)
54866 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54868 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54870 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54872 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54876 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54878 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54882 # Always prepend --prefix to ensure using the same prefix
54883 # in subdir configurations.
54884 ac_arg="--prefix=$prefix"
54886 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54888 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54891 if test "$silent" = yes; then
54892 ac_sub_configure_args="--silent $ac_sub_configure_args"
54896 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54898 # Do not complain, so a configure script can configure whichever
54899 # parts of a large source tree are present.
54900 test -d "$srcdir/$ac_dir" || continue
54902 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54903 echo "$as_me:$LINENO: $ac_msg" >&5
54907 -*) as_dir=./$as_dir;;
54909 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54913 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54914 *) as_qdir=$as_dir;;
54916 as_dirs="'$as_qdir' $as_dirs"
54917 as_dir=`$as_dirname -- "$as_dir" ||
54918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54919 X"$as_dir" : 'X\(//\)[^/]' \| \
54920 X"$as_dir" : 'X\(//\)$' \| \
54921 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54927 /^X\(\/\/\)[^/].*/{
54940 test -d "$as_dir" && break
54942 test -z "$as_dirs" || eval "mkdir $as_dirs"
54943 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54944 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54945 { (exit 1); exit 1; }; }; }
54949 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54952 # A ".." for each directory in $ac_dir_suffix.
54953 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54954 case $ac_top_builddir_sub in
54955 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54956 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54959 ac_abs_top_builddir=$ac_pwd
54960 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54961 # for backward compatibility:
54962 ac_top_builddir=$ac_top_build_prefix
54965 .) # We are building in place.
54967 ac_top_srcdir=$ac_top_builddir_sub
54968 ac_abs_top_srcdir=$ac_pwd ;;
54969 [\\/]* | ?:[\\/]* ) # Absolute name.
54970 ac_srcdir=$srcdir$ac_dir_suffix;
54971 ac_top_srcdir=$srcdir
54972 ac_abs_top_srcdir=$srcdir ;;
54973 *) # Relative name.
54974 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54975 ac_top_srcdir=$ac_top_build_prefix$srcdir
54976 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54978 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54983 # Check for guested configure; otherwise get Cygnus style configure.
54984 if test -f "$ac_srcdir/configure.gnu"; then
54985 ac_sub_configure=$ac_srcdir/configure.gnu
54986 elif test -f "$ac_srcdir/configure"; then
54987 ac_sub_configure=$ac_srcdir/configure
54988 elif test -f "$ac_srcdir/configure.in"; then
54989 # This should be Cygnus configure.
54990 ac_sub_configure=$ac_aux_dir/configure
54992 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54993 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54997 # The recursion is here.
54998 if test -n "$ac_sub_configure"; then
54999 # Make the cache file name correct relative to the subdirectory.
55000 case $cache_file in
55001 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55002 *) # Relative name.
55003 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55006 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55007 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55008 # The eval makes quoting arguments work.
55009 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55010 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55011 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55012 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55013 { (exit 1); exit 1; }; }
55022 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55024 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55025 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55026 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55027 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55028 if test "$wxUSE_UNICODE" = "yes"; then
55029 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55030 echo " (using UTF-8)"
55032 echo " (using wchar_t)"
55038 echo " What level of wxWidgets compatibility should be enabled?"
55039 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55040 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55042 echo " Which libraries should wxWidgets use?"
55043 echo " STL ${wxUSE_STL}"
55044 echo " jpeg ${wxUSE_LIBJPEG-none}"
55045 echo " png ${wxUSE_LIBPNG-none}"
55046 echo " regex ${wxUSE_REGEX}"
55047 echo " tiff ${wxUSE_LIBTIFF-none}"
55048 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55049 echo " xpm ${wxUSE_LIBXPM-none}"
55051 echo " zlib ${wxUSE_ZLIB}"
55052 echo " expat ${wxUSE_EXPAT}"
55053 echo " libmspack ${wxUSE_LIBMSPACK}"
55054 echo " sdl ${wxUSE_LIBSDL}"