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 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-bannerwindow use wxBannerWindow class
1813 --enable-artstd use standard XPM icons in wxArtProvider
1814 --enable-arttango use Tango icons in wxArtProvider
1815 --enable-bmpbutton use wxBitmapButton class
1816 --enable-bmpcombobox use wxBitmapComboBox class
1817 --enable-button use wxButton class
1818 --enable-calendar use wxCalendarCtrl class
1819 --enable-caret use wxCaret class
1820 --enable-checkbox use wxCheckBox class
1821 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1822 --enable-choice use wxChoice class
1823 --enable-choicebook use wxChoicebook class
1824 --enable-collpane use wxCollapsiblePane class
1825 --enable-colourpicker use wxColourPickerCtrl class
1826 --enable-combobox use wxComboBox class
1827 --enable-comboctrl use wxComboCtrl class
1828 --enable-commandlinkbutton use wxCommmandLinkButton class
1829 --enable-dataviewctrl use wxDataViewCtrl class
1830 --enable-datepick use wxDatePickerCtrl class
1831 --enable-detect_sm use code to detect X11 session manager
1832 --enable-dirpicker use wxDirPickerCtrl class
1833 --enable-display use wxDisplay class
1834 --enable-editablebox use wxEditableListBox class
1835 --enable-filectrl use wxFileCtrl class
1836 --enable-filepicker use wxFilePickerCtrl class
1837 --enable-fontpicker use wxFontPickerCtrl class
1838 --enable-gauge use wxGauge class
1839 --enable-grid use wxGrid class
1840 --enable-headerctrl use wxHeaderCtrl class
1841 --enable-hyperlink use wxHyperlinkCtrl class
1842 --enable-imaglist use wxImageList class
1843 --enable-infobar use wxInfoBar class
1844 --enable-listbook use wxListbook class
1845 --enable-listbox use wxListBox class
1846 --enable-listctrl use wxListCtrl class
1847 --enable-notebook use wxNotebook class
1848 --enable-notifmsg use wxNotificationMessage class
1849 --enable-odcombobox use wxOwnerDrawnComboBox class
1850 --enable-popupwin use wxPopUpWindow class
1851 --enable-radiobox use wxRadioBox class
1852 --enable-radiobtn use wxRadioButton class
1853 --enable-richmsgdlg use wxRichMessageDialog class
1854 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1855 --enable-sash use wxSashWindow class
1856 --enable-scrollbar use wxScrollBar class and scrollable windows
1857 --enable-searchctrl use wxSearchCtrl class
1858 --enable-slider use wxSlider class
1859 --enable-spinbtn use wxSpinButton class
1860 --enable-spinctrl use wxSpinCtrl class
1861 --enable-splitter use wxSplitterWindow class
1862 --enable-statbmp use wxStaticBitmap class
1863 --enable-statbox use wxStaticBox class
1864 --enable-statline use wxStaticLine class
1865 --enable-stattext use wxStaticText class
1866 --enable-statusbar use wxStatusBar class
1867 --enable-taskbaricon use wxTaskBarIcon class
1868 --enable-tbarnative use native wxToolBar class
1869 --enable-textctrl use wxTextCtrl class
1870 --enable-tipwindow use wxTipWindow class
1871 --enable-togglebtn use wxToggleButton class
1872 --enable-toolbar use wxToolBar class
1873 --enable-toolbook use wxToolbook class
1874 --enable-treebook use wxTreebook class
1875 --enable-treectrl use wxTreeCtrl class
1876 --enable-treelist use wxTreeListCtrl class
1877 --enable-commondlg use all common dialogs
1878 --enable-aboutdlg use wxAboutBox
1879 --enable-choicedlg use wxChoiceDialog
1880 --enable-coldlg use wxColourDialog
1881 --enable-filedlg use wxFileDialog
1882 --enable-finddlg use wxFindReplaceDialog
1883 --enable-fontdlg use wxFontDialog
1884 --enable-dirdlg use wxDirDialog
1885 --enable-msgdlg use wxMessageDialog
1886 --enable-numberdlg use wxNumberEntryDialog
1887 --enable-splash use wxSplashScreen
1888 --enable-textdlg use wxTextDialog
1889 --enable-tipdlg use startup tips
1890 --enable-progressdlg use wxProgressDialog
1891 --enable-wizarddlg use wxWizard
1892 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1893 --enable-miniframe use wxMiniFrame class
1894 --enable-tooltips use wxToolTip class
1895 --enable-splines use spline drawing code
1896 --enable-mousewheel use mousewheel
1897 --enable-validators use wxValidator and derived classes
1898 --enable-busyinfo use wxBusyInfo
1899 --enable-hotkey use wxWindow::RegisterHotKey()
1900 --enable-joystick use wxJoystick
1901 --enable-metafiles use wxMetaFile (Win32 only)
1902 --enable-dragimage use wxDragImage
1903 --enable-accessibility enable accessibility support
1904 --enable-uiactionsim use wxUIActionSimulator (experimental)
1905 --enable-dctransform use wxDC::SetTransformMatrix and related
1906 --enable-palette use wxPalette class
1907 --enable-image use wxImage class
1908 --enable-gif use gif images (GIF file format)
1909 --enable-pcx use pcx images (PCX file format)
1910 --enable-tga use tga images (TGA file format)
1911 --enable-iff use iff images (IFF file format)
1912 --enable-pnm use pnm images (PNM file format)
1913 --enable-xpm use xpm images (XPM file format)
1914 --enable-ico_cur use Windows ICO and CUR formats
1915 --enable-dccache cache temporary wxDC objects (Win32 only)
1916 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1917 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1918 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1919 --enable-wxdib use wxDIB class (Win32 only)
1920 --enable-autoidman use automatic ids management
1921 --disable-largefile omit support for large files
1922 --disable-gtktest do not try to compile and run a test GTK+ program
1923 --disable-gtktest Do not try to compile and run a test GTK program
1924 --disable-sdltest Do not try to compile and run a test SDL program
1925 --enable-omf use OMF object format (OS/2)
1926 --disable-dependency-tracking
1927 don't use dependency tracking even if the compiler
1929 --disable-precomp-headers
1930 don't use precompiled headers even if compiler can
1933 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1934 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1935 --without-subdirs don't generate makefiles for samples/demos/...
1936 --with-flavour=NAME specify a name to identify this build
1937 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1938 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1939 --with-motif use Motif/Lesstif
1940 --with-osx_carbon use Mac OS X (Carbon)
1941 --with-osx_cocoa use Mac OS X (Cocoa)
1942 --with-osx_iphone use iPhone OS X port
1943 --with-osx use Mac OS X (default port, currently Carbon)
1944 --with-carbon same as --with-osx_carbon
1945 --with-cocoa same as --with-osx_cocoa
1946 --with-iphone same as --with-osx_iphone
1947 --with-mac same as --with-osx
1948 --with-old_cocoa use old, deprecated, Cocoa port
1949 --with-wine use Wine
1950 --with-msw use MS-Windows
1951 --with-pm use OS/2 Presentation Manager
1952 --with-mgl use SciTech MGL
1953 --with-directfb use DirectFB
1954 --with-microwin use MicroWindows
1956 --with-libpng use libpng (PNG image format)
1957 --with-libjpeg use libjpeg (JPEG file format)
1958 --with-libtiff use libtiff (TIFF file format)
1959 --with-libxpm use libxpm (XPM file format)
1960 --with-libiconv use libiconv (character conversion)
1961 --with-libmspack use libmspack (CHM help files loading)
1962 --without-gtkprint don't use GTK printing support
1963 --without-gnomeprint don't use GNOME printing libraries
1964 --with-gnomevfs use GNOME VFS for associating MIME types
1965 --with-hildon use Hildon framework for Nokia 770/800/810
1966 --with-opengl use OpenGL (or Mesa)
1967 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1968 --with-sdl use SDL for audio on Unix
1969 --with-regex enable support for wxRegEx class
1970 --with-zlib use zlib for LZW compression
1971 --with-expat enable XML support using expat parser
1972 --with-macosx-sdk=PATH use an OS X SDK at PATH
1973 --with-macosx-version-min=VER build binaries which require at least this OS X version
1974 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1975 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1976 --with-x use the X Window System
1977 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1978 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1979 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1980 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1981 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1983 Some influential environment variables:
1984 CC C compiler command
1985 CFLAGS C compiler flags
1986 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1987 nonstandard directory <lib dir>
1988 LIBS libraries to pass to the linker, e.g. -l<library>
1989 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1990 you have headers in a nonstandard directory <include dir>
1992 CXX C++ compiler command
1993 CXXFLAGS C++ compiler flags
1994 CXXCPP C++ preprocessor
1995 PKG_CONFIG path to pkg-config utility
1997 C compiler flags for DIRECTFB, overriding pkg-config
1999 linker flags for DIRECTFB, overriding pkg-config
2000 XMKMF Path to xmkmf, Makefile generator for X Window System
2002 C compiler flags for PANGOX, overriding pkg-config
2003 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2005 C compiler flags for PANGOFT2, overriding pkg-config
2007 linker flags for PANGOFT2, overriding pkg-config
2009 C compiler flags for PANGOXFT, overriding pkg-config
2011 linker flags for PANGOXFT, overriding pkg-config
2013 C compiler flags for GTKPRINT, overriding pkg-config
2015 linker flags for GTKPRINT, overriding pkg-config
2016 LIBGNOMEPRINTUI_CFLAGS
2017 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2018 LIBGNOMEPRINTUI_LIBS
2019 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2021 C compiler flags for GNOMEVFS, overriding pkg-config
2023 linker flags for GNOMEVFS, overriding pkg-config
2025 C compiler flags for HILDON, overriding pkg-config
2026 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2028 C compiler flags for HILDON2, overriding pkg-config
2030 linker flags for HILDON2, overriding pkg-config
2032 C compiler flags for CAIRO, overriding pkg-config
2033 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2034 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2035 GST_LIBS linker flags for GST, overriding pkg-config
2037 Use these variables to override the choices made by `configure' or to help
2038 it to find libraries and programs with nonstandard names/locations.
2040 Report bugs to <wx-dev@lists.wxwidgets.org>.
2045 if test "$ac_init_help" = "recursive"; then
2046 # If there are subdirs, report their specific --help.
2047 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2048 test -d "$ac_dir" || continue
2052 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2054 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2055 # A ".." for each directory in $ac_dir_suffix.
2056 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2057 case $ac_top_builddir_sub in
2058 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2059 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2062 ac_abs_top_builddir=$ac_pwd
2063 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2064 # for backward compatibility:
2065 ac_top_builddir=$ac_top_build_prefix
2068 .) # We are building in place.
2070 ac_top_srcdir=$ac_top_builddir_sub
2071 ac_abs_top_srcdir=$ac_pwd ;;
2072 [\\/]* | ?:[\\/]* ) # Absolute name.
2073 ac_srcdir=$srcdir$ac_dir_suffix;
2074 ac_top_srcdir=$srcdir
2075 ac_abs_top_srcdir=$srcdir ;;
2077 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2078 ac_top_srcdir=$ac_top_build_prefix$srcdir
2079 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2081 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2083 cd "$ac_dir" || { ac_status=$?; continue; }
2084 # Check for guested configure.
2085 if test -f "$ac_srcdir/configure.gnu"; then
2087 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2088 elif test -f "$ac_srcdir/configure"; then
2090 $SHELL "$ac_srcdir/configure" --help=recursive
2092 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2094 cd "$ac_pwd" || { ac_status=$?; break; }
2098 test -n "$ac_init_help" && exit $ac_status
2099 if $ac_init_version; then
2101 wxWidgets configure 2.9.3
2102 generated by GNU Autoconf 2.61
2104 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2105 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2106 This configure script is free software; the Free Software Foundation
2107 gives unlimited permission to copy, distribute and modify it.
2111 cat >config.log <<_ACEOF
2112 This file contains any messages produced by compilers while
2113 running configure, to aid debugging if configure makes a mistake.
2115 It was created by wxWidgets $as_me 2.9.3, which was
2116 generated by GNU Autoconf 2.61. Invocation command line was
2128 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2129 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2130 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2131 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2132 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2134 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2135 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2137 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2138 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2139 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2140 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2141 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2142 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2143 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 echo "PATH: $as_dir"
2168 # Keep a trace of the command line.
2169 # Strip out --no-create and --no-recursion so they do not pile up.
2170 # Strip out --silent because we don't want to record it for future runs.
2171 # Also quote any args containing shell meta-characters.
2172 # Make two passes to allow for proper duplicate-argument suppression.
2176 ac_must_keep_next=false
2182 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2184 | -silent | --silent | --silen | --sile | --sil)
2187 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2190 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2192 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2193 if test $ac_must_keep_next = true; then
2194 ac_must_keep_next=false # Got value, back to normal.
2197 *=* | --config-cache | -C | -disable-* | --disable-* \
2198 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2199 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2200 | -with-* | --with-* | -without-* | --without-* | --x)
2201 case "$ac_configure_args0 " in
2202 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2205 -* ) ac_must_keep_next=true ;;
2208 ac_configure_args="$ac_configure_args '$ac_arg'"
2213 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2214 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2216 # When interrupted or exit'd, cleanup temporary files, and complete
2217 # config.log. We remove comments because anyway the quotes in there
2218 # would cause problems or look ugly.
2219 # WARNING: Use '\'' to represent an apostrophe within the trap.
2220 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2221 trap 'exit_status=$?
2222 # Save into config.log some information that might help in debugging.
2227 ## ---------------- ##
2228 ## Cache variables. ##
2229 ## ---------------- ##
2232 # The following way of writing the cache mishandles newlines in values,
2234 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2235 eval ac_val=\$$ac_var
2239 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2240 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2243 _ | IFS | as_nl) ;; #(
2244 *) $as_unset $ac_var ;;
2249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2250 *${as_nl}ac_space=\ *)
2252 "s/'\''/'\''\\\\'\'''\''/g;
2253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2264 ## ----------------- ##
2265 ## Output variables. ##
2266 ## ----------------- ##
2269 for ac_var in $ac_subst_vars
2271 eval ac_val=\$$ac_var
2273 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2275 echo "$ac_var='\''$ac_val'\''"
2279 if test -n "$ac_subst_files"; then
2281 ## ------------------- ##
2282 ## File substitutions. ##
2283 ## ------------------- ##
2286 for ac_var in $ac_subst_files
2288 eval ac_val=\$$ac_var
2290 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2292 echo "$ac_var='\''$ac_val'\''"
2297 if test -s confdefs.h; then
2307 test "$ac_signal" != 0 &&
2308 echo "$as_me: caught signal $ac_signal"
2309 echo "$as_me: exit $exit_status"
2311 rm -f core *.core core.conftest.* &&
2312 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2315 for ac_signal in 1 2 13 15; do
2316 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2321 rm -f -r conftest* confdefs.h
2323 # Predefined preprocessor variables.
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_NAME "$PACKAGE_NAME"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_STRING "$PACKAGE_STRING"
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2350 # Let the site file select an alternate cache file if it wants to.
2351 # Prefer explicitly selected file to automatically selected ones.
2352 if test -n "$CONFIG_SITE"; then
2353 set x "$CONFIG_SITE"
2354 elif test "x$prefix" != xNONE; then
2355 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2357 set x "$ac_default_prefix/share/config.site" \
2358 "$ac_default_prefix/etc/config.site"
2363 if test -r "$ac_site_file"; then
2364 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2365 echo "$as_me: loading site script $ac_site_file" >&6;}
2366 sed 's/^/| /' "$ac_site_file" >&5
2371 if test -r "$cache_file"; then
2372 # Some versions of bash will fail to source /dev/null (special
2373 # files actually), so we avoid doing that.
2374 if test -f "$cache_file"; then
2375 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2376 echo "$as_me: loading cache $cache_file" >&6;}
2378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2379 *) . "./$cache_file";;
2383 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2384 echo "$as_me: creating cache $cache_file" >&6;}
2388 # Check that the precious variables saved in the cache have kept the same
2390 ac_cache_corrupted=false
2391 for ac_var in $ac_precious_vars; do
2392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2393 eval ac_new_set=\$ac_env_${ac_var}_set
2394 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2395 eval ac_new_val=\$ac_env_${ac_var}_value
2396 case $ac_old_set,$ac_new_set in
2398 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2399 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2400 ac_cache_corrupted=: ;;
2402 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2403 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2404 ac_cache_corrupted=: ;;
2407 if test "x$ac_old_val" != "x$ac_new_val"; then
2408 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2409 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2410 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2411 echo "$as_me: former value: $ac_old_val" >&2;}
2412 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2413 echo "$as_me: current value: $ac_new_val" >&2;}
2414 ac_cache_corrupted=:
2417 # Pass precious variables to config.status.
2418 if test "$ac_new_set" = set; then
2420 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2421 *) ac_arg=$ac_var=$ac_new_val ;;
2423 case " $ac_configure_args " in
2424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2425 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2429 if $ac_cache_corrupted; then
2430 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2431 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2432 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2433 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2434 { (exit 1); exit 1; }; }
2462 ac_cpp='$CPP $CPPFLAGS'
2463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2472 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2473 if test -f "$ac_dir/install-sh"; then
2475 ac_install_sh="$ac_aux_dir/install-sh -c"
2477 elif test -f "$ac_dir/install.sh"; then
2479 ac_install_sh="$ac_aux_dir/install.sh -c"
2481 elif test -f "$ac_dir/shtool"; then
2483 ac_install_sh="$ac_aux_dir/shtool install -c"
2487 if test -z "$ac_aux_dir"; then
2488 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2489 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2490 { (exit 1); exit 1; }; }
2493 # These three variables are undocumented and unsupported,
2494 # and are intended to be withdrawn in a future Autoconf release.
2495 # They can cause serious problems if a builder's source tree is in a directory
2496 # whose full name contains unusual characters.
2497 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2498 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2499 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2502 # Make sure we can run config.sub.
2503 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2504 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2505 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2506 { (exit 1); exit 1; }; }
2508 { echo "$as_me:$LINENO: checking build system type" >&5
2509 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2510 if test "${ac_cv_build+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 ac_build_alias=$build_alias
2514 test "x$ac_build_alias" = x &&
2515 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2516 test "x$ac_build_alias" = x &&
2517 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2518 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2519 { (exit 1); exit 1; }; }
2520 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2521 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2522 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2523 { (exit 1); exit 1; }; }
2526 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2527 echo "${ECHO_T}$ac_cv_build" >&6; }
2528 case $ac_cv_build in
2530 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2531 echo "$as_me: error: invalid value of canonical build" >&2;}
2532 { (exit 1); exit 1; }; };;
2535 ac_save_IFS=$IFS; IFS='-'
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2545 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2548 { echo "$as_me:$LINENO: checking host system type" >&5
2549 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2550 if test "${ac_cv_host+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if test "x$host_alias" = x; then
2554 ac_cv_host=$ac_cv_build
2556 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2557 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2558 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2559 { (exit 1); exit 1; }; }
2563 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2564 echo "${ECHO_T}$ac_cv_host" >&6; }
2567 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2568 echo "$as_me: error: invalid value of canonical host" >&2;}
2569 { (exit 1); exit 1; }; };;
2572 ac_save_IFS=$IFS; IFS='-'
2578 # Remember, the first character of IFS is used to create $*,
2579 # except with old shells:
2582 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2586 if test "$cross_compiling" != "no"; then
2587 HOST_PREFIX="${host_alias}-"
2588 HOST_SUFFIX="-$host_alias"
2595 wx_major_version_number=2
2596 wx_minor_version_number=9
2598 wx_subrelease_number=0
2600 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2601 WX_VERSION=$WX_RELEASE.$wx_release_number
2602 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2604 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2607 wx_top_builddir="`pwd`"
2620 USE_BSD= USE_DARWIN= USE_FREEBSD=
2626 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2632 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2634 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2636 DEFAULT_wxUSE_OLD_COCOA=0
2638 DEFAULT_wxUSE_OSX_CARBON=0
2639 DEFAULT_wxUSE_OSX_COCOA=0
2640 DEFAULT_wxUSE_OSX_IPHONE=0
2642 DEFAULT_wxUSE_MICROWIN=0
2643 DEFAULT_wxUSE_MOTIF=0
2649 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2650 DEFAULT_DEFAULT_wxUSE_GTK=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2652 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2653 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2654 DEFAULT_DEFAULT_wxUSE_MGL=0
2655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2657 DEFAULT_DEFAULT_wxUSE_MSW=0
2658 DEFAULT_DEFAULT_wxUSE_PM=0
2659 DEFAULT_DEFAULT_wxUSE_X11=0
2660 DEFAULT_DEFAULT_wxUSE_DFB=0
2664 DYLIB_RPATH_INSTALL=
2665 DYLIB_RPATH_POSTLINK=
2667 DEFAULT_STD_FLAG=yes
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2674 cat >>confdefs.h <<\_ACEOF
2679 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2683 cat >>confdefs.h <<\_ACEOF
2688 if test "x$TMP" = "xalpha"; then
2690 cat >>confdefs.h <<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2697 *-*-gnu* | *-*-k*bsd*-gnu )
2700 if test "x$TMP" = "xalpha"; then
2702 cat >>confdefs.h <<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 *-*-irix5* | *-*-irix6* )
2712 cat >>confdefs.h <<\_ACEOF
2716 cat >>confdefs.h <<\_ACEOF
2720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2724 cat >>confdefs.h <<\_ACEOF
2728 DEFAULT_DEFAULT_wxUSE_X11=1
2734 cat >>confdefs.h <<\_ACEOF
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __SOLARIS__ 1
2742 cat >>confdefs.h <<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2753 cat >>confdefs.h <<\_ACEOF
2757 cat >>confdefs.h <<\_ACEOF
2761 cat >>confdefs.h <<\_ACEOF
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __FREEBSD__ 1
2774 cat >>confdefs.h <<\_ACEOF
2778 DEFAULT_DEFAULT_wxUSE_GTK=1
2780 *-*-openbsd*|*-*-mirbsd*)
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __OPENBSD__ 1
2787 cat >>confdefs.h <<\_ACEOF
2791 DEFAULT_DEFAULT_wxUSE_GTK=1
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __NETBSD__ 1
2800 cat >>confdefs.h <<\_ACEOF
2804 DEFAULT_DEFAULT_wxUSE_GTK=1
2805 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2807 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2812 cat >>confdefs.h <<\_ACEOF
2816 cat >>confdefs.h <<\_ACEOF
2820 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2821 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2826 cat >>confdefs.h <<\_ACEOF
2830 cat >>confdefs.h <<\_ACEOF
2834 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2839 cat >>confdefs.h <<\_ACEOF
2843 cat >>confdefs.h <<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2853 cat >>confdefs.h <<\_ACEOF
2857 cat >>confdefs.h <<\_ACEOF
2861 cat >>confdefs.h <<\_ACEOF
2865 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __UNIXWARE__ 1
2878 *-*-cygwin* | *-*-mingw32* )
2880 DEFAULT_DEFAULT_wxUSE_MSW=1
2886 cat >>confdefs.h <<\_ACEOF
2891 DEFAULT_DEFAULT_wxUSE_MGL=1
2894 *-pc-os2_emx | *-pc-os2-emx )
2895 cat >>confdefs.h <<\_ACEOF
2900 cat >>confdefs.h <<\_ACEOF
2905 DEFAULT_DEFAULT_wxUSE_PM=1
2907 LDFLAGS="$LDFLAGS -Zcrtdll"
2908 ac_executable_extensions=".exe"
2909 export ac_executable_extensions
2913 for ac_dir in $PATH; do
2915 if test -z "$ac_TEMP_PATH"; then
2916 ac_TEMP_PATH="$ac_dir"
2918 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2921 export PATH="$ac_TEMP_PATH"
2929 cat >>confdefs.h <<\_ACEOF
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __DARWIN__ 1
2937 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2943 cat >>confdefs.h <<\_ACEOF
2947 cat >>confdefs.h <<\_ACEOF
2948 #define __DARWIN__ 1
2951 cat >>confdefs.h <<\_ACEOF
2952 #define TARGET_CARBON 1
2955 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2960 cat >>confdefs.h <<\_ACEOF
2967 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2968 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2969 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2970 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2972 DEFAULT_DEFAULT_wxUSE_X11=1
2973 DEFAULT_wxUSE_SHARED=no
2978 DEFAULT_wxUSE_ALL_FEATURES=yes
2980 DEFAULT_wxUSE_STD_CONTAINERS=no
2981 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2982 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2984 DEFAULT_wxUSE_DMALLOC=no
2985 DEFAULT_wxUSE_LIBGNOMEVFS=no
2986 DEFAULT_wxUSE_LIBHILDON=no
2987 DEFAULT_wxUSE_LIBHILDON2=no
2988 DEFAULT_wxUSE_LIBMSPACK=no
2989 DEFAULT_wxUSE_LIBSDL=no
2991 DEFAULT_wxUSE_ACCESSIBILITY=no
2992 DEFAULT_wxUSE_IPV6=no
2993 DEFAULT_wxUSE_GSTREAMER8=no
2995 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2996 DEFAULT_wxUSE_UNICODE_UTF8=auto
2997 DEFAULT_wxUSE_OPENGL=auto
2998 DEFAULT_wxUSE_MEDIACTRL=auto
2999 DEFAULT_wxUSE_COMPILER_TLS=auto
3000 DEFAULT_wxUSE_HOTKEY=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 defaultval=$wxUSE_ALL_FEATURES
9768 if test -z "$defaultval"; then
9769 if test x"$enablestring" = xdisable; then
9776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9778 # Check whether --enable-metafile was given.
9779 if test "${enable_metafile+set}" = set; then
9780 enableval=$enable_metafile;
9781 if test "$enableval" = yes; then
9782 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9784 wx_cv_use_metafile='wxUSE_METAFILE=no'
9789 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9794 eval "$wx_cv_use_metafile"
9796 if test x"$enablestring" = xdisable; then
9797 if test $wxUSE_METAFILE = no; then
9803 result=$wxUSE_METAFILE
9806 { echo "$as_me:$LINENO: result: $result" >&5
9807 echo "${ECHO_T}$result" >&6; }
9811 DEFAULT_wxUSE_CONTROLS=none
9813 enablestring=disable
9815 if test -z "$defaultval"; then
9816 if test x"$enablestring" = xdisable; then
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9825 # Check whether --enable-controls was given.
9826 if test "${enable_controls+set}" = set; then
9827 enableval=$enable_controls;
9828 if test "$enableval" = yes; then
9829 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9831 wx_cv_use_controls='wxUSE_CONTROLS=no'
9836 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9841 eval "$wx_cv_use_controls"
9843 if test x"$enablestring" = xdisable; then
9844 if test $wxUSE_CONTROLS = no; then
9850 result=$wxUSE_CONTROLS
9853 { echo "$as_me:$LINENO: result: $result" >&5
9854 echo "${ECHO_T}$result" >&6; }
9857 if test "$wxUSE_CONTROLS" = "no"; then
9858 DEFAULT_wxUSE_ACCEL=no
9859 DEFAULT_wxUSE_ANIMATIONCTRL=no
9860 DEFAULT_wxUSE_BANNERWINDOW=no
9861 DEFAULT_wxUSE_BMPBUTTON=no
9862 DEFAULT_wxUSE_BUTTON=no
9863 DEFAULT_wxUSE_CALCTRL=no
9864 DEFAULT_wxUSE_CARET=no
9865 DEFAULT_wxUSE_CHECKBOX=no
9866 DEFAULT_wxUSE_CHECKLISTBOX=no
9867 DEFAULT_wxUSE_CHOICE=no
9868 DEFAULT_wxUSE_CHOICEBOOK=no
9869 DEFAULT_wxUSE_COLLPANE=no
9870 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9871 DEFAULT_wxUSE_COMBOBOX=no
9872 DEFAULT_wxUSE_COMBOBOX=no
9873 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9874 DEFAULT_wxUSE_DATAVIEWCTRL=no
9875 DEFAULT_wxUSE_DATEPICKCTRL=no
9876 DEFAULT_wxUSE_DETECT_SM=no
9877 DEFAULT_wxUSE_DIRPICKERCTRL=no
9878 DEFAULT_wxUSE_DISPLAY=no
9879 DEFAULT_wxUSE_FILECTRL=no
9880 DEFAULT_wxUSE_FILEPICKERCTRL=no
9881 DEFAULT_wxUSE_FONTPICKERCTRL=no
9882 DEFAULT_wxUSE_GAUGE=no
9883 DEFAULT_wxUSE_GRID=no
9884 DEFAULT_wxUSE_HEADERCTRL=no
9885 DEFAULT_wxUSE_HYPERLINKCTRL=no
9886 DEFAULT_wxUSE_IMAGLIST=no
9887 DEFAULT_wxUSE_LISTBOOK=no
9888 DEFAULT_wxUSE_LISTBOX=no
9889 DEFAULT_wxUSE_LISTCTRL=no
9890 DEFAULT_wxUSE_MARKUP=no
9891 DEFAULT_wxUSE_NOTEBOOK=no
9892 DEFAULT_wxUSE_POPUPWIN=no
9893 DEFAULT_wxUSE_RADIOBOX=no
9894 DEFAULT_wxUSE_RADIOBTN=no
9895 DEFAULT_wxUSE_RICHMSGDLG=no
9896 DEFAULT_wxUSE_REARRANGECTRL=no
9897 DEFAULT_wxUSE_SASH=no
9898 DEFAULT_wxUSE_SCROLLBAR=no
9899 DEFAULT_wxUSE_SEARCHCTRL=no
9900 DEFAULT_wxUSE_SLIDER=no
9901 DEFAULT_wxUSE_SPINBTN=no
9902 DEFAULT_wxUSE_SPINCTRL=no
9903 DEFAULT_wxUSE_SPLITTER=no
9904 DEFAULT_wxUSE_STATBMP=no
9905 DEFAULT_wxUSE_STATBOX=no
9906 DEFAULT_wxUSE_STATLINE=no
9907 DEFAULT_wxUSE_STATUSBAR=no
9908 DEFAULT_wxUSE_TIPWINDOW=no
9909 DEFAULT_wxUSE_TOGGLEBTN=no
9910 DEFAULT_wxUSE_TOOLBAR=no
9911 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9912 DEFAULT_wxUSE_TOOLBOOK=no
9913 DEFAULT_wxUSE_TOOLTIPS=no
9914 DEFAULT_wxUSE_TREEBOOK=no
9915 DEFAULT_wxUSE_TREECTRL=no
9916 DEFAULT_wxUSE_TREELISTCTRL=no
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9932 # Check whether --enable-markup was given.
9933 if test "${enable_markup+set}" = set; then
9934 enableval=$enable_markup;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_markup='wxUSE_MARKUP=yes'
9938 wx_cv_use_markup='wxUSE_MARKUP=no'
9943 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9948 eval "$wx_cv_use_markup"
9950 if test x"$enablestring" = xdisable; then
9951 if test $wxUSE_MARKUP = no; then
9957 result=$wxUSE_MARKUP
9960 { echo "$as_me:$LINENO: result: $result" >&5
9961 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}-accel" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9977 # Check whether --enable-accel was given.
9978 if test "${enable_accel+set}" = set; then
9979 enableval=$enable_accel;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_accel='wxUSE_ACCEL=yes'
9983 wx_cv_use_accel='wxUSE_ACCEL=no'
9988 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9993 eval "$wx_cv_use_accel"
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_ACCEL = no; then
10002 result=$wxUSE_ACCEL
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}-animatectrl" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10021 # Check whether --enable-animatectrl was given.
10022 if test "${enable_animatectrl+set}" = set; then
10023 enableval=$enable_animatectrl;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10027 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10032 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10037 eval "$wx_cv_use_animatectrl"
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_ANIMATIONCTRL = no; then
10046 result=$wxUSE_ANIMATIONCTRL
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}-bannerwindow" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10065 # Check whether --enable-bannerwindow was given.
10066 if test "${enable_bannerwindow+set}" = set; then
10067 enableval=$enable_bannerwindow;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10071 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10076 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10081 eval "$wx_cv_use_bannerwindow"
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_BANNERWINDOW = no; then
10090 result=$wxUSE_BANNERWINDOW
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}-artstd" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10109 # Check whether --enable-artstd was given.
10110 if test "${enable_artstd+set}" = set; then
10111 enableval=$enable_artstd;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10115 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10120 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10125 eval "$wx_cv_use_artstd"
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_ARTPROVIDER_STD = no; then
10134 result=$wxUSE_ARTPROVIDER_STD
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}-arttango" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10153 # Check whether --enable-arttango was given.
10154 if test "${enable_arttango+set}" = set; then
10155 enableval=$enable_arttango;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10159 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10164 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10169 eval "$wx_cv_use_arttango"
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10178 result=$wxUSE_ARTPROVIDER_TANGO
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}-bmpbutton" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10197 # Check whether --enable-bmpbutton was given.
10198 if test "${enable_bmpbutton+set}" = set; then
10199 enableval=$enable_bmpbutton;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10203 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10208 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10213 eval "$wx_cv_use_bmpbutton"
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_BMPBUTTON = no; then
10222 result=$wxUSE_BMPBUTTON
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}-bmpcombobox" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10241 # Check whether --enable-bmpcombobox was given.
10242 if test "${enable_bmpcombobox+set}" = set; then
10243 enableval=$enable_bmpcombobox;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10247 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10252 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10257 eval "$wx_cv_use_bmpcombobox"
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_BITMAPCOMBOBOX = no; then
10266 result=$wxUSE_BITMAPCOMBOBOX
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}-button" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10285 # Check whether --enable-button was given.
10286 if test "${enable_button+set}" = set; then
10287 enableval=$enable_button;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_button='wxUSE_BUTTON=yes'
10291 wx_cv_use_button='wxUSE_BUTTON=no'
10296 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10301 eval "$wx_cv_use_button"
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_BUTTON = no; then
10310 result=$wxUSE_BUTTON
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}-calendar" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10329 # Check whether --enable-calendar was given.
10330 if test "${enable_calendar+set}" = set; then
10331 enableval=$enable_calendar;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10335 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10340 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10345 eval "$wx_cv_use_calendar"
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_CALCTRL = no; then
10354 result=$wxUSE_CALCTRL
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}-caret" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10373 # Check whether --enable-caret was given.
10374 if test "${enable_caret+set}" = set; then
10375 enableval=$enable_caret;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_caret='wxUSE_CARET=yes'
10379 wx_cv_use_caret='wxUSE_CARET=no'
10384 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10389 eval "$wx_cv_use_caret"
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_CARET = no; then
10398 result=$wxUSE_CARET
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}-checkbox" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10417 # Check whether --enable-checkbox was given.
10418 if test "${enable_checkbox+set}" = set; then
10419 enableval=$enable_checkbox;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10423 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10428 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10433 eval "$wx_cv_use_checkbox"
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_CHECKBOX = no; then
10442 result=$wxUSE_CHECKBOX
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}-checklst" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10461 # Check whether --enable-checklst was given.
10462 if test "${enable_checklst+set}" = set; then
10463 enableval=$enable_checklst;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10467 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10472 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10477 eval "$wx_cv_use_checklst"
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_CHECKLST = no; then
10486 result=$wxUSE_CHECKLST
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}-choice" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10505 # Check whether --enable-choice was given.
10506 if test "${enable_choice+set}" = set; then
10507 enableval=$enable_choice;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_choice='wxUSE_CHOICE=yes'
10511 wx_cv_use_choice='wxUSE_CHOICE=no'
10516 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10521 eval "$wx_cv_use_choice"
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_CHOICE = no; then
10530 result=$wxUSE_CHOICE
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}-choicebook" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10549 # Check whether --enable-choicebook was given.
10550 if test "${enable_choicebook+set}" = set; then
10551 enableval=$enable_choicebook;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10555 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10560 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10565 eval "$wx_cv_use_choicebook"
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_CHOICEBOOK = no; then
10574 result=$wxUSE_CHOICEBOOK
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}-collpane" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10593 # Check whether --enable-collpane was given.
10594 if test "${enable_collpane+set}" = set; then
10595 enableval=$enable_collpane;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10599 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10604 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10609 eval "$wx_cv_use_collpane"
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_COLLPANE = no; then
10618 result=$wxUSE_COLLPANE
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}-colourpicker" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10637 # Check whether --enable-colourpicker was given.
10638 if test "${enable_colourpicker+set}" = set; then
10639 enableval=$enable_colourpicker;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10643 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10648 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10653 eval "$wx_cv_use_colourpicker"
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_COLOURPICKERCTRL = no; then
10662 result=$wxUSE_COLOURPICKERCTRL
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}-combobox" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10681 # Check whether --enable-combobox was given.
10682 if test "${enable_combobox+set}" = set; then
10683 enableval=$enable_combobox;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10687 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10692 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10697 eval "$wx_cv_use_combobox"
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_COMBOBOX = no; then
10706 result=$wxUSE_COMBOBOX
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}-comboctrl" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10725 # Check whether --enable-comboctrl was given.
10726 if test "${enable_comboctrl+set}" = set; then
10727 enableval=$enable_comboctrl;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10731 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10736 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10741 eval "$wx_cv_use_comboctrl"
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_COMBOCTRL = no; then
10750 result=$wxUSE_COMBOCTRL
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}-commandlinkbutton" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10769 # Check whether --enable-commandlinkbutton was given.
10770 if test "${enable_commandlinkbutton+set}" = set; then
10771 enableval=$enable_commandlinkbutton;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10775 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10780 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10785 eval "$wx_cv_use_commandlinkbutton"
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_COMMANDLINKBUTTON = no; then
10794 result=$wxUSE_COMMANDLINKBUTTON
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}-dataviewctrl" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10813 # Check whether --enable-dataviewctrl was given.
10814 if test "${enable_dataviewctrl+set}" = set; then
10815 enableval=$enable_dataviewctrl;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10819 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10824 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10829 eval "$wx_cv_use_dataviewctrl"
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_DATAVIEWCTRL = no; then
10838 result=$wxUSE_DATAVIEWCTRL
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}-datepick" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10857 # Check whether --enable-datepick was given.
10858 if test "${enable_datepick+set}" = set; then
10859 enableval=$enable_datepick;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10863 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10868 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10873 eval "$wx_cv_use_datepick"
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_DATEPICKCTRL = no; then
10882 result=$wxUSE_DATEPICKCTRL
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}-detect_sm" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10901 # Check whether --enable-detect_sm was given.
10902 if test "${enable_detect_sm+set}" = set; then
10903 enableval=$enable_detect_sm;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10907 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10912 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10917 eval "$wx_cv_use_detect_sm"
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_DETECT_SM = no; then
10926 result=$wxUSE_DETECT_SM
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}-dirpicker" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10945 # Check whether --enable-dirpicker was given.
10946 if test "${enable_dirpicker+set}" = set; then
10947 enableval=$enable_dirpicker;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10951 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10956 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10961 eval "$wx_cv_use_dirpicker"
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_DIRPICKERCTRL = no; then
10970 result=$wxUSE_DIRPICKERCTRL
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}-display" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10989 # Check whether --enable-display was given.
10990 if test "${enable_display+set}" = set; then
10991 enableval=$enable_display;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_display='wxUSE_DISPLAY=yes'
10995 wx_cv_use_display='wxUSE_DISPLAY=no'
11000 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11005 eval "$wx_cv_use_display"
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_DISPLAY = no; then
11014 result=$wxUSE_DISPLAY
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}-editablebox" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11033 # Check whether --enable-editablebox was given.
11034 if test "${enable_editablebox+set}" = set; then
11035 enableval=$enable_editablebox;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11039 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11044 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11049 eval "$wx_cv_use_editablebox"
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_EDITABLELISTBOX = no; then
11058 result=$wxUSE_EDITABLELISTBOX
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}-filectrl" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11077 # Check whether --enable-filectrl was given.
11078 if test "${enable_filectrl+set}" = set; then
11079 enableval=$enable_filectrl;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11083 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11088 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11093 eval "$wx_cv_use_filectrl"
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_FILECTRL = no; then
11102 result=$wxUSE_FILECTRL
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}-filepicker" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11121 # Check whether --enable-filepicker was given.
11122 if test "${enable_filepicker+set}" = set; then
11123 enableval=$enable_filepicker;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11127 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11132 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11137 eval "$wx_cv_use_filepicker"
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_FILEPICKERCTRL = no; then
11146 result=$wxUSE_FILEPICKERCTRL
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}-fontpicker" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11165 # Check whether --enable-fontpicker was given.
11166 if test "${enable_fontpicker+set}" = set; then
11167 enableval=$enable_fontpicker;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11171 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11176 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11181 eval "$wx_cv_use_fontpicker"
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_FONTPICKERCTRL = no; then
11190 result=$wxUSE_FONTPICKERCTRL
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}-gauge" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11209 # Check whether --enable-gauge was given.
11210 if test "${enable_gauge+set}" = set; then
11211 enableval=$enable_gauge;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11215 wx_cv_use_gauge='wxUSE_GAUGE=no'
11220 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11225 eval "$wx_cv_use_gauge"
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_GAUGE = no; then
11234 result=$wxUSE_GAUGE
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}-grid" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11253 # Check whether --enable-grid was given.
11254 if test "${enable_grid+set}" = set; then
11255 enableval=$enable_grid;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_grid='wxUSE_GRID=yes'
11259 wx_cv_use_grid='wxUSE_GRID=no'
11264 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11269 eval "$wx_cv_use_grid"
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_GRID = no; then
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}-headerctrl" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11297 # Check whether --enable-headerctrl was given.
11298 if test "${enable_headerctrl+set}" = set; then
11299 enableval=$enable_headerctrl;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11303 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11308 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11313 eval "$wx_cv_use_headerctrl"
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_HEADERCTRL = no; then
11322 result=$wxUSE_HEADERCTRL
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}-hyperlink" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11341 # Check whether --enable-hyperlink was given.
11342 if test "${enable_hyperlink+set}" = set; then
11343 enableval=$enable_hyperlink;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11347 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11352 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11357 eval "$wx_cv_use_hyperlink"
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_HYPERLINKCTRL = no; then
11366 result=$wxUSE_HYPERLINKCTRL
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}-imaglist" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11385 # Check whether --enable-imaglist was given.
11386 if test "${enable_imaglist+set}" = set; then
11387 enableval=$enable_imaglist;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11391 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11396 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11401 eval "$wx_cv_use_imaglist"
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_IMAGLIST = no; then
11410 result=$wxUSE_IMAGLIST
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}-infobar" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11429 # Check whether --enable-infobar was given.
11430 if test "${enable_infobar+set}" = set; then
11431 enableval=$enable_infobar;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11435 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11440 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11445 eval "$wx_cv_use_infobar"
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_INFOBAR = no; then
11454 result=$wxUSE_INFOBAR
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}-listbook" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11473 # Check whether --enable-listbook was given.
11474 if test "${enable_listbook+set}" = set; then
11475 enableval=$enable_listbook;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11479 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11484 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11489 eval "$wx_cv_use_listbook"
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_LISTBOOK = no; then
11498 result=$wxUSE_LISTBOOK
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}-listbox" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11517 # Check whether --enable-listbox was given.
11518 if test "${enable_listbox+set}" = set; then
11519 enableval=$enable_listbox;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11523 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11528 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11533 eval "$wx_cv_use_listbox"
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_LISTBOX = no; then
11542 result=$wxUSE_LISTBOX
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}-listctrl" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11561 # Check whether --enable-listctrl was given.
11562 if test "${enable_listctrl+set}" = set; then
11563 enableval=$enable_listctrl;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11567 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11572 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11577 eval "$wx_cv_use_listctrl"
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_LISTCTRL = no; then
11586 result=$wxUSE_LISTCTRL
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}-notebook" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11605 # Check whether --enable-notebook was given.
11606 if test "${enable_notebook+set}" = set; then
11607 enableval=$enable_notebook;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11611 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11616 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11621 eval "$wx_cv_use_notebook"
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_NOTEBOOK = no; then
11630 result=$wxUSE_NOTEBOOK
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}-notifmsg" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11649 # Check whether --enable-notifmsg was given.
11650 if test "${enable_notifmsg+set}" = set; then
11651 enableval=$enable_notifmsg;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11655 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11660 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11665 eval "$wx_cv_use_notifmsg"
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11674 result=$wxUSE_NOTIFICATION_MESSAGE
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}-odcombobox" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11693 # Check whether --enable-odcombobox was given.
11694 if test "${enable_odcombobox+set}" = set; then
11695 enableval=$enable_odcombobox;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11699 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11704 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11709 eval "$wx_cv_use_odcombobox"
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_ODCOMBOBOX = no; then
11718 result=$wxUSE_ODCOMBOBOX
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}-popupwin" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11737 # Check whether --enable-popupwin was given.
11738 if test "${enable_popupwin+set}" = set; then
11739 enableval=$enable_popupwin;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11743 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11748 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11753 eval "$wx_cv_use_popupwin"
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_POPUPWIN = no; then
11762 result=$wxUSE_POPUPWIN
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}-radiobox" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11781 # Check whether --enable-radiobox was given.
11782 if test "${enable_radiobox+set}" = set; then
11783 enableval=$enable_radiobox;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11787 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11792 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11797 eval "$wx_cv_use_radiobox"
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_RADIOBOX = no; then
11806 result=$wxUSE_RADIOBOX
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}-radiobtn" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11825 # Check whether --enable-radiobtn was given.
11826 if test "${enable_radiobtn+set}" = set; then
11827 enableval=$enable_radiobtn;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11831 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11836 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11841 eval "$wx_cv_use_radiobtn"
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_RADIOBTN = no; then
11850 result=$wxUSE_RADIOBTN
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}-richmsgdlg" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11869 # Check whether --enable-richmsgdlg was given.
11870 if test "${enable_richmsgdlg+set}" = set; then
11871 enableval=$enable_richmsgdlg;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11875 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11880 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11885 eval "$wx_cv_use_richmsgdlg"
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_RICHMSGDLG = no; then
11894 result=$wxUSE_RICHMSGDLG
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}-rearrangectrl" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11913 # Check whether --enable-rearrangectrl was given.
11914 if test "${enable_rearrangectrl+set}" = set; then
11915 enableval=$enable_rearrangectrl;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11919 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11924 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11929 eval "$wx_cv_use_rearrangectrl"
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_REARRANGECTRL = no; then
11938 result=$wxUSE_REARRANGECTRL
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}-sash" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11957 # Check whether --enable-sash was given.
11958 if test "${enable_sash+set}" = set; then
11959 enableval=$enable_sash;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_sash='wxUSE_SASH=yes'
11963 wx_cv_use_sash='wxUSE_SASH=no'
11968 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11973 eval "$wx_cv_use_sash"
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_SASH = no; then
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}-scrollbar" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12001 # Check whether --enable-scrollbar was given.
12002 if test "${enable_scrollbar+set}" = set; then
12003 enableval=$enable_scrollbar;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12007 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12012 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12017 eval "$wx_cv_use_scrollbar"
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_SCROLLBAR = no; then
12026 result=$wxUSE_SCROLLBAR
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}-searchctrl" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12045 # Check whether --enable-searchctrl was given.
12046 if test "${enable_searchctrl+set}" = set; then
12047 enableval=$enable_searchctrl;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12051 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12056 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12061 eval "$wx_cv_use_searchctrl"
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_SEARCHCTRL = no; then
12070 result=$wxUSE_SEARCHCTRL
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}-slider" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12089 # Check whether --enable-slider was given.
12090 if test "${enable_slider+set}" = set; then
12091 enableval=$enable_slider;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_slider='wxUSE_SLIDER=yes'
12095 wx_cv_use_slider='wxUSE_SLIDER=no'
12100 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12105 eval "$wx_cv_use_slider"
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_SLIDER = no; then
12114 result=$wxUSE_SLIDER
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}-spinbtn" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12133 # Check whether --enable-spinbtn was given.
12134 if test "${enable_spinbtn+set}" = set; then
12135 enableval=$enable_spinbtn;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12139 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12144 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12149 eval "$wx_cv_use_spinbtn"
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_SPINBTN = no; then
12158 result=$wxUSE_SPINBTN
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}-spinctrl" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12177 # Check whether --enable-spinctrl was given.
12178 if test "${enable_spinctrl+set}" = set; then
12179 enableval=$enable_spinctrl;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12183 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12188 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12193 eval "$wx_cv_use_spinctrl"
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_SPINCTRL = no; then
12202 result=$wxUSE_SPINCTRL
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}-splitter" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12221 # Check whether --enable-splitter was given.
12222 if test "${enable_splitter+set}" = set; then
12223 enableval=$enable_splitter;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12227 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12232 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12237 eval "$wx_cv_use_splitter"
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_SPLITTER = no; then
12246 result=$wxUSE_SPLITTER
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}-statbmp" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12265 # Check whether --enable-statbmp was given.
12266 if test "${enable_statbmp+set}" = set; then
12267 enableval=$enable_statbmp;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12271 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12276 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12281 eval "$wx_cv_use_statbmp"
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_STATBMP = no; then
12290 result=$wxUSE_STATBMP
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}-statbox" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12309 # Check whether --enable-statbox was given.
12310 if test "${enable_statbox+set}" = set; then
12311 enableval=$enable_statbox;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12315 wx_cv_use_statbox='wxUSE_STATBOX=no'
12320 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12325 eval "$wx_cv_use_statbox"
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_STATBOX = no; then
12334 result=$wxUSE_STATBOX
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}-statline" >&5
12352 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12353 # Check whether --enable-statline was given.
12354 if test "${enable_statline+set}" = set; then
12355 enableval=$enable_statline;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_statline='wxUSE_STATLINE=yes'
12359 wx_cv_use_statline='wxUSE_STATLINE=no'
12364 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12369 eval "$wx_cv_use_statline"
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_STATLINE = no; then
12378 result=$wxUSE_STATLINE
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}-stattext" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12397 # Check whether --enable-stattext was given.
12398 if test "${enable_stattext+set}" = set; then
12399 enableval=$enable_stattext;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12403 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12408 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12413 eval "$wx_cv_use_stattext"
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_STATTEXT = no; then
12422 result=$wxUSE_STATTEXT
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}-statusbar" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12441 # Check whether --enable-statusbar was given.
12442 if test "${enable_statusbar+set}" = set; then
12443 enableval=$enable_statusbar;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12447 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12452 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12457 eval "$wx_cv_use_statusbar"
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_STATUSBAR = no; then
12466 result=$wxUSE_STATUSBAR
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}-taskbaricon" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12485 # Check whether --enable-taskbaricon was given.
12486 if test "${enable_taskbaricon+set}" = set; then
12487 enableval=$enable_taskbaricon;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12491 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12496 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12501 eval "$wx_cv_use_taskbaricon"
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_TASKBARICON = no; then
12510 result=$wxUSE_TASKBARICON
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}-tbarnative" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12529 # Check whether --enable-tbarnative was given.
12530 if test "${enable_tbarnative+set}" = set; then
12531 enableval=$enable_tbarnative;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12535 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12540 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12545 eval "$wx_cv_use_tbarnative"
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TOOLBAR_NATIVE = no; then
12554 result=$wxUSE_TOOLBAR_NATIVE
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}-textctrl" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12573 # Check whether --enable-textctrl was given.
12574 if test "${enable_textctrl+set}" = set; then
12575 enableval=$enable_textctrl;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12579 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12584 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12589 eval "$wx_cv_use_textctrl"
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_TEXTCTRL = no; then
12598 result=$wxUSE_TEXTCTRL
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}-tipwindow" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12617 # Check whether --enable-tipwindow was given.
12618 if test "${enable_tipwindow+set}" = set; then
12619 enableval=$enable_tipwindow;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12623 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12628 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12633 eval "$wx_cv_use_tipwindow"
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_TIPWINDOW = no; then
12642 result=$wxUSE_TIPWINDOW
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}-togglebtn" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12661 # Check whether --enable-togglebtn was given.
12662 if test "${enable_togglebtn+set}" = set; then
12663 enableval=$enable_togglebtn;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12667 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12672 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12677 eval "$wx_cv_use_togglebtn"
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_TOGGLEBTN = no; then
12686 result=$wxUSE_TOGGLEBTN
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}-toolbar" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12705 # Check whether --enable-toolbar was given.
12706 if test "${enable_toolbar+set}" = set; then
12707 enableval=$enable_toolbar;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12711 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12716 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12721 eval "$wx_cv_use_toolbar"
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_TOOLBAR = no; then
12730 result=$wxUSE_TOOLBAR
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}-toolbook" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12749 # Check whether --enable-toolbook was given.
12750 if test "${enable_toolbook+set}" = set; then
12751 enableval=$enable_toolbook;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12755 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12760 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12765 eval "$wx_cv_use_toolbook"
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TOOLBOOK = no; then
12774 result=$wxUSE_TOOLBOOK
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}-treebook" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12793 # Check whether --enable-treebook was given.
12794 if test "${enable_treebook+set}" = set; then
12795 enableval=$enable_treebook;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12799 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12804 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12809 eval "$wx_cv_use_treebook"
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_TREEBOOK = no; then
12818 result=$wxUSE_TREEBOOK
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}-treectrl" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12837 # Check whether --enable-treectrl was given.
12838 if test "${enable_treectrl+set}" = set; then
12839 enableval=$enable_treectrl;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12843 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12848 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12853 eval "$wx_cv_use_treectrl"
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_TREECTRL = no; then
12862 result=$wxUSE_TREECTRL
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
12881 # Check whether --enable-treelist was given.
12882 if test "${enable_treelist+set}" = set; then
12883 enableval=$enable_treelist;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12887 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12892 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12897 eval "$wx_cv_use_treelist"
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_TREELISTCTRL = no; then
12906 result=$wxUSE_TREELISTCTRL
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 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}-commondlg" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12927 # Check whether --enable-commondlg was given.
12928 if test "${enable_commondlg+set}" = set; then
12929 enableval=$enable_commondlg;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12933 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12938 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12943 eval "$wx_cv_use_commondlg"
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_COMMONDLGS = no; then
12952 result=$wxUSE_COMMONDLGS
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}-aboutdlg" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12971 # Check whether --enable-aboutdlg was given.
12972 if test "${enable_aboutdlg+set}" = set; then
12973 enableval=$enable_aboutdlg;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12977 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12982 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12987 eval "$wx_cv_use_aboutdlg"
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_ABOUTDLG = no; then
12996 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13015 # Check whether --enable-choicedlg was given.
13016 if test "${enable_choicedlg+set}" = set; then
13017 enableval=$enable_choicedlg;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13021 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13026 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13031 eval "$wx_cv_use_choicedlg"
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_CHOICEDLG = no; then
13040 result=$wxUSE_CHOICEDLG
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}-coldlg" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13059 # Check whether --enable-coldlg was given.
13060 if test "${enable_coldlg+set}" = set; then
13061 enableval=$enable_coldlg;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13065 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13070 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13075 eval "$wx_cv_use_coldlg"
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_COLOURDLG = no; then
13084 result=$wxUSE_COLOURDLG
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}-filedlg" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13103 # Check whether --enable-filedlg was given.
13104 if test "${enable_filedlg+set}" = set; then
13105 enableval=$enable_filedlg;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13109 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13114 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13119 eval "$wx_cv_use_filedlg"
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_FILEDLG = no; then
13128 result=$wxUSE_FILEDLG
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}-finddlg" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13147 # Check whether --enable-finddlg was given.
13148 if test "${enable_finddlg+set}" = set; then
13149 enableval=$enable_finddlg;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13153 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13158 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13163 eval "$wx_cv_use_finddlg"
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_FINDREPLDLG = no; then
13172 result=$wxUSE_FINDREPLDLG
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}-fontdlg" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13191 # Check whether --enable-fontdlg was given.
13192 if test "${enable_fontdlg+set}" = set; then
13193 enableval=$enable_fontdlg;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13197 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13202 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13207 eval "$wx_cv_use_fontdlg"
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_FONTDLG = no; then
13216 result=$wxUSE_FONTDLG
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}-dirdlg" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13235 # Check whether --enable-dirdlg was given.
13236 if test "${enable_dirdlg+set}" = set; then
13237 enableval=$enable_dirdlg;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13241 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13246 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13251 eval "$wx_cv_use_dirdlg"
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_DIRDLG = no; then
13260 result=$wxUSE_DIRDLG
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}-msgdlg" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13279 # Check whether --enable-msgdlg was given.
13280 if test "${enable_msgdlg+set}" = set; then
13281 enableval=$enable_msgdlg;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13285 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13290 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13295 eval "$wx_cv_use_msgdlg"
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_MSGDLG = no; then
13304 result=$wxUSE_MSGDLG
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}-numberdlg" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13323 # Check whether --enable-numberdlg was given.
13324 if test "${enable_numberdlg+set}" = set; then
13325 enableval=$enable_numberdlg;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13329 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13334 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13339 eval "$wx_cv_use_numberdlg"
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_NUMBERDLG = no; then
13348 result=$wxUSE_NUMBERDLG
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}-splash" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13367 # Check whether --enable-splash was given.
13368 if test "${enable_splash+set}" = set; then
13369 enableval=$enable_splash;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_splash='wxUSE_SPLASH=yes'
13373 wx_cv_use_splash='wxUSE_SPLASH=no'
13378 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13383 eval "$wx_cv_use_splash"
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_SPLASH = no; then
13392 result=$wxUSE_SPLASH
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}-textdlg" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13411 # Check whether --enable-textdlg was given.
13412 if test "${enable_textdlg+set}" = set; then
13413 enableval=$enable_textdlg;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13417 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13422 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13427 eval "$wx_cv_use_textdlg"
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_TEXTDLG = no; then
13436 result=$wxUSE_TEXTDLG
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}-tipdlg" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13455 # Check whether --enable-tipdlg was given.
13456 if test "${enable_tipdlg+set}" = set; then
13457 enableval=$enable_tipdlg;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13461 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13466 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13471 eval "$wx_cv_use_tipdlg"
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_STARTUP_TIPS = no; then
13480 result=$wxUSE_STARTUP_TIPS
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}-progressdlg" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13499 # Check whether --enable-progressdlg was given.
13500 if test "${enable_progressdlg+set}" = set; then
13501 enableval=$enable_progressdlg;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13505 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13510 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13515 eval "$wx_cv_use_progressdlg"
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_PROGRESSDLG = no; then
13524 result=$wxUSE_PROGRESSDLG
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13532 defaultval=$wxUSE_ALL_FEATURES
13533 if test -z "$defaultval"; then
13534 if test x"$enablestring" = xdisable; then
13541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13542 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13543 # Check whether --enable-wizarddlg was given.
13544 if test "${enable_wizarddlg+set}" = set; then
13545 enableval=$enable_wizarddlg;
13546 if test "$enableval" = yes; then
13547 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13549 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13554 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13559 eval "$wx_cv_use_wizarddlg"
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_WIZARDDLG = no; then
13568 result=$wxUSE_WIZARDDLG
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 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}-menus" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13589 # Check whether --enable-menus was given.
13590 if test "${enable_menus+set}" = set; then
13591 enableval=$enable_menus;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_menus='wxUSE_MENUS=yes'
13595 wx_cv_use_menus='wxUSE_MENUS=no'
13600 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13605 eval "$wx_cv_use_menus"
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_MENUS = no; then
13614 result=$wxUSE_MENUS
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}-miniframe" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13633 # Check whether --enable-miniframe was given.
13634 if test "${enable_miniframe+set}" = set; then
13635 enableval=$enable_miniframe;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13639 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13644 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13649 eval "$wx_cv_use_miniframe"
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_MINIFRAME = no; then
13658 result=$wxUSE_MINIFRAME
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}-tooltips" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13677 # Check whether --enable-tooltips was given.
13678 if test "${enable_tooltips+set}" = set; then
13679 enableval=$enable_tooltips;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13683 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13688 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13693 eval "$wx_cv_use_tooltips"
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_TOOLTIPS = no; then
13702 result=$wxUSE_TOOLTIPS
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}-splines" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13721 # Check whether --enable-splines was given.
13722 if test "${enable_splines+set}" = set; then
13723 enableval=$enable_splines;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_splines='wxUSE_SPLINES=yes'
13727 wx_cv_use_splines='wxUSE_SPLINES=no'
13732 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13737 eval "$wx_cv_use_splines"
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_SPLINES = no; then
13746 result=$wxUSE_SPLINES
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}-mousewheel" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13765 # Check whether --enable-mousewheel was given.
13766 if test "${enable_mousewheel+set}" = set; then
13767 enableval=$enable_mousewheel;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13771 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13776 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13781 eval "$wx_cv_use_mousewheel"
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_MOUSEWHEEL = no; then
13790 result=$wxUSE_MOUSEWHEEL
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}-validators" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13809 # Check whether --enable-validators was given.
13810 if test "${enable_validators+set}" = set; then
13811 enableval=$enable_validators;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13815 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13820 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13825 eval "$wx_cv_use_validators"
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_VALIDATORS = no; then
13834 result=$wxUSE_VALIDATORS
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}-busyinfo" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13853 # Check whether --enable-busyinfo was given.
13854 if test "${enable_busyinfo+set}" = set; then
13855 enableval=$enable_busyinfo;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13859 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13864 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13869 eval "$wx_cv_use_busyinfo"
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_BUSYINFO = no; then
13878 result=$wxUSE_BUSYINFO
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}-hotkey" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
13897 # Check whether --enable-hotkey was given.
13898 if test "${enable_hotkey+set}" = set; then
13899 enableval=$enable_hotkey;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
13903 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
13908 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
13913 eval "$wx_cv_use_hotkey"
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_HOTKEY = no; then
13922 result=$wxUSE_HOTKEY
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}-joystick" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13941 # Check whether --enable-joystick was given.
13942 if test "${enable_joystick+set}" = set; then
13943 enableval=$enable_joystick;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13947 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13952 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13957 eval "$wx_cv_use_joystick"
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_JOYSTICK = no; then
13966 result=$wxUSE_JOYSTICK
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}-metafile" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13985 # Check whether --enable-metafile was given.
13986 if test "${enable_metafile+set}" = set; then
13987 enableval=$enable_metafile;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13991 wx_cv_use_metafile='wxUSE_METAFILE=no'
13996 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14001 eval "$wx_cv_use_metafile"
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_METAFILE = no; then
14010 result=$wxUSE_METAFILE
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}-dragimage" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14029 # Check whether --enable-dragimage was given.
14030 if test "${enable_dragimage+set}" = set; then
14031 enableval=$enable_dragimage;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14035 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14040 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14045 eval "$wx_cv_use_dragimage"
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_DRAGIMAGE = no; then
14054 result=$wxUSE_DRAGIMAGE
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}-accessibility" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14073 # Check whether --enable-accessibility was given.
14074 if test "${enable_accessibility+set}" = set; then
14075 enableval=$enable_accessibility;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14079 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14084 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14089 eval "$wx_cv_use_accessibility"
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_ACCESSIBILITY = no; then
14098 result=$wxUSE_ACCESSIBILITY
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}-uiactionsim" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14117 # Check whether --enable-uiactionsim was given.
14118 if test "${enable_uiactionsim+set}" = set; then
14119 enableval=$enable_uiactionsim;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14123 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14128 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14133 eval "$wx_cv_use_uiactionsim"
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_UIACTIONSIMULATOR = no; then
14142 result=$wxUSE_UIACTIONSIMULATOR
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14150 defaultval=$wxUSE_ALL_FEATURES
14151 if test -z "$defaultval"; then
14152 if test x"$enablestring" = xdisable; then
14159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14160 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14161 # Check whether --enable-dctransform was given.
14162 if test "${enable_dctransform+set}" = set; then
14163 enableval=$enable_dctransform;
14164 if test "$enableval" = yes; then
14165 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14167 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14172 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14177 eval "$wx_cv_use_dctransform"
14179 if test x"$enablestring" = xdisable; then
14180 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14186 result=$wxUSE_DC_TRANSFORM_MATRIX
14189 { echo "$as_me:$LINENO: result: $result" >&5
14190 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}-palette" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14207 # Check whether --enable-palette was given.
14208 if test "${enable_palette+set}" = set; then
14209 enableval=$enable_palette;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_palette='wxUSE_PALETTE=yes'
14213 wx_cv_use_palette='wxUSE_PALETTE=no'
14218 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14223 eval "$wx_cv_use_palette"
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_PALETTE = no; then
14232 result=$wxUSE_PALETTE
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}-image" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14251 # Check whether --enable-image was given.
14252 if test "${enable_image+set}" = set; then
14253 enableval=$enable_image;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_image='wxUSE_IMAGE=yes'
14257 wx_cv_use_image='wxUSE_IMAGE=no'
14262 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14267 eval "$wx_cv_use_image"
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_IMAGE = no; then
14276 result=$wxUSE_IMAGE
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}-gif" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14295 # Check whether --enable-gif was given.
14296 if test "${enable_gif+set}" = set; then
14297 enableval=$enable_gif;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_gif='wxUSE_GIF=yes'
14301 wx_cv_use_gif='wxUSE_GIF=no'
14306 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14311 eval "$wx_cv_use_gif"
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_GIF = 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}-pcx" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14339 # Check whether --enable-pcx was given.
14340 if test "${enable_pcx+set}" = set; then
14341 enableval=$enable_pcx;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_pcx='wxUSE_PCX=yes'
14345 wx_cv_use_pcx='wxUSE_PCX=no'
14350 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14355 eval "$wx_cv_use_pcx"
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_PCX = 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}-tga" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14383 # Check whether --enable-tga was given.
14384 if test "${enable_tga+set}" = set; then
14385 enableval=$enable_tga;
14386 if test "$enableval" = yes; then
14387 wx_cv_use_tga='wxUSE_TGA=yes'
14389 wx_cv_use_tga='wxUSE_TGA=no'
14394 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14399 eval "$wx_cv_use_tga"
14401 if test x"$enablestring" = xdisable; then
14402 if test $wxUSE_TGA = 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}-iff" >&5
14426 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14427 # Check whether --enable-iff was given.
14428 if test "${enable_iff+set}" = set; then
14429 enableval=$enable_iff;
14430 if test "$enableval" = yes; then
14431 wx_cv_use_iff='wxUSE_IFF=yes'
14433 wx_cv_use_iff='wxUSE_IFF=no'
14438 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14443 eval "$wx_cv_use_iff"
14445 if test x"$enablestring" = xdisable; then
14446 if test $wxUSE_IFF = 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}-pnm" >&5
14470 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14471 # Check whether --enable-pnm was given.
14472 if test "${enable_pnm+set}" = set; then
14473 enableval=$enable_pnm;
14474 if test "$enableval" = yes; then
14475 wx_cv_use_pnm='wxUSE_PNM=yes'
14477 wx_cv_use_pnm='wxUSE_PNM=no'
14482 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14487 eval "$wx_cv_use_pnm"
14489 if test x"$enablestring" = xdisable; then
14490 if test $wxUSE_PNM = 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}-xpm" >&5
14514 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14515 # Check whether --enable-xpm was given.
14516 if test "${enable_xpm+set}" = set; then
14517 enableval=$enable_xpm;
14518 if test "$enableval" = yes; then
14519 wx_cv_use_xpm='wxUSE_XPM=yes'
14521 wx_cv_use_xpm='wxUSE_XPM=no'
14526 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14531 eval "$wx_cv_use_xpm"
14533 if test x"$enablestring" = xdisable; then
14534 if test $wxUSE_XPM = no; then
14543 { echo "$as_me:$LINENO: result: $result" >&5
14544 echo "${ECHO_T}$result" >&6; }
14548 defaultval=$wxUSE_ALL_FEATURES
14549 if test -z "$defaultval"; then
14550 if test x"$enablestring" = xdisable; then
14557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14558 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14559 # Check whether --enable-ico_cur was given.
14560 if test "${enable_ico_cur+set}" = set; then
14561 enableval=$enable_ico_cur;
14562 if test "$enableval" = yes; then
14563 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14565 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14570 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14575 eval "$wx_cv_use_ico_cur"
14577 if test x"$enablestring" = xdisable; then
14578 if test $wxUSE_ICO_CUR = no; then
14584 result=$wxUSE_ICO_CUR
14587 { echo "$as_me:$LINENO: result: $result" >&5
14588 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}-dccache" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14605 # Check whether --enable-dccache was given.
14606 if test "${enable_dccache+set}" = set; then
14607 enableval=$enable_dccache;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14611 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14616 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14621 eval "$wx_cv_use_dccache"
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_DC_CACHEING = no; then
14630 result=$wxUSE_DC_CACHEING
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}-ps-in-msw" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14649 # Check whether --enable-ps-in-msw was given.
14650 if test "${enable_ps_in_msw+set}" = set; then
14651 enableval=$enable_ps_in_msw;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14655 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14660 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14665 eval "$wx_cv_use_ps_in_msw"
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14674 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
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}-ownerdrawn" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14693 # Check whether --enable-ownerdrawn was given.
14694 if test "${enable_ownerdrawn+set}" = set; then
14695 enableval=$enable_ownerdrawn;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14699 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14704 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14709 eval "$wx_cv_use_ownerdrawn"
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_OWNER_DRAWN = no; then
14718 result=$wxUSE_OWNER_DRAWN
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}-uxtheme" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14737 # Check whether --enable-uxtheme was given.
14738 if test "${enable_uxtheme+set}" = set; then
14739 enableval=$enable_uxtheme;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14743 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14748 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14753 eval "$wx_cv_use_uxtheme"
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_UXTHEME = no; then
14762 result=$wxUSE_UXTHEME
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14780 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14781 # Check whether --enable-wxdib was given.
14782 if test "${enable_wxdib+set}" = set; then
14783 enableval=$enable_wxdib;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_wxdib='wxUSE_DIB=yes'
14787 wx_cv_use_wxdib='wxUSE_DIB=no'
14792 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14797 eval "$wx_cv_use_wxdib"
14799 if test x"$enablestring" = xdisable; then
14800 if test $wxUSE_DIB = no; then
14809 { echo "$as_me:$LINENO: result: $result" >&5
14810 echo "${ECHO_T}$result" >&6; }
14813 if test "$wxUSE_MSW" != 1; then
14814 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14829 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14830 # Check whether --enable-autoidman was given.
14831 if test "${enable_autoidman+set}" = set; then
14832 enableval=$enable_autoidman;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14836 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14841 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14846 eval "$wx_cv_use_autoidman"
14848 if test x"$enablestring" = xdisable; then
14849 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14855 result=$wxUSE_AUTOID_MANAGEMENT
14858 { echo "$as_me:$LINENO: result: $result" >&5
14859 echo "${ECHO_T}$result" >&6; }
14865 cat >confcache <<\_ACEOF
14866 # This file is a shell script that caches the results of configure
14867 # tests run on this system so they can be shared between configure
14868 # scripts and configure runs, see configure's option --config-cache.
14869 # It is not useful on other systems. If it contains results you don't
14870 # want to keep, you may remove or edit it.
14872 # config.status only pays attention to the cache file if you give it
14873 # the --recheck option to rerun configure.
14875 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14876 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14877 # following values.
14881 # The following way of writing the cache mishandles newlines in values,
14882 # but we know of no workaround that is simple, portable, and efficient.
14883 # So, we kill variables containing newlines.
14884 # Ultrix sh set writes to stderr and can't be redirected directly,
14885 # and sets the high bit in the cache file unless we assign to the vars.
14887 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14888 eval ac_val=\$$ac_var
14892 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14893 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14896 _ | IFS | as_nl) ;; #(
14897 *) $as_unset $ac_var ;;
14903 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14904 *${as_nl}ac_space=\ *)
14905 # `set' does not quote correctly, so add quotes (double-quote
14906 # substitution turns \\\\ into \\, and sed turns \\ into \).
14909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14912 # `set' quotes correctly as required by POSIX, so do not add quotes.
14913 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14922 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14924 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14926 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14927 if test -w "$cache_file"; then
14928 test "x$cache_file" != "x/dev/null" &&
14929 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14930 echo "$as_me: updating cache $cache_file" >&6;}
14931 cat confcache >$cache_file
14933 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14934 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14941 ac_cpp='$CPP $CPPFLAGS'
14942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14945 if test -n "$ac_tool_prefix"; then
14946 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14947 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14950 if test "${ac_cv_prog_CC+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 if test -n "$CC"; then
14954 ac_cv_prog_CC="$CC" # Let the user override the test.
14956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14957 for as_dir in $PATH
14960 test -z "$as_dir" && as_dir=.
14961 for ac_exec_ext in '' $ac_executable_extensions; do
14962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14963 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14974 if test -n "$CC"; then
14975 { echo "$as_me:$LINENO: result: $CC" >&5
14976 echo "${ECHO_T}$CC" >&6; }
14978 { echo "$as_me:$LINENO: result: no" >&5
14979 echo "${ECHO_T}no" >&6; }
14984 if test -z "$ac_cv_prog_CC"; then
14986 # Extract the first word of "gcc", so it can be a program name with args.
14987 set dummy gcc; ac_word=$2
14988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 if test -n "$ac_ct_CC"; then
14994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14997 for as_dir in $PATH
15000 test -z "$as_dir" && as_dir=.
15001 for ac_exec_ext in '' $ac_executable_extensions; do
15002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15003 ac_cv_prog_ac_ct_CC="gcc"
15004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15013 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15014 if test -n "$ac_ct_CC"; then
15015 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15016 echo "${ECHO_T}$ac_ct_CC" >&6; }
15018 { echo "$as_me:$LINENO: result: no" >&5
15019 echo "${ECHO_T}no" >&6; }
15022 if test "x$ac_ct_CC" = x; then
15025 case $cross_compiling:$ac_tool_warned in
15027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15028 whose name does not start with the host triplet. If you think this
15029 configuration is useful to you, please write to autoconf@gnu.org." >&5
15030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15031 whose name does not start with the host triplet. If you think this
15032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15033 ac_tool_warned=yes ;;
15038 CC="$ac_cv_prog_CC"
15041 if test -z "$CC"; then
15042 if test -n "$ac_tool_prefix"; then
15043 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15044 set dummy ${ac_tool_prefix}cc; ac_word=$2
15045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_CC+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 if test -n "$CC"; then
15051 ac_cv_prog_CC="$CC" # Let the user override the test.
15053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15054 for as_dir in $PATH
15057 test -z "$as_dir" && as_dir=.
15058 for ac_exec_ext in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_CC="${ac_tool_prefix}cc"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15071 if test -n "$CC"; then
15072 { echo "$as_me:$LINENO: result: $CC" >&5
15073 echo "${ECHO_T}$CC" >&6; }
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15082 if test -z "$CC"; then
15083 # Extract the first word of "cc", so it can be a program name with args.
15084 set dummy cc; ac_word=$2
15085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15087 if test "${ac_cv_prog_CC+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 if test -n "$CC"; then
15091 ac_cv_prog_CC="$CC" # Let the user override the test.
15093 ac_prog_rejected=no
15094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15095 for as_dir in $PATH
15098 test -z "$as_dir" && as_dir=.
15099 for ac_exec_ext in '' $ac_executable_extensions; do
15100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15101 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15102 ac_prog_rejected=yes
15106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15113 if test $ac_prog_rejected = yes; then
15114 # We found a bogon in the path, so make sure we never use it.
15115 set dummy $ac_cv_prog_CC
15117 if test $# != 0; then
15118 # We chose a different compiler from the bogus one.
15119 # However, it has the same basename, so the bogon will be chosen
15120 # first if we set CC to just the basename; use the full file name.
15122 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15128 if test -n "$CC"; then
15129 { echo "$as_me:$LINENO: result: $CC" >&5
15130 echo "${ECHO_T}$CC" >&6; }
15132 { echo "$as_me:$LINENO: result: no" >&5
15133 echo "${ECHO_T}no" >&6; }
15138 if test -z "$CC"; then
15139 if test -n "$ac_tool_prefix"; then
15140 for ac_prog in cl.exe
15142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15143 set dummy $ac_tool_prefix$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_CC+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 if test -n "$CC"; then
15150 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$ac_prog"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15170 if test -n "$CC"; then
15171 { echo "$as_me:$LINENO: result: $CC" >&5
15172 echo "${ECHO_T}$CC" >&6; }
15174 { echo "$as_me:$LINENO: result: no" >&5
15175 echo "${ECHO_T}no" >&6; }
15179 test -n "$CC" && break
15182 if test -z "$CC"; then
15184 for ac_prog in cl.exe
15186 # Extract the first word of "$ac_prog", so it can be a program name with args.
15187 set dummy $ac_prog; ac_word=$2
15188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15193 if test -n "$ac_ct_CC"; then
15194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197 for as_dir in $PATH
15200 test -z "$as_dir" && as_dir=.
15201 for ac_exec_ext in '' $ac_executable_extensions; do
15202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15203 ac_cv_prog_ac_ct_CC="$ac_prog"
15204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15214 if test -n "$ac_ct_CC"; then
15215 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15216 echo "${ECHO_T}$ac_ct_CC" >&6; }
15218 { echo "$as_me:$LINENO: result: no" >&5
15219 echo "${ECHO_T}no" >&6; }
15223 test -n "$ac_ct_CC" && break
15226 if test "x$ac_ct_CC" = x; then
15229 case $cross_compiling:$ac_tool_warned in
15231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15232 whose name does not start with the host triplet. If you think this
15233 configuration is useful to you, please write to autoconf@gnu.org." >&5
15234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15235 whose name does not start with the host triplet. If you think this
15236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15237 ac_tool_warned=yes ;;
15246 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15247 See \`config.log' for more details." >&5
15248 echo "$as_me: error: no acceptable C compiler found in \$PATH
15249 See \`config.log' for more details." >&2;}
15250 { (exit 1); exit 1; }; }
15252 # Provide some information about the compiler.
15253 echo "$as_me:$LINENO: checking for C compiler version" >&5
15254 ac_compiler=`set X $ac_compile; echo $2`
15255 { (ac_try="$ac_compiler --version >&5"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_compiler --version >&5") 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }
15265 { (ac_try="$ac_compiler -v >&5"
15266 case "(($ac_try" in
15267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15268 *) ac_try_echo=$ac_try;;
15270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15271 (eval "$ac_compiler -v >&5") 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }
15275 { (ac_try="$ac_compiler -V >&5"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compiler -V >&5") 2>&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); }
15286 cat >conftest.$ac_ext <<_ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15301 ac_clean_files_save=$ac_clean_files
15302 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15303 # Try to create an executable without -o first, disregard a.out.
15304 # It will help us diagnose broken compilers, and finding out an intuition
15306 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15307 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15308 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15310 # List of possible output files, starting from the most likely.
15311 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15312 # only as a last resort. b.out is created by i960 compilers.
15313 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15315 # The IRIX 6 linker writes into existing files which may not be
15316 # executable, retaining their permissions. Remove them first so a
15317 # subsequent execution test works.
15319 for ac_file in $ac_files
15322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15323 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15328 if { (ac_try="$ac_link_default"
15329 case "(($ac_try" in
15330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15331 *) ac_try_echo=$ac_try;;
15333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15334 (eval "$ac_link_default") 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; then
15338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15340 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15341 # so that the user can short-circuit this test for compilers unknown to
15343 for ac_file in $ac_files ''
15345 test -f "$ac_file" || continue
15347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15350 # We found the default executable, but exeext='' is most
15354 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15356 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15358 # We set ac_cv_exeext here because the later test for it is not
15359 # safe: cross compilers may not add the suffix if given an `-o'
15360 # argument, so we may need to know it at that point already.
15361 # Even if this section looks crufty: it has the advantage of
15362 # actually working.
15368 test "$ac_cv_exeext" = no && ac_cv_exeext=
15374 { echo "$as_me:$LINENO: result: $ac_file" >&5
15375 echo "${ECHO_T}$ac_file" >&6; }
15376 if test -z "$ac_file"; then
15377 echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.$ac_ext >&5
15380 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15381 See \`config.log' for more details." >&5
15382 echo "$as_me: error: C compiler cannot create executables
15383 See \`config.log' for more details." >&2;}
15384 { (exit 77); exit 77; }; }
15387 ac_exeext=$ac_cv_exeext
15389 # Check that the compiler produces executables we can run. If not, either
15390 # the compiler is broken, or we cross compile.
15391 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15392 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15393 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15394 # If not cross compiling, check that we can run a simple program.
15395 if test "$cross_compiling" != yes; then
15396 if { ac_try='./$ac_file'
15397 { (case "(($ac_try" in
15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15402 (eval "$ac_try") 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15408 if test "$cross_compiling" = maybe; then
15409 cross_compiling=yes
15411 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15412 If you meant to cross compile, use \`--host'.
15413 See \`config.log' for more details." >&5
15414 echo "$as_me: error: cannot run C compiled programs.
15415 If you meant to cross compile, use \`--host'.
15416 See \`config.log' for more details." >&2;}
15417 { (exit 1); exit 1; }; }
15421 { echo "$as_me:$LINENO: result: yes" >&5
15422 echo "${ECHO_T}yes" >&6; }
15424 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15425 ac_clean_files=$ac_clean_files_save
15426 # Check that the compiler produces executables we can run. If not, either
15427 # the compiler is broken, or we cross compile.
15428 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15429 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15430 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15431 echo "${ECHO_T}$cross_compiling" >&6; }
15433 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15434 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15435 if { (ac_try="$ac_link"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_link") 2>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); }; then
15445 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15446 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15447 # work properly (i.e., refer to `conftest.exe'), while it won't with
15449 for ac_file in conftest.exe conftest conftest.*; do
15450 test -f "$ac_file" || continue
15452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15453 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15459 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15460 See \`config.log' for more details." >&5
15461 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15462 See \`config.log' for more details." >&2;}
15463 { (exit 1); exit 1; }; }
15466 rm -f conftest$ac_cv_exeext
15467 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15468 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15470 rm -f conftest.$ac_ext
15471 EXEEXT=$ac_cv_exeext
15473 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15474 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15475 if test "${ac_cv_objext+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 cat >conftest.$ac_ext <<_ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15493 rm -f conftest.o conftest.obj
15494 if { (ac_try="$ac_compile"
15495 case "(($ac_try" in
15496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15497 *) ac_try_echo=$ac_try;;
15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_compile") 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; then
15504 for ac_file in conftest.o conftest.obj conftest.*; do
15505 test -f "$ac_file" || continue;
15507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15508 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15516 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15517 See \`config.log' for more details." >&5
15518 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15519 See \`config.log' for more details." >&2;}
15520 { (exit 1); exit 1; }; }
15523 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15525 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15526 echo "${ECHO_T}$ac_cv_objext" >&6; }
15527 OBJEXT=$ac_cv_objext
15529 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15530 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15531 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 cat >conftest.$ac_ext <<_ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15552 rm -f conftest.$ac_objext
15553 if { (ac_try="$ac_compile"
15554 case "(($ac_try" in
15555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15556 *) ac_try_echo=$ac_try;;
15558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15559 (eval "$ac_compile") 2>conftest.er1
15561 grep -v '^ *+' conftest.er1 >conftest.err
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } && {
15566 test -z "$ac_c_werror_flag" ||
15567 test ! -s conftest.err
15568 } && test -s conftest.$ac_objext; then
15569 ac_compiler_gnu=yes
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15581 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15582 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15583 GCC=`test $ac_compiler_gnu = yes && echo yes`
15584 ac_test_CFLAGS=${CFLAGS+set}
15585 ac_save_CFLAGS=$CFLAGS
15586 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15587 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15588 if test "${ac_cv_prog_cc_g+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 ac_save_c_werror_flag=$ac_c_werror_flag
15592 ac_c_werror_flag=yes
15595 cat >conftest.$ac_ext <<_ACEOF
15598 cat confdefs.h >>conftest.$ac_ext
15599 cat >>conftest.$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15619 grep -v '^ *+' conftest.er1 >conftest.err
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && {
15624 test -z "$ac_c_werror_flag" ||
15625 test ! -s conftest.err
15626 } && test -s conftest.$ac_objext; then
15627 ac_cv_prog_cc_g=yes
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15633 cat >conftest.$ac_ext <<_ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15648 rm -f conftest.$ac_objext
15649 if { (ac_try="$ac_compile"
15650 case "(($ac_try" in
15651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15652 *) ac_try_echo=$ac_try;;
15654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15655 (eval "$ac_compile") 2>conftest.er1
15657 grep -v '^ *+' conftest.er1 >conftest.err
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } && {
15662 test -z "$ac_c_werror_flag" ||
15663 test ! -s conftest.err
15664 } && test -s conftest.$ac_objext; then
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15670 ac_c_werror_flag=$ac_save_c_werror_flag
15672 cat >conftest.$ac_ext <<_ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15687 rm -f conftest.$ac_objext
15688 if { (ac_try="$ac_compile"
15689 case "(($ac_try" in
15690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15691 *) ac_try_echo=$ac_try;;
15693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15694 (eval "$ac_compile") 2>conftest.er1
15696 grep -v '^ *+' conftest.er1 >conftest.err
15698 cat conftest.err >&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } && {
15701 test -z "$ac_c_werror_flag" ||
15702 test ! -s conftest.err
15703 } && test -s conftest.$ac_objext; then
15704 ac_cv_prog_cc_g=yes
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15719 ac_c_werror_flag=$ac_save_c_werror_flag
15721 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15722 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15723 if test "$ac_test_CFLAGS" = set; then
15724 CFLAGS=$ac_save_CFLAGS
15725 elif test $ac_cv_prog_cc_g = yes; then
15726 if test "$GCC" = yes; then
15732 if test "$GCC" = yes; then
15738 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15739 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15740 if test "${ac_cv_prog_cc_c89+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15743 ac_cv_prog_cc_c89=no
15745 cat >conftest.$ac_ext <<_ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <stdarg.h>
15753 #include <sys/types.h>
15754 #include <sys/stat.h>
15755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15756 struct buf { int x; };
15757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15758 static char *e (p, i)
15764 static char *f (char * (*g) (char **, int), char **p, ...)
15769 s = g (p, va_arg (v,int));
15774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15775 function prototypes and stuff, but not '\xHH' hex character constants.
15776 These don't provoke an error unfortunately, instead are silently treated
15777 as 'x'. The following induces an error, until -std is added to get
15778 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15779 array size at least. It's necessary to write '\x00'==0 to get something
15780 that's true only with -std. */
15781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15783 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15784 inside strings and character constants. */
15786 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15788 int test (int i, double x);
15789 struct s1 {int (*f) (int a);};
15790 struct s2 {int (*f) (double a);};
15791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15797 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15802 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15803 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15805 CC="$ac_save_CC $ac_arg"
15806 rm -f conftest.$ac_objext
15807 if { (ac_try="$ac_compile"
15808 case "(($ac_try" in
15809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15810 *) ac_try_echo=$ac_try;;
15812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15813 (eval "$ac_compile") 2>conftest.er1
15815 grep -v '^ *+' conftest.er1 >conftest.err
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } && {
15820 test -z "$ac_c_werror_flag" ||
15821 test ! -s conftest.err
15822 } && test -s conftest.$ac_objext; then
15823 ac_cv_prog_cc_c89=$ac_arg
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15831 rm -f core conftest.err conftest.$ac_objext
15832 test "x$ac_cv_prog_cc_c89" != "xno" && break
15834 rm -f conftest.$ac_ext
15839 case "x$ac_cv_prog_cc_c89" in
15841 { echo "$as_me:$LINENO: result: none needed" >&5
15842 echo "${ECHO_T}none needed" >&6; } ;;
15844 { echo "$as_me:$LINENO: result: unsupported" >&5
15845 echo "${ECHO_T}unsupported" >&6; } ;;
15847 CC="$CC $ac_cv_prog_cc_c89"
15848 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15849 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15854 ac_cpp='$CPP $CPPFLAGS'
15855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15867 ac_cpp='$CPP $CPPFLAGS'
15868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15872 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15873 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15874 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 cat >conftest.$ac_ext <<_ACEOF
15880 cat confdefs.h >>conftest.$ac_ext
15881 cat >>conftest.$ac_ext <<_ACEOF
15882 /* end confdefs.h. */
15888 #ifndef __INTEL_COMPILER
15896 rm -f conftest.$ac_objext
15897 if { (ac_try="$ac_compile"
15898 case "(($ac_try" in
15899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15900 *) ac_try_echo=$ac_try;;
15902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15903 (eval "$ac_compile") 2>conftest.er1
15905 grep -v '^ *+' conftest.er1 >conftest.err
15907 cat conftest.err >&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); } && {
15910 test -z "$ac_c_werror_flag" ||
15911 test ! -s conftest.err
15912 } && test -s conftest.$ac_objext; then
15913 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15915 echo "$as_me: failed program was:" >&5
15916 sed 's/^/| /' conftest.$ac_ext >&5
15918 bakefile_cv_c_compiler___INTEL_COMPILER=no
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15927 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15928 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15934 ac_cpp='$CPP $CPPFLAGS'
15935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15942 if test "$INTELCC" = "yes"; then
15946 ac_cpp='$CPP $CPPFLAGS'
15947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15952 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15953 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 cat >conftest.$ac_ext <<_ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15967 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15975 rm -f conftest.$ac_objext
15976 if { (ac_try="$ac_compile"
15977 case "(($ac_try" in
15978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15979 *) ac_try_echo=$ac_try;;
15981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15982 (eval "$ac_compile") 2>conftest.er1
15984 grep -v '^ *+' conftest.er1 >conftest.err
15986 cat conftest.err >&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } && {
15989 test -z "$ac_c_werror_flag" ||
15990 test ! -s conftest.err
15991 } && test -s conftest.$ac_objext; then
15992 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16006 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16007 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16013 ac_cpp='$CPP $CPPFLAGS'
16014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16028 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16029 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16030 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 cat >conftest.$ac_ext <<_ACEOF
16036 cat confdefs.h >>conftest.$ac_ext
16037 cat >>conftest.$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16044 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16052 rm -f conftest.$ac_objext
16053 if { (ac_try="$ac_compile"
16054 case "(($ac_try" in
16055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_compile") 2>conftest.er1
16061 grep -v '^ *+' conftest.er1 >conftest.err
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest.$ac_objext; then
16069 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.$ac_ext >&5
16074 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16082 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16083 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16084 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099 if test "x$GCC" != "xyes"; then
16100 if test "xCC" = "xC"; then
16101 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16102 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16103 if test "${bakefile_cv_c_exto+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16121 rm -f conftest.$ac_objext conftest.$ac_ext.o
16122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16123 (eval $ac_compile) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; then
16127 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16129 conftest.$ac_ext.o)
16130 bakefile_cv_c_exto="-ext o"
16137 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16138 See \`config.log' for more details." >&5
16139 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16140 See \`config.log' for more details." >&2;}
16141 { (exit 1); exit 1; }; }
16145 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16148 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16149 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16150 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16151 if test "c" = "c"; then
16152 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16154 if test "c" = "cxx"; then
16155 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16159 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16160 unset ac_cv_prog_cc_g
16161 ac_test_CFLAGS=${CFLAGS+set}
16162 ac_save_CFLAGS=$CFLAGS
16163 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16164 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16165 if test "${ac_cv_prog_cc_g+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 ac_save_c_werror_flag=$ac_c_werror_flag
16169 ac_c_werror_flag=yes
16172 cat >conftest.$ac_ext <<_ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16187 rm -f conftest.$ac_objext
16188 if { (ac_try="$ac_compile"
16189 case "(($ac_try" in
16190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16191 *) ac_try_echo=$ac_try;;
16193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16194 (eval "$ac_compile") 2>conftest.er1
16196 grep -v '^ *+' conftest.er1 >conftest.err
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } && {
16201 test -z "$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16203 } && test -s conftest.$ac_objext; then
16204 ac_cv_prog_cc_g=yes
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.$ac_ext >&5
16210 cat >conftest.$ac_ext <<_ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16225 rm -f conftest.$ac_objext
16226 if { (ac_try="$ac_compile"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_compile") 2>conftest.er1
16234 grep -v '^ *+' conftest.er1 >conftest.err
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } && {
16239 test -z "$ac_c_werror_flag" ||
16240 test ! -s conftest.err
16241 } && test -s conftest.$ac_objext; then
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16247 ac_c_werror_flag=$ac_save_c_werror_flag
16249 cat >conftest.$ac_ext <<_ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16264 rm -f conftest.$ac_objext
16265 if { (ac_try="$ac_compile"
16266 case "(($ac_try" in
16267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16268 *) ac_try_echo=$ac_try;;
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_compile") 2>conftest.er1
16273 grep -v '^ *+' conftest.er1 >conftest.err
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest.$ac_objext; then
16281 ac_cv_prog_cc_g=yes
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.$ac_ext >&5
16289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 ac_c_werror_flag=$ac_save_c_werror_flag
16298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16300 if test "$ac_test_CFLAGS" = set; then
16301 CFLAGS=$ac_save_CFLAGS
16302 elif test $ac_cv_prog_cc_g = yes; then
16303 if test "$GCC" = yes; then
16309 if test "$GCC" = yes; then
16323 ac_cpp='$CPP $CPPFLAGS'
16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16328 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16329 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16330 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 cat >conftest.$ac_ext <<_ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16352 rm -f conftest.$ac_objext
16353 if { (ac_try="$ac_compile"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_compile") 2>conftest.er1
16361 grep -v '^ *+' conftest.er1 >conftest.err
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } && {
16366 test -z "$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16368 } && test -s conftest.$ac_objext; then
16369 bakefile_cv_c_compiler___xlC__=yes
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16374 bakefile_cv_c_compiler___xlC__=no
16378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16382 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16383 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16384 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16390 ac_cpp='$CPP $CPPFLAGS'
16391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16403 ac_cpp='$CPP $CPPFLAGS'
16404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16408 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16409 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16410 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16411 echo $ECHO_N "(cached) $ECHO_C" >&6
16413 cat >conftest.$ac_ext <<_ACEOF
16416 cat confdefs.h >>conftest.$ac_ext
16417 cat >>conftest.$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16432 rm -f conftest.$ac_objext
16433 if { (ac_try="$ac_compile"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16439 (eval "$ac_compile") 2>conftest.er1
16441 grep -v '^ *+' conftest.er1 >conftest.err
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } && {
16446 test -z "$ac_c_werror_flag" ||
16447 test ! -s conftest.err
16448 } && test -s conftest.$ac_objext; then
16449 bakefile_cv_c_compiler___MWERKS__=yes
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16454 bakefile_cv_c_compiler___MWERKS__=no
16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16463 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16464 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16477 if test "$MWCC" != "yes"; then
16481 ac_cpp='$CPP $CPPFLAGS'
16482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16487 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16488 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16489 echo $ECHO_N "(cached) $ECHO_C" >&6
16491 cat >conftest.$ac_ext <<_ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16510 rm -f conftest.$ac_objext
16511 if { (ac_try="$ac_compile"
16512 case "(($ac_try" in
16513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16514 *) ac_try_echo=$ac_try;;
16516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16517 (eval "$ac_compile") 2>conftest.er1
16519 grep -v '^ *+' conftest.er1 >conftest.err
16521 cat conftest.err >&5
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); } && {
16524 test -z "$ac_c_werror_flag" ||
16525 test ! -s conftest.err
16526 } && test -s conftest.$ac_objext; then
16527 bakefile_cv_c_compiler___xlC__=yes
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16532 bakefile_cv_c_compiler___xlC__=no
16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16541 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16542 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16548 ac_cpp='$CPP $CPPFLAGS'
16549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16567 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16568 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16569 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 cat >conftest.$ac_ext <<_ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16583 #ifndef _SGI_COMPILER_VERSION
16591 rm -f conftest.$ac_objext
16592 if { (ac_try="$ac_compile"
16593 case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_compile") 2>conftest.er1
16600 grep -v '^ *+' conftest.er1 >conftest.err
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && {
16605 test -z "$ac_c_werror_flag" ||
16606 test ! -s conftest.err
16607 } && test -s conftest.$ac_objext; then
16608 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16613 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16622 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16623 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16629 ac_cpp='$CPP $CPPFLAGS'
16630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16639 if test "$INTELCC" != "yes"; then
16643 ac_cpp='$CPP $CPPFLAGS'
16644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16648 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16649 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16650 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 cat >conftest.$ac_ext <<_ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16672 rm -f conftest.$ac_objext
16673 if { (ac_try="$ac_compile"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compile") 2>conftest.er1
16681 grep -v '^ *+' conftest.er1 >conftest.err
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } && {
16686 test -z "$ac_c_werror_flag" ||
16687 test ! -s conftest.err
16688 } && test -s conftest.$ac_objext; then
16689 bakefile_cv_c_compiler___SUNPRO_C=yes
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16694 bakefile_cv_c_compiler___SUNPRO_C=no
16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16702 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16703 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16704 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16710 ac_cpp='$CPP $CPPFLAGS'
16711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16724 ac_cpp='$CPP $CPPFLAGS'
16725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16729 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16730 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16731 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16732 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 cat >conftest.$ac_ext <<_ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16753 rm -f conftest.$ac_objext
16754 if { (ac_try="$ac_compile"
16755 case "(($ac_try" in
16756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16757 *) ac_try_echo=$ac_try;;
16759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16760 (eval "$ac_compile") 2>conftest.er1
16762 grep -v '^ *+' conftest.er1 >conftest.err
16764 cat conftest.err >&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } && {
16767 test -z "$ac_c_werror_flag" ||
16768 test ! -s conftest.err
16769 } && test -s conftest.$ac_objext; then
16770 bakefile_cv_c_compiler___HP_cc=yes
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.$ac_ext >&5
16775 bakefile_cv_c_compiler___HP_cc=no
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16784 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16785 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16791 ac_cpp='$CPP $CPPFLAGS'
16792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16804 ac_cpp='$CPP $CPPFLAGS'
16805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16809 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16810 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16811 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16814 cat >conftest.$ac_ext <<_ACEOF
16817 cat confdefs.h >>conftest.$ac_ext
16818 cat >>conftest.$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16842 grep -v '^ *+' conftest.er1 >conftest.err
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.$ac_objext; then
16850 bakefile_cv_c_compiler___DECC=yes
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 bakefile_cv_c_compiler___DECC=no
16859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16863 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16864 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16865 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16871 ac_cpp='$CPP $CPPFLAGS'
16872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16884 ac_cpp='$CPP $CPPFLAGS'
16885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16889 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16890 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16891 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 cat >conftest.$ac_ext <<_ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16913 rm -f conftest.$ac_objext
16914 if { (ac_try="$ac_compile"
16915 case "(($ac_try" in
16916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16917 *) ac_try_echo=$ac_try;;
16919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16920 (eval "$ac_compile") 2>conftest.er1
16922 grep -v '^ *+' conftest.er1 >conftest.err
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } && {
16927 test -z "$ac_c_werror_flag" ||
16928 test ! -s conftest.err
16929 } && test -s conftest.$ac_objext; then
16930 bakefile_cv_c_compiler___SUNPRO_C=yes
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16935 bakefile_cv_c_compiler___SUNPRO_C=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16944 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16945 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16965 ac_cpp='$CPP $CPPFLAGS'
16966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16969 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16970 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16971 # On Suns, sometimes $CPP names a directory.
16972 if test -n "$CPP" && test -d "$CPP"; then
16975 if test -z "$CPP"; then
16976 if test "${ac_cv_prog_CPP+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 # Double quotes because CPP needs to be expanded
16980 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16982 ac_preproc_ok=false
16983 for ac_c_preproc_warn_flag in '' yes
16985 # Use a header file that comes with gcc, so configuring glibc
16986 # with a fresh cross-compiler works.
16987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16988 # <limits.h> exists even on freestanding compilers.
16989 # On the NeXT, cc -E runs the code through the compiler's parser,
16990 # not just through cpp. "Syntax error" is here to catch this case.
16991 cat >conftest.$ac_ext <<_ACEOF
16994 cat confdefs.h >>conftest.$ac_ext
16995 cat >>conftest.$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16998 # include <limits.h>
17000 # include <assert.h>
17004 if { (ac_try="$ac_cpp conftest.$ac_ext"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17012 grep -v '^ *+' conftest.er1 >conftest.err
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } >/dev/null && {
17017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17018 test ! -s conftest.err
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 # Broken: fails on valid input.
17029 rm -f conftest.err conftest.$ac_ext
17031 # OK, works on sane cases. Now check whether nonexistent headers
17032 # can be detected and how.
17033 cat >conftest.$ac_ext <<_ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 #include <ac_nonexistent.h>
17041 if { (ac_try="$ac_cpp conftest.$ac_ext"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } >/dev/null && {
17054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17055 test ! -s conftest.err
17057 # Broken: success on invalid input.
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 # Passes both tests.
17068 rm -f conftest.err conftest.$ac_ext
17071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17072 rm -f conftest.err conftest.$ac_ext
17073 if $ac_preproc_ok; then
17078 ac_cv_prog_CPP=$CPP
17081 CPP=$ac_cv_prog_CPP
17083 ac_cv_prog_CPP=$CPP
17085 { echo "$as_me:$LINENO: result: $CPP" >&5
17086 echo "${ECHO_T}$CPP" >&6; }
17087 ac_preproc_ok=false
17088 for ac_c_preproc_warn_flag in '' yes
17090 # Use a header file that comes with gcc, so configuring glibc
17091 # with a fresh cross-compiler works.
17092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17093 # <limits.h> exists even on freestanding compilers.
17094 # On the NeXT, cc -E runs the code through the compiler's parser,
17095 # not just through cpp. "Syntax error" is here to catch this case.
17096 cat >conftest.$ac_ext <<_ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17103 # include <limits.h>
17105 # include <assert.h>
17109 if { (ac_try="$ac_cpp conftest.$ac_ext"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17117 grep -v '^ *+' conftest.er1 >conftest.err
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } >/dev/null && {
17122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17123 test ! -s conftest.err
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17130 # Broken: fails on valid input.
17134 rm -f conftest.err conftest.$ac_ext
17136 # OK, works on sane cases. Now check whether nonexistent headers
17137 # can be detected and how.
17138 cat >conftest.$ac_ext <<_ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 #include <ac_nonexistent.h>
17146 if { (ac_try="$ac_cpp conftest.$ac_ext"
17147 case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17154 grep -v '^ *+' conftest.er1 >conftest.err
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } >/dev/null && {
17159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17162 # Broken: success on invalid input.
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17168 # Passes both tests.
17173 rm -f conftest.err conftest.$ac_ext
17176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17177 rm -f conftest.err conftest.$ac_ext
17178 if $ac_preproc_ok; then
17181 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17182 See \`config.log' for more details." >&5
17183 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17184 See \`config.log' for more details." >&2;}
17185 { (exit 1); exit 1; }; }
17189 ac_cpp='$CPP $CPPFLAGS'
17190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17195 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17196 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17197 if test "${ac_cv_path_GREP+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 # Extract the first word of "grep ggrep" to use in msg output
17201 if test -z "$GREP"; then
17202 set dummy grep ggrep; ac_prog_name=$2
17203 if test "${ac_cv_path_GREP+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 ac_path_GREP_found=false
17207 # Loop through the user's path and test for each of PROGNAME-LIST
17208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17209 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17212 test -z "$as_dir" && as_dir=.
17213 for ac_prog in grep ggrep; do
17214 for ac_exec_ext in '' $ac_executable_extensions; do
17215 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17216 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17217 # Check for GNU ac_path_GREP and select it if it is found.
17218 # Check for GNU $ac_path_GREP
17219 case `"$ac_path_GREP" --version 2>&1` in
17221 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17224 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17227 cat "conftest.in" "conftest.in" >"conftest.tmp"
17228 mv "conftest.tmp" "conftest.in"
17229 cp "conftest.in" "conftest.nl"
17230 echo 'GREP' >> "conftest.nl"
17231 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17232 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17233 ac_count=`expr $ac_count + 1`
17234 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17235 # Best one so far, save it but keep looking for a better one
17236 ac_cv_path_GREP="$ac_path_GREP"
17237 ac_path_GREP_max=$ac_count
17239 # 10*(2^10) chars as input seems more than enough
17240 test $ac_count -gt 10 && break
17242 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17246 $ac_path_GREP_found && break 3
17256 GREP="$ac_cv_path_GREP"
17257 if test -z "$GREP"; then
17258 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17259 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17260 { (exit 1); exit 1; }; }
17264 ac_cv_path_GREP=$GREP
17269 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17270 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17271 GREP="$ac_cv_path_GREP"
17274 { echo "$as_me:$LINENO: checking for egrep" >&5
17275 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17276 if test "${ac_cv_path_EGREP+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17280 then ac_cv_path_EGREP="$GREP -E"
17282 # Extract the first word of "egrep" to use in msg output
17283 if test -z "$EGREP"; then
17284 set dummy egrep; ac_prog_name=$2
17285 if test "${ac_cv_path_EGREP+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 ac_path_EGREP_found=false
17289 # Loop through the user's path and test for each of PROGNAME-LIST
17290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17291 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17294 test -z "$as_dir" && as_dir=.
17295 for ac_prog in egrep; do
17296 for ac_exec_ext in '' $ac_executable_extensions; do
17297 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17298 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17299 # Check for GNU ac_path_EGREP and select it if it is found.
17300 # Check for GNU $ac_path_EGREP
17301 case `"$ac_path_EGREP" --version 2>&1` in
17303 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17306 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17309 cat "conftest.in" "conftest.in" >"conftest.tmp"
17310 mv "conftest.tmp" "conftest.in"
17311 cp "conftest.in" "conftest.nl"
17312 echo 'EGREP' >> "conftest.nl"
17313 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17314 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17315 ac_count=`expr $ac_count + 1`
17316 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17317 # Best one so far, save it but keep looking for a better one
17318 ac_cv_path_EGREP="$ac_path_EGREP"
17319 ac_path_EGREP_max=$ac_count
17321 # 10*(2^10) chars as input seems more than enough
17322 test $ac_count -gt 10 && break
17324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17328 $ac_path_EGREP_found && break 3
17338 EGREP="$ac_cv_path_EGREP"
17339 if test -z "$EGREP"; then
17340 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17341 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17342 { (exit 1); exit 1; }; }
17346 ac_cv_path_EGREP=$EGREP
17352 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17353 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17354 EGREP="$ac_cv_path_EGREP"
17357 if test $ac_cv_c_compiler_gnu = yes; then
17358 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17359 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17360 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 ac_pattern="Autoconf.*'x'"
17364 cat >conftest.$ac_ext <<_ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17374 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17375 ac_cv_prog_gcc_traditional=yes
17377 ac_cv_prog_gcc_traditional=no
17382 if test $ac_cv_prog_gcc_traditional = no; then
17383 cat >conftest.$ac_ext <<_ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 #include <termio.h>
17392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17393 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17394 ac_cv_prog_gcc_traditional=yes
17400 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17401 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17402 if test $ac_cv_prog_gcc_traditional = yes; then
17403 CC="$CC -traditional"
17408 CXXFLAGS=${CXXFLAGS:=}
17410 ac_cpp='$CXXCPP $CPPFLAGS'
17411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17414 if test -z "$CXX"; then
17415 if test -n "$CCC"; then
17418 if test -n "$ac_tool_prefix"; 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_tool_prefix$ac_prog", so it can be a program name with args.
17422 set dummy $ac_tool_prefix$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_CXX+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 if test -n "$CXX"; then
17429 ac_cv_prog_CXX="$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_CXX="$ac_tool_prefix$ac_prog"
17439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17448 CXX=$ac_cv_prog_CXX
17449 if test -n "$CXX"; then
17450 { echo "$as_me:$LINENO: result: $CXX" >&5
17451 echo "${ECHO_T}$CXX" >&6; }
17453 { echo "$as_me:$LINENO: result: no" >&5
17454 echo "${ECHO_T}no" >&6; }
17458 test -n "$CXX" && break
17461 if test -z "$CXX"; then
17463 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17465 # Extract the first word of "$ac_prog", so it can be a program name with args.
17466 set dummy $ac_prog; ac_word=$2
17467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17469 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 if test -n "$ac_ct_CXX"; then
17473 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17476 for as_dir in $PATH
17479 test -z "$as_dir" && as_dir=.
17480 for ac_exec_ext in '' $ac_executable_extensions; do
17481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17482 ac_cv_prog_ac_ct_CXX="$ac_prog"
17483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17492 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17493 if test -n "$ac_ct_CXX"; then
17494 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17495 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17497 { echo "$as_me:$LINENO: result: no" >&5
17498 echo "${ECHO_T}no" >&6; }
17502 test -n "$ac_ct_CXX" && break
17505 if test "x$ac_ct_CXX" = x; then
17508 case $cross_compiling:$ac_tool_warned in
17510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17511 whose name does not start with the host triplet. If you think this
17512 configuration is useful to you, please write to autoconf@gnu.org." >&5
17513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17514 whose name does not start with the host triplet. If you think this
17515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17516 ac_tool_warned=yes ;;
17524 # Provide some information about the compiler.
17525 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17526 ac_compiler=`set X $ac_compile; echo $2`
17527 { (ac_try="$ac_compiler --version >&5"
17528 case "(($ac_try" in
17529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17530 *) ac_try_echo=$ac_try;;
17532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17533 (eval "$ac_compiler --version >&5") 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }
17537 { (ac_try="$ac_compiler -v >&5"
17538 case "(($ac_try" in
17539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17540 *) ac_try_echo=$ac_try;;
17542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17543 (eval "$ac_compiler -v >&5") 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }
17547 { (ac_try="$ac_compiler -V >&5"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17550 *) ac_try_echo=$ac_try;;
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compiler -V >&5") 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }
17558 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17559 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 cat >conftest.$ac_ext <<_ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17581 rm -f conftest.$ac_objext
17582 if { (ac_try="$ac_compile"
17583 case "(($ac_try" in
17584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17585 *) ac_try_echo=$ac_try;;
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_compile") 2>conftest.er1
17590 grep -v '^ *+' conftest.er1 >conftest.err
17592 cat conftest.err >&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } && {
17595 test -z "$ac_cxx_werror_flag" ||
17596 test ! -s conftest.err
17597 } && test -s conftest.$ac_objext; then
17598 ac_compiler_gnu=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17610 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17611 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17612 GXX=`test $ac_compiler_gnu = yes && echo yes`
17613 ac_test_CXXFLAGS=${CXXFLAGS+set}
17614 ac_save_CXXFLAGS=$CXXFLAGS
17615 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17616 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17617 if test "${ac_cv_prog_cxx_g+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17621 ac_cxx_werror_flag=yes
17622 ac_cv_prog_cxx_g=no
17624 cat >conftest.$ac_ext <<_ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17639 rm -f conftest.$ac_objext
17640 if { (ac_try="$ac_compile"
17641 case "(($ac_try" in
17642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17643 *) ac_try_echo=$ac_try;;
17645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17646 (eval "$ac_compile") 2>conftest.er1
17648 grep -v '^ *+' conftest.er1 >conftest.err
17650 cat conftest.err >&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } && {
17653 test -z "$ac_cxx_werror_flag" ||
17654 test ! -s conftest.err
17655 } && test -s conftest.$ac_objext; then
17656 ac_cv_prog_cxx_g=yes
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.$ac_ext >&5
17662 cat >conftest.$ac_ext <<_ACEOF
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17677 rm -f conftest.$ac_objext
17678 if { (ac_try="$ac_compile"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_compile") 2>conftest.er1
17686 grep -v '^ *+' conftest.er1 >conftest.err
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && {
17691 test -z "$ac_cxx_werror_flag" ||
17692 test ! -s conftest.err
17693 } && test -s conftest.$ac_objext; then
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17699 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17701 cat >conftest.$ac_ext <<_ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17716 rm -f conftest.$ac_objext
17717 if { (ac_try="$ac_compile"
17718 case "(($ac_try" in
17719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17720 *) ac_try_echo=$ac_try;;
17722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17723 (eval "$ac_compile") 2>conftest.er1
17725 grep -v '^ *+' conftest.er1 >conftest.err
17727 cat conftest.err >&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } && {
17730 test -z "$ac_cxx_werror_flag" ||
17731 test ! -s conftest.err
17732 } && test -s conftest.$ac_objext; then
17733 ac_cv_prog_cxx_g=yes
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.$ac_ext >&5
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17750 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17751 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17752 if test "$ac_test_CXXFLAGS" = set; then
17753 CXXFLAGS=$ac_save_CXXFLAGS
17754 elif test $ac_cv_prog_cxx_g = yes; then
17755 if test "$GXX" = yes; then
17761 if test "$GXX" = yes; then
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17781 ac_cpp='$CXXCPP $CPPFLAGS'
17782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17786 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17787 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17788 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17791 cat >conftest.$ac_ext <<_ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17802 #ifndef __INTEL_COMPILER
17810 rm -f conftest.$ac_objext
17811 if { (ac_try="$ac_compile"
17812 case "(($ac_try" in
17813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17817 (eval "$ac_compile") 2>conftest.er1
17819 grep -v '^ *+' conftest.er1 >conftest.err
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } && {
17824 test -z "$ac_cxx_werror_flag" ||
17825 test ! -s conftest.err
17826 } && test -s conftest.$ac_objext; then
17827 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17832 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17841 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17842 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17848 ac_cpp='$CPP $CPPFLAGS'
17849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17856 if test "$INTELCXX" = "yes"; then
17860 ac_cpp='$CXXCPP $CPPFLAGS'
17861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17865 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17866 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17867 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 cat >conftest.$ac_ext <<_ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17881 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17898 grep -v '^ *+' conftest.er1 >conftest.err
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_cxx_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.$ac_objext; then
17906 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17911 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17921 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17937 ac_cpp='$CXXCPP $CPPFLAGS'
17938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17942 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17943 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17944 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 cat >conftest.$ac_ext <<_ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17958 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17966 rm -f conftest.$ac_objext
17967 if { (ac_try="$ac_compile"
17968 case "(($ac_try" in
17969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17970 *) ac_try_echo=$ac_try;;
17972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17973 (eval "$ac_compile") 2>conftest.er1
17975 grep -v '^ *+' conftest.er1 >conftest.err
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } && {
17980 test -z "$ac_cxx_werror_flag" ||
17981 test ! -s conftest.err
17982 } && test -s conftest.$ac_objext; then
17983 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17988 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17998 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18013 if test "x$GCXX" != "xyes"; then
18014 if test "xCXX" = "xC"; then
18015 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18016 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18017 if test "${bakefile_cv_c_exto+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 cat >conftest.$ac_ext <<_ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18035 rm -f conftest.$ac_objext conftest.$ac_ext.o
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; then
18041 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18043 conftest.$ac_ext.o)
18044 bakefile_cv_c_exto="-ext o"
18051 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18052 See \`config.log' for more details." >&5
18053 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18054 See \`config.log' for more details." >&2;}
18055 { (exit 1); exit 1; }; }
18059 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18063 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18065 if test "c" = "c"; then
18066 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18068 if test "c" = "cxx"; then
18069 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18073 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18074 unset ac_cv_prog_cc_g
18075 ac_test_CFLAGS=${CFLAGS+set}
18076 ac_save_CFLAGS=$CFLAGS
18077 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18078 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18079 if test "${ac_cv_prog_cc_g+set}" = set; then
18080 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 ac_save_c_werror_flag=$ac_c_werror_flag
18083 ac_c_werror_flag=yes
18086 cat >conftest.$ac_ext <<_ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18101 rm -f conftest.$ac_objext
18102 if { (ac_try="$ac_compile"
18103 case "(($ac_try" in
18104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18105 *) ac_try_echo=$ac_try;;
18107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18108 (eval "$ac_compile") 2>conftest.er1
18110 grep -v '^ *+' conftest.er1 >conftest.err
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } && {
18115 test -z "$ac_c_werror_flag" ||
18116 test ! -s conftest.err
18117 } && test -s conftest.$ac_objext; then
18118 ac_cv_prog_cc_g=yes
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18124 cat >conftest.$ac_ext <<_ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18139 rm -f conftest.$ac_objext
18140 if { (ac_try="$ac_compile"
18141 case "(($ac_try" in
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18143 *) ac_try_echo=$ac_try;;
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18146 (eval "$ac_compile") 2>conftest.er1
18148 grep -v '^ *+' conftest.er1 >conftest.err
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } && {
18153 test -z "$ac_c_werror_flag" ||
18154 test ! -s conftest.err
18155 } && test -s conftest.$ac_objext; then
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18161 ac_c_werror_flag=$ac_save_c_werror_flag
18163 cat >conftest.$ac_ext <<_ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18178 rm -f conftest.$ac_objext
18179 if { (ac_try="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18187 grep -v '^ *+' conftest.er1 >conftest.err
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.$ac_objext; then
18195 ac_cv_prog_cc_g=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18210 ac_c_werror_flag=$ac_save_c_werror_flag
18212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18214 if test "$ac_test_CFLAGS" = set; then
18215 CFLAGS=$ac_save_CFLAGS
18216 elif test $ac_cv_prog_cc_g = yes; then
18217 if test "$GCC" = yes; then
18223 if test "$GCC" = yes; then
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18242 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18243 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18244 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 cat >conftest.$ac_ext <<_ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18266 rm -f conftest.$ac_objext
18267 if { (ac_try="$ac_compile"
18268 case "(($ac_try" in
18269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18270 *) ac_try_echo=$ac_try;;
18272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18273 (eval "$ac_compile") 2>conftest.er1
18275 grep -v '^ *+' conftest.er1 >conftest.err
18277 cat conftest.err >&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } && {
18280 test -z "$ac_cxx_werror_flag" ||
18281 test ! -s conftest.err
18282 } && test -s conftest.$ac_objext; then
18283 bakefile_cv_cxx_compiler___xlC__=yes
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18288 bakefile_cv_cxx_compiler___xlC__=no
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18297 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18298 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18317 ac_cpp='$CXXCPP $CPPFLAGS'
18318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18322 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18323 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18324 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 cat >conftest.$ac_ext <<_ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18346 rm -f conftest.$ac_objext
18347 if { (ac_try="$ac_compile"
18348 case "(($ac_try" in
18349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18350 *) ac_try_echo=$ac_try;;
18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18353 (eval "$ac_compile") 2>conftest.er1
18355 grep -v '^ *+' conftest.er1 >conftest.err
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } && {
18360 test -z "$ac_cxx_werror_flag" ||
18361 test ! -s conftest.err
18362 } && test -s conftest.$ac_objext; then
18363 bakefile_cv_cxx_compiler___MWERKS__=yes
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18368 bakefile_cv_cxx_compiler___MWERKS__=no
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18376 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18377 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18378 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18391 if test "$MWCXX" != "yes"; then
18395 ac_cpp='$CXXCPP $CPPFLAGS'
18396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18400 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18401 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18402 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 cat >conftest.$ac_ext <<_ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18428 *) ac_try_echo=$ac_try;;
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18433 grep -v '^ *+' conftest.er1 >conftest.err
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_cxx_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.$ac_objext; then
18441 bakefile_cv_cxx_compiler___xlC__=yes
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 bakefile_cv_cxx_compiler___xlC__=no
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18456 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18462 ac_cpp='$CPP $CPPFLAGS'
18463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18481 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18482 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18483 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18484 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 cat >conftest.$ac_ext <<_ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18497 #ifndef _SGI_COMPILER_VERSION
18505 rm -f conftest.$ac_objext
18506 if { (ac_try="$ac_compile"
18507 case "(($ac_try" in
18508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_compile") 2>conftest.er1
18514 grep -v '^ *+' conftest.er1 >conftest.err
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } && {
18519 test -z "$ac_cxx_werror_flag" ||
18520 test ! -s conftest.err
18521 } && test -s conftest.$ac_objext; then
18522 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18527 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18536 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18537 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18543 ac_cpp='$CPP $CPPFLAGS'
18544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18553 if test "$INTELCXX" != "yes"; then
18557 ac_cpp='$CXXCPP $CPPFLAGS'
18558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18562 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18563 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18564 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 cat >conftest.$ac_ext <<_ACEOF
18570 cat confdefs.h >>conftest.$ac_ext
18571 cat >>conftest.$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18578 #ifndef __SUNPRO_CC
18586 rm -f conftest.$ac_objext
18587 if { (ac_try="$ac_compile"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_compile") 2>conftest.er1
18595 grep -v '^ *+' conftest.er1 >conftest.err
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } && {
18600 test -z "$ac_cxx_werror_flag" ||
18601 test ! -s conftest.err
18602 } && test -s conftest.$ac_objext; then
18603 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18608 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18617 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18618 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18638 ac_cpp='$CXXCPP $CPPFLAGS'
18639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18643 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18644 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18645 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 cat >conftest.$ac_ext <<_ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18667 rm -f conftest.$ac_objext
18668 if { (ac_try="$ac_compile"
18669 case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_compile") 2>conftest.er1
18676 grep -v '^ *+' conftest.er1 >conftest.err
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } && {
18681 test -z "$ac_cxx_werror_flag" ||
18682 test ! -s conftest.err
18683 } && test -s conftest.$ac_objext; then
18684 bakefile_cv_cxx_compiler___HP_aCC=yes
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18689 bakefile_cv_cxx_compiler___HP_aCC=no
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18699 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18705 ac_cpp='$CPP $CPPFLAGS'
18706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718 ac_cpp='$CXXCPP $CPPFLAGS'
18719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18723 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18724 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18725 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 cat >conftest.$ac_ext <<_ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18756 grep -v '^ *+' conftest.er1 >conftest.err
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_cxx_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then
18764 bakefile_cv_cxx_compiler___DECCXX=yes
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18769 bakefile_cv_cxx_compiler___DECCXX=no
18773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18778 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18779 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18785 ac_cpp='$CPP $CPPFLAGS'
18786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18798 ac_cpp='$CXXCPP $CPPFLAGS'
18799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18803 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18804 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18805 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 cat >conftest.$ac_ext <<_ACEOF
18811 cat confdefs.h >>conftest.$ac_ext
18812 cat >>conftest.$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18819 #ifndef __SUNPRO_CC
18827 rm -f conftest.$ac_objext
18828 if { (ac_try="$ac_compile"
18829 case "(($ac_try" in
18830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18831 *) ac_try_echo=$ac_try;;
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_compile") 2>conftest.er1
18836 grep -v '^ *+' conftest.er1 >conftest.err
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } && {
18841 test -z "$ac_cxx_werror_flag" ||
18842 test ! -s conftest.err
18843 } && test -s conftest.$ac_objext; then
18844 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.$ac_ext >&5
18849 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18857 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18858 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18859 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18865 ac_cpp='$CPP $CPPFLAGS'
18866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18878 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18879 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18880 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18881 { (exit 1); exit 1; }; }
18884 if test "x$SUNCXX" != xyes; then
18885 if test -n "$ac_tool_prefix"; then
18886 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18887 set dummy ${ac_tool_prefix}ar; ac_word=$2
18888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18890 if test "${ac_cv_prog_AR+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 if test -n "$AR"; then
18894 ac_cv_prog_AR="$AR" # Let the user override the test.
18896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18897 for as_dir in $PATH
18900 test -z "$as_dir" && as_dir=.
18901 for ac_exec_ext in '' $ac_executable_extensions; do
18902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18903 ac_cv_prog_AR="${ac_tool_prefix}ar"
18904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18914 if test -n "$AR"; then
18915 { echo "$as_me:$LINENO: result: $AR" >&5
18916 echo "${ECHO_T}$AR" >&6; }
18918 { echo "$as_me:$LINENO: result: no" >&5
18919 echo "${ECHO_T}no" >&6; }
18924 if test -z "$ac_cv_prog_AR"; then
18926 # Extract the first word of "ar", so it can be a program name with args.
18927 set dummy ar; ac_word=$2
18928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18930 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 if test -n "$ac_ct_AR"; then
18934 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18937 for as_dir in $PATH
18940 test -z "$as_dir" && as_dir=.
18941 for ac_exec_ext in '' $ac_executable_extensions; do
18942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18943 ac_cv_prog_ac_ct_AR="ar"
18944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18953 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18954 if test -n "$ac_ct_AR"; then
18955 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18956 echo "${ECHO_T}$ac_ct_AR" >&6; }
18958 { echo "$as_me:$LINENO: result: no" >&5
18959 echo "${ECHO_T}no" >&6; }
18962 if test "x$ac_ct_AR" = x; then
18965 case $cross_compiling:$ac_tool_warned in
18967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18968 whose name does not start with the host triplet. If you think this
18969 configuration is useful to you, please write to autoconf@gnu.org." >&5
18970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18971 whose name does not start with the host triplet. If you think this
18972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18973 ac_tool_warned=yes ;;
18978 AR="$ac_cv_prog_AR"
18981 if test "x$AR" = "x" ; then
18982 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18983 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18984 { (exit 1); exit 1; }; }
18989 if test "$wxUSE_MAC" = 1; then
18991 retest_macosx_linking=no
18994 if test "x$wxUSE_MAC_ARCH" != xno; then
18995 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18998 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18999 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19000 # Implicitly turn on the new --with-macosx-sdk using the default
19001 # SDK which provides the behaviour this option has always had.
19002 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19003 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19004 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19005 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19006 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19007 wxUSE_MACOSX_SDK=yes
19010 # Complain to user if he specified an argument to --enable-universal_binary
19011 # and also 1) specified --with-macosx-sdk using the default (yes) or
19012 # 2) specified --with-macosx-sdk using a path or 3) specified
19013 # --without-macosx-sdk (no).
19014 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19015 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19016 See \`config.log' for more details." >&5
19017 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19018 See \`config.log' for more details." >&2;}
19019 { (exit 1); exit 1; }; }
19021 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19022 # special-case the empty string because the below test simply
19023 # converts "no" to the empty string anyway.
19024 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19025 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19026 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19029 OSX_ARCH_OPTS="-arch ppc -arch i386"
19030 if test "$wxUSE_OSX_COCOA" = 1; then
19031 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19033 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19034 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19035 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19036 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19038 retest_macosx_linking=yes
19040 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19041 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19045 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19046 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19047 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19048 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19049 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19051 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19053 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19054 # TODO: Search for most recent SDK and use it.
19055 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19059 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19060 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19061 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19062 if ! test -d "$wxUSE_MACOSX_SDK"; then
19063 { { echo "$as_me:$LINENO: error: not found
19064 See \`config.log' for more details." >&5
19065 echo "$as_me: error: not found
19066 See \`config.log' for more details." >&2;}
19067 { (exit 1); exit 1; }; }
19069 { echo "$as_me:$LINENO: result: exists" >&5
19070 echo "${ECHO_T}exists" >&6; }
19072 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19073 retest_macosx_linking=yes
19076 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19077 wxUSE_MACOSX_VERSION_MIN=
19078 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19079 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19080 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19081 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19083 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/'`
19085 # If that failed, try again with the new key
19086 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19088 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/'`
19092 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19093 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19094 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19095 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19097 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19098 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19099 wxUSE_MACOSX_VERSION_MIN=
19102 wxUSE_MACOSX_VERSION_MIN=
19104 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19105 for ac_prog in sw_vers
19107 # Extract the first word of "$ac_prog", so it can be a program name with args.
19108 set dummy $ac_prog; ac_word=$2
19109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19111 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 if test -n "$OSX_SW_VERS"; then
19115 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19118 for as_dir in $PATH
19121 test -z "$as_dir" && as_dir=.
19122 for ac_exec_ext in '' $ac_executable_extensions; do
19123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19124 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19134 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19135 if test -n "$OSX_SW_VERS"; then
19136 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19137 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19139 { echo "$as_me:$LINENO: result: no" >&5
19140 echo "${ECHO_T}no" >&6; }
19144 test -n "$OSX_SW_VERS" && break
19147 if test "$OSX_SW_VERS" != ""; then
19148 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19150 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19151 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19155 case "$OSX_VERSION" in
19157 wxUSE_MACOSX_VERSION_MIN=10.4
19161 if test "$wxUSE_OSX_CARBON" = 1; then
19162 # otherwise configure stops on leopard for universal_binary
19163 wxUSE_MACOSX_VERSION_MIN=10.4
19165 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19166 wxUSE_MACOSX_VERSION_MIN=10.5
19173 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19177 if test "$wxUSE_OSX_CARBON" = 1; then
19181 if test "x$NEEDS_GCC40" == "xyes"; then
19182 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19183 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19184 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19185 if test "x$CC" = "xgcc"; then
19186 CCVERSION=`$CC --version | grep 4.[2-9].`
19187 if test "x$CCVERSION" != "x"; then
19188 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19193 if test "x$CXX" = "xg++"; then
19194 CCVERSION=`$CXX --version | grep 4.[2-9].`
19195 if test "x$CCVERSION" != "x"; then
19201 if test "x$MACOSX_SDK_OPTS" != "x"; then
19202 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19203 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19204 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19207 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19208 if test "$wxUSE_OSX_IPHONE" = 1; then
19209 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19211 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19213 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19214 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19215 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19216 retest_macosx_linking=yes
19219 if test "x$retest_macosx_linking" = "xyes"; then
19221 ac_cpp='$CPP $CPPFLAGS'
19222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19226 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19227 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19228 cat >conftest.$ac_ext <<_ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19243 rm -f conftest.$ac_objext conftest$ac_exeext
19244 if { (ac_try="$ac_link"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_link") 2>conftest.er1
19252 grep -v '^ *+' conftest.er1 >conftest.err
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest$ac_exeext &&
19260 $as_test_x conftest$ac_exeext; then
19261 { echo "$as_me:$LINENO: result: yes" >&5
19262 echo "${ECHO_T}yes" >&6; }
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19267 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19268 See \`config.log' for more details." >&5
19269 echo "$as_me: error: no. Try a different SDK
19270 See \`config.log' for more details." >&2;}
19271 { (exit 1); exit 1; }; }; exit 1
19274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19275 conftest$ac_exeext conftest.$ac_ext
19277 ac_cpp='$CPP $CPPFLAGS'
19278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19284 ac_cpp='$CXXCPP $CPPFLAGS'
19285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19290 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19291 cat >conftest.$ac_ext <<_ACEOF
19294 cat confdefs.h >>conftest.$ac_ext
19295 cat >>conftest.$ac_ext <<_ACEOF
19296 /* end confdefs.h. */
19306 rm -f conftest.$ac_objext conftest$ac_exeext
19307 if { (ac_try="$ac_link"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_link") 2>conftest.er1
19315 grep -v '^ *+' conftest.er1 >conftest.err
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && {
19320 test -z "$ac_cxx_werror_flag" ||
19321 test ! -s conftest.err
19322 } && test -s conftest$ac_exeext &&
19323 $as_test_x conftest$ac_exeext; then
19324 { echo "$as_me:$LINENO: result: yes" >&5
19325 echo "${ECHO_T}yes" >&6; }
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19330 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19331 See \`config.log' for more details." >&5
19332 echo "$as_me: error: no. Try a different SDK
19333 See \`config.log' for more details." >&2;}
19334 { (exit 1); exit 1; }; }; exit 1
19337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19338 conftest$ac_exeext conftest.$ac_ext
19340 ac_cpp='$CPP $CPPFLAGS'
19341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19351 INSTALL_PROGRAM="cp -fp"
19352 INSTALL_DATA="cp -fp"
19359 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19360 CXXFLAGS="-qunique $CXXFLAGS"
19364 powerpc-*-darwin* )
19365 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19366 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19367 cat >conftest.$ac_ext <<_ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19377 #ifndef __POWERPC__
19378 choke me for lack of PowerPC
19385 rm -f conftest.$ac_objext
19386 if { (ac_try="$ac_compile"
19387 case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19392 (eval "$ac_compile") 2>conftest.er1
19394 grep -v '^ *+' conftest.er1 >conftest.err
19396 cat conftest.err >&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && {
19399 test -z "$ac_c_werror_flag" ||
19400 test ! -s conftest.err
19401 } && test -s conftest.$ac_objext; then
19402 { echo "$as_me:$LINENO: result: yes" >&5
19403 echo "${ECHO_T}yes" >&6; }
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19408 { echo "$as_me:$LINENO: result: no" >&5
19409 echo "${ECHO_T}no" >&6; }
19410 cat >>confdefs.h <<\_ACEOF
19411 #define __POWERPC__ 1
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19424 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19425 cat >conftest.$ac_ext <<_ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
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; }
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 { echo "$as_me:$LINENO: result: no" >&5
19465 echo "${ECHO_T}no" >&6; }
19466 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19467 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19468 cat >conftest.$ac_ext <<_ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #define __CF_USE_FRAMEWORK_INCLUDES__
19475 #include <CoreFoundation/CFBase.h>
19485 rm -f conftest.$ac_objext
19486 if { (ac_try="$ac_compile"
19487 case "(($ac_try" in
19488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19489 *) ac_try_echo=$ac_try;;
19491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19492 (eval "$ac_compile") 2>conftest.er1
19494 grep -v '^ *+' conftest.er1 >conftest.err
19496 cat conftest.err >&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } && {
19499 test -z "$ac_c_werror_flag" ||
19500 test ! -s conftest.err
19501 } && test -s conftest.$ac_objext; then
19502 { echo "$as_me:$LINENO: result: yes" >&5
19503 echo "${ECHO_T}yes" >&6; }
19504 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19509 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19510 See \`config.log' for more details." >&5
19511 echo "$as_me: error: no. CoreFoundation not available.
19512 See \`config.log' for more details." >&2;}
19513 { (exit 1); exit 1; }; }
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 doesnt_want_win32=0
19530 if test "$wxUSE_MSW" = 1 ; then
19533 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19534 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19535 if test "${wx_cv_nocygwin+set}" = set; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19567 grep -v '^ *+' conftest.er1 >conftest.err
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19589 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19591 if test "$wx_cv_nocygwin" = "yes"; then
19594 doesnt_want_win32=1
19597 if test "$wants_win32" = 1 ; then
19598 BAKEFILE_FORCE_PLATFORM=win32
19606 if test "$wxUSE_WINE" = "yes"; then
19608 LDFLAGS_GUI="-mwindows"
19611 if test "$wants_win32" = 1 ; then
19614 cat >>confdefs.h <<\_ACEOF
19615 #define __WIN32__ 1
19618 cat >>confdefs.h <<\_ACEOF
19619 #define __WIN95__ 1
19622 cat >>confdefs.h <<\_ACEOF
19623 #define __WINDOWS__ 1
19626 cat >>confdefs.h <<\_ACEOF
19627 #define __GNUWIN32__ 1
19630 cat >>confdefs.h <<\_ACEOF
19635 if test "$doesnt_want_win32" = 1 ; then
19640 if test "$USE_UNIX" = 1 ; then
19642 cat >>confdefs.h <<\_ACEOF
19649 *-pc-os2_emx | *-pc-os2-emx )
19650 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19651 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19652 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19653 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 ac_check_lib_save_LIBS=$LIBS
19657 LIBS="-lcExt $LIBS"
19658 cat >conftest.$ac_ext <<_ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19665 /* Override any GCC internal prototype to avoid an error.
19666 Use char because int might match the return type of a GCC
19667 builtin and then its argument prototype would still apply. */
19680 rm -f conftest.$ac_objext conftest$ac_exeext
19681 if { (ac_try="$ac_link"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_link") 2>conftest.er1
19689 grep -v '^ *+' conftest.er1 >conftest.err
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest$ac_exeext &&
19697 $as_test_x conftest$ac_exeext; then
19698 ac_cv_lib_cExt_drand48=yes
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.$ac_ext >&5
19703 ac_cv_lib_cExt_drand48=no
19706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19707 conftest$ac_exeext conftest.$ac_ext
19708 LIBS=$ac_check_lib_save_LIBS
19710 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19711 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19712 if test $ac_cv_lib_cExt_drand48 = yes; then
19713 LIBS="$LIBS -lcExt"
19717 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19719 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19720 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19721 if test "${wx_cv_gccversion+set}" = set; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 if test "$cross_compiling" = yes; then
19726 wx_cv_gccversion="EMX2"
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19740 FILE *f=fopen("conftestval", "w");
19745 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19747 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19757 rm -f conftest$ac_exeext
19758 if { (ac_try="$ac_link"
19759 case "(($ac_try" in
19760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_link") 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19768 { (case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_try") 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 wx_cv_gccversion=`cat conftestval`
19779 echo "$as_me: program exited with status $ac_status" >&5
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 ( exit $ac_status )
19784 wx_cv_gccversion="EMX2"
19786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19792 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19793 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19794 if test "$wx_cv_gccversion" = "EMX2"; then
19795 LIBS="$LIBS -lstdcpp"
19796 LDFLAGS="$LDFLAGS -Zsysv-signals"
19798 if test "$wx_cv_gccversion" = "EMX3"; then
19799 LIBS="$LIBS -lstdcxx -lgcc"
19800 LDFLAGS="$LDFLAGS -Zsysv-signals"
19802 LIBS="$LIBS -lstdc++"
19805 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19806 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19807 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19814 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19815 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19816 if test "${ac_cv_string_strcasecmp+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 cat >conftest.$ac_ext <<_ACEOF
19823 cat confdefs.h >>conftest.$ac_ext
19824 cat >>conftest.$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19827 #include <string.h>
19833 strcasecmp("foo", "bar");
19839 rm -f conftest.$ac_objext conftest$ac_exeext
19840 if { (ac_try="$ac_link"
19841 case "(($ac_try" in
19842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_link") 2>conftest.er1
19848 grep -v '^ *+' conftest.er1 >conftest.err
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && {
19853 test -z "$ac_c_werror_flag" ||
19854 test ! -s conftest.err
19855 } && test -s conftest$ac_exeext &&
19856 $as_test_x conftest$ac_exeext; then
19857 ac_cv_string_strcasecmp=yes
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19862 ac_cv_string_strcasecmp=no
19866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19867 conftest$ac_exeext conftest.$ac_ext
19870 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19871 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19873 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19874 cat >>confdefs.h <<\_ACEOF
19875 #define HAVE_STRCASECMP_IN_STRING_H 1
19879 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19880 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19881 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19885 cat >conftest.$ac_ext <<_ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19892 #include <strings.h>
19898 strcasecmp("foo", "bar");
19904 rm -f conftest.$ac_objext conftest$ac_exeext
19905 if { (ac_try="$ac_link"
19906 case "(($ac_try" in
19907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19908 *) ac_try_echo=$ac_try;;
19910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19911 (eval "$ac_link") 2>conftest.er1
19913 grep -v '^ *+' conftest.er1 >conftest.err
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } && {
19918 test -z "$ac_c_werror_flag" ||
19919 test ! -s conftest.err
19920 } && test -s conftest$ac_exeext &&
19921 $as_test_x conftest$ac_exeext; then
19922 ac_cv_strings_strcasecmp=yes
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 ac_cv_strings_strcasecmp=no
19931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19932 conftest$ac_exeext conftest.$ac_ext
19935 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19936 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19938 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19939 cat >>confdefs.h <<\_ACEOF
19940 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19944 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19945 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19946 { (exit 1); exit 1; }; }
19954 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19955 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19956 if test "${ac_cv_header_stdc+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 cat >conftest.$ac_ext <<_ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #include <stdlib.h>
19966 #include <stdarg.h>
19967 #include <string.h>
19978 rm -f conftest.$ac_objext
19979 if { (ac_try="$ac_compile"
19980 case "(($ac_try" in
19981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19982 *) ac_try_echo=$ac_try;;
19984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19985 (eval "$ac_compile") 2>conftest.er1
19987 grep -v '^ *+' conftest.er1 >conftest.err
19989 cat conftest.err >&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } && {
19992 test -z "$ac_c_werror_flag" ||
19993 test ! -s conftest.err
19994 } && test -s conftest.$ac_objext; then
19995 ac_cv_header_stdc=yes
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
20000 ac_cv_header_stdc=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 if test $ac_cv_header_stdc = yes; then
20006 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20007 cat >conftest.$ac_ext <<_ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 #include <string.h>
20016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20017 $EGREP "memchr" >/dev/null 2>&1; then
20020 ac_cv_header_stdc=no
20026 if test $ac_cv_header_stdc = yes; then
20027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20028 cat >conftest.$ac_ext <<_ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034 #include <stdlib.h>
20037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20038 $EGREP "free" >/dev/null 2>&1; then
20041 ac_cv_header_stdc=no
20047 if test $ac_cv_header_stdc = yes; then
20048 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20049 if test "$cross_compiling" = yes; then
20052 cat >conftest.$ac_ext <<_ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20059 #include <stdlib.h>
20060 #if ((' ' & 0x0FF) == 0x020)
20061 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20062 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20064 # define ISLOWER(c) \
20065 (('a' <= (c) && (c) <= 'i') \
20066 || ('j' <= (c) && (c) <= 'r') \
20067 || ('s' <= (c) && (c) <= 'z'))
20068 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20071 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20076 for (i = 0; i < 256; i++)
20077 if (XOR (islower (i), ISLOWER (i))
20078 || toupper (i) != TOUPPER (i))
20083 rm -f conftest$ac_exeext
20084 if { (ac_try="$ac_link"
20085 case "(($ac_try" in
20086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 *) ac_try_echo=$ac_try;;
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_link") 2>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20094 { (case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_try") 2>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20105 echo "$as_me: program exited with status $ac_status" >&5
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.$ac_ext >&5
20109 ( exit $ac_status )
20110 ac_cv_header_stdc=no
20112 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20118 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20119 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20120 if test $ac_cv_header_stdc = yes; then
20122 cat >>confdefs.h <<\_ACEOF
20123 #define STDC_HEADERS 1
20128 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20138 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20139 inttypes.h stdint.h unistd.h
20141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20142 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 cat >conftest.$ac_ext <<_ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 $ac_includes_default
20155 #include <$ac_header>
20157 rm -f conftest.$ac_objext
20158 if { (ac_try="$ac_compile"
20159 case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_compile") 2>conftest.er1
20166 grep -v '^ *+' conftest.er1 >conftest.err
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } && {
20171 test -z "$ac_c_werror_flag" ||
20172 test ! -s conftest.err
20173 } && test -s conftest.$ac_objext; then
20174 eval "$as_ac_Header=yes"
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20179 eval "$as_ac_Header=no"
20182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 ac_res=`eval echo '${'$as_ac_Header'}'`
20185 { echo "$as_me:$LINENO: result: $ac_res" >&5
20186 echo "${ECHO_T}$ac_res" >&6; }
20187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20188 cat >>confdefs.h <<_ACEOF
20189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20199 for ac_header in langinfo.h wchar.h
20201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 cat >conftest.$ac_ext <<_ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20215 #include <$ac_header>
20217 rm -f conftest.$ac_objext
20218 if { (ac_try="$ac_compile"
20219 case "(($ac_try" in
20220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20221 *) ac_try_echo=$ac_try;;
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_compile") 2>conftest.er1
20226 grep -v '^ *+' conftest.er1 >conftest.err
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && {
20231 test -z "$ac_c_werror_flag" ||
20232 test ! -s conftest.err
20233 } && test -s conftest.$ac_objext; then
20234 eval "$as_ac_Header=yes"
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20239 eval "$as_ac_Header=no"
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 ac_res=`eval echo '${'$as_ac_Header'}'`
20245 { echo "$as_me:$LINENO: result: $ac_res" >&5
20246 echo "${ECHO_T}$ac_res" >&6; }
20247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20248 cat >>confdefs.h <<_ACEOF
20249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20257 if test "$ac_cv_header_wchar_h" != "yes"; then
20259 for ac_header in wcstr.h
20261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20267 cat >conftest.$ac_ext <<_ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 $ac_includes_default
20275 #include <$ac_header>
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_compile") 2>conftest.er1
20286 grep -v '^ *+' conftest.er1 >conftest.err
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest.$ac_objext; then
20294 eval "$as_ac_Header=yes"
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 eval "$as_ac_Header=no"
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20304 ac_res=`eval echo '${'$as_ac_Header'}'`
20305 { echo "$as_me:$LINENO: result: $ac_res" >&5
20306 echo "${ECHO_T}$ac_res" >&6; }
20307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20308 cat >>confdefs.h <<_ACEOF
20309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20319 *-pc-os2_emx | *-pc-os2-emx )
20320 if test $ac_cv_header_langinfo_h = "yes" \
20321 -a \( "$wx_cv_gccversion" = "EMX2" \
20322 -o "$wx_cv_gccversion" = "EMX3" \
20323 -o "$wx_cv_gccversion" = "Innotek5" \); then
20324 LIBS="$LIBS -lintl"
20329 if test "$USE_UNIX" = 1 ; then
20331 for ac_header in sys/select.h
20333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 cat >conftest.$ac_ext <<_ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 $ac_includes_default
20347 #include <$ac_header>
20349 rm -f conftest.$ac_objext
20350 if { (ac_try="$ac_compile"
20351 case "(($ac_try" in
20352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20353 *) ac_try_echo=$ac_try;;
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_compile") 2>conftest.er1
20358 grep -v '^ *+' conftest.er1 >conftest.err
20360 cat conftest.err >&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } && {
20363 test -z "$ac_c_werror_flag" ||
20364 test ! -s conftest.err
20365 } && test -s conftest.$ac_objext; then
20366 eval "$as_ac_Header=yes"
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.$ac_ext >&5
20371 eval "$as_ac_Header=no"
20374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20376 ac_res=`eval echo '${'$as_ac_Header'}'`
20377 { echo "$as_me:$LINENO: result: $ac_res" >&5
20378 echo "${ECHO_T}$ac_res" >&6; }
20379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20380 cat >>confdefs.h <<_ACEOF
20381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20391 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20392 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20393 if test "${ac_cv_c_const+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 cat >conftest.$ac_ext <<_ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20406 /* FIXME: Include the comments suggested by Paul. */
20407 #ifndef __cplusplus
20408 /* Ultrix mips cc rejects this. */
20409 typedef int charset[2];
20411 /* SunOS 4.1.1 cc rejects this. */
20412 char const *const *pcpcc;
20414 /* NEC SVR4.0.2 mips cc rejects this. */
20415 struct point {int x, y;};
20416 static struct point const zero = {0,0};
20417 /* AIX XL C 1.02.0.0 rejects this.
20418 It does not let you subtract one const X* pointer from another in
20419 an arm of an if-expression whose if-part is not a constant
20421 const char *g = "string";
20422 pcpcc = &g + (g ? g-g : 0);
20423 /* HPUX 7.0 cc rejects these. */
20425 ppc = (char**) pcpcc;
20426 pcpcc = (char const *const *) ppc;
20427 { /* SCO 3.2v4 cc rejects this. */
20429 char const *s = 0 ? (char *) 0 : (char const *) 0;
20434 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20435 int x[] = {25, 17};
20436 const int *foo = &x[0];
20439 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20440 typedef const int *iptr;
20444 { /* AIX XL C 1.02.0.0 rejects this saying
20445 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20446 struct s { int j; const int *ap[3]; };
20447 struct s *b; b->j = 5;
20449 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20450 const int foo = 10;
20451 if (!foo) return 0;
20453 return !cs[0] && !zero.x;
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20469 grep -v '^ *+' conftest.er1 >conftest.err
20471 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20488 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20489 if test $ac_cv_c_const = no; then
20491 cat >>confdefs.h <<\_ACEOF
20497 { echo "$as_me:$LINENO: checking for inline" >&5
20498 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20499 if test "${ac_cv_c_inline+set}" = set; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 for ac_kw in inline __inline__ __inline; do
20504 cat >conftest.$ac_ext <<_ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 #ifndef __cplusplus
20512 static $ac_kw foo_t static_foo () {return 0; }
20513 $ac_kw foo_t foo () {return 0; }
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20526 grep -v '^ *+' conftest.er1 >conftest.err
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20534 ac_cv_c_inline=$ac_kw
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20543 test "$ac_cv_c_inline" != no && break
20547 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20548 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20551 case $ac_cv_c_inline in
20554 case $ac_cv_c_inline in
20556 *) ac_val=$ac_cv_c_inline;;
20558 cat >>confdefs.h <<_ACEOF
20559 #ifndef __cplusplus
20560 #define inline $ac_val
20567 { echo "$as_me:$LINENO: checking for short" >&5
20568 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20569 if test "${ac_cv_type_short+set}" = set; then
20570 echo $ECHO_N "(cached) $ECHO_C" >&6
20572 cat >conftest.$ac_ext <<_ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20579 typedef short ac__type_new_;
20583 if ((ac__type_new_ *) 0)
20585 if (sizeof (ac__type_new_))
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20600 grep -v '^ *+' conftest.er1 >conftest.err
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } && {
20605 test -z "$ac_c_werror_flag" ||
20606 test ! -s conftest.err
20607 } && test -s conftest.$ac_objext; then
20608 ac_cv_type_short=yes
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20613 ac_cv_type_short=no
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20619 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20621 # The cast to long int works around a bug in the HP C Compiler
20622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20624 # This bug is HP SR number 8606223364.
20625 { echo "$as_me:$LINENO: checking size of short" >&5
20626 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20627 if test "${ac_cv_sizeof_short+set}" = set; then
20628 echo $ECHO_N "(cached) $ECHO_C" >&6
20630 if test "$cross_compiling" = yes; then
20631 # Depending upon the size, compute the lo and hi bounds.
20632 cat >conftest.$ac_ext <<_ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef short ac__type_sizeof_;
20643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20650 rm -f conftest.$ac_objext
20651 if { (ac_try="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20654 *) ac_try_echo=$ac_try;;
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20659 grep -v '^ *+' conftest.er1 >conftest.err
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.$ac_objext; then
20669 cat >conftest.$ac_ext <<_ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef short ac__type_sizeof_;
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20696 grep -v '^ *+' conftest.er1 >conftest.err
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20704 ac_hi=$ac_mid; break
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20709 ac_lo=`expr $ac_mid + 1`
20710 if test $ac_lo -le $ac_mid; then
20714 ac_mid=`expr 2 '*' $ac_mid + 1`
20717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20723 cat >conftest.$ac_ext <<_ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 $ac_includes_default
20730 typedef short ac__type_sizeof_;
20734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20741 rm -f conftest.$ac_objext
20742 if { (ac_try="$ac_compile"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_compile") 2>conftest.er1
20750 grep -v '^ *+' conftest.er1 >conftest.err
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } && {
20755 test -z "$ac_c_werror_flag" ||
20756 test ! -s conftest.err
20757 } && test -s conftest.$ac_objext; then
20760 cat >conftest.$ac_ext <<_ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 $ac_includes_default
20767 typedef short ac__type_sizeof_;
20771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20778 rm -f conftest.$ac_objext
20779 if { (ac_try="$ac_compile"
20780 case "(($ac_try" in
20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_compile") 2>conftest.er1
20787 grep -v '^ *+' conftest.er1 >conftest.err
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } && {
20792 test -z "$ac_c_werror_flag" ||
20793 test ! -s conftest.err
20794 } && test -s conftest.$ac_objext; then
20795 ac_lo=$ac_mid; break
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20800 ac_hi=`expr '(' $ac_mid ')' - 1`
20801 if test $ac_mid -le $ac_hi; then
20805 ac_mid=`expr 2 '*' $ac_mid`
20808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20821 # Binary search between lo and hi bounds.
20822 while test "x$ac_lo" != "x$ac_hi"; do
20823 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20824 cat >conftest.$ac_ext <<_ACEOF
20827 cat confdefs.h >>conftest.$ac_ext
20828 cat >>conftest.$ac_ext <<_ACEOF
20829 /* end confdefs.h. */
20830 $ac_includes_default
20831 typedef short ac__type_sizeof_;
20835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20842 rm -f conftest.$ac_objext
20843 if { (ac_try="$ac_compile"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_compile") 2>conftest.er1
20851 grep -v '^ *+' conftest.er1 >conftest.err
20853 cat conftest.err >&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } && {
20856 test -z "$ac_c_werror_flag" ||
20857 test ! -s conftest.err
20858 } && test -s conftest.$ac_objext; then
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 ac_lo=`expr '(' $ac_mid ')' + 1`
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20870 ?*) ac_cv_sizeof_short=$ac_lo;;
20871 '') if test "$ac_cv_type_short" = yes; then
20872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20873 See \`config.log' for more details." >&5
20874 echo "$as_me: error: cannot compute sizeof (short)
20875 See \`config.log' for more details." >&2;}
20876 { (exit 77); exit 77; }; }
20878 ac_cv_sizeof_short=0
20882 cat >conftest.$ac_ext <<_ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 $ac_includes_default
20889 typedef short ac__type_sizeof_;
20890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20893 #include <stdlib.h>
20898 FILE *f = fopen ("conftest.val", "w");
20901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20903 long int i = longval ();
20904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20906 fprintf (f, "%ld\n", i);
20910 unsigned long int i = ulongval ();
20911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20913 fprintf (f, "%lu\n", i);
20915 return ferror (f) || fclose (f) != 0;
20921 rm -f conftest$ac_exeext
20922 if { (ac_try="$ac_link"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_link") 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20932 { (case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_try") 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; }; then
20941 ac_cv_sizeof_short=`cat conftest.val`
20943 echo "$as_me: program exited with status $ac_status" >&5
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20947 ( exit $ac_status )
20948 if test "$ac_cv_type_short" = yes; then
20949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20950 See \`config.log' for more details." >&5
20951 echo "$as_me: error: cannot compute sizeof (short)
20952 See \`config.log' for more details." >&2;}
20953 { (exit 77); exit 77; }; }
20955 ac_cv_sizeof_short=0
20958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20963 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20967 cat >>confdefs.h <<_ACEOF
20968 #define SIZEOF_SHORT $ac_cv_sizeof_short
20972 { echo "$as_me:$LINENO: checking for void *" >&5
20973 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20974 if test "${ac_cv_type_void_p+set}" = set; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20977 cat >conftest.$ac_ext <<_ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 $ac_includes_default
20984 typedef void * ac__type_new_;
20988 if ((ac__type_new_ *) 0)
20990 if (sizeof (ac__type_new_))
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1 >conftest.err
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_cv_type_void_p=yes
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 ac_cv_type_void_p=no
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21024 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21026 # The cast to long int works around a bug in the HP C Compiler
21027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21029 # This bug is HP SR number 8606223364.
21030 { echo "$as_me:$LINENO: checking size of void *" >&5
21031 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21032 if test "${ac_cv_sizeof_void_p+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 if test "$cross_compiling" = yes; then
21036 # Depending upon the size, compute the lo and hi bounds.
21037 cat >conftest.$ac_ext <<_ACEOF
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 $ac_includes_default
21044 typedef void * ac__type_sizeof_;
21048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21055 rm -f conftest.$ac_objext
21056 if { (ac_try="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_compile") 2>conftest.er1
21064 grep -v '^ *+' conftest.er1 >conftest.err
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } && {
21069 test -z "$ac_c_werror_flag" ||
21070 test ! -s conftest.err
21071 } && test -s conftest.$ac_objext; then
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef void * ac__type_sizeof_;
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21101 grep -v '^ *+' conftest.er1 >conftest.err
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.$ac_objext; then
21109 ac_hi=$ac_mid; break
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21114 ac_lo=`expr $ac_mid + 1`
21115 if test $ac_lo -le $ac_mid; then
21119 ac_mid=`expr 2 '*' $ac_mid + 1`
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21128 cat >conftest.$ac_ext <<_ACEOF
21131 cat confdefs.h >>conftest.$ac_ext
21132 cat >>conftest.$ac_ext <<_ACEOF
21133 /* end confdefs.h. */
21134 $ac_includes_default
21135 typedef void * ac__type_sizeof_;
21139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21146 rm -f conftest.$ac_objext
21147 if { (ac_try="$ac_compile"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_compile") 2>conftest.er1
21155 grep -v '^ *+' conftest.er1 >conftest.err
21157 cat conftest.err >&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } && {
21160 test -z "$ac_c_werror_flag" ||
21161 test ! -s conftest.err
21162 } && test -s conftest.$ac_objext; then
21165 cat >conftest.$ac_ext <<_ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21171 $ac_includes_default
21172 typedef void * ac__type_sizeof_;
21176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21183 rm -f conftest.$ac_objext
21184 if { (ac_try="$ac_compile"
21185 case "(($ac_try" in
21186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187 *) ac_try_echo=$ac_try;;
21189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21190 (eval "$ac_compile") 2>conftest.er1
21192 grep -v '^ *+' conftest.er1 >conftest.err
21194 cat conftest.err >&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } && {
21197 test -z "$ac_c_werror_flag" ||
21198 test ! -s conftest.err
21199 } && test -s conftest.$ac_objext; then
21200 ac_lo=$ac_mid; break
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21205 ac_hi=`expr '(' $ac_mid ')' - 1`
21206 if test $ac_mid -le $ac_hi; then
21210 ac_mid=`expr 2 '*' $ac_mid`
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21226 # Binary search between lo and hi bounds.
21227 while test "x$ac_lo" != "x$ac_hi"; do
21228 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21229 cat >conftest.$ac_ext <<_ACEOF
21232 cat confdefs.h >>conftest.$ac_ext
21233 cat >>conftest.$ac_ext <<_ACEOF
21234 /* end confdefs.h. */
21235 $ac_includes_default
21236 typedef void * ac__type_sizeof_;
21240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21247 rm -f conftest.$ac_objext
21248 if { (ac_try="$ac_compile"
21249 case "(($ac_try" in
21250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251 *) ac_try_echo=$ac_try;;
21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21254 (eval "$ac_compile") 2>conftest.er1
21256 grep -v '^ *+' conftest.er1 >conftest.err
21258 cat conftest.err >&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); } && {
21261 test -z "$ac_c_werror_flag" ||
21262 test ! -s conftest.err
21263 } && test -s conftest.$ac_objext; then
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21269 ac_lo=`expr '(' $ac_mid ')' + 1`
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21275 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21276 '') if test "$ac_cv_type_void_p" = yes; then
21277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21278 See \`config.log' for more details." >&5
21279 echo "$as_me: error: cannot compute sizeof (void *)
21280 See \`config.log' for more details." >&2;}
21281 { (exit 77); exit 77; }; }
21283 ac_cv_sizeof_void_p=0
21287 cat >conftest.$ac_ext <<_ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21294 typedef void * ac__type_sizeof_;
21295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21298 #include <stdlib.h>
21303 FILE *f = fopen ("conftest.val", "w");
21306 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21308 long int i = longval ();
21309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21311 fprintf (f, "%ld\n", i);
21315 unsigned long int i = ulongval ();
21316 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21318 fprintf (f, "%lu\n", i);
21320 return ferror (f) || fclose (f) != 0;
21326 rm -f conftest$ac_exeext
21327 if { (ac_try="$ac_link"
21328 case "(($ac_try" in
21329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330 *) ac_try_echo=$ac_try;;
21332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333 (eval "$ac_link") 2>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21337 { (case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_try") 2>&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21346 ac_cv_sizeof_void_p=`cat conftest.val`
21348 echo "$as_me: program exited with status $ac_status" >&5
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ( exit $ac_status )
21353 if test "$ac_cv_type_void_p" = yes; then
21354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21355 See \`config.log' for more details." >&5
21356 echo "$as_me: error: cannot compute sizeof (void *)
21357 See \`config.log' for more details." >&2;}
21358 { (exit 77); exit 77; }; }
21360 ac_cv_sizeof_void_p=0
21363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21368 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21372 cat >>confdefs.h <<_ACEOF
21373 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21377 { echo "$as_me:$LINENO: checking for int" >&5
21378 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21379 if test "${ac_cv_type_int+set}" = set; then
21380 echo $ECHO_N "(cached) $ECHO_C" >&6
21382 cat >conftest.$ac_ext <<_ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 $ac_includes_default
21389 typedef int ac__type_new_;
21393 if ((ac__type_new_ *) 0)
21395 if (sizeof (ac__type_new_))
21401 rm -f conftest.$ac_objext
21402 if { (ac_try="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21410 grep -v '^ *+' conftest.er1 >conftest.err
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } && {
21415 test -z "$ac_c_werror_flag" ||
21416 test ! -s conftest.err
21417 } && test -s conftest.$ac_objext; then
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21429 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21431 # The cast to long int works around a bug in the HP C Compiler
21432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21434 # This bug is HP SR number 8606223364.
21435 { echo "$as_me:$LINENO: checking size of int" >&5
21436 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21437 if test "${ac_cv_sizeof_int+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 if test "$cross_compiling" = yes; then
21441 # Depending upon the size, compute the lo and hi bounds.
21442 cat >conftest.$ac_ext <<_ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 $ac_includes_default
21449 typedef int ac__type_sizeof_;
21453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21460 rm -f conftest.$ac_objext
21461 if { (ac_try="$ac_compile"
21462 case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21464 *) ac_try_echo=$ac_try;;
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_compile") 2>conftest.er1
21469 grep -v '^ *+' conftest.er1 >conftest.err
21471 cat conftest.err >&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && {
21474 test -z "$ac_c_werror_flag" ||
21475 test ! -s conftest.err
21476 } && test -s conftest.$ac_objext; then
21479 cat >conftest.$ac_ext <<_ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef int ac__type_sizeof_;
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21514 ac_hi=$ac_mid; break
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21519 ac_lo=`expr $ac_mid + 1`
21520 if test $ac_lo -le $ac_mid; then
21524 ac_mid=`expr 2 '*' $ac_mid + 1`
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21533 cat >conftest.$ac_ext <<_ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 $ac_includes_default
21540 typedef int ac__type_sizeof_;
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21560 grep -v '^ *+' conftest.er1 >conftest.err
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21570 cat >conftest.$ac_ext <<_ACEOF
21573 cat confdefs.h >>conftest.$ac_ext
21574 cat >>conftest.$ac_ext <<_ACEOF
21575 /* end confdefs.h. */
21576 $ac_includes_default
21577 typedef int ac__type_sizeof_;
21581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21597 grep -v '^ *+' conftest.er1 >conftest.err
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21605 ac_lo=$ac_mid; break
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21610 ac_hi=`expr '(' $ac_mid ')' - 1`
21611 if test $ac_mid -le $ac_hi; then
21615 ac_mid=`expr 2 '*' $ac_mid`
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21621 echo "$as_me: failed program was:" >&5
21622 sed 's/^/| /' conftest.$ac_ext >&5
21627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 # Binary search between lo and hi bounds.
21632 while test "x$ac_lo" != "x$ac_hi"; do
21633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21634 cat >conftest.$ac_ext <<_ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 $ac_includes_default
21641 typedef int ac__type_sizeof_;
21645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21652 rm -f conftest.$ac_objext
21653 if { (ac_try="$ac_compile"
21654 case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_compile") 2>conftest.er1
21661 grep -v '^ *+' conftest.er1 >conftest.err
21663 cat conftest.err >&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } && {
21666 test -z "$ac_c_werror_flag" ||
21667 test ! -s conftest.err
21668 } && test -s conftest.$ac_objext; then
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21674 ac_lo=`expr '(' $ac_mid ')' + 1`
21677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 ?*) ac_cv_sizeof_int=$ac_lo;;
21681 '') if test "$ac_cv_type_int" = yes; then
21682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21683 See \`config.log' for more details." >&5
21684 echo "$as_me: error: cannot compute sizeof (int)
21685 See \`config.log' for more details." >&2;}
21686 { (exit 77); exit 77; }; }
21692 cat >conftest.$ac_ext <<_ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 typedef int ac__type_sizeof_;
21700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21703 #include <stdlib.h>
21708 FILE *f = fopen ("conftest.val", "w");
21711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21713 long int i = longval ();
21714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21716 fprintf (f, "%ld\n", i);
21720 unsigned long int i = ulongval ();
21721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21723 fprintf (f, "%lu\n", i);
21725 return ferror (f) || fclose (f) != 0;
21731 rm -f conftest$ac_exeext
21732 if { (ac_try="$ac_link"
21733 case "(($ac_try" in
21734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21735 *) ac_try_echo=$ac_try;;
21737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21738 (eval "$ac_link") 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21742 { (case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_try") 2>&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; }; then
21751 ac_cv_sizeof_int=`cat conftest.val`
21753 echo "$as_me: program exited with status $ac_status" >&5
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.$ac_ext >&5
21757 ( exit $ac_status )
21758 if test "$ac_cv_type_int" = yes; then
21759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21760 See \`config.log' for more details." >&5
21761 echo "$as_me: error: cannot compute sizeof (int)
21762 See \`config.log' for more details." >&2;}
21763 { (exit 77); exit 77; }; }
21768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21773 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21777 cat >>confdefs.h <<_ACEOF
21778 #define SIZEOF_INT $ac_cv_sizeof_int
21782 { echo "$as_me:$LINENO: checking for long" >&5
21783 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21784 if test "${ac_cv_type_long+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 cat >conftest.$ac_ext <<_ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21794 typedef long ac__type_new_;
21798 if ((ac__type_new_ *) 0)
21800 if (sizeof (ac__type_new_))
21806 rm -f conftest.$ac_objext
21807 if { (ac_try="$ac_compile"
21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_compile") 2>conftest.er1
21815 grep -v '^ *+' conftest.er1 >conftest.err
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } && {
21820 test -z "$ac_c_werror_flag" ||
21821 test ! -s conftest.err
21822 } && test -s conftest.$ac_objext; then
21823 ac_cv_type_long=yes
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21833 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21834 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21836 # The cast to long int works around a bug in the HP C Compiler
21837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21839 # This bug is HP SR number 8606223364.
21840 { echo "$as_me:$LINENO: checking size of long" >&5
21841 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21842 if test "${ac_cv_sizeof_long+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 if test "$cross_compiling" = yes; then
21846 # Depending upon the size, compute the lo and hi bounds.
21847 cat >conftest.$ac_ext <<_ACEOF
21850 cat confdefs.h >>conftest.$ac_ext
21851 cat >>conftest.$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21853 $ac_includes_default
21854 typedef long ac__type_sizeof_;
21858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21865 rm -f conftest.$ac_objext
21866 if { (ac_try="$ac_compile"
21867 case "(($ac_try" in
21868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869 *) ac_try_echo=$ac_try;;
21871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21872 (eval "$ac_compile") 2>conftest.er1
21874 grep -v '^ *+' conftest.er1 >conftest.err
21876 cat conftest.err >&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); } && {
21879 test -z "$ac_c_werror_flag" ||
21880 test ! -s conftest.err
21881 } && test -s conftest.$ac_objext; then
21884 cat >conftest.$ac_ext <<_ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef long ac__type_sizeof_;
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21911 grep -v '^ *+' conftest.er1 >conftest.err
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21919 ac_hi=$ac_mid; break
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21924 ac_lo=`expr $ac_mid + 1`
21925 if test $ac_lo -le $ac_mid; then
21929 ac_mid=`expr 2 '*' $ac_mid + 1`
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935 echo "$as_me: failed program was:" >&5
21936 sed 's/^/| /' conftest.$ac_ext >&5
21938 cat >conftest.$ac_ext <<_ACEOF
21941 cat confdefs.h >>conftest.$ac_ext
21942 cat >>conftest.$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21944 $ac_includes_default
21945 typedef long ac__type_sizeof_;
21949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21956 rm -f conftest.$ac_objext
21957 if { (ac_try="$ac_compile"
21958 case "(($ac_try" in
21959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21960 *) ac_try_echo=$ac_try;;
21962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21963 (eval "$ac_compile") 2>conftest.er1
21965 grep -v '^ *+' conftest.er1 >conftest.err
21967 cat conftest.err >&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } && {
21970 test -z "$ac_c_werror_flag" ||
21971 test ! -s conftest.err
21972 } && test -s conftest.$ac_objext; then
21975 cat >conftest.$ac_ext <<_ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 $ac_includes_default
21982 typedef long ac__type_sizeof_;
21986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22002 grep -v '^ *+' conftest.er1 >conftest.err
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_lo=$ac_mid; break
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22015 ac_hi=`expr '(' $ac_mid ')' - 1`
22016 if test $ac_mid -le $ac_hi; then
22020 ac_mid=`expr 2 '*' $ac_mid`
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 # Binary search between lo and hi bounds.
22037 while test "x$ac_lo" != "x$ac_hi"; do
22038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22039 cat >conftest.$ac_ext <<_ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef long ac__type_sizeof_;
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22066 grep -v '^ *+' conftest.er1 >conftest.err
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest.$ac_objext; then
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22079 ac_lo=`expr '(' $ac_mid ')' + 1`
22082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22085 ?*) ac_cv_sizeof_long=$ac_lo;;
22086 '') if test "$ac_cv_type_long" = yes; then
22087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22088 See \`config.log' for more details." >&5
22089 echo "$as_me: error: cannot compute sizeof (long)
22090 See \`config.log' for more details." >&2;}
22091 { (exit 77); exit 77; }; }
22093 ac_cv_sizeof_long=0
22097 cat >conftest.$ac_ext <<_ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 typedef long ac__type_sizeof_;
22105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22108 #include <stdlib.h>
22113 FILE *f = fopen ("conftest.val", "w");
22116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22118 long int i = longval ();
22119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22121 fprintf (f, "%ld\n", i);
22125 unsigned long int i = ulongval ();
22126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22128 fprintf (f, "%lu\n", i);
22130 return ferror (f) || fclose (f) != 0;
22136 rm -f conftest$ac_exeext
22137 if { (ac_try="$ac_link"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_link") 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22147 { (case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_try") 2>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; }; then
22156 ac_cv_sizeof_long=`cat conftest.val`
22158 echo "$as_me: program exited with status $ac_status" >&5
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 ( exit $ac_status )
22163 if test "$ac_cv_type_long" = yes; then
22164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22165 See \`config.log' for more details." >&5
22166 echo "$as_me: error: cannot compute sizeof (long)
22167 See \`config.log' for more details." >&2;}
22168 { (exit 77); exit 77; }; }
22170 ac_cv_sizeof_long=0
22173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22178 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22182 cat >>confdefs.h <<_ACEOF
22183 #define SIZEOF_LONG $ac_cv_sizeof_long
22187 { echo "$as_me:$LINENO: checking for size_t" >&5
22188 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22189 if test "${ac_cv_type_size_t+set}" = set; then
22190 echo $ECHO_N "(cached) $ECHO_C" >&6
22192 cat >conftest.$ac_ext <<_ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 $ac_includes_default
22199 typedef size_t ac__type_new_;
22203 if ((ac__type_new_ *) 0)
22205 if (sizeof (ac__type_new_))
22211 rm -f conftest.$ac_objext
22212 if { (ac_try="$ac_compile"
22213 case "(($ac_try" in
22214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22215 *) ac_try_echo=$ac_try;;
22217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22218 (eval "$ac_compile") 2>conftest.er1
22220 grep -v '^ *+' conftest.er1 >conftest.err
22222 cat conftest.err >&5
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } && {
22225 test -z "$ac_c_werror_flag" ||
22226 test ! -s conftest.err
22227 } && test -s conftest.$ac_objext; then
22228 ac_cv_type_size_t=yes
22230 echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22233 ac_cv_type_size_t=no
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22238 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22239 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22241 # The cast to long int works around a bug in the HP C Compiler
22242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22244 # This bug is HP SR number 8606223364.
22245 { echo "$as_me:$LINENO: checking size of size_t" >&5
22246 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22247 if test "${ac_cv_sizeof_size_t+set}" = set; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22250 if test "$cross_compiling" = yes; then
22251 # Depending upon the size, compute the lo and hi bounds.
22252 cat >conftest.$ac_ext <<_ACEOF
22255 cat confdefs.h >>conftest.$ac_ext
22256 cat >>conftest.$ac_ext <<_ACEOF
22257 /* end confdefs.h. */
22258 $ac_includes_default
22259 typedef size_t ac__type_sizeof_;
22263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22270 rm -f conftest.$ac_objext
22271 if { (ac_try="$ac_compile"
22272 case "(($ac_try" in
22273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22274 *) ac_try_echo=$ac_try;;
22276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22277 (eval "$ac_compile") 2>conftest.er1
22279 grep -v '^ *+' conftest.er1 >conftest.err
22281 cat conftest.err >&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } && {
22284 test -z "$ac_c_werror_flag" ||
22285 test ! -s conftest.err
22286 } && test -s conftest.$ac_objext; then
22289 cat >conftest.$ac_ext <<_ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef size_t ac__type_sizeof_;
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22307 rm -f conftest.$ac_objext
22308 if { (ac_try="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22316 grep -v '^ *+' conftest.er1 >conftest.err
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22324 ac_hi=$ac_mid; break
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 ac_lo=`expr $ac_mid + 1`
22330 if test $ac_lo -le $ac_mid; then
22334 ac_mid=`expr 2 '*' $ac_mid + 1`
22337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22343 cat >conftest.$ac_ext <<_ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 $ac_includes_default
22350 typedef size_t ac__type_sizeof_;
22354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22361 rm -f conftest.$ac_objext
22362 if { (ac_try="$ac_compile"
22363 case "(($ac_try" in
22364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22365 *) ac_try_echo=$ac_try;;
22367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22368 (eval "$ac_compile") 2>conftest.er1
22370 grep -v '^ *+' conftest.er1 >conftest.err
22372 cat conftest.err >&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } && {
22375 test -z "$ac_c_werror_flag" ||
22376 test ! -s conftest.err
22377 } && test -s conftest.$ac_objext; then
22380 cat >conftest.$ac_ext <<_ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef size_t ac__type_sizeof_;
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22398 rm -f conftest.$ac_objext
22399 if { (ac_try="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22407 grep -v '^ *+' conftest.er1 >conftest.err
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } && {
22412 test -z "$ac_c_werror_flag" ||
22413 test ! -s conftest.err
22414 } && test -s conftest.$ac_objext; then
22415 ac_lo=$ac_mid; break
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22420 ac_hi=`expr '(' $ac_mid ')' - 1`
22421 if test $ac_mid -le $ac_hi; then
22425 ac_mid=`expr 2 '*' $ac_mid`
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 # Binary search between lo and hi bounds.
22442 while test "x$ac_lo" != "x$ac_hi"; do
22443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22444 cat >conftest.$ac_ext <<_ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef size_t ac__type_sizeof_;
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22471 grep -v '^ *+' conftest.er1 >conftest.err
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22481 echo "$as_me: failed program was:" >&5
22482 sed 's/^/| /' conftest.$ac_ext >&5
22484 ac_lo=`expr '(' $ac_mid ')' + 1`
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22491 '') if test "$ac_cv_type_size_t" = yes; then
22492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22493 See \`config.log' for more details." >&5
22494 echo "$as_me: error: cannot compute sizeof (size_t)
22495 See \`config.log' for more details." >&2;}
22496 { (exit 77); exit 77; }; }
22498 ac_cv_sizeof_size_t=0
22502 cat >conftest.$ac_ext <<_ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef size_t ac__type_sizeof_;
22510 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22511 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22513 #include <stdlib.h>
22518 FILE *f = fopen ("conftest.val", "w");
22521 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22523 long int i = longval ();
22524 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22526 fprintf (f, "%ld\n", i);
22530 unsigned long int i = ulongval ();
22531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22533 fprintf (f, "%lu\n", i);
22535 return ferror (f) || fclose (f) != 0;
22541 rm -f conftest$ac_exeext
22542 if { (ac_try="$ac_link"
22543 case "(($ac_try" in
22544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_link") 2>&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22552 { (case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_try") 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 ac_cv_sizeof_size_t=`cat conftest.val`
22563 echo "$as_me: program exited with status $ac_status" >&5
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.$ac_ext >&5
22567 ( exit $ac_status )
22568 if test "$ac_cv_type_size_t" = yes; then
22569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22570 See \`config.log' for more details." >&5
22571 echo "$as_me: error: cannot compute sizeof (size_t)
22572 See \`config.log' for more details." >&2;}
22573 { (exit 77); exit 77; }; }
22575 ac_cv_sizeof_size_t=0
22578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22582 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22587 cat >>confdefs.h <<_ACEOF
22588 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22595 { echo "$as_me:$LINENO: checking for long long" >&5
22596 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22597 if test "${ac_cv_type_long_long+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22600 cat >conftest.$ac_ext <<_ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 $ac_includes_default
22607 typedef long long ac__type_new_;
22611 if ((ac__type_new_ *) 0)
22613 if (sizeof (ac__type_new_))
22619 rm -f conftest.$ac_objext
22620 if { (ac_try="$ac_compile"
22621 case "(($ac_try" in
22622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22623 *) ac_try_echo=$ac_try;;
22625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22626 (eval "$ac_compile") 2>conftest.er1
22628 grep -v '^ *+' conftest.er1 >conftest.err
22630 cat conftest.err >&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); } && {
22633 test -z "$ac_c_werror_flag" ||
22634 test ! -s conftest.err
22635 } && test -s conftest.$ac_objext; then
22636 ac_cv_type_long_long=yes
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22641 ac_cv_type_long_long=no
22644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22646 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22647 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22649 # The cast to long int works around a bug in the HP C Compiler
22650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22652 # This bug is HP SR number 8606223364.
22653 { echo "$as_me:$LINENO: checking size of long long" >&5
22654 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22655 if test "${ac_cv_sizeof_long_long+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 if test "$cross_compiling" = yes; then
22659 # Depending upon the size, compute the lo and hi bounds.
22660 cat >conftest.$ac_ext <<_ACEOF
22663 cat confdefs.h >>conftest.$ac_ext
22664 cat >>conftest.$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22666 $ac_includes_default
22667 typedef long long ac__type_sizeof_;
22671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22678 rm -f conftest.$ac_objext
22679 if { (ac_try="$ac_compile"
22680 case "(($ac_try" in
22681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22682 *) ac_try_echo=$ac_try;;
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_compile") 2>conftest.er1
22687 grep -v '^ *+' conftest.er1 >conftest.err
22689 cat conftest.err >&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } && {
22692 test -z "$ac_c_werror_flag" ||
22693 test ! -s conftest.err
22694 } && test -s conftest.$ac_objext; then
22697 cat >conftest.$ac_ext <<_ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 $ac_includes_default
22704 typedef long long ac__type_sizeof_;
22708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22715 rm -f conftest.$ac_objext
22716 if { (ac_try="$ac_compile"
22717 case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_compile") 2>conftest.er1
22724 grep -v '^ *+' conftest.er1 >conftest.err
22726 cat conftest.err >&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && {
22729 test -z "$ac_c_werror_flag" ||
22730 test ! -s conftest.err
22731 } && test -s conftest.$ac_objext; then
22732 ac_hi=$ac_mid; break
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22737 ac_lo=`expr $ac_mid + 1`
22738 if test $ac_lo -le $ac_mid; then
22742 ac_mid=`expr 2 '*' $ac_mid + 1`
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22751 cat >conftest.$ac_ext <<_ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 $ac_includes_default
22758 typedef long long ac__type_sizeof_;
22762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22769 rm -f conftest.$ac_objext
22770 if { (ac_try="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22778 grep -v '^ *+' conftest.er1 >conftest.err
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } && {
22783 test -z "$ac_c_werror_flag" ||
22784 test ! -s conftest.err
22785 } && test -s conftest.$ac_objext; then
22788 cat >conftest.$ac_ext <<_ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 typedef long long ac__type_sizeof_;
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22815 grep -v '^ *+' conftest.er1 >conftest.err
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22823 ac_lo=$ac_mid; break
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22828 ac_hi=`expr '(' $ac_mid ')' - 1`
22829 if test $ac_mid -le $ac_hi; then
22833 ac_mid=`expr 2 '*' $ac_mid`
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.$ac_ext >&5
22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 # Binary search between lo and hi bounds.
22850 while test "x$ac_lo" != "x$ac_hi"; do
22851 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22852 cat >conftest.$ac_ext <<_ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 $ac_includes_default
22859 typedef long long ac__type_sizeof_;
22863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22870 rm -f conftest.$ac_objext
22871 if { (ac_try="$ac_compile"
22872 case "(($ac_try" in
22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_compile") 2>conftest.er1
22879 grep -v '^ *+' conftest.er1 >conftest.err
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } && {
22884 test -z "$ac_c_werror_flag" ||
22885 test ! -s conftest.err
22886 } && test -s conftest.$ac_objext; then
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22892 ac_lo=`expr '(' $ac_mid ')' + 1`
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22899 '') if test "$ac_cv_type_long_long" = yes; then
22900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22901 See \`config.log' for more details." >&5
22902 echo "$as_me: error: cannot compute sizeof (long long)
22903 See \`config.log' for more details." >&2;}
22904 { (exit 77); exit 77; }; }
22906 ac_cv_sizeof_long_long=0
22910 cat >conftest.$ac_ext <<_ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 $ac_includes_default
22917 typedef long long ac__type_sizeof_;
22918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22921 #include <stdlib.h>
22926 FILE *f = fopen ("conftest.val", "w");
22929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22931 long int i = longval ();
22932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22934 fprintf (f, "%ld\n", i);
22938 unsigned long int i = ulongval ();
22939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22941 fprintf (f, "%lu\n", i);
22943 return ferror (f) || fclose (f) != 0;
22949 rm -f conftest$ac_exeext
22950 if { (ac_try="$ac_link"
22951 case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_link") 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22960 { (case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_try") 2>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; }; then
22969 ac_cv_sizeof_long_long=`cat conftest.val`
22971 echo "$as_me: program exited with status $ac_status" >&5
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22975 ( exit $ac_status )
22976 if test "$ac_cv_type_long_long" = yes; then
22977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22978 See \`config.log' for more details." >&5
22979 echo "$as_me: error: cannot compute sizeof (long long)
22980 See \`config.log' for more details." >&2;}
22981 { (exit 77); exit 77; }; }
22983 ac_cv_sizeof_long_long=0
22986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22990 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22991 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22995 cat >>confdefs.h <<_ACEOF
22996 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23002 { echo "$as_me:$LINENO: checking for long long" >&5
23003 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23004 if test "${ac_cv_type_long_long+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 cat >conftest.$ac_ext <<_ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 typedef long long ac__type_new_;
23018 if ((ac__type_new_ *) 0)
23020 if (sizeof (ac__type_new_))
23026 rm -f conftest.$ac_objext
23027 if { (ac_try="$ac_compile"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030 *) ac_try_echo=$ac_try;;
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_compile") 2>conftest.er1
23035 grep -v '^ *+' conftest.er1 >conftest.err
23037 cat conftest.err >&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } && {
23040 test -z "$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23042 } && test -s conftest.$ac_objext; then
23043 ac_cv_type_long_long=yes
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.$ac_ext >&5
23048 ac_cv_type_long_long=no
23051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23053 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23054 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23056 # The cast to long int works around a bug in the HP C Compiler
23057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23059 # This bug is HP SR number 8606223364.
23060 { echo "$as_me:$LINENO: checking size of long long" >&5
23061 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23062 if test "${ac_cv_sizeof_long_long+set}" = set; then
23063 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 if test "$cross_compiling" = yes; then
23066 # Depending upon the size, compute the lo and hi bounds.
23067 cat >conftest.$ac_ext <<_ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073 $ac_includes_default
23074 typedef long long ac__type_sizeof_;
23078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23085 rm -f conftest.$ac_objext
23086 if { (ac_try="$ac_compile"
23087 case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_compile") 2>conftest.er1
23094 grep -v '^ *+' conftest.er1 >conftest.err
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } && {
23099 test -z "$ac_c_werror_flag" ||
23100 test ! -s conftest.err
23101 } && test -s conftest.$ac_objext; then
23104 cat >conftest.$ac_ext <<_ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long long ac__type_sizeof_;
23115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23122 rm -f conftest.$ac_objext
23123 if { (ac_try="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23131 grep -v '^ *+' conftest.er1 >conftest.err
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23139 ac_hi=$ac_mid; break
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23144 ac_lo=`expr $ac_mid + 1`
23145 if test $ac_lo -le $ac_mid; then
23149 ac_mid=`expr 2 '*' $ac_mid + 1`
23152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23155 echo "$as_me: failed program was:" >&5
23156 sed 's/^/| /' conftest.$ac_ext >&5
23158 cat >conftest.$ac_ext <<_ACEOF
23161 cat confdefs.h >>conftest.$ac_ext
23162 cat >>conftest.$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23164 $ac_includes_default
23165 typedef long long ac__type_sizeof_;
23169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23176 rm -f conftest.$ac_objext
23177 if { (ac_try="$ac_compile"
23178 case "(($ac_try" in
23179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23180 *) ac_try_echo=$ac_try;;
23182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23183 (eval "$ac_compile") 2>conftest.er1
23185 grep -v '^ *+' conftest.er1 >conftest.err
23187 cat conftest.err >&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } && {
23190 test -z "$ac_c_werror_flag" ||
23191 test ! -s conftest.err
23192 } && test -s conftest.$ac_objext; then
23195 cat >conftest.$ac_ext <<_ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long long ac__type_sizeof_;
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23222 grep -v '^ *+' conftest.er1 >conftest.err
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23230 ac_lo=$ac_mid; break
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23235 ac_hi=`expr '(' $ac_mid ')' - 1`
23236 if test $ac_mid -le $ac_hi; then
23240 ac_mid=`expr 2 '*' $ac_mid`
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256 # Binary search between lo and hi bounds.
23257 while test "x$ac_lo" != "x$ac_hi"; do
23258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23259 cat >conftest.$ac_ext <<_ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23266 typedef long long ac__type_sizeof_;
23270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23277 rm -f conftest.$ac_objext
23278 if { (ac_try="$ac_compile"
23279 case "(($ac_try" in
23280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23281 *) ac_try_echo=$ac_try;;
23283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23284 (eval "$ac_compile") 2>conftest.er1
23286 grep -v '^ *+' conftest.er1 >conftest.err
23288 cat conftest.err >&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); } && {
23291 test -z "$ac_c_werror_flag" ||
23292 test ! -s conftest.err
23293 } && test -s conftest.$ac_objext; then
23296 echo "$as_me: failed program was:" >&5
23297 sed 's/^/| /' conftest.$ac_ext >&5
23299 ac_lo=`expr '(' $ac_mid ')' + 1`
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23306 '') if test "$ac_cv_type_long_long" = yes; then
23307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23308 See \`config.log' for more details." >&5
23309 echo "$as_me: error: cannot compute sizeof (long long)
23310 See \`config.log' for more details." >&2;}
23311 { (exit 77); exit 77; }; }
23313 ac_cv_sizeof_long_long=0
23317 cat >conftest.$ac_ext <<_ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 $ac_includes_default
23324 typedef long long ac__type_sizeof_;
23325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23328 #include <stdlib.h>
23333 FILE *f = fopen ("conftest.val", "w");
23336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23338 long int i = longval ();
23339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23341 fprintf (f, "%ld\n", i);
23345 unsigned long int i = ulongval ();
23346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23348 fprintf (f, "%lu\n", i);
23350 return ferror (f) || fclose (f) != 0;
23356 rm -f conftest$ac_exeext
23357 if { (ac_try="$ac_link"
23358 case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_link") 2>&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23367 { (case "(($ac_try" in
23368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23369 *) ac_try_echo=$ac_try;;
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23372 (eval "$ac_try") 2>&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_sizeof_long_long=`cat conftest.val`
23378 echo "$as_me: program exited with status $ac_status" >&5
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23382 ( exit $ac_status )
23383 if test "$ac_cv_type_long_long" = yes; then
23384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23385 See \`config.log' for more details." >&5
23386 echo "$as_me: error: cannot compute sizeof (long long)
23387 See \`config.log' for more details." >&2;}
23388 { (exit 77); exit 77; }; }
23390 ac_cv_sizeof_long_long=0
23393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23398 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23402 cat >>confdefs.h <<_ACEOF
23403 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23407 if test "$ac_cv_sizeof_long_long" != 0; then
23408 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23412 { echo "$as_me:$LINENO: checking for long long" >&5
23413 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23414 if test "${ac_cv_type_long_long+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 cat >conftest.$ac_ext <<_ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23424 typedef long long ac__type_new_;
23428 if ((ac__type_new_ *) 0)
23430 if (sizeof (ac__type_new_))
23436 rm -f conftest.$ac_objext
23437 if { (ac_try="$ac_compile"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_compile") 2>conftest.er1
23445 grep -v '^ *+' conftest.er1 >conftest.err
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest.$ac_objext; then
23453 ac_cv_type_long_long=yes
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23458 ac_cv_type_long_long=no
23461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23463 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23464 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23466 # The cast to long int works around a bug in the HP C Compiler
23467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23469 # This bug is HP SR number 8606223364.
23470 { echo "$as_me:$LINENO: checking size of long long" >&5
23471 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23472 if test "${ac_cv_sizeof_long_long+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 if test "$cross_compiling" = yes; then
23476 # Depending upon the size, compute the lo and hi bounds.
23477 cat >conftest.$ac_ext <<_ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef long long ac__type_sizeof_;
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23495 rm -f conftest.$ac_objext
23496 if { (ac_try="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23504 grep -v '^ *+' conftest.er1 >conftest.err
23506 cat conftest.err >&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.$ac_objext; then
23514 cat >conftest.$ac_ext <<_ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 $ac_includes_default
23521 typedef long long ac__type_sizeof_;
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23541 grep -v '^ *+' conftest.er1 >conftest.err
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23549 ac_hi=$ac_mid; break
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23554 ac_lo=`expr $ac_mid + 1`
23555 if test $ac_lo -le $ac_mid; then
23559 ac_mid=`expr 2 '*' $ac_mid + 1`
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23568 cat >conftest.$ac_ext <<_ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef long long ac__type_sizeof_;
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23595 grep -v '^ *+' conftest.er1 >conftest.err
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23605 cat >conftest.$ac_ext <<_ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef long long ac__type_sizeof_;
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23632 grep -v '^ *+' conftest.er1 >conftest.err
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.$ac_objext; then
23640 ac_lo=$ac_mid; break
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23645 ac_hi=`expr '(' $ac_mid ')' - 1`
23646 if test $ac_mid -le $ac_hi; then
23650 ac_mid=`expr 2 '*' $ac_mid`
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 # Binary search between lo and hi bounds.
23667 while test "x$ac_lo" != "x$ac_hi"; do
23668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23669 cat >conftest.$ac_ext <<_ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 $ac_includes_default
23676 typedef long long ac__type_sizeof_;
23680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23687 rm -f conftest.$ac_objext
23688 if { (ac_try="$ac_compile"
23689 case "(($ac_try" in
23690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23691 *) ac_try_echo=$ac_try;;
23693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23694 (eval "$ac_compile") 2>conftest.er1
23696 grep -v '^ *+' conftest.er1 >conftest.err
23698 cat conftest.err >&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } && {
23701 test -z "$ac_c_werror_flag" ||
23702 test ! -s conftest.err
23703 } && test -s conftest.$ac_objext; then
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.$ac_ext >&5
23709 ac_lo=`expr '(' $ac_mid ')' + 1`
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23716 '') if test "$ac_cv_type_long_long" = yes; then
23717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23718 See \`config.log' for more details." >&5
23719 echo "$as_me: error: cannot compute sizeof (long long)
23720 See \`config.log' for more details." >&2;}
23721 { (exit 77); exit 77; }; }
23723 ac_cv_sizeof_long_long=0
23727 cat >conftest.$ac_ext <<_ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733 $ac_includes_default
23734 typedef long long ac__type_sizeof_;
23735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23738 #include <stdlib.h>
23743 FILE *f = fopen ("conftest.val", "w");
23746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23748 long int i = longval ();
23749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23751 fprintf (f, "%ld\n", i);
23755 unsigned long int i = ulongval ();
23756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23758 fprintf (f, "%lu\n", i);
23760 return ferror (f) || fclose (f) != 0;
23766 rm -f conftest$ac_exeext
23767 if { (ac_try="$ac_link"
23768 case "(($ac_try" in
23769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_link") 2>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23777 { (case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_try") 2>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; }; then
23786 ac_cv_sizeof_long_long=`cat conftest.val`
23788 echo "$as_me: program exited with status $ac_status" >&5
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23792 ( exit $ac_status )
23793 if test "$ac_cv_type_long_long" = yes; then
23794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23795 See \`config.log' for more details." >&5
23796 echo "$as_me: error: cannot compute sizeof (long long)
23797 See \`config.log' for more details." >&2;}
23798 { (exit 77); exit 77; }; }
23800 ac_cv_sizeof_long_long=0
23803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23808 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23812 cat >>confdefs.h <<_ACEOF
23813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23819 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23821 if test "${ac_cv_type_wchar_t+set}" = set; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 cat >conftest.$ac_ext <<_ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23833 # error "fake wchar_t"
23835 #ifdef HAVE_WCHAR_H
23837 # include <stddef.h>
23839 # include <wchar.h>
23841 #ifdef HAVE_STDLIB_H
23842 # include <stdlib.h>
23848 typedef wchar_t ac__type_new_;
23852 if ((ac__type_new_ *) 0)
23854 if (sizeof (ac__type_new_))
23860 rm -f conftest.$ac_objext
23861 if { (ac_try="$ac_compile"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_compile") 2>conftest.er1
23869 grep -v '^ *+' conftest.er1 >conftest.err
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } && {
23874 test -z "$ac_c_werror_flag" ||
23875 test ! -s conftest.err
23876 } && test -s conftest.$ac_objext; then
23877 ac_cv_type_wchar_t=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23882 ac_cv_type_wchar_t=no
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23887 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23888 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23890 # The cast to long int works around a bug in the HP C Compiler
23891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23893 # This bug is HP SR number 8606223364.
23894 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23895 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23896 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 if test "$cross_compiling" = yes; then
23900 # Depending upon the size, compute the lo and hi bounds.
23901 cat >conftest.$ac_ext <<_ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23908 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23909 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23910 # error "fake wchar_t"
23912 #ifdef HAVE_WCHAR_H
23914 # include <stddef.h>
23916 # include <wchar.h>
23918 #ifdef HAVE_STDLIB_H
23919 # include <stdlib.h>
23925 typedef wchar_t ac__type_sizeof_;
23929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23945 grep -v '^ *+' conftest.er1 >conftest.err
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_c_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23955 cat >conftest.$ac_ext <<_ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23962 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23963 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23964 # error "fake wchar_t"
23966 #ifdef HAVE_WCHAR_H
23968 # include <stddef.h>
23970 # include <wchar.h>
23972 #ifdef HAVE_STDLIB_H
23973 # include <stdlib.h>
23979 typedef wchar_t ac__type_sizeof_;
23983 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23990 rm -f conftest.$ac_objext
23991 if { (ac_try="$ac_compile"
23992 case "(($ac_try" in
23993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23994 *) ac_try_echo=$ac_try;;
23996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23997 (eval "$ac_compile") 2>conftest.er1
23999 grep -v '^ *+' conftest.er1 >conftest.err
24001 cat conftest.err >&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } && {
24004 test -z "$ac_c_werror_flag" ||
24005 test ! -s conftest.err
24006 } && test -s conftest.$ac_objext; then
24007 ac_hi=$ac_mid; break
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 ac_lo=`expr $ac_mid + 1`
24013 if test $ac_lo -le $ac_mid; then
24017 ac_mid=`expr 2 '*' $ac_mid + 1`
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24026 cat >conftest.$ac_ext <<_ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24033 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24034 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24035 # error "fake wchar_t"
24037 #ifdef HAVE_WCHAR_H
24039 # include <stddef.h>
24041 # include <wchar.h>
24043 #ifdef HAVE_STDLIB_H
24044 # include <stdlib.h>
24050 typedef wchar_t ac__type_sizeof_;
24054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24061 rm -f conftest.$ac_objext
24062 if { (ac_try="$ac_compile"
24063 case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_compile") 2>conftest.er1
24070 grep -v '^ *+' conftest.er1 >conftest.err
24072 cat conftest.err >&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); } && {
24075 test -z "$ac_c_werror_flag" ||
24076 test ! -s conftest.err
24077 } && test -s conftest.$ac_objext; then
24080 cat >conftest.$ac_ext <<_ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24089 # error "fake wchar_t"
24091 #ifdef HAVE_WCHAR_H
24093 # include <stddef.h>
24095 # include <wchar.h>
24097 #ifdef HAVE_STDLIB_H
24098 # include <stdlib.h>
24104 typedef wchar_t ac__type_sizeof_;
24108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24115 rm -f conftest.$ac_objext
24116 if { (ac_try="$ac_compile"
24117 case "(($ac_try" in
24118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24119 *) ac_try_echo=$ac_try;;
24121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24122 (eval "$ac_compile") 2>conftest.er1
24124 grep -v '^ *+' conftest.er1 >conftest.err
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } && {
24129 test -z "$ac_c_werror_flag" ||
24130 test ! -s conftest.err
24131 } && test -s conftest.$ac_objext; then
24132 ac_lo=$ac_mid; break
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.$ac_ext >&5
24137 ac_hi=`expr '(' $ac_mid ')' - 1`
24138 if test $ac_mid -le $ac_hi; then
24142 ac_mid=`expr 2 '*' $ac_mid`
24145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24158 # Binary search between lo and hi bounds.
24159 while test "x$ac_lo" != "x$ac_hi"; do
24160 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24161 cat >conftest.$ac_ext <<_ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24168 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24169 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24170 # error "fake wchar_t"
24172 #ifdef HAVE_WCHAR_H
24174 # include <stddef.h>
24176 # include <wchar.h>
24178 #ifdef HAVE_STDLIB_H
24179 # include <stdlib.h>
24185 typedef wchar_t ac__type_sizeof_;
24189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24196 rm -f conftest.$ac_objext
24197 if { (ac_try="$ac_compile"
24198 case "(($ac_try" in
24199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24200 *) ac_try_echo=$ac_try;;
24202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24203 (eval "$ac_compile") 2>conftest.er1
24205 grep -v '^ *+' conftest.er1 >conftest.err
24207 cat conftest.err >&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); } && {
24210 test -z "$ac_c_werror_flag" ||
24211 test ! -s conftest.err
24212 } && test -s conftest.$ac_objext; then
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.$ac_ext >&5
24218 ac_lo=`expr '(' $ac_mid ')' + 1`
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24225 '') if test "$ac_cv_type_wchar_t" = yes; then
24226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24227 See \`config.log' for more details." >&5
24228 echo "$as_me: error: cannot compute sizeof (wchar_t)
24229 See \`config.log' for more details." >&2;}
24230 { (exit 77); exit 77; }; }
24232 ac_cv_sizeof_wchar_t=0
24236 cat >conftest.$ac_ext <<_ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24243 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24244 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24245 # error "fake wchar_t"
24247 #ifdef HAVE_WCHAR_H
24249 # include <stddef.h>
24251 # include <wchar.h>
24253 #ifdef HAVE_STDLIB_H
24254 # include <stdlib.h>
24260 typedef wchar_t ac__type_sizeof_;
24261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24264 #include <stdlib.h>
24269 FILE *f = fopen ("conftest.val", "w");
24272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24274 long int i = longval ();
24275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24277 fprintf (f, "%ld\n", i);
24281 unsigned long int i = ulongval ();
24282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24284 fprintf (f, "%lu\n", i);
24286 return ferror (f) || fclose (f) != 0;
24292 rm -f conftest$ac_exeext
24293 if { (ac_try="$ac_link"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_link") 2>&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24303 { (case "(($ac_try" in
24304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305 *) ac_try_echo=$ac_try;;
24307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24308 (eval "$ac_try") 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 ac_cv_sizeof_wchar_t=`cat conftest.val`
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.$ac_ext >&5
24318 ( exit $ac_status )
24319 if test "$ac_cv_type_wchar_t" = yes; then
24320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24321 See \`config.log' for more details." >&5
24322 echo "$as_me: error: cannot compute sizeof (wchar_t)
24323 See \`config.log' for more details." >&2;}
24324 { (exit 77); exit 77; }; }
24326 ac_cv_sizeof_wchar_t=0
24329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24334 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24338 cat >>confdefs.h <<_ACEOF
24339 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24343 if test "$ac_cv_sizeof_wchar_t" = 0; then
24344 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24345 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24346 { (exit 1); exit 1; }; }
24348 cat >>confdefs.h <<\_ACEOF
24349 #define wxUSE_WCHAR_T 1
24353 { echo "$as_me:$LINENO: checking for va_copy" >&5
24354 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24355 if test "${wx_cv_func_va_copy+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24365 cat >conftest.$ac_ext <<_ACEOF
24367 #include <stdarg.h>
24368 void foo(char *f, ...)
24382 rm -f conftest.$ac_objext conftest$ac_exeext
24383 if { (ac_try="$ac_link"
24384 case "(($ac_try" in
24385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24386 *) ac_try_echo=$ac_try;;
24388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24389 (eval "$ac_link") 2>conftest.er1
24391 grep -v '^ *+' conftest.er1 >conftest.err
24393 cat conftest.err >&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } && {
24396 test -z "$ac_cxx_werror_flag" ||
24397 test ! -s conftest.err
24398 } && test -s conftest$ac_exeext &&
24399 $as_test_x conftest$ac_exeext; then
24400 wx_cv_func_va_copy=yes
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24405 wx_cv_func_va_copy=no
24409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24410 conftest$ac_exeext conftest.$ac_ext
24412 ac_cpp='$CPP $CPPFLAGS'
24413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24421 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24423 if test $wx_cv_func_va_copy = "yes"; then
24424 cat >>confdefs.h <<\_ACEOF
24425 #define HAVE_VA_COPY 1
24429 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24430 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24431 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 if test "$cross_compiling" = yes; then
24436 wx_cv_type_va_list_lvalue=yes
24439 cat >conftest.$ac_ext <<_ACEOF
24441 #include <stdarg.h>
24442 int foo(char *f, ...)
24447 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24455 return foo("hi", 17);
24458 rm -f conftest$ac_exeext
24459 if { (ac_try="$ac_link"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_link") 2>&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24469 { (case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_try") 2>&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); }; }; then
24478 wx_cv_type_va_list_lvalue=yes
24480 echo "$as_me: program exited with status $ac_status" >&5
24481 echo "$as_me: failed program was:" >&5
24482 sed 's/^/| /' conftest.$ac_ext >&5
24484 ( exit $ac_status )
24485 wx_cv_type_va_list_lvalue=no
24487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24494 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24495 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24497 if test $wx_cv_type_va_list_lvalue != "yes"; then
24498 cat >>confdefs.h <<\_ACEOF
24499 #define VA_LIST_IS_ARRAY 1
24505 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24507 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24508 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24509 if test "${wx_cv_have_variadic_macros+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24514 ac_cpp='$CXXCPP $CPPFLAGS'
24515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24519 cat >conftest.$ac_ext <<_ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24527 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24533 test("%s %d %p", "test", 1, 0);
24540 rm -f conftest.$ac_objext
24541 if { (ac_try="$ac_compile"
24542 case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_compile") 2>conftest.er1
24549 grep -v '^ *+' conftest.er1 >conftest.err
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } && {
24554 test -z "$ac_cxx_werror_flag" ||
24555 test ! -s conftest.err
24556 } && test -s conftest.$ac_objext; then
24557 wx_cv_have_variadic_macros=yes
24559 echo "$as_me: failed program was:" >&5
24560 sed 's/^/| /' conftest.$ac_ext >&5
24562 wx_cv_have_variadic_macros=no
24566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24568 ac_cpp='$CPP $CPPFLAGS'
24569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24576 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24577 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24579 if test $wx_cv_have_variadic_macros = "yes"; then
24580 cat >>confdefs.h <<\_ACEOF
24581 #define HAVE_VARIADIC_MACROS 1
24588 LARGEFILE_CPPFLAGS=
24589 # Check whether --enable-largefile was given.
24590 if test "${enable_largefile+set}" = set; then
24591 enableval=$enable_largefile;
24594 if test "$enable_largefile" != no; then
24597 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24598 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24599 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 cat >conftest.$ac_ext <<_ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24609 #define _FILE_OFFSET_BITS 64
24610 #include <sys/types.h>
24615 unsigned int field: sizeof(off_t) == 8;
24622 rm -f conftest.$ac_objext
24623 if { (ac_try="$ac_compile"
24624 case "(($ac_try" in
24625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24626 *) ac_try_echo=$ac_try;;
24628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24629 (eval "$ac_compile") 2>conftest.er1
24631 grep -v '^ *+' conftest.er1 >conftest.err
24633 cat conftest.err >&5
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); } && {
24636 test -z "$ac_c_werror_flag" ||
24637 test ! -s conftest.err
24638 } && test -s conftest.$ac_objext; then
24639 ac_cv_sys_file_offset_bits=64
24641 echo "$as_me: failed program was:" >&5
24642 sed 's/^/| /' conftest.$ac_ext >&5
24644 ac_cv_sys_file_offset_bits=no
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24652 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24654 if test "$ac_cv_sys_file_offset_bits" != no; then
24656 cat >>confdefs.h <<_ACEOF
24657 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24662 if test "x$wx_largefile" != "xyes"; then
24664 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24665 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24666 if test "${ac_cv_sys_large_files+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 cat >conftest.$ac_ext <<_ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h. */
24676 #define _LARGE_FILES 1
24677 #include <sys/types.h>
24682 unsigned int field: sizeof(off_t) == 8;
24689 rm -f conftest.$ac_objext
24690 if { (ac_try="$ac_compile"
24691 case "(($ac_try" in
24692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24693 *) ac_try_echo=$ac_try;;
24695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24696 (eval "$ac_compile") 2>conftest.er1
24698 grep -v '^ *+' conftest.er1 >conftest.err
24700 cat conftest.err >&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } && {
24703 test -z "$ac_c_werror_flag" ||
24704 test ! -s conftest.err
24705 } && test -s conftest.$ac_objext; then
24706 ac_cv_sys_large_files=1
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24711 ac_cv_sys_large_files=no
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24719 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24721 if test "$ac_cv_sys_large_files" != no; then
24723 cat >>confdefs.h <<_ACEOF
24724 #define _LARGE_FILES $ac_cv_sys_large_files
24731 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24732 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24733 if test "x$wx_largefile" = "xyes"; then
24734 cat >>confdefs.h <<\_ACEOF
24735 #define HAVE_LARGEFILE_SUPPORT 1
24739 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24740 echo "${ECHO_T}$wx_largefile" >&6; }
24743 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24744 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24745 elif test "$ac_cv_sys_large_files" = 1; then
24746 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24749 if test -n "$LARGEFILE_CPPFLAGS"; then
24750 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24752 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24753 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24754 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24755 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24756 echo $ECHO_N "(cached) $ECHO_C" >&6
24760 ac_cpp='$CXXCPP $CPPFLAGS'
24761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24765 cat >conftest.$ac_ext <<_ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24776 #ifndef __STDC_EXT__
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^ *+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_STDC_EXT_required=no
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24806 wx_cv_STDC_EXT_required=yes
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812 ac_cpp='$CPP $CPPFLAGS'
24813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24820 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24821 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24822 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24823 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834 old_CPPFLAGS="$CPPFLAGS"
24835 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24836 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24837 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24838 if test "${ac_cv_sys_largefile_source+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 cat >conftest.$ac_ext <<_ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 #include <sys/types.h> /* for off_t */
24853 int (*fp) (FILE *, off_t, int) = fseeko;
24854 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24859 rm -f conftest.$ac_objext conftest$ac_exeext
24860 if { (ac_try="$ac_link"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_link") 2>conftest.er1
24868 grep -v '^ *+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest$ac_exeext &&
24876 $as_test_x conftest$ac_exeext; then
24877 ac_cv_sys_largefile_source=no; break
24879 echo "$as_me: failed program was:" >&5
24880 sed 's/^/| /' conftest.$ac_ext >&5
24885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24886 conftest$ac_exeext conftest.$ac_ext
24887 cat >conftest.$ac_ext <<_ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 #define _LARGEFILE_SOURCE 1
24894 #include <sys/types.h> /* for off_t */
24899 int (*fp) (FILE *, off_t, int) = fseeko;
24900 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24914 grep -v '^ *+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_cxx_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 ac_cv_sys_largefile_source=1; break
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24933 ac_cv_sys_largefile_source=unknown
24937 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24938 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24939 case $ac_cv_sys_largefile_source in #(
24942 cat >>confdefs.h <<_ACEOF
24943 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24949 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24950 # in glibc 2.1.3, but that breaks too many other things.
24951 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24952 if test $ac_cv_sys_largefile_source != unknown; then
24954 cat >>confdefs.h <<\_ACEOF
24955 #define HAVE_FSEEKO 1
24960 CPPFLAGS="$old_CPPFLAGS"
24962 ac_cpp='$CPP $CPPFLAGS'
24963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24967 if test "$ac_cv_sys_largefile_source" != no; then
24968 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24971 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24972 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24973 if test "${ac_cv_c_bigendian+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24976 ac_cv_c_bigendian=unknown
24977 # See if sys/param.h defines the BYTE_ORDER macro.
24978 cat >conftest.$ac_ext <<_ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984 #include <sys/types.h>
24985 #include <sys/param.h>
24990 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24991 bogus endian macros
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25006 grep -v '^ *+' conftest.er1 >conftest.err
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_c_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 # It does; now see whether it defined to BIG_ENDIAN or not.
25015 cat >conftest.$ac_ext <<_ACEOF
25018 cat confdefs.h >>conftest.$ac_ext
25019 cat >>conftest.$ac_ext <<_ACEOF
25020 /* end confdefs.h. */
25021 #include <sys/types.h>
25022 #include <sys/param.h>
25027 #if BYTE_ORDER != BIG_ENDIAN
25034 rm -f conftest.$ac_objext
25035 if { (ac_try="$ac_compile"
25036 case "(($ac_try" in
25037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25038 *) ac_try_echo=$ac_try;;
25040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25041 (eval "$ac_compile") 2>conftest.er1
25043 grep -v '^ *+' conftest.er1 >conftest.err
25045 cat conftest.err >&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } && {
25048 test -z "$ac_c_werror_flag" ||
25049 test ! -s conftest.err
25050 } && test -s conftest.$ac_objext; then
25051 ac_cv_c_bigendian=yes
25053 echo "$as_me: failed program was:" >&5
25054 sed 's/^/| /' conftest.$ac_ext >&5
25056 ac_cv_c_bigendian=no
25059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25068 if test $ac_cv_c_bigendian = unknown; then
25069 if test "$cross_compiling" = yes; then
25070 ac_cv_c_bigendian=unknown
25072 cat >conftest.$ac_ext <<_ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25079 /* Are we little or big endian? From Harbison&Steele. */
25083 char c[sizeof (long)];
25086 exit (u.c[sizeof (long) - 1] == 1);
25089 rm -f conftest$ac_exeext
25090 if { (ac_try="$ac_link"
25091 case "(($ac_try" in
25092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25093 *) ac_try_echo=$ac_try;;
25095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25096 (eval "$ac_link") 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25100 { (case "(($ac_try" in
25101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25102 *) ac_try_echo=$ac_try;;
25104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25105 (eval "$ac_try") 2>&5
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); }; }; then
25109 ac_cv_c_bigendian=no
25111 echo "$as_me: program exited with status $ac_status" >&5
25112 echo "$as_me: failed program was:" >&5
25113 sed 's/^/| /' conftest.$ac_ext >&5
25115 ( exit $ac_status )
25116 ac_cv_c_bigendian=yes
25118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25124 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25125 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25126 if test $ac_cv_c_bigendian = unknown; then
25127 { 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
25128 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;}
25130 if test $ac_cv_c_bigendian = yes; then
25131 cat >>confdefs.h <<\_ACEOF
25132 #define WORDS_BIGENDIAN 1
25141 ac_cpp='$CXXCPP $CPPFLAGS'
25142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148 for ac_header in iostream
25150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 cat >conftest.$ac_ext <<_ACEOF
25159 cat confdefs.h >>conftest.$ac_ext
25160 cat >>conftest.$ac_ext <<_ACEOF
25161 /* end confdefs.h. */
25164 #include <$ac_header>
25166 rm -f conftest.$ac_objext
25167 if { (ac_try="$ac_compile"
25168 case "(($ac_try" in
25169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_compile") 2>conftest.er1
25175 grep -v '^ *+' conftest.er1 >conftest.err
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } && {
25180 test -z "$ac_cxx_werror_flag" ||
25181 test ! -s conftest.err
25182 } && test -s conftest.$ac_objext; then
25183 eval "$as_ac_Header=yes"
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25188 eval "$as_ac_Header=no"
25191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25193 ac_res=`eval echo '${'$as_ac_Header'}'`
25194 { echo "$as_me:$LINENO: result: $ac_res" >&5
25195 echo "${ECHO_T}$ac_res" >&6; }
25196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25197 cat >>confdefs.h <<_ACEOF
25198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25206 if test "$ac_cv_header_iostream" = "yes" ; then
25209 cat >>confdefs.h <<\_ACEOF
25210 #define wxUSE_IOSTREAMH 1
25216 ac_cpp='$CPP $CPPFLAGS'
25217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25224 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25225 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25226 if test "${wx_cv_explicit+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 ac_cpp='$CXXCPP $CPPFLAGS'
25233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25238 cat >conftest.$ac_ext <<_ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25245 class Foo { public: explicit Foo(int) {} };
25257 rm -f conftest.$ac_objext
25258 if { (ac_try="$ac_compile"
25259 case "(($ac_try" in
25260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25261 *) ac_try_echo=$ac_try;;
25263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25264 (eval "$ac_compile") 2>conftest.er1
25266 grep -v '^ *+' conftest.er1 >conftest.err
25268 cat conftest.err >&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } && {
25271 test -z "$ac_cxx_werror_flag" ||
25272 test ! -s conftest.err
25273 } && test -s conftest.$ac_objext; then
25275 cat >conftest.$ac_ext <<_ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25282 class Foo { public: explicit Foo(int) {} };
25283 static void TakeFoo(const Foo& foo) { }
25296 rm -f conftest.$ac_objext
25297 if { (ac_try="$ac_compile"
25298 case "(($ac_try" in
25299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25300 *) ac_try_echo=$ac_try;;
25302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25303 (eval "$ac_compile") 2>conftest.er1
25305 grep -v '^ *+' conftest.er1 >conftest.err
25307 cat conftest.err >&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); } && {
25310 test -z "$ac_cxx_werror_flag" ||
25311 test ! -s conftest.err
25312 } && test -s conftest.$ac_objext; then
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25342 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25343 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25345 if test "$wx_cv_explicit" = "yes"; then
25346 cat >>confdefs.h <<\_ACEOF
25347 #define HAVE_EXPLICIT 1
25353 if test "x$SUNCXX" = xyes; then
25354 CXXFLAGS="-features=tmplife $CXXFLAGS"
25357 if test "x$SUNCC" = xyes; then
25358 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25361 if test "x$SGICC" = "xyes"; then
25362 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25363 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25364 if test "${wx_cv_prog_sgicc744+set}" = set; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 cat >conftest.$ac_ext <<_ACEOF
25371 cat confdefs.h >>conftest.$ac_ext
25372 cat >>conftest.$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25379 #if _SGI_COMPILER_VERSION >= 744
25380 chock me: mipsPro is 7.4.4 or later
25387 rm -f conftest.$ac_objext
25388 if { (ac_try="$ac_compile"
25389 case "(($ac_try" in
25390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25391 *) ac_try_echo=$ac_try;;
25393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25394 (eval "$ac_compile") 2>conftest.er1
25396 grep -v '^ *+' conftest.er1 >conftest.err
25398 cat conftest.err >&5
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); } && {
25401 test -z "$ac_c_werror_flag" ||
25402 test ! -s conftest.err
25403 } && test -s conftest.$ac_objext; then
25404 wx_cv_prog_sgicc744=no
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25409 wx_cv_prog_sgicc744=yes
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25417 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25418 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25420 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25421 CFLAGS="-woff 3970 $CFLAGS"
25424 if test "x$SGICXX" = "xyes"; then
25425 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25426 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25427 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25428 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 ac_cpp='$CXXCPP $CPPFLAGS'
25433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25437 cat >conftest.$ac_ext <<_ACEOF
25440 cat confdefs.h >>conftest.$ac_ext
25441 cat >>conftest.$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25448 #if _SGI_COMPILER_VERSION >= 744
25449 chock me: mipsPro is 7.4.4 or later
25456 rm -f conftest.$ac_objext
25457 if { (ac_try="$ac_compile"
25458 case "(($ac_try" in
25459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25460 *) ac_try_echo=$ac_try;;
25462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25463 (eval "$ac_compile") 2>conftest.er1
25465 grep -v '^ *+' conftest.er1 >conftest.err
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } && {
25470 test -z "$ac_cxx_werror_flag" ||
25471 test ! -s conftest.err
25472 } && test -s conftest.$ac_objext; then
25473 wx_cv_prog_sgicxx744=no
25475 echo "$as_me: failed program was:" >&5
25476 sed 's/^/| /' conftest.$ac_ext >&5
25478 wx_cv_prog_sgicxx744=yes
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25492 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25493 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25495 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25496 CXXFLAGS="-woff 3970 $CXXFLAGS"
25500 if test "x$HPCC" = "xyes"; then
25501 CFLAGS="+W 2011,2450 $CFLAGS"
25503 if test "x$HPCXX" = "xyes"; then
25504 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25507 if test "x$COMPAQCXX" = "xyes"; then
25508 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25512 ac_cpp='$CXXCPP $CPPFLAGS'
25513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25518 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25519 if test "$wxUSE_UNICODE" = "yes"; then
25520 std_string="std::wstring"
25521 char_type="wchar_t"
25523 std_string="std::string"
25527 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25528 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25529 if test "${wx_cv_class_stdstring+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 cat >conftest.$ac_ext <<_ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25548 rm -f conftest.$ac_objext
25549 if { (ac_try="$ac_compile"
25550 case "(($ac_try" in
25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552 *) ac_try_echo=$ac_try;;
25554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25555 (eval "$ac_compile") 2>conftest.er1
25557 grep -v '^ *+' conftest.er1 >conftest.err
25559 cat conftest.err >&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } && {
25562 test -z "$ac_cxx_werror_flag" ||
25563 test ! -s conftest.err
25564 } && test -s conftest.$ac_objext; then
25565 wx_cv_class_stdstring=yes
25567 echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25570 wx_cv_class_stdstring=no
25574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25579 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25581 if test "$wx_cv_class_stdstring" = yes; then
25582 if test "$wxUSE_UNICODE" = "yes"; then
25583 cat >>confdefs.h <<\_ACEOF
25584 #define HAVE_STD_WSTRING 1
25589 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25590 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25591 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25592 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 cat >conftest.$ac_ext <<_ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25602 #ifdef HAVE_WCHAR_H
25604 # include <stddef.h>
25606 # include <wchar.h>
25608 #ifdef HAVE_STDLIB_H
25609 # include <stdlib.h>
25617 std::basic_string<$char_type> foo;
25618 const $char_type* dummy = foo.c_str();
25623 rm -f conftest.$ac_objext
25624 if { (ac_try="$ac_compile"
25625 case "(($ac_try" in
25626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25627 *) ac_try_echo=$ac_try;;
25629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25630 (eval "$ac_compile") 2>conftest.er1
25632 grep -v '^ *+' conftest.er1 >conftest.err
25634 cat conftest.err >&5
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); } && {
25637 test -z "$ac_cxx_werror_flag" ||
25638 test ! -s conftest.err
25639 } && test -s conftest.$ac_objext; then
25640 wx_cv_class_stdbasicstring=yes
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.$ac_ext >&5
25645 wx_cv_class_stdbasicstring=no
25649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25654 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25656 if test "$wx_cv_class_stdbasicstring" != yes; then
25657 if test "$wxUSE_STL" = "yes"; then
25658 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25659 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25660 { (exit 1); exit 1; }; }
25661 elif test "$wxUSE_STD_STRING" = "yes"; then
25662 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25663 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25664 { (exit 1); exit 1; }; }
25666 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25667 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25668 wxUSE_STD_STRING=no
25674 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25675 { echo "$as_me:$LINENO: checking for std::istream" >&5
25676 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25677 if test "${ac_cv_type_std__istream+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 cat >conftest.$ac_ext <<_ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 #include <iostream>
25688 typedef std::istream ac__type_new_;
25692 if ((ac__type_new_ *) 0)
25694 if (sizeof (ac__type_new_))
25700 rm -f conftest.$ac_objext
25701 if { (ac_try="$ac_compile"
25702 case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25704 *) ac_try_echo=$ac_try;;
25706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25707 (eval "$ac_compile") 2>conftest.er1
25709 grep -v '^ *+' conftest.er1 >conftest.err
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } && {
25714 test -z "$ac_cxx_werror_flag" ||
25715 test ! -s conftest.err
25716 } && test -s conftest.$ac_objext; then
25717 ac_cv_type_std__istream=yes
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25722 ac_cv_type_std__istream=no
25725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25727 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25728 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25729 if test $ac_cv_type_std__istream = yes; then
25731 cat >>confdefs.h <<_ACEOF
25732 #define HAVE_STD__ISTREAM 1
25737 wxUSE_STD_IOSTREAM=no
25739 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25740 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25741 if test "${ac_cv_type_std__ostream+set}" = set; then
25742 echo $ECHO_N "(cached) $ECHO_C" >&6
25744 cat >conftest.$ac_ext <<_ACEOF
25747 cat confdefs.h >>conftest.$ac_ext
25748 cat >>conftest.$ac_ext <<_ACEOF
25749 /* end confdefs.h. */
25750 #include <iostream>
25752 typedef std::ostream ac__type_new_;
25756 if ((ac__type_new_ *) 0)
25758 if (sizeof (ac__type_new_))
25764 rm -f conftest.$ac_objext
25765 if { (ac_try="$ac_compile"
25766 case "(($ac_try" in
25767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25768 *) ac_try_echo=$ac_try;;
25770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25771 (eval "$ac_compile") 2>conftest.er1
25773 grep -v '^ *+' conftest.er1 >conftest.err
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } && {
25778 test -z "$ac_cxx_werror_flag" ||
25779 test ! -s conftest.err
25780 } && test -s conftest.$ac_objext; then
25781 ac_cv_type_std__ostream=yes
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25786 ac_cv_type_std__ostream=no
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25791 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25792 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25793 if test $ac_cv_type_std__ostream = yes; then
25795 cat >>confdefs.h <<_ACEOF
25796 #define HAVE_STD__OSTREAM 1
25801 wxUSE_STD_IOSTREAM=no
25805 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25806 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25807 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25808 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25809 { (exit 1); exit 1; }; }
25811 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25812 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25817 if test "$wxUSE_STL" = "yes"; then
25818 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25819 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25820 if test "${wx_cv_lib_stl+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 cat >conftest.$ac_ext <<_ACEOF
25826 cat confdefs.h >>conftest.$ac_ext
25827 cat >>conftest.$ac_ext <<_ACEOF
25828 /* end confdefs.h. */
25830 #include <functional>
25831 #include <algorithm>
25837 std::vector<int> moo;
25838 std::list<int> foo;
25839 std::vector<int>::iterator it =
25840 std::find_if(moo.begin(), moo.end(),
25841 std::bind2nd(std::less<int>(), 3));
25846 rm -f conftest.$ac_objext
25847 if { (ac_try="$ac_compile"
25848 case "(($ac_try" in
25849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25850 *) ac_try_echo=$ac_try;;
25852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25853 (eval "$ac_compile") 2>conftest.er1
25855 grep -v '^ *+' conftest.er1 >conftest.err
25857 cat conftest.err >&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } && {
25860 test -z "$ac_cxx_werror_flag" ||
25861 test ! -s conftest.err
25862 } && test -s conftest.$ac_objext; then
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25875 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25876 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25878 if test "$wx_cv_lib_stl" != yes; then
25879 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25880 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25881 { (exit 1); exit 1; }; }
25884 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25885 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25886 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25887 echo $ECHO_N "(cached) $ECHO_C" >&6
25889 cat >conftest.$ac_ext <<_ACEOF
25892 cat confdefs.h >>conftest.$ac_ext
25893 cat >>conftest.$ac_ext <<_ACEOF
25894 /* end confdefs.h. */
25899 std::string foo, bar;
25901 foo.compare(1, 1, bar);
25902 foo.compare(1, 1, bar, 1, 1);
25904 foo.compare(1, 1, "");
25905 foo.compare(1, 1, "", 2);
25910 rm -f conftest.$ac_objext
25911 if { (ac_try="$ac_compile"
25912 case "(($ac_try" in
25913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25914 *) ac_try_echo=$ac_try;;
25916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25917 (eval "$ac_compile") 2>conftest.er1
25919 grep -v '^ *+' conftest.er1 >conftest.err
25921 cat conftest.err >&5
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); } && {
25924 test -z "$ac_cxx_werror_flag" ||
25925 test ! -s conftest.err
25926 } && test -s conftest.$ac_objext; then
25927 wx_cv_func_stdstring_compare=yes
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25932 wx_cv_func_stdstring_compare=no
25936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25939 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25940 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25942 if test "$wx_cv_func_stdstring_compare" = yes; then
25943 cat >>confdefs.h <<\_ACEOF
25944 #define HAVE_STD_STRING_COMPARE 1
25949 if test "$wx_cv_class_gnuhashmapset" = yes; then
25950 cat >>confdefs.h <<\_ACEOF
25951 #define HAVE_EXT_HASH_MAP 1
25954 cat >>confdefs.h <<\_ACEOF
25955 #define HAVE_GNU_CXX_HASH_MAP 1
25960 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25961 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25962 if test "${ac_cv_header_unordered_map+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 cat >conftest.$ac_ext <<_ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25974 #include <unordered_map>
25976 rm -f conftest.$ac_objext
25977 if { (ac_try="$ac_compile"
25978 case "(($ac_try" in
25979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25980 *) ac_try_echo=$ac_try;;
25982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25983 (eval "$ac_compile") 2>conftest.er1
25985 grep -v '^ *+' conftest.er1 >conftest.err
25987 cat conftest.err >&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); } && {
25990 test -z "$ac_cxx_werror_flag" ||
25991 test ! -s conftest.err
25992 } && test -s conftest.$ac_objext; then
25993 ac_cv_header_unordered_map=yes
25995 echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.$ac_ext >&5
25998 ac_cv_header_unordered_map=no
26001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26003 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26004 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26005 if test $ac_cv_header_unordered_map = yes; then
26006 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26007 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26008 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26011 cat >conftest.$ac_ext <<_ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26017 #include <unordered_map>
26018 #include <unordered_set>
26022 std::unordered_map<double*, char*> test1;
26023 std::unordered_set<char*> test2;
26028 rm -f conftest.$ac_objext
26029 if { (ac_try="$ac_compile"
26030 case "(($ac_try" in
26031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26032 *) ac_try_echo=$ac_try;;
26034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26035 (eval "$ac_compile") 2>conftest.er1
26037 grep -v '^ *+' conftest.er1 >conftest.err
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } && {
26042 test -z "$ac_cxx_werror_flag" ||
26043 test ! -s conftest.err
26044 } && test -s conftest.$ac_objext; then
26045 wx_cv_class_stdunorderedmapset=yes
26047 echo "$as_me: failed program was:" >&5
26048 sed 's/^/| /' conftest.$ac_ext >&5
26050 wx_cv_class_stdunorderedmapset=no
26053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26058 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26063 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26064 cat >>confdefs.h <<\_ACEOF
26065 #define HAVE_STD_UNORDERED_MAP 1
26068 cat >>confdefs.h <<\_ACEOF
26069 #define HAVE_STD_UNORDERED_SET 1
26073 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26074 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26075 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 cat >conftest.$ac_ext <<_ACEOF
26081 cat confdefs.h >>conftest.$ac_ext
26082 cat >>conftest.$ac_ext <<_ACEOF
26083 /* end confdefs.h. */
26087 #include <tr1/unordered_map>
26089 rm -f conftest.$ac_objext
26090 if { (ac_try="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26098 grep -v '^ *+' conftest.er1 >conftest.err
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26106 ac_cv_header_tr1_unordered_map=yes
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26111 ac_cv_header_tr1_unordered_map=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26116 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26117 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26118 if test $ac_cv_header_tr1_unordered_map = yes; then
26119 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26120 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26121 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26124 cat >conftest.$ac_ext <<_ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130 #include <tr1/unordered_map>
26131 #include <tr1/unordered_set>
26135 std::tr1::unordered_map<double*, char*> test1;
26136 std::tr1::unordered_set<char*> test2;
26137 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26138 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26144 rm -f conftest.$ac_objext
26145 if { (ac_try="$ac_compile"
26146 case "(($ac_try" in
26147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26148 *) ac_try_echo=$ac_try;;
26150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26151 (eval "$ac_compile") 2>conftest.er1
26153 grep -v '^ *+' conftest.er1 >conftest.err
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } && {
26158 test -z "$ac_cxx_werror_flag" ||
26159 test ! -s conftest.err
26160 } && test -s conftest.$ac_objext; then
26161 wx_cv_class_tr1unorderedmapset=yes
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.$ac_ext >&5
26166 wx_cv_class_tr1unorderedmapset=no
26169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26173 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26174 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26179 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26180 cat >>confdefs.h <<\_ACEOF
26181 #define HAVE_TR1_UNORDERED_MAP 1
26184 cat >>confdefs.h <<\_ACEOF
26185 #define HAVE_TR1_UNORDERED_SET 1
26189 { echo "$as_me:$LINENO: checking for hash_map" >&5
26190 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26191 if test "${ac_cv_header_hash_map+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 cat >conftest.$ac_ext <<_ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26203 #include <hash_map>
26205 rm -f conftest.$ac_objext
26206 if { (ac_try="$ac_compile"
26207 case "(($ac_try" in
26208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26209 *) ac_try_echo=$ac_try;;
26211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26212 (eval "$ac_compile") 2>conftest.er1
26214 grep -v '^ *+' conftest.er1 >conftest.err
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } && {
26219 test -z "$ac_cxx_werror_flag" ||
26220 test ! -s conftest.err
26221 } && test -s conftest.$ac_objext; then
26222 ac_cv_header_hash_map=yes
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26227 ac_cv_header_hash_map=no
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26233 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26234 if test $ac_cv_header_hash_map = yes; then
26235 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26236 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26237 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 cat >conftest.$ac_ext <<_ACEOF
26243 cat confdefs.h >>conftest.$ac_ext
26244 cat >>conftest.$ac_ext <<_ACEOF
26245 /* end confdefs.h. */
26246 #include <hash_map>
26247 #include <hash_set>
26251 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26252 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26266 grep -v '^ *+' conftest.er1 >conftest.err
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_cxx_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.$ac_objext; then
26274 wx_cv_class_stdhashmapset=yes
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26279 wx_cv_class_stdhashmapset=no
26282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26287 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26292 if test "$wx_cv_class_stdhashmapset" = yes; then
26293 cat >>confdefs.h <<\_ACEOF
26294 #define HAVE_HASH_MAP 1
26297 cat >>confdefs.h <<\_ACEOF
26298 #define HAVE_STD_HASH_MAP 1
26303 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26304 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26305 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26308 cat >conftest.$ac_ext <<_ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26317 #include <ext/hash_map>
26319 rm -f conftest.$ac_objext
26320 if { (ac_try="$ac_compile"
26321 case "(($ac_try" in
26322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26323 *) ac_try_echo=$ac_try;;
26325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26326 (eval "$ac_compile") 2>conftest.er1
26328 grep -v '^ *+' conftest.er1 >conftest.err
26330 cat conftest.err >&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } && {
26333 test -z "$ac_cxx_werror_flag" ||
26334 test ! -s conftest.err
26335 } && test -s conftest.$ac_objext; then
26336 ac_cv_header_ext_hash_map=yes
26338 echo "$as_me: failed program was:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26341 ac_cv_header_ext_hash_map=no
26344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26346 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26347 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26348 if test $ac_cv_header_ext_hash_map = yes; then
26349 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26350 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26351 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26354 cat >conftest.$ac_ext <<_ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <ext/hash_map>
26361 #include <ext/hash_set>
26365 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26366 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26371 rm -f conftest.$ac_objext
26372 if { (ac_try="$ac_compile"
26373 case "(($ac_try" in
26374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26375 *) ac_try_echo=$ac_try;;
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378 (eval "$ac_compile") 2>conftest.er1
26380 grep -v '^ *+' conftest.er1 >conftest.err
26382 cat conftest.err >&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); } && {
26385 test -z "$ac_cxx_werror_flag" ||
26386 test ! -s conftest.err
26387 } && test -s conftest.$ac_objext; then
26388 wx_cv_class_gnuhashmapset=yes
26390 echo "$as_me: failed program was:" >&5
26391 sed 's/^/| /' conftest.$ac_ext >&5
26393 wx_cv_class_gnuhashmapset=no
26396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26400 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26401 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26411 ac_cpp='$CXXCPP $CPPFLAGS'
26412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26415 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26416 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26417 if test -z "$CXXCPP"; then
26418 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26419 echo $ECHO_N "(cached) $ECHO_C" >&6
26421 # Double quotes because CXXCPP needs to be expanded
26422 for CXXCPP in "$CXX -E" "/lib/cpp"
26424 ac_preproc_ok=false
26425 for ac_cxx_preproc_warn_flag in '' yes
26427 # Use a header file that comes with gcc, so configuring glibc
26428 # with a fresh cross-compiler works.
26429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26430 # <limits.h> exists even on freestanding compilers.
26431 # On the NeXT, cc -E runs the code through the compiler's parser,
26432 # not just through cpp. "Syntax error" is here to catch this case.
26433 cat >conftest.$ac_ext <<_ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26440 # include <limits.h>
26442 # include <assert.h>
26446 if { (ac_try="$ac_cpp conftest.$ac_ext"
26447 case "(($ac_try" in
26448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26449 *) ac_try_echo=$ac_try;;
26451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26454 grep -v '^ *+' conftest.er1 >conftest.err
26456 cat conftest.err >&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); } >/dev/null && {
26459 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26460 test ! -s conftest.err
26464 echo "$as_me: failed program was:" >&5
26465 sed 's/^/| /' conftest.$ac_ext >&5
26467 # Broken: fails on valid input.
26471 rm -f conftest.err conftest.$ac_ext
26473 # OK, works on sane cases. Now check whether nonexistent headers
26474 # can be detected and how.
26475 cat >conftest.$ac_ext <<_ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 #include <ac_nonexistent.h>
26483 if { (ac_try="$ac_cpp conftest.$ac_ext"
26484 case "(($ac_try" in
26485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26486 *) ac_try_echo=$ac_try;;
26488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26491 grep -v '^ *+' conftest.er1 >conftest.err
26493 cat conftest.err >&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } >/dev/null && {
26496 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26497 test ! -s conftest.err
26499 # Broken: success on invalid input.
26502 echo "$as_me: failed program was:" >&5
26503 sed 's/^/| /' conftest.$ac_ext >&5
26505 # Passes both tests.
26510 rm -f conftest.err conftest.$ac_ext
26513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26514 rm -f conftest.err conftest.$ac_ext
26515 if $ac_preproc_ok; then
26520 ac_cv_prog_CXXCPP=$CXXCPP
26523 CXXCPP=$ac_cv_prog_CXXCPP
26525 ac_cv_prog_CXXCPP=$CXXCPP
26527 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26528 echo "${ECHO_T}$CXXCPP" >&6; }
26529 ac_preproc_ok=false
26530 for ac_cxx_preproc_warn_flag in '' yes
26532 # Use a header file that comes with gcc, so configuring glibc
26533 # with a fresh cross-compiler works.
26534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26535 # <limits.h> exists even on freestanding compilers.
26536 # On the NeXT, cc -E runs the code through the compiler's parser,
26537 # not just through cpp. "Syntax error" is here to catch this case.
26538 cat >conftest.$ac_ext <<_ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26545 # include <limits.h>
26547 # include <assert.h>
26551 if { (ac_try="$ac_cpp conftest.$ac_ext"
26552 case "(($ac_try" in
26553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26554 *) ac_try_echo=$ac_try;;
26556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26559 grep -v '^ *+' conftest.er1 >conftest.err
26561 cat conftest.err >&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } >/dev/null && {
26564 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26565 test ! -s conftest.err
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26572 # Broken: fails on valid input.
26576 rm -f conftest.err conftest.$ac_ext
26578 # OK, works on sane cases. Now check whether nonexistent headers
26579 # can be detected and how.
26580 cat >conftest.$ac_ext <<_ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586 #include <ac_nonexistent.h>
26588 if { (ac_try="$ac_cpp conftest.$ac_ext"
26589 case "(($ac_try" in
26590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26591 *) ac_try_echo=$ac_try;;
26593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26596 grep -v '^ *+' conftest.er1 >conftest.err
26598 cat conftest.err >&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } >/dev/null && {
26601 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26602 test ! -s conftest.err
26604 # Broken: success on invalid input.
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26610 # Passes both tests.
26615 rm -f conftest.err conftest.$ac_ext
26618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26619 rm -f conftest.err conftest.$ac_ext
26620 if $ac_preproc_ok; then
26623 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26624 See \`config.log' for more details." >&5
26625 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26626 See \`config.log' for more details." >&2;}
26627 { (exit 1); exit 1; }; }
26631 ac_cpp='$CXXCPP $CPPFLAGS'
26632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26639 for ac_header in type_traits tr1/type_traits
26641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 ac_res=`eval echo '${'$as_ac_Header'}'`
26649 { echo "$as_me:$LINENO: result: $ac_res" >&5
26650 echo "${ECHO_T}$ac_res" >&6; }
26652 # Is the header compilable?
26653 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26655 cat >conftest.$ac_ext <<_ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661 $ac_includes_default
26662 #include <$ac_header>
26664 rm -f conftest.$ac_objext
26665 if { (ac_try="$ac_compile"
26666 case "(($ac_try" in
26667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26668 *) ac_try_echo=$ac_try;;
26670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26671 (eval "$ac_compile") 2>conftest.er1
26673 grep -v '^ *+' conftest.er1 >conftest.err
26675 cat conftest.err >&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); } && {
26678 test -z "$ac_cxx_werror_flag" ||
26679 test ! -s conftest.err
26680 } && test -s conftest.$ac_objext; then
26681 ac_header_compiler=yes
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26686 ac_header_compiler=no
26689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26690 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26691 echo "${ECHO_T}$ac_header_compiler" >&6; }
26693 # Is the header present?
26694 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26696 cat >conftest.$ac_ext <<_ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702 #include <$ac_header>
26704 if { (ac_try="$ac_cpp conftest.$ac_ext"
26705 case "(($ac_try" in
26706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26707 *) ac_try_echo=$ac_try;;
26709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26712 grep -v '^ *+' conftest.er1 >conftest.err
26714 cat conftest.err >&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } >/dev/null && {
26717 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26718 test ! -s conftest.err
26720 ac_header_preproc=yes
26722 echo "$as_me: failed program was:" >&5
26723 sed 's/^/| /' conftest.$ac_ext >&5
26725 ac_header_preproc=no
26728 rm -f conftest.err conftest.$ac_ext
26729 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26730 echo "${ECHO_T}$ac_header_preproc" >&6; }
26732 # So? What about this header?
26733 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26739 ac_header_preproc=yes
26742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26755 ## ----------------------------------------- ##
26756 ## Report this to wx-dev@lists.wxwidgets.org ##
26757 ## ----------------------------------------- ##
26759 ) | sed "s/^/$as_me: WARNING: /" >&2
26762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 eval "$as_ac_Header=\$ac_header_preproc"
26769 ac_res=`eval echo '${'$as_ac_Header'}'`
26770 { echo "$as_me:$LINENO: result: $ac_res" >&5
26771 echo "${ECHO_T}$ac_res" >&6; }
26774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26775 cat >>confdefs.h <<_ACEOF
26776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26786 if test -n "$GCC"; then
26787 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26788 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26789 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 cat >conftest.$ac_ext <<_ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26804 unsigned int value=0;
26805 /* wxAtomicInc doesn't use return value here */
26806 __sync_fetch_and_add(&value, 2);
26807 __sync_sub_and_fetch(&value, 1);
26808 /* but wxAtomicDec does, so mimic that: */
26809 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (ac_try="$ac_link"
26817 case "(($ac_try" in
26818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26819 *) ac_try_echo=$ac_try;;
26821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26822 (eval "$ac_link") 2>conftest.er1
26824 grep -v '^ *+' conftest.er1 >conftest.err
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } && {
26829 test -z "$ac_cxx_werror_flag" ||
26830 test ! -s conftest.err
26831 } && test -s conftest$ac_exeext &&
26832 $as_test_x conftest$ac_exeext; then
26833 wx_cv_cc_gcc_atomic_builtins=yes
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.$ac_ext >&5
26838 wx_cv_cc_gcc_atomic_builtins=no
26841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26842 conftest$ac_exeext conftest.$ac_ext
26846 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26847 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26848 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26849 cat >>confdefs.h <<\_ACEOF
26850 #define HAVE_GCC_ATOMIC_BUILTINS 1
26858 ac_cpp='$CPP $CPPFLAGS'
26859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26866 /usr/local/include \
26867 /usr/local/X11/include \
26868 /usr/local/include/X11 \
26869 /usr/local/X11R7/include \
26870 /usr/local/X11R6/include \
26871 /usr/local/include/X11R7 \
26872 /usr/local/include/X11R6 \
26874 /usr/Motif-2.1/include \
26875 /usr/Motif-1.2/include \
26876 /usr/include/Motif1.2 \
26879 /usr/openwin/include \
26883 /usr/X11R7/include \
26884 /usr/X11R6/include \
26885 /usr/X11R6.4/include \
26887 /usr/include/X11R7 \
26888 /usr/include/X11R6 \
26893 /usr/XFree86/include/X11 \
26896 /usr/local/X1R5/include \
26897 /usr/local/include/X11R5 \
26898 /usr/X11R5/include \
26899 /usr/include/X11R5 \
26901 /usr/local/X11R4/include \
26902 /usr/local/include/X11R4 \
26903 /usr/X11R4/include \
26904 /usr/include/X11R4 \
26906 /usr/openwin/share/include"
26908 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26909 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26913 if test "${wx_cv_std_libpath+set}" = set; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26918 for e in a so sl dylib dll.a; do
26920 if test -f $libc; then
26923 cat >conftest.$ac_ext <<_ACEOF
26924 int main() { return 0; }
26926 rm -f conftest.$ac_objext conftest$ac_exeext
26927 if { (ac_try="$ac_link"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_link") 2>conftest.er1
26935 grep -v '^ *+' conftest.er1 >conftest.err
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest$ac_exeext &&
26943 $as_test_x conftest$ac_exeext; then
26944 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26953 conftest$ac_exeext conftest.$ac_ext
26955 if test "x$wx_cv_std_libpath" != "x"; then
26961 if test "x$wx_cv_std_libpath" = "x"; then
26962 wx_cv_std_libpath="lib"
26971 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26972 wx_cv_std_libpath="lib/64"
26974 wx_cv_std_libpath="lib"
26979 if test "$ac_cv_sizeof_void_p" = 8 -a \
26980 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26981 wx_cv_std_libpath="lib64"
26983 wx_cv_std_libpath="lib"
26988 wx_cv_std_libpath="lib";
26992 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26993 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26995 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26997 if test "$build" != "$host" -a "$GCC" = yes; then
26998 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26999 cross_root=`dirname $cross_root`
27000 cross_root=`dirname $cross_root`
27002 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27003 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27004 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27006 if test -z "$PKG_CONFIG_PATH"; then
27007 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27008 export PKG_CONFIG_PATH
27011 if test -z "$x_includes" -o "$x_includes" = NONE; then
27014 for ac_dir in $SEARCH_INCLUDE /usr/include
27016 if test -f "$ac_dir/X11/Intrinsic.h"; then
27017 ac_find_includes=$ac_dir
27022 x_includes=$ac_find_includes
27024 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27027 for ac_dir in $SEARCH_LIB
27029 for ac_extension in a so sl dylib dll.a; do
27030 if test -f "$ac_dir/libXt.$ac_extension"; then
27031 ac_find_libraries=$ac_dir
27037 x_libraries=$ac_find_libraries
27043 cat >confcache <<\_ACEOF
27044 # This file is a shell script that caches the results of configure
27045 # tests run on this system so they can be shared between configure
27046 # scripts and configure runs, see configure's option --config-cache.
27047 # It is not useful on other systems. If it contains results you don't
27048 # want to keep, you may remove or edit it.
27050 # config.status only pays attention to the cache file if you give it
27051 # the --recheck option to rerun configure.
27053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27055 # following values.
27059 # The following way of writing the cache mishandles newlines in values,
27060 # but we know of no workaround that is simple, portable, and efficient.
27061 # So, we kill variables containing newlines.
27062 # Ultrix sh set writes to stderr and can't be redirected directly,
27063 # and sets the high bit in the cache file unless we assign to the vars.
27065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27066 eval ac_val=\$$ac_var
27070 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27071 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27074 _ | IFS | as_nl) ;; #(
27075 *) $as_unset $ac_var ;;
27081 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27082 *${as_nl}ac_space=\ *)
27083 # `set' does not quote correctly, so add quotes (double-quote
27084 # substitution turns \\\\ into \\, and sed turns \\ into \).
27087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27090 # `set' quotes correctly as required by POSIX, so do not add quotes.
27091 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27102 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27104 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27105 if test -w "$cache_file"; then
27106 test "x$cache_file" != "x/dev/null" &&
27107 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27108 echo "$as_me: updating cache $cache_file" >&6;}
27109 cat confcache >$cache_file
27111 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27112 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27117 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27118 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27119 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27120 if test "${wx_cv_lib_glibc21+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 cat >conftest.$ac_ext <<_ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 #include <features.h>
27135 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27143 rm -f conftest.$ac_objext
27144 if { (ac_try="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27147 *) ac_try_echo=$ac_try;;
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27152 grep -v '^ *+' conftest.er1 >conftest.err
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } && {
27157 test -z "$ac_c_werror_flag" ||
27158 test ! -s conftest.err
27159 } && test -s conftest.$ac_objext; then
27161 wx_cv_lib_glibc21=yes
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27168 wx_cv_lib_glibc21=no
27173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27176 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27177 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27178 if test "$wx_cv_lib_glibc21" = "yes"; then
27179 cat >>confdefs.h <<\_ACEOF
27180 #define wxHAVE_GLIBC2 1
27186 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27187 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27188 cat >>confdefs.h <<\_ACEOF
27189 #define _GNU_SOURCE 1
27200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27206 cat >conftest.$ac_ext <<_ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27214 #define $ac_func innocuous_$ac_func
27216 /* System header to define __stub macros and hopefully few prototypes,
27217 which can conflict with char $ac_func (); below.
27218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27219 <limits.h> exists even on freestanding compilers. */
27222 # include <limits.h>
27224 # include <assert.h>
27229 /* Override any GCC internal prototype to avoid an error.
27230 Use char because int might match the return type of a GCC
27231 builtin and then its argument prototype would still apply. */
27236 /* The GNU C library defines this for functions which it implements
27237 to always fail with ENOSYS. Some functions are actually named
27238 something starting with __ and the normal name is an alias. */
27239 #if defined __stub_$ac_func || defined __stub___$ac_func
27246 return $ac_func ();
27251 rm -f conftest.$ac_objext conftest$ac_exeext
27252 if { (ac_try="$ac_link"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_link") 2>conftest.er1
27260 grep -v '^ *+' conftest.er1 >conftest.err
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_c_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest$ac_exeext &&
27268 $as_test_x conftest$ac_exeext; then
27269 eval "$as_ac_var=yes"
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27274 eval "$as_ac_var=no"
27277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27278 conftest$ac_exeext conftest.$ac_ext
27280 ac_res=`eval echo '${'$as_ac_var'}'`
27281 { echo "$as_me:$LINENO: result: $ac_res" >&5
27282 echo "${ECHO_T}$ac_res" >&6; }
27283 if test `eval echo '${'$as_ac_var'}'` = yes; then
27284 cat >>confdefs.h <<_ACEOF
27285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27292 for ac_func in floor
27294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 cat >conftest.$ac_ext <<_ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27308 #define $ac_func innocuous_$ac_func
27310 /* System header to define __stub macros and hopefully few prototypes,
27311 which can conflict with char $ac_func (); below.
27312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27313 <limits.h> exists even on freestanding compilers. */
27316 # include <limits.h>
27318 # include <assert.h>
27323 /* Override any GCC internal prototype to avoid an error.
27324 Use char because int might match the return type of a GCC
27325 builtin and then its argument prototype would still apply. */
27330 /* The GNU C library defines this for functions which it implements
27331 to always fail with ENOSYS. Some functions are actually named
27332 something starting with __ and the normal name is an alias. */
27333 #if defined __stub_$ac_func || defined __stub___$ac_func
27340 return $ac_func ();
27345 rm -f conftest.$ac_objext conftest$ac_exeext
27346 if { (ac_try="$ac_link"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_link") 2>conftest.er1
27354 grep -v '^ *+' conftest.er1 >conftest.err
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest$ac_exeext &&
27362 $as_test_x conftest$ac_exeext; then
27363 eval "$as_ac_var=yes"
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27368 eval "$as_ac_var=no"
27371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27372 conftest$ac_exeext conftest.$ac_ext
27374 ac_res=`eval echo '${'$as_ac_var'}'`
27375 { echo "$as_me:$LINENO: result: $ac_res" >&5
27376 echo "${ECHO_T}$ac_res" >&6; }
27377 if test `eval echo '${'$as_ac_var'}'` = yes; then
27378 cat >>confdefs.h <<_ACEOF
27379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27385 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27386 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27387 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27388 { echo "$as_me:$LINENO: result: yes" >&5
27389 echo "${ECHO_T}yes" >&6; }
27391 { echo "$as_me:$LINENO: result: no" >&5
27392 echo "${ECHO_T}no" >&6; }
27394 # use different functions to avoid configure caching
27400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 cat >conftest.$ac_ext <<_ACEOF
27409 cat confdefs.h >>conftest.$ac_ext
27410 cat >>conftest.$ac_ext <<_ACEOF
27411 /* end confdefs.h. */
27412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27414 #define $ac_func innocuous_$ac_func
27416 /* System header to define __stub macros and hopefully few prototypes,
27417 which can conflict with char $ac_func (); below.
27418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27419 <limits.h> exists even on freestanding compilers. */
27422 # include <limits.h>
27424 # include <assert.h>
27429 /* Override any GCC internal prototype to avoid an error.
27430 Use char because int might match the return type of a GCC
27431 builtin and then its argument prototype would still apply. */
27436 /* The GNU C library defines this for functions which it implements
27437 to always fail with ENOSYS. Some functions are actually named
27438 something starting with __ and the normal name is an alias. */
27439 #if defined __stub_$ac_func || defined __stub___$ac_func
27446 return $ac_func ();
27451 rm -f conftest.$ac_objext conftest$ac_exeext
27452 if { (ac_try="$ac_link"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_link") 2>conftest.er1
27460 grep -v '^ *+' conftest.er1 >conftest.err
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest$ac_exeext &&
27468 $as_test_x conftest$ac_exeext; then
27469 eval "$as_ac_var=yes"
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27474 eval "$as_ac_var=no"
27477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27478 conftest$ac_exeext conftest.$ac_ext
27480 ac_res=`eval echo '${'$as_ac_var'}'`
27481 { echo "$as_me:$LINENO: result: $ac_res" >&5
27482 echo "${ECHO_T}$ac_res" >&6; }
27483 if test `eval echo '${'$as_ac_var'}'` = yes; then
27484 cat >>confdefs.h <<_ACEOF
27485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27492 for ac_func in ceil
27494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 cat >conftest.$ac_ext <<_ACEOF
27503 cat confdefs.h >>conftest.$ac_ext
27504 cat >>conftest.$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27508 #define $ac_func innocuous_$ac_func
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27516 # include <limits.h>
27518 # include <assert.h>
27523 /* Override any GCC internal prototype to avoid an error.
27524 Use char because int might match the return type of a GCC
27525 builtin and then its argument prototype would still apply. */
27530 /* The GNU C library defines this for functions which it implements
27531 to always fail with ENOSYS. Some functions are actually named
27532 something starting with __ and the normal name is an alias. */
27533 #if defined __stub_$ac_func || defined __stub___$ac_func
27540 return $ac_func ();
27545 rm -f conftest.$ac_objext conftest$ac_exeext
27546 if { (ac_try="$ac_link"
27547 case "(($ac_try" in
27548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27549 *) ac_try_echo=$ac_try;;
27551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27552 (eval "$ac_link") 2>conftest.er1
27554 grep -v '^ *+' conftest.er1 >conftest.err
27556 cat conftest.err >&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } && {
27559 test -z "$ac_c_werror_flag" ||
27560 test ! -s conftest.err
27561 } && test -s conftest$ac_exeext &&
27562 $as_test_x conftest$ac_exeext; then
27563 eval "$as_ac_var=yes"
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27568 eval "$as_ac_var=no"
27571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27572 conftest$ac_exeext conftest.$ac_ext
27574 ac_res=`eval echo '${'$as_ac_var'}'`
27575 { echo "$as_me:$LINENO: result: $ac_res" >&5
27576 echo "${ECHO_T}$ac_res" >&6; }
27577 if test `eval echo '${'$as_ac_var'}'` = yes; then
27578 cat >>confdefs.h <<_ACEOF
27579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27585 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27586 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27587 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27588 { echo "$as_me:$LINENO: result: yes" >&5
27589 echo "${ECHO_T}yes" >&6; }
27591 { echo "$as_me:$LINENO: result: no" >&5
27592 echo "${ECHO_T}no" >&6; }
27593 # not sure we should warn the user, crash, etc.
27598 ac_cpp='$CXXCPP $CPPFLAGS'
27599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27603 if test "wxUSE_UNICODE" = "yes"; then
27605 for wx_func in wcstoull
27607 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27608 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27609 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27610 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 cat >conftest.$ac_ext <<_ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27622 $ac_includes_default
27638 rm -f conftest.$ac_objext conftest$ac_exeext
27639 if { (ac_try="$ac_link"
27640 case "(($ac_try" in
27641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27642 *) ac_try_echo=$ac_try;;
27644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27645 (eval "$ac_link") 2>conftest.er1
27647 grep -v '^ *+' conftest.er1 >conftest.err
27649 cat conftest.err >&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } && {
27652 test -z "$ac_cxx_werror_flag" ||
27653 test ! -s conftest.err
27654 } && test -s conftest$ac_exeext &&
27655 $as_test_x conftest$ac_exeext; then
27656 eval wx_cv_func_$wx_func=yes
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27661 eval wx_cv_func_$wx_func=no
27664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27665 conftest$ac_exeext conftest.$ac_ext
27668 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27669 { echo "$as_me:$LINENO: result: $ac_res" >&5
27670 echo "${ECHO_T}$ac_res" >&6; }
27672 if eval test \$wx_cv_func_$wx_func = yes
27674 cat >>confdefs.h <<_ACEOF
27675 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27687 for wx_func in strtoull
27689 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27690 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27691 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27695 cat >conftest.$ac_ext <<_ACEOF
27699 cat confdefs.h >>conftest.$ac_ext
27700 cat >>conftest.$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27704 $ac_includes_default
27720 rm -f conftest.$ac_objext conftest$ac_exeext
27721 if { (ac_try="$ac_link"
27722 case "(($ac_try" in
27723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27724 *) ac_try_echo=$ac_try;;
27726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_link") 2>conftest.er1
27729 grep -v '^ *+' conftest.er1 >conftest.err
27731 cat conftest.err >&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); } && {
27734 test -z "$ac_cxx_werror_flag" ||
27735 test ! -s conftest.err
27736 } && test -s conftest$ac_exeext &&
27737 $as_test_x conftest$ac_exeext; then
27738 eval wx_cv_func_$wx_func=yes
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27743 eval wx_cv_func_$wx_func=no
27746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27747 conftest$ac_exeext conftest.$ac_ext
27750 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27751 { echo "$as_me:$LINENO: result: $ac_res" >&5
27752 echo "${ECHO_T}$ac_res" >&6; }
27754 if eval test \$wx_cv_func_$wx_func = yes
27756 cat >>confdefs.h <<_ACEOF
27757 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27769 ac_cpp='$CPP $CPPFLAGS'
27770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27777 if test "$wxUSE_REGEX" != "no"; then
27778 cat >>confdefs.h <<\_ACEOF
27779 #define wxUSE_REGEX 1
27783 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27784 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27785 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27786 wxUSE_REGEX=builtin
27789 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27790 { echo "$as_me:$LINENO: checking for regex.h" >&5
27791 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27792 if test "${ac_cv_header_regex_h+set}" = set; then
27793 echo $ECHO_N "(cached) $ECHO_C" >&6
27795 cat >conftest.$ac_ext <<_ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27805 rm -f conftest.$ac_objext
27806 if { (ac_try="$ac_compile"
27807 case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27809 *) ac_try_echo=$ac_try;;
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_compile") 2>conftest.er1
27814 grep -v '^ *+' conftest.er1 >conftest.err
27816 cat conftest.err >&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); } && {
27819 test -z "$ac_c_werror_flag" ||
27820 test ! -s conftest.err
27821 } && test -s conftest.$ac_objext; then
27822 ac_cv_header_regex_h=yes
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.$ac_ext >&5
27827 ac_cv_header_regex_h=no
27830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27832 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27833 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27834 if test $ac_cv_header_regex_h = yes; then
27837 for ac_func in regcomp re_search
27839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27843 echo $ECHO_N "(cached) $ECHO_C" >&6
27845 cat >conftest.$ac_ext <<_ACEOF
27848 cat confdefs.h >>conftest.$ac_ext
27849 cat >>conftest.$ac_ext <<_ACEOF
27850 /* end confdefs.h. */
27851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27853 #define $ac_func innocuous_$ac_func
27855 /* System header to define __stub macros and hopefully few prototypes,
27856 which can conflict with char $ac_func (); below.
27857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27858 <limits.h> exists even on freestanding compilers. */
27861 # include <limits.h>
27863 # include <assert.h>
27868 /* Override any GCC internal prototype to avoid an error.
27869 Use char because int might match the return type of a GCC
27870 builtin and then its argument prototype would still apply. */
27875 /* The GNU C library defines this for functions which it implements
27876 to always fail with ENOSYS. Some functions are actually named
27877 something starting with __ and the normal name is an alias. */
27878 #if defined __stub_$ac_func || defined __stub___$ac_func
27885 return $ac_func ();
27890 rm -f conftest.$ac_objext conftest$ac_exeext
27891 if { (ac_try="$ac_link"
27892 case "(($ac_try" in
27893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27894 *) ac_try_echo=$ac_try;;
27896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27897 (eval "$ac_link") 2>conftest.er1
27899 grep -v '^ *+' conftest.er1 >conftest.err
27901 cat conftest.err >&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); } && {
27904 test -z "$ac_c_werror_flag" ||
27905 test ! -s conftest.err
27906 } && test -s conftest$ac_exeext &&
27907 $as_test_x conftest$ac_exeext; then
27908 eval "$as_ac_var=yes"
27910 echo "$as_me: failed program was:" >&5
27911 sed 's/^/| /' conftest.$ac_ext >&5
27913 eval "$as_ac_var=no"
27916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27917 conftest$ac_exeext conftest.$ac_ext
27919 ac_res=`eval echo '${'$as_ac_var'}'`
27920 { echo "$as_me:$LINENO: result: $ac_res" >&5
27921 echo "${ECHO_T}$ac_res" >&6; }
27922 if test `eval echo '${'$as_ac_var'}'` = yes; then
27923 cat >>confdefs.h <<_ACEOF
27924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27934 if test "x$ac_cv_func_regcomp" != "xyes"; then
27935 if test "$wxUSE_REGEX" = "sys" ; then
27936 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27937 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27938 { (exit 1); exit 1; }; }
27940 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27941 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27942 wxUSE_REGEX=builtin
27946 cat >>confdefs.h <<\_ACEOF
27947 #define WX_NO_REGEX_ADVANCED 1
27956 if test "$wxUSE_ZLIB" != "no" ; then
27957 cat >>confdefs.h <<\_ACEOF
27958 #define wxUSE_ZLIB 1
27962 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27963 if test "$USE_DARWIN" = 1; then
27964 system_zlib_h_ok="yes"
27966 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27967 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27968 if test "${ac_cv_header_zlib_h+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 if test "$cross_compiling" = yes; then
27972 unset ac_cv_header_zlib_h
27975 cat >conftest.$ac_ext <<_ACEOF
27978 cat confdefs.h >>conftest.$ac_ext
27979 cat >>conftest.$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27987 FILE *f=fopen("conftestval", "w");
27990 ZLIB_VERSION[0] == '1' &&
27991 (ZLIB_VERSION[2] > '1' ||
27992 (ZLIB_VERSION[2] == '1' &&
27993 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27998 rm -f conftest$ac_exeext
27999 if { (ac_try="$ac_link"
28000 case "(($ac_try" in
28001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28002 *) ac_try_echo=$ac_try;;
28004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28005 (eval "$ac_link") 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28009 { (case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_try") 2>&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; }; then
28018 ac_cv_header_zlib_h=`cat conftestval`
28020 echo "$as_me: program exited with status $ac_status" >&5
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28024 ( exit $ac_status )
28025 ac_cv_header_zlib_h=no
28027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28033 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28034 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28035 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28036 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28037 if test "${ac_cv_header_zlib_h+set}" = set; then
28038 echo $ECHO_N "(cached) $ECHO_C" >&6
28040 cat >conftest.$ac_ext <<_ACEOF
28043 cat confdefs.h >>conftest.$ac_ext
28044 cat >>conftest.$ac_ext <<_ACEOF
28045 /* end confdefs.h. */
28050 rm -f conftest.$ac_objext
28051 if { (ac_try="$ac_compile"
28052 case "(($ac_try" in
28053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054 *) ac_try_echo=$ac_try;;
28056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057 (eval "$ac_compile") 2>conftest.er1
28059 grep -v '^ *+' conftest.er1 >conftest.err
28061 cat conftest.err >&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); } && {
28064 test -z "$ac_c_werror_flag" ||
28065 test ! -s conftest.err
28066 } && test -s conftest.$ac_objext; then
28067 ac_cv_header_zlib_h=yes
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28072 ac_cv_header_zlib_h=no
28075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28077 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28078 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28082 system_zlib_h_ok=$ac_cv_header_zlib_h
28085 if test "$system_zlib_h_ok" = "yes"; then
28086 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28087 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28088 if test "${ac_cv_lib_z_deflate+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 ac_check_lib_save_LIBS=$LIBS
28093 cat >conftest.$ac_ext <<_ACEOF
28096 cat confdefs.h >>conftest.$ac_ext
28097 cat >>conftest.$ac_ext <<_ACEOF
28098 /* end confdefs.h. */
28100 /* Override any GCC internal prototype to avoid an error.
28101 Use char because int might match the return type of a GCC
28102 builtin and then its argument prototype would still apply. */
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (ac_try="$ac_link"
28117 case "(($ac_try" in
28118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28119 *) ac_try_echo=$ac_try;;
28121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28122 (eval "$ac_link") 2>conftest.er1
28124 grep -v '^ *+' conftest.er1 >conftest.err
28126 cat conftest.err >&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); } && {
28129 test -z "$ac_c_werror_flag" ||
28130 test ! -s conftest.err
28131 } && test -s conftest$ac_exeext &&
28132 $as_test_x conftest$ac_exeext; then
28133 ac_cv_lib_z_deflate=yes
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28138 ac_cv_lib_z_deflate=no
28141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28142 conftest$ac_exeext conftest.$ac_ext
28143 LIBS=$ac_check_lib_save_LIBS
28145 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28146 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28147 if test $ac_cv_lib_z_deflate = yes; then
28153 if test "x$ZLIB_LINK" = "x" ; then
28154 if test "$wxUSE_ZLIB" = "sys" ; then
28155 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28156 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28157 { (exit 1); exit 1; }; }
28159 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28160 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28171 if test "$wxUSE_LIBPNG" != "no" ; then
28172 cat >>confdefs.h <<\_ACEOF
28173 #define wxUSE_LIBPNG 1
28177 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28178 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28179 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28183 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28184 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28185 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28186 wxUSE_LIBPNG=builtin
28189 if test "$wxUSE_MGL" != 1 ; then
28190 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28191 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28192 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28193 if test "${ac_cv_header_png_h+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 if test "$cross_compiling" = yes; then
28197 unset ac_cv_header_png_h
28200 cat >conftest.$ac_ext <<_ACEOF
28203 cat confdefs.h >>conftest.$ac_ext
28204 cat >>conftest.$ac_ext <<_ACEOF
28205 /* end confdefs.h. */
28212 FILE *f=fopen("conftestval", "w");
28215 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28220 rm -f conftest$ac_exeext
28221 if { (ac_try="$ac_link"
28222 case "(($ac_try" in
28223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28224 *) ac_try_echo=$ac_try;;
28226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28227 (eval "$ac_link") 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28231 { (case "(($ac_try" in
28232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28233 *) ac_try_echo=$ac_try;;
28235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28236 (eval "$ac_try") 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 ac_cv_header_png_h=`cat conftestval`
28242 echo "$as_me: program exited with status $ac_status" >&5
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28246 ( exit $ac_status )
28247 ac_cv_header_png_h=no
28249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28255 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28256 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28257 { echo "$as_me:$LINENO: checking for png.h" >&5
28258 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28259 if test "${ac_cv_header_png_h+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 cat >conftest.$ac_ext <<_ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28272 rm -f conftest.$ac_objext
28273 if { (ac_try="$ac_compile"
28274 case "(($ac_try" in
28275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28276 *) ac_try_echo=$ac_try;;
28278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_compile") 2>conftest.er1
28281 grep -v '^ *+' conftest.er1 >conftest.err
28283 cat conftest.err >&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } && {
28286 test -z "$ac_c_werror_flag" ||
28287 test ! -s conftest.err
28288 } && test -s conftest.$ac_objext; then
28289 ac_cv_header_png_h=yes
28291 echo "$as_me: failed program was:" >&5
28292 sed 's/^/| /' conftest.$ac_ext >&5
28294 ac_cv_header_png_h=no
28297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28299 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28300 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28304 if test "$ac_cv_header_png_h" = "yes"; then
28305 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28306 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28307 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28308 echo $ECHO_N "(cached) $ECHO_C" >&6
28310 ac_check_lib_save_LIBS=$LIBS
28311 LIBS="-lpng -lz -lm $LIBS"
28312 cat >conftest.$ac_ext <<_ACEOF
28315 cat confdefs.h >>conftest.$ac_ext
28316 cat >>conftest.$ac_ext <<_ACEOF
28317 /* end confdefs.h. */
28319 /* Override any GCC internal prototype to avoid an error.
28320 Use char because int might match the return type of a GCC
28321 builtin and then its argument prototype would still apply. */
28325 char png_sig_cmp ();
28329 return png_sig_cmp ();
28334 rm -f conftest.$ac_objext conftest$ac_exeext
28335 if { (ac_try="$ac_link"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_link") 2>conftest.er1
28343 grep -v '^ *+' conftest.er1 >conftest.err
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } && {
28348 test -z "$ac_c_werror_flag" ||
28349 test ! -s conftest.err
28350 } && test -s conftest$ac_exeext &&
28351 $as_test_x conftest$ac_exeext; then
28352 ac_cv_lib_png_png_sig_cmp=yes
28354 echo "$as_me: failed program was:" >&5
28355 sed 's/^/| /' conftest.$ac_ext >&5
28357 ac_cv_lib_png_png_sig_cmp=no
28360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28361 conftest$ac_exeext conftest.$ac_ext
28362 LIBS=$ac_check_lib_save_LIBS
28364 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28365 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28366 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28367 PNG_LINK=" -lpng -lz"
28372 if test "x$PNG_LINK" = "x" ; then
28373 if test "$wxUSE_LIBPNG" = "sys" ; then
28374 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28375 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28376 { (exit 1); exit 1; }; }
28378 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28379 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28380 wxUSE_LIBPNG=builtin
28391 if test "$wxUSE_LIBJPEG" != "no" ; then
28392 cat >>confdefs.h <<\_ACEOF
28393 #define wxUSE_LIBJPEG 1
28397 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28398 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28399 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28403 if test "$wxUSE_MGL" != 1 ; then
28404 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28405 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28406 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28407 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28408 echo $ECHO_N "(cached) $ECHO_C" >&6
28410 cat >conftest.$ac_ext <<_ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28417 #undef HAVE_STDLIB_H
28419 #include <jpeglib.h>
28430 rm -f conftest.$ac_objext
28431 if { (ac_try="$ac_compile"
28432 case "(($ac_try" in
28433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28434 *) ac_try_echo=$ac_try;;
28436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28437 (eval "$ac_compile") 2>conftest.er1
28439 grep -v '^ *+' conftest.er1 >conftest.err
28441 cat conftest.err >&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } && {
28444 test -z "$ac_c_werror_flag" ||
28445 test ! -s conftest.err
28446 } && test -s conftest.$ac_objext; then
28447 ac_cv_header_jpeglib_h=yes
28449 echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28452 ac_cv_header_jpeglib_h=no
28456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28460 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28461 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28463 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28464 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28465 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28466 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28467 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 ac_check_lib_save_LIBS=$LIBS
28470 LIBS="-ljpeg $LIBS"
28471 cat >conftest.$ac_ext <<_ACEOF
28474 cat confdefs.h >>conftest.$ac_ext
28475 cat >>conftest.$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28478 /* Override any GCC internal prototype to avoid an error.
28479 Use char because int might match the return type of a GCC
28480 builtin and then its argument prototype would still apply. */
28484 char jpeg_read_header ();
28488 return jpeg_read_header ();
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (ac_try="$ac_link"
28495 case "(($ac_try" in
28496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28497 *) ac_try_echo=$ac_try;;
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_link") 2>conftest.er1
28502 grep -v '^ *+' conftest.er1 >conftest.err
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } && {
28507 test -z "$ac_c_werror_flag" ||
28508 test ! -s conftest.err
28509 } && test -s conftest$ac_exeext &&
28510 $as_test_x conftest$ac_exeext; then
28511 ac_cv_lib_jpeg_jpeg_read_header=yes
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28516 ac_cv_lib_jpeg_jpeg_read_header=no
28519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28520 conftest$ac_exeext conftest.$ac_ext
28521 LIBS=$ac_check_lib_save_LIBS
28523 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28524 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28525 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28526 JPEG_LINK=" -ljpeg"
28531 if test "x$JPEG_LINK" = "x" ; then
28532 if test "$wxUSE_LIBJPEG" = "sys" ; then
28533 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28534 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28535 { (exit 1); exit 1; }; }
28537 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28538 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28539 wxUSE_LIBJPEG=builtin
28544 if test "$wxUSE_MSW" = 1; then
28545 { echo "$as_me:$LINENO: checking for boolean" >&5
28546 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28547 if test "${ac_cv_type_boolean+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 cat >conftest.$ac_ext <<_ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 #include <windows.h>
28558 typedef boolean ac__type_new_;
28562 if ((ac__type_new_ *) 0)
28564 if (sizeof (ac__type_new_))
28570 rm -f conftest.$ac_objext
28571 if { (ac_try="$ac_compile"
28572 case "(($ac_try" in
28573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28574 *) ac_try_echo=$ac_try;;
28576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28577 (eval "$ac_compile") 2>conftest.er1
28579 grep -v '^ *+' conftest.er1 >conftest.err
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } && {
28584 test -z "$ac_c_werror_flag" ||
28585 test ! -s conftest.err
28586 } && test -s conftest.$ac_objext; then
28587 ac_cv_type_boolean=yes
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28592 ac_cv_type_boolean=no
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28598 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28599 if test $ac_cv_type_boolean = yes; then
28601 cat >>confdefs.h <<_ACEOF
28602 #define HAVE_BOOLEAN 1
28606 { echo "$as_me:$LINENO: checking for boolean" >&5
28607 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28608 if test "${ac_cv_type_boolean+set}" = set; then
28609 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 cat >conftest.$ac_ext <<_ACEOF
28614 cat confdefs.h >>conftest.$ac_ext
28615 cat >>conftest.$ac_ext <<_ACEOF
28616 /* end confdefs.h. */
28618 #undef HAVE_BOOLEAN
28620 #include <jpeglib.h>
28623 typedef boolean ac__type_new_;
28627 if ((ac__type_new_ *) 0)
28629 if (sizeof (ac__type_new_))
28635 rm -f conftest.$ac_objext
28636 if { (ac_try="$ac_compile"
28637 case "(($ac_try" in
28638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28639 *) ac_try_echo=$ac_try;;
28641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28642 (eval "$ac_compile") 2>conftest.er1
28644 grep -v '^ *+' conftest.er1 >conftest.err
28646 cat conftest.err >&5
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); } && {
28649 test -z "$ac_c_werror_flag" ||
28650 test ! -s conftest.err
28651 } && test -s conftest.$ac_objext; then
28652 ac_cv_type_boolean=yes
28654 echo "$as_me: failed program was:" >&5
28655 sed 's/^/| /' conftest.$ac_ext >&5
28657 ac_cv_type_boolean=no
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28662 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28663 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28665 # The cast to long int works around a bug in the HP C Compiler
28666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28668 # This bug is HP SR number 8606223364.
28669 { echo "$as_me:$LINENO: checking size of boolean" >&5
28670 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28671 if test "${ac_cv_sizeof_boolean+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 if test "$cross_compiling" = yes; then
28675 # Depending upon the size, compute the lo and hi bounds.
28676 cat >conftest.$ac_ext <<_ACEOF
28679 cat confdefs.h >>conftest.$ac_ext
28680 cat >>conftest.$ac_ext <<_ACEOF
28681 /* end confdefs.h. */
28683 #undef HAVE_BOOLEAN
28685 #include <jpeglib.h>
28688 typedef boolean ac__type_sizeof_;
28692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28699 rm -f conftest.$ac_objext
28700 if { (ac_try="$ac_compile"
28701 case "(($ac_try" in
28702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28703 *) ac_try_echo=$ac_try;;
28705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28706 (eval "$ac_compile") 2>conftest.er1
28708 grep -v '^ *+' conftest.er1 >conftest.err
28710 cat conftest.err >&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); } && {
28713 test -z "$ac_c_werror_flag" ||
28714 test ! -s conftest.err
28715 } && test -s conftest.$ac_objext; then
28718 cat >conftest.$ac_ext <<_ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28725 #undef HAVE_BOOLEAN
28727 #include <jpeglib.h>
28730 typedef boolean ac__type_sizeof_;
28734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28741 rm -f conftest.$ac_objext
28742 if { (ac_try="$ac_compile"
28743 case "(($ac_try" in
28744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28745 *) ac_try_echo=$ac_try;;
28747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28748 (eval "$ac_compile") 2>conftest.er1
28750 grep -v '^ *+' conftest.er1 >conftest.err
28752 cat conftest.err >&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); } && {
28755 test -z "$ac_c_werror_flag" ||
28756 test ! -s conftest.err
28757 } && test -s conftest.$ac_objext; then
28758 ac_hi=$ac_mid; break
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.$ac_ext >&5
28763 ac_lo=`expr $ac_mid + 1`
28764 if test $ac_lo -le $ac_mid; then
28768 ac_mid=`expr 2 '*' $ac_mid + 1`
28771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.$ac_ext >&5
28777 cat >conftest.$ac_ext <<_ACEOF
28780 cat confdefs.h >>conftest.$ac_ext
28781 cat >>conftest.$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28784 #undef HAVE_BOOLEAN
28786 #include <jpeglib.h>
28789 typedef boolean ac__type_sizeof_;
28793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28800 rm -f conftest.$ac_objext
28801 if { (ac_try="$ac_compile"
28802 case "(($ac_try" in
28803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28804 *) ac_try_echo=$ac_try;;
28806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28807 (eval "$ac_compile") 2>conftest.er1
28809 grep -v '^ *+' conftest.er1 >conftest.err
28811 cat conftest.err >&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } && {
28814 test -z "$ac_c_werror_flag" ||
28815 test ! -s conftest.err
28816 } && test -s conftest.$ac_objext; then
28819 cat >conftest.$ac_ext <<_ACEOF
28822 cat confdefs.h >>conftest.$ac_ext
28823 cat >>conftest.$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28826 #undef HAVE_BOOLEAN
28828 #include <jpeglib.h>
28831 typedef boolean ac__type_sizeof_;
28835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28842 rm -f conftest.$ac_objext
28843 if { (ac_try="$ac_compile"
28844 case "(($ac_try" in
28845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28846 *) ac_try_echo=$ac_try;;
28848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28849 (eval "$ac_compile") 2>conftest.er1
28851 grep -v '^ *+' conftest.er1 >conftest.err
28853 cat conftest.err >&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } && {
28856 test -z "$ac_c_werror_flag" ||
28857 test ! -s conftest.err
28858 } && test -s conftest.$ac_objext; then
28859 ac_lo=$ac_mid; break
28861 echo "$as_me: failed program was:" >&5
28862 sed 's/^/| /' conftest.$ac_ext >&5
28864 ac_hi=`expr '(' $ac_mid ')' - 1`
28865 if test $ac_mid -le $ac_hi; then
28869 ac_mid=`expr 2 '*' $ac_mid`
28872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28885 # Binary search between lo and hi bounds.
28886 while test "x$ac_lo" != "x$ac_hi"; do
28887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28888 cat >conftest.$ac_ext <<_ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 #undef HAVE_BOOLEAN
28897 #include <jpeglib.h>
28900 typedef boolean ac__type_sizeof_;
28904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28911 rm -f conftest.$ac_objext
28912 if { (ac_try="$ac_compile"
28913 case "(($ac_try" in
28914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28915 *) ac_try_echo=$ac_try;;
28917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28918 (eval "$ac_compile") 2>conftest.er1
28920 grep -v '^ *+' conftest.er1 >conftest.err
28922 cat conftest.err >&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); } && {
28925 test -z "$ac_c_werror_flag" ||
28926 test ! -s conftest.err
28927 } && test -s conftest.$ac_objext; then
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28933 ac_lo=`expr '(' $ac_mid ')' + 1`
28936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28939 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28940 '') if test "$ac_cv_type_boolean" = yes; then
28941 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28942 See \`config.log' for more details." >&5
28943 echo "$as_me: error: cannot compute sizeof (boolean)
28944 See \`config.log' for more details." >&2;}
28945 { (exit 77); exit 77; }; }
28947 ac_cv_sizeof_boolean=0
28951 cat >conftest.$ac_ext <<_ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28958 #undef HAVE_BOOLEAN
28960 #include <jpeglib.h>
28963 typedef boolean ac__type_sizeof_;
28964 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28965 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28967 #include <stdlib.h>
28972 FILE *f = fopen ("conftest.val", "w");
28975 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28977 long int i = longval ();
28978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28980 fprintf (f, "%ld\n", i);
28984 unsigned long int i = ulongval ();
28985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28987 fprintf (f, "%lu\n", i);
28989 return ferror (f) || fclose (f) != 0;
28995 rm -f conftest$ac_exeext
28996 if { (ac_try="$ac_link"
28997 case "(($ac_try" in
28998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28999 *) ac_try_echo=$ac_try;;
29001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29002 (eval "$ac_link") 2>&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29006 { (case "(($ac_try" in
29007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29008 *) ac_try_echo=$ac_try;;
29010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29011 (eval "$ac_try") 2>&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); }; }; then
29015 ac_cv_sizeof_boolean=`cat conftest.val`
29017 echo "$as_me: program exited with status $ac_status" >&5
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29021 ( exit $ac_status )
29022 if test "$ac_cv_type_boolean" = yes; then
29023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29024 See \`config.log' for more details." >&5
29025 echo "$as_me: error: cannot compute sizeof (boolean)
29026 See \`config.log' for more details." >&2;}
29027 { (exit 77); exit 77; }; }
29029 ac_cv_sizeof_boolean=0
29032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29036 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29037 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29041 cat >>confdefs.h <<_ACEOF
29042 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29046 cat >>confdefs.h <<_ACEOF
29047 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29061 TIFF_PREREQ_LINKS=-lm
29062 if test "$wxUSE_LIBTIFF" != "no" ; then
29063 cat >>confdefs.h <<\_ACEOF
29064 #define wxUSE_LIBTIFF 1
29068 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29069 if test "$wxUSE_LIBJPEG" = "sys"; then
29070 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29072 if test "$wxUSE_ZLIB" = "sys"; then
29073 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29075 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29076 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29077 if test "${ac_cv_header_tiffio_h+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29080 cat >conftest.$ac_ext <<_ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29089 #include <tiffio.h>
29091 rm -f conftest.$ac_objext
29092 if { (ac_try="$ac_compile"
29093 case "(($ac_try" in
29094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29095 *) ac_try_echo=$ac_try;;
29097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29098 (eval "$ac_compile") 2>conftest.er1
29100 grep -v '^ *+' conftest.er1 >conftest.err
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } && {
29105 test -z "$ac_c_werror_flag" ||
29106 test ! -s conftest.err
29107 } && test -s conftest.$ac_objext; then
29108 ac_cv_header_tiffio_h=yes
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.$ac_ext >&5
29113 ac_cv_header_tiffio_h=no
29116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29118 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29119 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29120 if test $ac_cv_header_tiffio_h = yes; then
29122 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29123 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29124 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 ac_check_lib_save_LIBS=$LIBS
29128 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29129 cat >conftest.$ac_ext <<_ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29136 /* Override any GCC internal prototype to avoid an error.
29137 Use char because int might match the return type of a GCC
29138 builtin and then its argument prototype would still apply. */
29146 return TIFFError ();
29151 rm -f conftest.$ac_objext conftest$ac_exeext
29152 if { (ac_try="$ac_link"
29153 case "(($ac_try" in
29154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29155 *) ac_try_echo=$ac_try;;
29157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29158 (eval "$ac_link") 2>conftest.er1
29160 grep -v '^ *+' conftest.er1 >conftest.err
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } && {
29165 test -z "$ac_c_werror_flag" ||
29166 test ! -s conftest.err
29167 } && test -s conftest$ac_exeext &&
29168 $as_test_x conftest$ac_exeext; then
29169 ac_cv_lib_tiff_TIFFError=yes
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29174 ac_cv_lib_tiff_TIFFError=no
29177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29178 conftest$ac_exeext conftest.$ac_ext
29179 LIBS=$ac_check_lib_save_LIBS
29181 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29182 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29183 if test $ac_cv_lib_tiff_TIFFError = yes; then
29184 TIFF_LINK=" -ltiff"
29192 if test "x$TIFF_LINK" = "x" ; then
29193 if test "$wxUSE_LIBTIFF" = "sys" ; then
29194 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29195 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29196 { (exit 1); exit 1; }; }
29198 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29199 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29200 wxUSE_LIBTIFF=builtin
29206 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29207 if test "$wxUSE_LIBJPEG" = "no"; then
29208 ac_configure_args="$ac_configure_args --disable-jpeg"
29210 subdirs="$subdirs src/tiff"
29216 if test "$wxUSE_EXPAT" != "no"; then
29218 cat >>confdefs.h <<\_ACEOF
29219 #define wxUSE_EXPAT 1
29222 cat >>confdefs.h <<\_ACEOF
29223 #define wxUSE_XML 1
29227 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29228 { echo "$as_me:$LINENO: checking for expat.h" >&5
29229 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29230 if test "${ac_cv_header_expat_h+set}" = set; then
29231 echo $ECHO_N "(cached) $ECHO_C" >&6
29233 cat >conftest.$ac_ext <<_ACEOF
29236 cat confdefs.h >>conftest.$ac_ext
29237 cat >>conftest.$ac_ext <<_ACEOF
29238 /* end confdefs.h. */
29243 rm -f conftest.$ac_objext
29244 if { (ac_try="$ac_compile"
29245 case "(($ac_try" in
29246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29247 *) ac_try_echo=$ac_try;;
29249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29250 (eval "$ac_compile") 2>conftest.er1
29252 grep -v '^ *+' conftest.er1 >conftest.err
29254 cat conftest.err >&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } && {
29257 test -z "$ac_c_werror_flag" ||
29258 test ! -s conftest.err
29259 } && test -s conftest.$ac_objext; then
29260 ac_cv_header_expat_h=yes
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29265 ac_cv_header_expat_h=no
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29270 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29271 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29272 if test $ac_cv_header_expat_h = yes; then
29277 if test "x$found_expat_h" = "x1"; then
29278 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29279 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29280 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29281 echo $ECHO_N "(cached) $ECHO_C" >&6
29285 ac_cpp='$CXXCPP $CPPFLAGS'
29286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29290 cat >conftest.$ac_ext <<_ACEOF
29293 cat confdefs.h >>conftest.$ac_ext
29294 cat >>conftest.$ac_ext <<_ACEOF
29295 /* end confdefs.h. */
29305 rm -f conftest.$ac_objext
29306 if { (ac_try="$ac_compile"
29307 case "(($ac_try" in
29308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29309 *) ac_try_echo=$ac_try;;
29311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29312 (eval "$ac_compile") 2>conftest.er1
29314 grep -v '^ *+' conftest.er1 >conftest.err
29316 cat conftest.err >&5
29317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318 (exit $ac_status); } && {
29319 test -z "$ac_cxx_werror_flag" ||
29320 test ! -s conftest.err
29321 } && test -s conftest.$ac_objext; then
29322 wx_cv_expat_is_not_broken=yes
29324 echo "$as_me: failed program was:" >&5
29325 sed 's/^/| /' conftest.$ac_ext >&5
29327 wx_cv_expat_is_not_broken=no
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29341 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29342 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29343 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29344 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29345 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29346 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29347 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 ac_check_lib_save_LIBS=$LIBS
29350 LIBS="-lexpat $LIBS"
29351 cat >conftest.$ac_ext <<_ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29358 /* Override any GCC internal prototype to avoid an error.
29359 Use char because int might match the return type of a GCC
29360 builtin and then its argument prototype would still apply. */
29364 char XML_ParserCreate ();
29368 return XML_ParserCreate ();
29373 rm -f conftest.$ac_objext conftest$ac_exeext
29374 if { (ac_try="$ac_link"
29375 case "(($ac_try" in
29376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29377 *) ac_try_echo=$ac_try;;
29379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29380 (eval "$ac_link") 2>conftest.er1
29382 grep -v '^ *+' conftest.er1 >conftest.err
29384 cat conftest.err >&5
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); } && {
29387 test -z "$ac_c_werror_flag" ||
29388 test ! -s conftest.err
29389 } && test -s conftest$ac_exeext &&
29390 $as_test_x conftest$ac_exeext; then
29391 ac_cv_lib_expat_XML_ParserCreate=yes
29393 echo "$as_me: failed program was:" >&5
29394 sed 's/^/| /' conftest.$ac_ext >&5
29396 ac_cv_lib_expat_XML_ParserCreate=no
29399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29400 conftest$ac_exeext conftest.$ac_ext
29401 LIBS=$ac_check_lib_save_LIBS
29403 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29404 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29405 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29406 EXPAT_LINK=" -lexpat"
29411 if test "x$EXPAT_LINK" = "x" ; then
29412 if test "$wxUSE_EXPAT" = "sys" ; then
29413 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29414 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29415 { (exit 1); exit 1; }; }
29417 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29418 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29419 wxUSE_EXPAT=builtin
29425 if test "$wxUSE_EXPAT" = "builtin" ; then
29426 subdirs="$subdirs src/expat"
29433 if test "$wxUSE_LIBMSPACK" != "no"; then
29434 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29435 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29436 if test "${ac_cv_header_mspack_h+set}" = set; then
29437 echo $ECHO_N "(cached) $ECHO_C" >&6
29439 cat >conftest.$ac_ext <<_ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29447 #include <mspack.h>
29449 rm -f conftest.$ac_objext
29450 if { (ac_try="$ac_compile"
29451 case "(($ac_try" in
29452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29453 *) ac_try_echo=$ac_try;;
29455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29456 (eval "$ac_compile") 2>conftest.er1
29458 grep -v '^ *+' conftest.er1 >conftest.err
29460 cat conftest.err >&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } && {
29463 test -z "$ac_c_werror_flag" ||
29464 test ! -s conftest.err
29465 } && test -s conftest.$ac_objext; then
29466 ac_cv_header_mspack_h=yes
29468 echo "$as_me: failed program was:" >&5
29469 sed 's/^/| /' conftest.$ac_ext >&5
29471 ac_cv_header_mspack_h=no
29474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29476 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29477 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29478 if test $ac_cv_header_mspack_h = yes; then
29483 if test "x$found_mspack_h" = "x1"; then
29484 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29485 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29486 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 ac_check_lib_save_LIBS=$LIBS
29490 LIBS="-lmspack $LIBS"
29491 cat >conftest.$ac_ext <<_ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29498 /* Override any GCC internal prototype to avoid an error.
29499 Use char because int might match the return type of a GCC
29500 builtin and then its argument prototype would still apply. */
29504 char mspack_create_chm_decompressor ();
29508 return mspack_create_chm_decompressor ();
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (ac_try="$ac_link"
29515 case "(($ac_try" in
29516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517 *) ac_try_echo=$ac_try;;
29519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520 (eval "$ac_link") 2>conftest.er1
29522 grep -v '^ *+' conftest.er1 >conftest.err
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } && {
29527 test -z "$ac_c_werror_flag" ||
29528 test ! -s conftest.err
29529 } && test -s conftest$ac_exeext &&
29530 $as_test_x conftest$ac_exeext; then
29531 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29536 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29540 conftest$ac_exeext conftest.$ac_ext
29541 LIBS=$ac_check_lib_save_LIBS
29543 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29544 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29545 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29546 MSPACK_LINK=" -lmspack"
29550 if test "x$MSPACK_LINK" = "x" ; then
29555 if test "$wxUSE_LIBMSPACK" != "no"; then
29556 cat >>confdefs.h <<\_ACEOF
29557 #define wxUSE_LIBMSPACK 1
29571 if test "$USE_WIN32" = 1 ; then
29573 for ac_header in w32api.h
29575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29576 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 cat >conftest.$ac_ext <<_ACEOF
29584 cat confdefs.h >>conftest.$ac_ext
29585 cat >>conftest.$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29589 #include <$ac_header>
29591 rm -f conftest.$ac_objext
29592 if { (ac_try="$ac_compile"
29593 case "(($ac_try" in
29594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29595 *) ac_try_echo=$ac_try;;
29597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29598 (eval "$ac_compile") 2>conftest.er1
29600 grep -v '^ *+' conftest.er1 >conftest.err
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } && {
29605 test -z "$ac_c_werror_flag" ||
29606 test ! -s conftest.err
29607 } && test -s conftest.$ac_objext; then
29608 eval "$as_ac_Header=yes"
29610 echo "$as_me: failed program was:" >&5
29611 sed 's/^/| /' conftest.$ac_ext >&5
29613 eval "$as_ac_Header=no"
29616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29618 ac_res=`eval echo '${'$as_ac_Header'}'`
29619 { echo "$as_me:$LINENO: result: $ac_res" >&5
29620 echo "${ECHO_T}$ac_res" >&6; }
29621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29622 cat >>confdefs.h <<_ACEOF
29623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29630 { echo "$as_me:$LINENO: checking for windows.h" >&5
29631 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29632 if test "${ac_cv_header_windows_h+set}" = set; then
29633 echo $ECHO_N "(cached) $ECHO_C" >&6
29635 cat >conftest.$ac_ext <<_ACEOF
29638 cat confdefs.h >>conftest.$ac_ext
29639 cat >>conftest.$ac_ext <<_ACEOF
29640 /* end confdefs.h. */
29643 #include <windows.h>
29645 rm -f conftest.$ac_objext
29646 if { (ac_try="$ac_compile"
29647 case "(($ac_try" in
29648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29649 *) ac_try_echo=$ac_try;;
29651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29652 (eval "$ac_compile") 2>conftest.er1
29654 grep -v '^ *+' conftest.er1 >conftest.err
29656 cat conftest.err >&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); } && {
29659 test -z "$ac_c_werror_flag" ||
29660 test ! -s conftest.err
29661 } && test -s conftest.$ac_objext; then
29662 ac_cv_header_windows_h=yes
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29667 ac_cv_header_windows_h=no
29670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29672 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29673 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29674 if test $ac_cv_header_windows_h = yes; then
29678 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29679 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29680 { (exit 1); exit 1; }; }
29686 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29688 x86_64-*-mingw32* )
29689 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29693 LIBS="$LIBS -loleacc"
29698 LIBS="$LIBS -lkernel32 -luser32"
29701 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29702 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29704 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29706 WIN32INSTALL=win32install
29708 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29709 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29710 if test "${ac_cv_header_pbt_h+set}" = set; then
29711 echo $ECHO_N "(cached) $ECHO_C" >&6
29713 cat >conftest.$ac_ext <<_ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29723 rm -f conftest.$ac_objext
29724 if { (ac_try="$ac_compile"
29725 case "(($ac_try" in
29726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29727 *) ac_try_echo=$ac_try;;
29729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29730 (eval "$ac_compile") 2>conftest.er1
29732 grep -v '^ *+' conftest.er1 >conftest.err
29734 cat conftest.err >&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } && {
29737 test -z "$ac_c_werror_flag" ||
29738 test ! -s conftest.err
29739 } && test -s conftest.$ac_objext; then
29740 ac_cv_header_pbt_h=yes
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.$ac_ext >&5
29745 ac_cv_header_pbt_h=no
29748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29751 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29752 if test $ac_cv_header_pbt_h = yes; then
29755 cat >>confdefs.h <<\_ACEOF
29756 #define NEED_PBT_H 1
29764 if test "$wxUSE_GUI" = "yes"; then
29774 if test "$wxUSE_OLD_COCOA" = 1 ; then
29775 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29776 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29777 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29778 wxUSE_PRINTING_ARCHITECTURE=no
29780 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29781 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29782 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29783 wxUSE_DRAG_AND_DROP=no
29785 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29786 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29787 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29792 if test "$wxUSE_MSW" = 1 ; then
29798 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29802 if test "$wxUSE_GTK" = 1; then
29803 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29804 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29806 gtk_version_cached=1
29807 if test "${wx_cv_lib_gtk+set}" = set; then
29808 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 gtk_version_cached=0
29812 { echo "$as_me:$LINENO: result: " >&5
29813 echo "${ECHO_T}" >&6; }
29816 if test "$wxUSE_THREADS" = "yes"; then
29817 GTK_MODULES=gthread
29821 if test "x$wxGTK_VERSION" != "x1"
29825 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29830 # Check whether --enable-gtktest was given.
29831 if test "${enable_gtktest+set}" = set; then
29832 enableval=$enable_gtktest;
29838 pkg_config_args=gtk+-2.0
29839 for module in . $GTK_MODULES
29843 pkg_config_args="$pkg_config_args gthread-2.0"
29850 # Extract the first word of "pkg-config", so it can be a program name with args.
29851 set dummy pkg-config; ac_word=$2
29852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 case $PKG_CONFIG in
29859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29863 for as_dir in $PATH
29866 test -z "$as_dir" && as_dir=.
29867 for ac_exec_ext in '' $ac_executable_extensions; do
29868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29877 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29881 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29882 if test -n "$PKG_CONFIG"; then
29883 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29884 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29886 { echo "$as_me:$LINENO: result: no" >&5
29887 echo "${ECHO_T}no" >&6; }
29892 if test x$PKG_CONFIG != xno ; then
29893 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29896 echo "*** pkg-config too old; version 0.7 or better required."
29904 min_gtk_version=2.4.0
29905 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29906 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29908 if test x$PKG_CONFIG != xno ; then
29909 ## don't try to run the test against uninstalled libtool libs
29910 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29911 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29915 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29922 if test x"$no_gtk" = x ; then
29923 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29924 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29925 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29927 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29929 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29931 if test "x$enable_gtktest" = "xyes" ; then
29932 ac_save_CFLAGS="$CFLAGS"
29933 ac_save_LIBS="$LIBS"
29934 CFLAGS="$CFLAGS $GTK_CFLAGS"
29935 LIBS="$GTK_LIBS $LIBS"
29937 if test "$cross_compiling" = yes; then
29938 echo $ac_n "cross compiling; assumed OK... $ac_c"
29940 cat >conftest.$ac_ext <<_ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29947 #include <gtk/gtk.h>
29949 #include <stdlib.h>
29954 int major, minor, micro;
29957 system ("touch conf.gtktest");
29959 /* HP/UX 9 (%@#!) writes to sscanf strings */
29960 tmp_version = g_strdup("$min_gtk_version");
29961 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29962 printf("%s, bad version string\n", "$min_gtk_version");
29966 if ((gtk_major_version != $gtk_config_major_version) ||
29967 (gtk_minor_version != $gtk_config_minor_version) ||
29968 (gtk_micro_version != $gtk_config_micro_version))
29970 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29971 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29972 gtk_major_version, gtk_minor_version, gtk_micro_version);
29973 printf ("*** was found! If pkg-config was correct, then it is best\n");
29974 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29975 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29976 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29977 printf("*** required on your system.\n");
29978 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29979 printf("*** to point to the correct configuration files\n");
29981 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29982 (gtk_minor_version != GTK_MINOR_VERSION) ||
29983 (gtk_micro_version != GTK_MICRO_VERSION))
29985 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29986 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29987 printf("*** library (version %d.%d.%d)\n",
29988 gtk_major_version, gtk_minor_version, gtk_micro_version);
29992 if ((gtk_major_version > major) ||
29993 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29994 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30000 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30001 gtk_major_version, gtk_minor_version, gtk_micro_version);
30002 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30003 major, minor, micro);
30004 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30006 printf("*** If you have already installed a sufficiently new version, this error\n");
30007 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30008 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30009 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30010 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30011 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30012 printf("*** so that the correct libraries are found at run-time))\n");
30019 rm -f conftest$ac_exeext
30020 if { (ac_try="$ac_link"
30021 case "(($ac_try" in
30022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30023 *) ac_try_echo=$ac_try;;
30025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30026 (eval "$ac_link") 2>&5
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30030 { (case "(($ac_try" in
30031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30032 *) ac_try_echo=$ac_try;;
30034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30035 (eval "$ac_try") 2>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); }; }; then
30041 echo "$as_me: program exited with status $ac_status" >&5
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30045 ( exit $ac_status )
30048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30052 CFLAGS="$ac_save_CFLAGS"
30053 LIBS="$ac_save_LIBS"
30056 if test "x$no_gtk" = x ; then
30057 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30058 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30061 { echo "$as_me:$LINENO: result: no" >&5
30062 echo "${ECHO_T}no" >&6; }
30063 if test "$PKG_CONFIG" = "no" ; then
30064 echo "*** A new enough version of pkg-config was not found."
30065 echo "*** See http://pkgconfig.sourceforge.net"
30067 if test -f conf.gtktest ; then
30070 echo "*** Could not run GTK+ test program, checking why..."
30071 ac_save_CFLAGS="$CFLAGS"
30072 ac_save_LIBS="$LIBS"
30073 CFLAGS="$CFLAGS $GTK_CFLAGS"
30074 LIBS="$LIBS $GTK_LIBS"
30075 cat >conftest.$ac_ext <<_ACEOF
30078 cat confdefs.h >>conftest.$ac_ext
30079 cat >>conftest.$ac_ext <<_ACEOF
30080 /* end confdefs.h. */
30082 #include <gtk/gtk.h>
30088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30093 rm -f conftest.$ac_objext conftest$ac_exeext
30094 if { (ac_try="$ac_link"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_link") 2>conftest.er1
30102 grep -v '^ *+' conftest.er1 >conftest.err
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_c_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest$ac_exeext &&
30110 $as_test_x conftest$ac_exeext; then
30111 echo "*** The test program compiled, but did not run. This usually means"
30112 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30113 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30116 echo "*** is required on your system"
30118 echo "*** If you have an old version installed, it is best to remove it, although"
30119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30124 echo "*** The test program failed to compile or link. See the file config.log for the"
30125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30129 conftest$ac_exeext conftest.$ac_ext
30130 CFLAGS="$ac_save_CFLAGS"
30131 LIBS="$ac_save_LIBS"
30143 GTK_LIBS="$GTK_LIBS -lX11"
30146 if test -z "$wx_cv_lib_gtk"; then
30147 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30149 # Check whether --with-gtk-prefix was given.
30150 if test "${with_gtk_prefix+set}" = set; then
30151 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30153 gtk_config_prefix=""
30157 # Check whether --with-gtk-exec-prefix was given.
30158 if test "${with_gtk_exec_prefix+set}" = set; then
30159 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30161 gtk_config_exec_prefix=""
30164 # Check whether --enable-gtktest was given.
30165 if test "${enable_gtktest+set}" = set; then
30166 enableval=$enable_gtktest;
30172 for module in . $GTK_MODULES
30176 gtk_config_args="$gtk_config_args gthread"
30181 if test x$gtk_config_exec_prefix != x ; then
30182 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30183 if test x${GTK_CONFIG+set} != xset ; then
30184 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30187 if test x$gtk_config_prefix != x ; then
30188 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30189 if test x${GTK_CONFIG+set} != xset ; then
30190 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30194 # Extract the first word of "gtk-config", so it can be a program name with args.
30195 set dummy gtk-config; ac_word=$2
30196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30198 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 case $GTK_CONFIG in
30203 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30207 for as_dir in $PATH
30210 test -z "$as_dir" && as_dir=.
30211 for ac_exec_ext in '' $ac_executable_extensions; do
30212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30213 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30221 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30225 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30226 if test -n "$GTK_CONFIG"; then
30227 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30228 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30230 { echo "$as_me:$LINENO: result: no" >&5
30231 echo "${ECHO_T}no" >&6; }
30235 min_gtk_version=1.2.7
30236 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30237 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30239 if test "$GTK_CONFIG" = "no" ; then
30242 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30243 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30244 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30246 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30248 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30250 if test "x$enable_gtktest" = "xyes" ; then
30251 ac_save_CFLAGS="$CFLAGS"
30252 ac_save_LIBS="$LIBS"
30253 CFLAGS="$CFLAGS $GTK_CFLAGS"
30254 LIBS="$GTK_LIBS $LIBS"
30256 if test "$cross_compiling" = yes; then
30257 echo $ac_n "cross compiling; assumed OK... $ac_c"
30259 cat >conftest.$ac_ext <<_ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30266 #include <gtk/gtk.h>
30268 #include <stdlib.h>
30273 int major, minor, micro;
30276 system ("touch conf.gtktest");
30278 /* HP/UX 9 (%@#!) writes to sscanf strings */
30279 tmp_version = g_strdup("$min_gtk_version");
30280 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30281 printf("%s, bad version string\n", "$min_gtk_version");
30285 if ((gtk_major_version != $gtk_config_major_version) ||
30286 (gtk_minor_version != $gtk_config_minor_version) ||
30287 (gtk_micro_version != $gtk_config_micro_version))
30289 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30290 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30291 gtk_major_version, gtk_minor_version, gtk_micro_version);
30292 printf ("*** was found! If gtk-config was correct, then it is best\n");
30293 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30294 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30295 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30296 printf("*** required on your system.\n");
30297 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30298 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30299 printf("*** before re-running configure\n");
30301 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30302 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30303 (gtk_minor_version != GTK_MINOR_VERSION) ||
30304 (gtk_micro_version != GTK_MICRO_VERSION))
30306 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30307 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30308 printf("*** library (version %d.%d.%d)\n",
30309 gtk_major_version, gtk_minor_version, gtk_micro_version);
30311 #endif /* defined (GTK_MAJOR_VERSION) ... */
30314 if ((gtk_major_version > major) ||
30315 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30316 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30322 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30323 gtk_major_version, gtk_minor_version, gtk_micro_version);
30324 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30325 major, minor, micro);
30326 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30328 printf("*** If you have already installed a sufficiently new version, this error\n");
30329 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30330 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30331 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30332 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30333 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30334 printf("*** so that the correct libraries are found at run-time))\n");
30341 rm -f conftest$ac_exeext
30342 if { (ac_try="$ac_link"
30343 case "(($ac_try" in
30344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30345 *) ac_try_echo=$ac_try;;
30347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30348 (eval "$ac_link") 2>&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30352 { (case "(($ac_try" in
30353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30354 *) ac_try_echo=$ac_try;;
30356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30357 (eval "$ac_try") 2>&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); }; }; then
30363 echo "$as_me: program exited with status $ac_status" >&5
30364 echo "$as_me: failed program was:" >&5
30365 sed 's/^/| /' conftest.$ac_ext >&5
30367 ( exit $ac_status )
30370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30374 CFLAGS="$ac_save_CFLAGS"
30375 LIBS="$ac_save_LIBS"
30378 if test "x$no_gtk" = x ; then
30379 { echo "$as_me:$LINENO: result: yes" >&5
30380 echo "${ECHO_T}yes" >&6; }
30381 wx_cv_lib_gtk=1.2.7
30383 { echo "$as_me:$LINENO: result: no" >&5
30384 echo "${ECHO_T}no" >&6; }
30385 if test "$GTK_CONFIG" = "no" ; then
30386 echo "*** The gtk-config script installed by GTK could not be found"
30387 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30388 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30389 echo "*** full path to gtk-config."
30391 if test -f conf.gtktest ; then
30394 echo "*** Could not run GTK test program, checking why..."
30395 CFLAGS="$CFLAGS $GTK_CFLAGS"
30396 LIBS="$LIBS $GTK_LIBS"
30397 cat >conftest.$ac_ext <<_ACEOF
30400 cat confdefs.h >>conftest.$ac_ext
30401 cat >>conftest.$ac_ext <<_ACEOF
30402 /* end confdefs.h. */
30404 #include <gtk/gtk.h>
30410 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (ac_try="$ac_link"
30417 case "(($ac_try" in
30418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30419 *) ac_try_echo=$ac_try;;
30421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30422 (eval "$ac_link") 2>conftest.er1
30424 grep -v '^ *+' conftest.er1 >conftest.err
30426 cat conftest.err >&5
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } && {
30429 test -z "$ac_c_werror_flag" ||
30430 test ! -s conftest.err
30431 } && test -s conftest$ac_exeext &&
30432 $as_test_x conftest$ac_exeext; then
30433 echo "*** The test program compiled, but did not run. This usually means"
30434 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30435 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30436 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30437 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30438 echo "*** is required on your system"
30440 echo "*** If you have an old version installed, it is best to remove it, although"
30441 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30443 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30444 echo "*** came with the system with the command"
30446 echo "*** rpm --erase --nodeps gtk gtk-devel"
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30451 echo "*** The test program failed to compile or link. See the file config.log for the"
30452 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30453 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30454 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30458 conftest$ac_exeext conftest.$ac_ext
30459 CFLAGS="$ac_save_CFLAGS"
30460 LIBS="$ac_save_LIBS"
30472 if test -z "$wx_cv_lib_gtk"; then
30474 # Check whether --with-gtk-prefix was given.
30475 if test "${with_gtk_prefix+set}" = set; then
30476 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30478 gtk_config_prefix=""
30482 # Check whether --with-gtk-exec-prefix was given.
30483 if test "${with_gtk_exec_prefix+set}" = set; then
30484 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30486 gtk_config_exec_prefix=""
30489 # Check whether --enable-gtktest was given.
30490 if test "${enable_gtktest+set}" = set; then
30491 enableval=$enable_gtktest;
30497 for module in . $GTK_MODULES
30501 gtk_config_args="$gtk_config_args gthread"
30506 if test x$gtk_config_exec_prefix != x ; then
30507 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30508 if test x${GTK_CONFIG+set} != xset ; then
30509 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30512 if test x$gtk_config_prefix != x ; then
30513 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30514 if test x${GTK_CONFIG+set} != xset ; then
30515 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30519 # Extract the first word of "gtk-config", so it can be a program name with args.
30520 set dummy gtk-config; ac_word=$2
30521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30523 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 case $GTK_CONFIG in
30528 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30532 for as_dir in $PATH
30535 test -z "$as_dir" && as_dir=.
30536 for ac_exec_ext in '' $ac_executable_extensions; do
30537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30538 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30546 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30550 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30551 if test -n "$GTK_CONFIG"; then
30552 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30553 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30555 { echo "$as_me:$LINENO: result: no" >&5
30556 echo "${ECHO_T}no" >&6; }
30560 min_gtk_version=1.2.3
30561 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30562 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30564 if test "$GTK_CONFIG" = "no" ; then
30567 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30568 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30569 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30571 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30573 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30575 if test "x$enable_gtktest" = "xyes" ; then
30576 ac_save_CFLAGS="$CFLAGS"
30577 ac_save_LIBS="$LIBS"
30578 CFLAGS="$CFLAGS $GTK_CFLAGS"
30579 LIBS="$GTK_LIBS $LIBS"
30581 if test "$cross_compiling" = yes; then
30582 echo $ac_n "cross compiling; assumed OK... $ac_c"
30584 cat >conftest.$ac_ext <<_ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30591 #include <gtk/gtk.h>
30593 #include <stdlib.h>
30598 int major, minor, micro;
30601 system ("touch conf.gtktest");
30603 /* HP/UX 9 (%@#!) writes to sscanf strings */
30604 tmp_version = g_strdup("$min_gtk_version");
30605 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30606 printf("%s, bad version string\n", "$min_gtk_version");
30610 if ((gtk_major_version != $gtk_config_major_version) ||
30611 (gtk_minor_version != $gtk_config_minor_version) ||
30612 (gtk_micro_version != $gtk_config_micro_version))
30614 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30615 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30616 gtk_major_version, gtk_minor_version, gtk_micro_version);
30617 printf ("*** was found! If gtk-config was correct, then it is best\n");
30618 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30619 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30620 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30621 printf("*** required on your system.\n");
30622 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30623 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30624 printf("*** before re-running configure\n");
30626 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30627 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30628 (gtk_minor_version != GTK_MINOR_VERSION) ||
30629 (gtk_micro_version != GTK_MICRO_VERSION))
30631 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30632 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30633 printf("*** library (version %d.%d.%d)\n",
30634 gtk_major_version, gtk_minor_version, gtk_micro_version);
30636 #endif /* defined (GTK_MAJOR_VERSION) ... */
30639 if ((gtk_major_version > major) ||
30640 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30641 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30647 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30648 gtk_major_version, gtk_minor_version, gtk_micro_version);
30649 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30650 major, minor, micro);
30651 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30653 printf("*** If you have already installed a sufficiently new version, this error\n");
30654 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30655 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30656 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30657 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30658 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30659 printf("*** so that the correct libraries are found at run-time))\n");
30666 rm -f conftest$ac_exeext
30667 if { (ac_try="$ac_link"
30668 case "(($ac_try" in
30669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30670 *) ac_try_echo=$ac_try;;
30672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30673 (eval "$ac_link") 2>&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30677 { (case "(($ac_try" in
30678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30679 *) ac_try_echo=$ac_try;;
30681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30682 (eval "$ac_try") 2>&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; }; then
30688 echo "$as_me: program exited with status $ac_status" >&5
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30692 ( exit $ac_status )
30695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30699 CFLAGS="$ac_save_CFLAGS"
30700 LIBS="$ac_save_LIBS"
30703 if test "x$no_gtk" = x ; then
30704 { echo "$as_me:$LINENO: result: yes" >&5
30705 echo "${ECHO_T}yes" >&6; }
30706 wx_cv_lib_gtk=1.2.3
30708 { echo "$as_me:$LINENO: result: no" >&5
30709 echo "${ECHO_T}no" >&6; }
30710 if test "$GTK_CONFIG" = "no" ; then
30711 echo "*** The gtk-config script installed by GTK could not be found"
30712 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30713 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30714 echo "*** full path to gtk-config."
30716 if test -f conf.gtktest ; then
30719 echo "*** Could not run GTK test program, checking why..."
30720 CFLAGS="$CFLAGS $GTK_CFLAGS"
30721 LIBS="$LIBS $GTK_LIBS"
30722 cat >conftest.$ac_ext <<_ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30729 #include <gtk/gtk.h>
30735 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30740 rm -f conftest.$ac_objext conftest$ac_exeext
30741 if { (ac_try="$ac_link"
30742 case "(($ac_try" in
30743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30744 *) ac_try_echo=$ac_try;;
30746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30747 (eval "$ac_link") 2>conftest.er1
30749 grep -v '^ *+' conftest.er1 >conftest.err
30751 cat conftest.err >&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); } && {
30754 test -z "$ac_c_werror_flag" ||
30755 test ! -s conftest.err
30756 } && test -s conftest$ac_exeext &&
30757 $as_test_x conftest$ac_exeext; then
30758 echo "*** The test program compiled, but did not run. This usually means"
30759 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30760 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30761 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30762 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30763 echo "*** is required on your system"
30765 echo "*** If you have an old version installed, it is best to remove it, although"
30766 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30768 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30769 echo "*** came with the system with the command"
30771 echo "*** rpm --erase --nodeps gtk gtk-devel"
30773 echo "$as_me: failed program was:" >&5
30774 sed 's/^/| /' conftest.$ac_ext >&5
30776 echo "*** The test program failed to compile or link. See the file config.log for the"
30777 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30778 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30779 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30783 conftest$ac_exeext conftest.$ac_ext
30784 CFLAGS="$ac_save_CFLAGS"
30785 LIBS="$ac_save_LIBS"
30800 if test -z "$wx_cv_lib_gtk"; then
30803 wx_cv_cflags_gtk=$GTK_CFLAGS
30804 wx_cv_libs_gtk=$GTK_LIBS
30811 if test "$gtk_version_cached" = 1; then
30812 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30813 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30816 case "$wx_cv_lib_gtk" in
30825 *) { { echo "$as_me:$LINENO: error:
30826 The development files for GTK+ were not found. For GTK+ 2, please
30827 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30828 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30829 and that the version is 1.2.3 or above. Also check that the
30830 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30831 --libs' are in the LD_LIBRARY_PATH or equivalent.
30833 echo "$as_me: error:
30834 The development files for GTK+ were not found. For GTK+ 2, please
30835 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30836 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30837 and that the version is 1.2.3 or above. Also check that the
30838 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30839 --libs' are in the LD_LIBRARY_PATH or equivalent.
30841 { (exit 1); exit 1; }; }
30845 if test "$WXGTK2" = 1; then
30846 save_CFLAGS="$CFLAGS"
30848 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30849 LIBS="$LIBS $wx_cv_libs_gtk"
30851 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30852 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30853 cat >conftest.$ac_ext <<_ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30860 #include <gtk/gtk.h>
30866 #if !GTK_CHECK_VERSION(2,18,0)
30874 rm -f conftest.$ac_objext
30875 if { (ac_try="$ac_compile"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_compile") 2>conftest.er1
30883 grep -v '^ *+' conftest.er1 >conftest.err
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest.$ac_objext; then
30892 cat >>confdefs.h <<\_ACEOF
30893 #define __WXGTK218__ 1
30896 cat >>confdefs.h <<\_ACEOF
30897 #define __WXGTK210__ 1
30900 cat >>confdefs.h <<\_ACEOF
30901 #define __WXGTK26__ 1
30904 { echo "$as_me:$LINENO: result: yes" >&5
30905 echo "${ECHO_T}yes" >&6; }
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30913 { echo "$as_me:$LINENO: result: no" >&5
30914 echo "${ECHO_T}no" >&6; }
30919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30921 if test "$ac_wxgtk218" = 0; then
30922 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30923 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30924 cat >conftest.$ac_ext <<_ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h. */
30931 #include <gtk/gtk.h>
30937 #if !GTK_CHECK_VERSION(2,10,0)
30945 rm -f conftest.$ac_objext
30946 if { (ac_try="$ac_compile"
30947 case "(($ac_try" in
30948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30949 *) ac_try_echo=$ac_try;;
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_compile") 2>conftest.er1
30954 grep -v '^ *+' conftest.er1 >conftest.err
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest.$ac_objext; then
30963 cat >>confdefs.h <<\_ACEOF
30964 #define __WXGTK210__ 1
30967 cat >>confdefs.h <<\_ACEOF
30968 #define __WXGTK26__ 1
30971 { echo "$as_me:$LINENO: result: yes" >&5
30972 echo "${ECHO_T}yes" >&6; }
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.$ac_ext >&5
30980 { echo "$as_me:$LINENO: result: no" >&5
30981 echo "${ECHO_T}no" >&6; }
30986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 if test "$ac_wxgtk210" = 0; then
30989 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30990 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30991 cat >conftest.$ac_ext <<_ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30998 #include <gtk/gtk.h>
31004 #if !GTK_CHECK_VERSION(2,6,0)
31012 rm -f conftest.$ac_objext
31013 if { (ac_try="$ac_compile"
31014 case "(($ac_try" in
31015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31016 *) ac_try_echo=$ac_try;;
31018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31019 (eval "$ac_compile") 2>conftest.er1
31021 grep -v '^ *+' conftest.er1 >conftest.err
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } && {
31026 test -z "$ac_c_werror_flag" ||
31027 test ! -s conftest.err
31028 } && test -s conftest.$ac_objext; then
31030 cat >>confdefs.h <<\_ACEOF
31031 #define __WXGTK26__ 1
31034 { echo "$as_me:$LINENO: result: yes" >&5
31035 echo "${ECHO_T}yes" >&6; }
31039 echo "$as_me: failed program was:" >&5
31040 sed 's/^/| /' conftest.$ac_ext >&5
31043 { echo "$as_me:$LINENO: result: no" >&5
31044 echo "${ECHO_T}no" >&6; }
31049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31053 CFLAGS="$save_CFLAGS"
31056 if test "$wxUSE_UNICODE" = "yes"; then
31057 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31058 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31062 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31063 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31064 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 ac_check_lib_save_LIBS=$LIBS
31069 cat >conftest.$ac_ext <<_ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31076 /* Override any GCC internal prototype to avoid an error.
31077 Use char because int might match the return type of a GCC
31078 builtin and then its argument prototype would still apply. */
31082 char gdk_im_open ();
31086 return gdk_im_open ();
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (ac_try="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31100 grep -v '^ *+' conftest.er1 >conftest.err
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 ac_cv_lib_gdk_gdk_im_open=yes
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31114 ac_cv_lib_gdk_gdk_im_open=no
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 LIBS=$ac_check_lib_save_LIBS
31121 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31122 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31123 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31124 cat >>confdefs.h <<\_ACEOF
31131 if test "$USE_DARWIN" != 1; then
31133 for ac_func in poll
31135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31139 echo $ECHO_N "(cached) $ECHO_C" >&6
31141 cat >conftest.$ac_ext <<_ACEOF
31144 cat confdefs.h >>conftest.$ac_ext
31145 cat >>conftest.$ac_ext <<_ACEOF
31146 /* end confdefs.h. */
31147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31149 #define $ac_func innocuous_$ac_func
31151 /* System header to define __stub macros and hopefully few prototypes,
31152 which can conflict with char $ac_func (); below.
31153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31154 <limits.h> exists even on freestanding compilers. */
31157 # include <limits.h>
31159 # include <assert.h>
31164 /* Override any GCC internal prototype to avoid an error.
31165 Use char because int might match the return type of a GCC
31166 builtin and then its argument prototype would still apply. */
31171 /* The GNU C library defines this for functions which it implements
31172 to always fail with ENOSYS. Some functions are actually named
31173 something starting with __ and the normal name is an alias. */
31174 #if defined __stub_$ac_func || defined __stub___$ac_func
31181 return $ac_func ();
31186 rm -f conftest.$ac_objext conftest$ac_exeext
31187 if { (ac_try="$ac_link"
31188 case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31190 *) ac_try_echo=$ac_try;;
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_link") 2>conftest.er1
31195 grep -v '^ *+' conftest.er1 >conftest.err
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } && {
31200 test -z "$ac_c_werror_flag" ||
31201 test ! -s conftest.err
31202 } && test -s conftest$ac_exeext &&
31203 $as_test_x conftest$ac_exeext; then
31204 eval "$as_ac_var=yes"
31206 echo "$as_me: failed program was:" >&5
31207 sed 's/^/| /' conftest.$ac_ext >&5
31209 eval "$as_ac_var=no"
31212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31213 conftest$ac_exeext conftest.$ac_ext
31215 ac_res=`eval echo '${'$as_ac_var'}'`
31216 { echo "$as_me:$LINENO: result: $ac_res" >&5
31217 echo "${ECHO_T}$ac_res" >&6; }
31218 if test `eval echo '${'$as_ac_var'}'` = yes; then
31219 cat >>confdefs.h <<_ACEOF
31220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31229 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31230 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31232 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31234 AFMINSTALL=afminstall
31238 if test "$wxUSE_GPE" = "yes"; then
31239 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31240 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31243 for ac_dir in $SEARCH_LIB
31245 for ac_extension in a so sl dylib dll.a; do
31246 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31247 ac_find_libraries=$ac_dir
31253 if test "$ac_find_libraries" != "" ; then
31255 if test "$ac_find_libraries" = "default location"; then
31258 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31260 if test $result = 0; then
31263 ac_path_to_link=" -L$ac_find_libraries"
31267 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31269 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31270 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31272 { echo "$as_me:$LINENO: result: not found" >&5
31273 echo "${ECHO_T}not found" >&6; }
31279 if test "$wxUSE_MGL" = 1; then
31280 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31281 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31282 if test "x$MGL_ROOT" = x ; then
31283 { echo "$as_me:$LINENO: result: not found" >&5
31284 echo "${ECHO_T}not found" >&6; }
31285 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31286 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31287 { (exit 1); exit 1; }; }
31289 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31290 echo "${ECHO_T}$MGL_ROOT" >&6; }
31293 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31294 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31297 if test "x$wxUSE_SHARED" = xyes ; then
31298 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31300 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31304 mgl_os_candidates="dos32/dj2"
31307 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31308 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31309 { (exit 1); exit 1; }; }
31315 for mgl_os_i in $mgl_os_candidates ; do
31316 if test "x$mgl_os" = x ; then
31317 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31318 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31319 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31324 if test "x$mgl_lib_type" = x ; then
31325 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31326 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31327 mgl_lib_type=release
31334 if test "x$mgl_os" = x ; then
31335 { echo "$as_me:$LINENO: result: not found" >&5
31336 echo "${ECHO_T}not found" >&6; }
31337 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31338 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31339 { (exit 1); exit 1; }; }
31341 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31342 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31344 wxUSE_UNIVERSAL="yes"
31346 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31347 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31349 AFMINSTALL=afminstall
31354 if test "$wxUSE_DFB" = 1; then
31357 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31358 if test -n "$ac_tool_prefix"; then
31359 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31360 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31363 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31366 case $PKG_CONFIG in
31368 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31372 for as_dir in $PATH
31375 test -z "$as_dir" && as_dir=.
31376 for ac_exec_ext in '' $ac_executable_extensions; do
31377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31378 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31389 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31390 if test -n "$PKG_CONFIG"; then
31391 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31392 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31394 { echo "$as_me:$LINENO: result: no" >&5
31395 echo "${ECHO_T}no" >&6; }
31400 if test -z "$ac_cv_path_PKG_CONFIG"; then
31401 ac_pt_PKG_CONFIG=$PKG_CONFIG
31402 # Extract the first word of "pkg-config", so it can be a program name with args.
31403 set dummy pkg-config; ac_word=$2
31404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31406 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31407 echo $ECHO_N "(cached) $ECHO_C" >&6
31409 case $ac_pt_PKG_CONFIG in
31411 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31415 for as_dir in $PATH
31418 test -z "$as_dir" && as_dir=.
31419 for ac_exec_ext in '' $ac_executable_extensions; do
31420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31421 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31432 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31433 if test -n "$ac_pt_PKG_CONFIG"; then
31434 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31435 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31437 { echo "$as_me:$LINENO: result: no" >&5
31438 echo "${ECHO_T}no" >&6; }
31441 if test "x$ac_pt_PKG_CONFIG" = x; then
31444 case $cross_compiling:$ac_tool_warned in
31446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31447 whose name does not start with the host triplet. If you think this
31448 configuration is useful to you, please write to autoconf@gnu.org." >&5
31449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31450 whose name does not start with the host triplet. If you think this
31451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31452 ac_tool_warned=yes ;;
31454 PKG_CONFIG=$ac_pt_PKG_CONFIG
31457 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31461 if test -n "$PKG_CONFIG"; then
31462 _pkg_min_version=0.9.0
31463 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31464 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31465 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31466 { echo "$as_me:$LINENO: result: yes" >&5
31467 echo "${ECHO_T}yes" >&6; }
31469 { echo "$as_me:$LINENO: result: no" >&5
31470 echo "${ECHO_T}no" >&6; }
31478 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31479 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31481 if test -n "$PKG_CONFIG"; then
31482 if test -n "$DIRECTFB_CFLAGS"; then
31483 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31485 if test -n "$PKG_CONFIG" && \
31486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31487 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; then
31491 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31499 if test -n "$PKG_CONFIG"; then
31500 if test -n "$DIRECTFB_LIBS"; then
31501 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31503 if test -n "$PKG_CONFIG" && \
31504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31505 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); }; then
31509 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31520 if test $pkg_failed = yes; then
31522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31523 _pkg_short_errors_supported=yes
31525 _pkg_short_errors_supported=no
31527 if test $_pkg_short_errors_supported = yes; then
31528 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31530 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31532 # Put the nasty error message in config.log where it belongs
31533 echo "$DIRECTFB_PKG_ERRORS" >&5
31536 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31537 echo "$as_me: error: DirectFB not found." >&2;}
31538 { (exit 1); exit 1; }; }
31541 elif test $pkg_failed = untried; then
31543 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31544 echo "$as_me: error: DirectFB not found." >&2;}
31545 { (exit 1); exit 1; }; }
31549 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31550 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31551 { echo "$as_me:$LINENO: result: yes" >&5
31552 echo "${ECHO_T}yes" >&6; }
31554 wxUSE_UNIVERSAL="yes"
31555 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31556 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31563 if test "$wxUSE_MICROWIN" = 1; then
31564 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31565 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31566 if test "x$MICROWINDOWS" = x ; then
31567 { echo "$as_me:$LINENO: result: not found" >&5
31568 echo "${ECHO_T}not found" >&6; }
31569 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31570 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31571 { (exit 1); exit 1; }; }
31573 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31574 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31577 if test -f $MICROWINDOWS/lib/libmwin.a; then
31578 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31579 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31581 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31582 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31583 { (exit 1); exit 1; }; }
31586 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31587 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31589 wxUSE_UNIVERSAL="yes"
31591 AFMINSTALL=afminstall
31593 GUIDIST=MICROWIN_DIST
31595 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31598 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31599 { echo "$as_me:$LINENO: checking for X" >&5
31600 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31603 # Check whether --with-x was given.
31604 if test "${with_x+set}" = set; then
31608 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31609 if test "x$with_x" = xno; then
31610 # The user explicitly disabled X.
31613 case $x_includes,$x_libraries in #(
31614 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31615 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31616 { (exit 1); exit 1; }; };; #(
31617 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31618 echo $ECHO_N "(cached) $ECHO_C" >&6
31620 # One or both of the vars are not set, and there is no cached value.
31621 ac_x_includes=no ac_x_libraries=no
31622 rm -f -r conftest.dir
31623 if mkdir conftest.dir; then
31625 cat >Imakefile <<'_ACEOF'
31627 @echo incroot='${INCROOT}'
31629 @echo usrlibdir='${USRLIBDIR}'
31631 @echo libdir='${LIBDIR}'
31633 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31635 for ac_var in incroot usrlibdir libdir; do
31636 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31638 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31639 for ac_extension in a so sl; do
31640 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31641 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31642 ac_im_usrlibdir=$ac_im_libdir; break
31645 # Screen out bogus values from the imake configuration. They are
31646 # bogus both because they are the default anyway, and because
31647 # using them would break gcc on systems where it needs fixed includes.
31648 case $ac_im_incroot in
31649 /usr/include) ac_x_includes= ;;
31650 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31652 case $ac_im_usrlibdir in
31653 /usr/lib | /lib) ;;
31654 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31658 rm -f -r conftest.dir
31661 # Standard set of common directories for X headers.
31662 # Check X11 before X11Rn because it is often a symlink to the current release.
31674 /usr/local/X11/include
31675 /usr/local/X11R6/include
31676 /usr/local/X11R5/include
31677 /usr/local/X11R4/include
31679 /usr/local/include/X11
31680 /usr/local/include/X11R6
31681 /usr/local/include/X11R5
31682 /usr/local/include/X11R4
31686 /usr/XFree86/include/X11
31690 /usr/unsupported/include
31691 /usr/athena/include
31692 /usr/local/x11r5/include
31693 /usr/lpp/Xamples/include
31695 /usr/openwin/include
31696 /usr/openwin/share/include'
31698 if test "$ac_x_includes" = no; then
31699 # Guess where to find include files, by looking for Xlib.h.
31700 # First, try using that file with no special directory specified.
31701 cat >conftest.$ac_ext <<_ACEOF
31704 cat confdefs.h >>conftest.$ac_ext
31705 cat >>conftest.$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31707 #include <X11/Xlib.h>
31709 if { (ac_try="$ac_cpp conftest.$ac_ext"
31710 case "(($ac_try" in
31711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31712 *) ac_try_echo=$ac_try;;
31714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31717 grep -v '^ *+' conftest.er1 >conftest.err
31719 cat conftest.err >&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); } >/dev/null && {
31722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31723 test ! -s conftest.err
31725 # We can compile using X headers with no special include directory.
31728 echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.$ac_ext >&5
31731 for ac_dir in $ac_x_header_dirs; do
31732 if test -r "$ac_dir/X11/Xlib.h"; then
31733 ac_x_includes=$ac_dir
31739 rm -f conftest.err conftest.$ac_ext
31740 fi # $ac_x_includes = no
31742 if test "$ac_x_libraries" = no; then
31743 # Check for the libraries.
31744 # See if we find them without any special options.
31745 # Don't add to $LIBS permanently.
31748 cat >conftest.$ac_ext <<_ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31754 #include <X11/Xlib.h>
31763 rm -f conftest.$ac_objext conftest$ac_exeext
31764 if { (ac_try="$ac_link"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31767 *) ac_try_echo=$ac_try;;
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_link") 2>conftest.er1
31772 grep -v '^ *+' conftest.er1 >conftest.err
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest$ac_exeext &&
31780 $as_test_x conftest$ac_exeext; then
31782 # We can link X programs with no special library path.
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31789 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31791 # Don't even attempt the hair of trying to link an X program!
31792 for ac_extension in a so sl; do
31793 if test -r "$ac_dir/libX11.$ac_extension"; then
31794 ac_x_libraries=$ac_dir
31801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31802 conftest$ac_exeext conftest.$ac_ext
31803 fi # $ac_x_libraries = no
31805 case $ac_x_includes,$ac_x_libraries in #(
31806 no,* | *,no | *\'*)
31807 # Didn't find X, or a directory has "'" in its name.
31808 ac_cv_have_x="have_x=no";; #(
31810 # Record where we found X for the cache.
31811 ac_cv_have_x="have_x=yes\
31812 ac_x_includes='$ac_x_includes'\
31813 ac_x_libraries='$ac_x_libraries'"
31819 eval "$ac_cv_have_x"
31822 if test "$have_x" != yes; then
31823 { echo "$as_me:$LINENO: result: $have_x" >&5
31824 echo "${ECHO_T}$have_x" >&6; }
31827 # If each of the values was on the command line, it overrides each guess.
31828 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31829 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31830 # Update the cache value to reflect the command line values.
31831 ac_cv_have_x="have_x=yes\
31832 ac_x_includes='$x_includes'\
31833 ac_x_libraries='$x_libraries'"
31834 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31835 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31838 if test "$no_x" = yes; then
31839 # Not all programs may use this symbol, but it does not hurt to define it.
31841 cat >>confdefs.h <<\_ACEOF
31842 #define X_DISPLAY_MISSING 1
31845 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31847 if test -n "$x_includes"; then
31848 X_CFLAGS="$X_CFLAGS -I$x_includes"
31851 # It would also be nice to do this for all -L options, not just this one.
31852 if test -n "$x_libraries"; then
31853 X_LIBS="$X_LIBS -L$x_libraries"
31854 # For Solaris; some versions of Sun CC require a space after -R and
31855 # others require no space. Words are not sufficient . . . .
31856 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31857 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31858 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31859 ac_xsave_c_werror_flag=$ac_c_werror_flag
31860 ac_c_werror_flag=yes
31861 cat >conftest.$ac_ext <<_ACEOF
31864 cat confdefs.h >>conftest.$ac_ext
31865 cat >>conftest.$ac_ext <<_ACEOF
31866 /* end confdefs.h. */
31876 rm -f conftest.$ac_objext conftest$ac_exeext
31877 if { (ac_try="$ac_link"
31878 case "(($ac_try" in
31879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31880 *) ac_try_echo=$ac_try;;
31882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31883 (eval "$ac_link") 2>conftest.er1
31885 grep -v '^ *+' conftest.er1 >conftest.err
31887 cat conftest.err >&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } && {
31890 test -z "$ac_c_werror_flag" ||
31891 test ! -s conftest.err
31892 } && test -s conftest$ac_exeext &&
31893 $as_test_x conftest$ac_exeext; then
31894 { echo "$as_me:$LINENO: result: no" >&5
31895 echo "${ECHO_T}no" >&6; }
31896 X_LIBS="$X_LIBS -R$x_libraries"
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.$ac_ext >&5
31901 LIBS="$ac_xsave_LIBS -R $x_libraries"
31902 cat >conftest.$ac_ext <<_ACEOF
31905 cat confdefs.h >>conftest.$ac_ext
31906 cat >>conftest.$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31917 rm -f conftest.$ac_objext conftest$ac_exeext
31918 if { (ac_try="$ac_link"
31919 case "(($ac_try" in
31920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31921 *) ac_try_echo=$ac_try;;
31923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31924 (eval "$ac_link") 2>conftest.er1
31926 grep -v '^ *+' conftest.er1 >conftest.err
31928 cat conftest.err >&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } && {
31931 test -z "$ac_c_werror_flag" ||
31932 test ! -s conftest.err
31933 } && test -s conftest$ac_exeext &&
31934 $as_test_x conftest$ac_exeext; then
31935 { echo "$as_me:$LINENO: result: yes" >&5
31936 echo "${ECHO_T}yes" >&6; }
31937 X_LIBS="$X_LIBS -R $x_libraries"
31939 echo "$as_me: failed program was:" >&5
31940 sed 's/^/| /' conftest.$ac_ext >&5
31942 { echo "$as_me:$LINENO: result: neither works" >&5
31943 echo "${ECHO_T}neither works" >&6; }
31946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31947 conftest$ac_exeext conftest.$ac_ext
31950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31951 conftest$ac_exeext conftest.$ac_ext
31952 ac_c_werror_flag=$ac_xsave_c_werror_flag
31953 LIBS=$ac_xsave_LIBS
31956 # Check for system-dependent libraries X programs must link with.
31957 # Do this before checking for the system-independent R6 libraries
31958 # (-lICE), since we may need -lsocket or whatever for X linking.
31960 if test "$ISC" = yes; then
31961 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31963 # Martyn Johnson says this is needed for Ultrix, if the X
31964 # libraries were built with DECnet support. And Karl Berry says
31965 # the Alpha needs dnet_stub (dnet does not exist).
31966 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31967 cat >conftest.$ac_ext <<_ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31974 /* Override any GCC internal prototype to avoid an error.
31975 Use char because int might match the return type of a GCC
31976 builtin and then its argument prototype would still apply. */
31980 char XOpenDisplay ();
31984 return XOpenDisplay ();
31989 rm -f conftest.$ac_objext conftest$ac_exeext
31990 if { (ac_try="$ac_link"
31991 case "(($ac_try" in
31992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31993 *) ac_try_echo=$ac_try;;
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_link") 2>conftest.er1
31998 grep -v '^ *+' conftest.er1 >conftest.err
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } && {
32003 test -z "$ac_c_werror_flag" ||
32004 test ! -s conftest.err
32005 } && test -s conftest$ac_exeext &&
32006 $as_test_x conftest$ac_exeext; then
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.$ac_ext >&5
32012 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32013 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32014 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32017 ac_check_lib_save_LIBS=$LIBS
32018 LIBS="-ldnet $LIBS"
32019 cat >conftest.$ac_ext <<_ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32026 /* Override any GCC internal prototype to avoid an error.
32027 Use char because int might match the return type of a GCC
32028 builtin and then its argument prototype would still apply. */
32036 return dnet_ntoa ();
32041 rm -f conftest.$ac_objext conftest$ac_exeext
32042 if { (ac_try="$ac_link"
32043 case "(($ac_try" in
32044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32045 *) ac_try_echo=$ac_try;;
32047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32048 (eval "$ac_link") 2>conftest.er1
32050 grep -v '^ *+' conftest.er1 >conftest.err
32052 cat conftest.err >&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } && {
32055 test -z "$ac_c_werror_flag" ||
32056 test ! -s conftest.err
32057 } && test -s conftest$ac_exeext &&
32058 $as_test_x conftest$ac_exeext; then
32059 ac_cv_lib_dnet_dnet_ntoa=yes
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32064 ac_cv_lib_dnet_dnet_ntoa=no
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32071 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32072 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32073 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32074 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32077 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32078 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32079 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32080 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 ac_check_lib_save_LIBS=$LIBS
32084 LIBS="-ldnet_stub $LIBS"
32085 cat >conftest.$ac_ext <<_ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32092 /* Override any GCC internal prototype to avoid an error.
32093 Use char because int might match the return type of a GCC
32094 builtin and then its argument prototype would still apply. */
32102 return dnet_ntoa ();
32107 rm -f conftest.$ac_objext conftest$ac_exeext
32108 if { (ac_try="$ac_link"
32109 case "(($ac_try" in
32110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32111 *) ac_try_echo=$ac_try;;
32113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32114 (eval "$ac_link") 2>conftest.er1
32116 grep -v '^ *+' conftest.er1 >conftest.err
32118 cat conftest.err >&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); } && {
32121 test -z "$ac_c_werror_flag" ||
32122 test ! -s conftest.err
32123 } && test -s conftest$ac_exeext &&
32124 $as_test_x conftest$ac_exeext; then
32125 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32127 echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.$ac_ext >&5
32130 ac_cv_lib_dnet_stub_dnet_ntoa=no
32133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32134 conftest$ac_exeext conftest.$ac_ext
32135 LIBS=$ac_check_lib_save_LIBS
32137 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32138 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32139 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32140 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32147 conftest$ac_exeext conftest.$ac_ext
32148 LIBS="$ac_xsave_LIBS"
32150 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32151 # to get the SysV transport functions.
32152 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32154 # The nsl library prevents programs from opening the X display
32155 # on Irix 5.2, according to T.E. Dickey.
32156 # The functions gethostbyname, getservbyname, and inet_addr are
32157 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32158 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32159 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32160 if test "${ac_cv_func_gethostbyname+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 cat >conftest.$ac_ext <<_ACEOF
32166 cat confdefs.h >>conftest.$ac_ext
32167 cat >>conftest.$ac_ext <<_ACEOF
32168 /* end confdefs.h. */
32169 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32171 #define gethostbyname innocuous_gethostbyname
32173 /* System header to define __stub macros and hopefully few prototypes,
32174 which can conflict with char gethostbyname (); below.
32175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32176 <limits.h> exists even on freestanding compilers. */
32179 # include <limits.h>
32181 # include <assert.h>
32184 #undef gethostbyname
32186 /* Override any GCC internal prototype to avoid an error.
32187 Use char because int might match the return type of a GCC
32188 builtin and then its argument prototype would still apply. */
32192 char gethostbyname ();
32193 /* The GNU C library defines this for functions which it implements
32194 to always fail with ENOSYS. Some functions are actually named
32195 something starting with __ and the normal name is an alias. */
32196 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32203 return gethostbyname ();
32208 rm -f conftest.$ac_objext conftest$ac_exeext
32209 if { (ac_try="$ac_link"
32210 case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_link") 2>conftest.er1
32217 grep -v '^ *+' conftest.er1 >conftest.err
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } && {
32222 test -z "$ac_c_werror_flag" ||
32223 test ! -s conftest.err
32224 } && test -s conftest$ac_exeext &&
32225 $as_test_x conftest$ac_exeext; then
32226 ac_cv_func_gethostbyname=yes
32228 echo "$as_me: failed program was:" >&5
32229 sed 's/^/| /' conftest.$ac_ext >&5
32231 ac_cv_func_gethostbyname=no
32234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32235 conftest$ac_exeext conftest.$ac_ext
32237 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32238 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32240 if test $ac_cv_func_gethostbyname = no; then
32241 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32242 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32243 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32246 ac_check_lib_save_LIBS=$LIBS
32248 cat >conftest.$ac_ext <<_ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32255 /* Override any GCC internal prototype to avoid an error.
32256 Use char because int might match the return type of a GCC
32257 builtin and then its argument prototype would still apply. */
32261 char gethostbyname ();
32265 return gethostbyname ();
32270 rm -f conftest.$ac_objext conftest$ac_exeext
32271 if { (ac_try="$ac_link"
32272 case "(($ac_try" in
32273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32274 *) ac_try_echo=$ac_try;;
32276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32277 (eval "$ac_link") 2>conftest.er1
32279 grep -v '^ *+' conftest.er1 >conftest.err
32281 cat conftest.err >&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } && {
32284 test -z "$ac_c_werror_flag" ||
32285 test ! -s conftest.err
32286 } && test -s conftest$ac_exeext &&
32287 $as_test_x conftest$ac_exeext; then
32288 ac_cv_lib_nsl_gethostbyname=yes
32290 echo "$as_me: failed program was:" >&5
32291 sed 's/^/| /' conftest.$ac_ext >&5
32293 ac_cv_lib_nsl_gethostbyname=no
32296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32297 conftest$ac_exeext conftest.$ac_ext
32298 LIBS=$ac_check_lib_save_LIBS
32300 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32301 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32302 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32306 if test $ac_cv_lib_nsl_gethostbyname = no; then
32307 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32308 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32309 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32312 ac_check_lib_save_LIBS=$LIBS
32314 cat >conftest.$ac_ext <<_ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32321 /* Override any GCC internal prototype to avoid an error.
32322 Use char because int might match the return type of a GCC
32323 builtin and then its argument prototype would still apply. */
32327 char gethostbyname ();
32331 return gethostbyname ();
32336 rm -f conftest.$ac_objext conftest$ac_exeext
32337 if { (ac_try="$ac_link"
32338 case "(($ac_try" in
32339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32340 *) ac_try_echo=$ac_try;;
32342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32343 (eval "$ac_link") 2>conftest.er1
32345 grep -v '^ *+' conftest.er1 >conftest.err
32347 cat conftest.err >&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && {
32350 test -z "$ac_c_werror_flag" ||
32351 test ! -s conftest.err
32352 } && test -s conftest$ac_exeext &&
32353 $as_test_x conftest$ac_exeext; then
32354 ac_cv_lib_bsd_gethostbyname=yes
32356 echo "$as_me: failed program was:" >&5
32357 sed 's/^/| /' conftest.$ac_ext >&5
32359 ac_cv_lib_bsd_gethostbyname=no
32362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32363 conftest$ac_exeext conftest.$ac_ext
32364 LIBS=$ac_check_lib_save_LIBS
32366 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32367 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32368 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32375 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32376 # socket/setsockopt and other routines are undefined under SCO ODT
32377 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32378 # on later versions), says Simon Leinen: it contains gethostby*
32379 # variants that don't use the name server (or something). -lsocket
32380 # must be given before -lnsl if both are needed. We assume that
32381 # if connect needs -lnsl, so does gethostbyname.
32382 { echo "$as_me:$LINENO: checking for connect" >&5
32383 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32384 if test "${ac_cv_func_connect+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 cat >conftest.$ac_ext <<_ACEOF
32390 cat confdefs.h >>conftest.$ac_ext
32391 cat >>conftest.$ac_ext <<_ACEOF
32392 /* end confdefs.h. */
32393 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32395 #define connect innocuous_connect
32397 /* System header to define __stub macros and hopefully few prototypes,
32398 which can conflict with char connect (); below.
32399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32400 <limits.h> exists even on freestanding compilers. */
32403 # include <limits.h>
32405 # include <assert.h>
32410 /* Override any GCC internal prototype to avoid an error.
32411 Use char because int might match the return type of a GCC
32412 builtin and then its argument prototype would still apply. */
32417 /* The GNU C library defines this for functions which it implements
32418 to always fail with ENOSYS. Some functions are actually named
32419 something starting with __ and the normal name is an alias. */
32420 #if defined __stub_connect || defined __stub___connect
32432 rm -f conftest.$ac_objext conftest$ac_exeext
32433 if { (ac_try="$ac_link"
32434 case "(($ac_try" in
32435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32436 *) ac_try_echo=$ac_try;;
32438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32439 (eval "$ac_link") 2>conftest.er1
32441 grep -v '^ *+' conftest.er1 >conftest.err
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } && {
32446 test -z "$ac_c_werror_flag" ||
32447 test ! -s conftest.err
32448 } && test -s conftest$ac_exeext &&
32449 $as_test_x conftest$ac_exeext; then
32450 ac_cv_func_connect=yes
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.$ac_ext >&5
32455 ac_cv_func_connect=no
32458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32459 conftest$ac_exeext conftest.$ac_ext
32461 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32462 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32464 if test $ac_cv_func_connect = no; then
32465 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32466 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32467 if test "${ac_cv_lib_socket_connect+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 ac_check_lib_save_LIBS=$LIBS
32471 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32472 cat >conftest.$ac_ext <<_ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32479 /* Override any GCC internal prototype to avoid an error.
32480 Use char because int might match the return type of a GCC
32481 builtin and then its argument prototype would still apply. */
32494 rm -f conftest.$ac_objext conftest$ac_exeext
32495 if { (ac_try="$ac_link"
32496 case "(($ac_try" in
32497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32498 *) ac_try_echo=$ac_try;;
32500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32501 (eval "$ac_link") 2>conftest.er1
32503 grep -v '^ *+' conftest.er1 >conftest.err
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } && {
32508 test -z "$ac_c_werror_flag" ||
32509 test ! -s conftest.err
32510 } && test -s conftest$ac_exeext &&
32511 $as_test_x conftest$ac_exeext; then
32512 ac_cv_lib_socket_connect=yes
32514 echo "$as_me: failed program was:" >&5
32515 sed 's/^/| /' conftest.$ac_ext >&5
32517 ac_cv_lib_socket_connect=no
32520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32521 conftest$ac_exeext conftest.$ac_ext
32522 LIBS=$ac_check_lib_save_LIBS
32524 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32525 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32526 if test $ac_cv_lib_socket_connect = yes; then
32527 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32532 # Guillermo Gomez says -lposix is necessary on A/UX.
32533 { echo "$as_me:$LINENO: checking for remove" >&5
32534 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32535 if test "${ac_cv_func_remove+set}" = set; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 cat >conftest.$ac_ext <<_ACEOF
32541 cat confdefs.h >>conftest.$ac_ext
32542 cat >>conftest.$ac_ext <<_ACEOF
32543 /* end confdefs.h. */
32544 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32546 #define remove innocuous_remove
32548 /* System header to define __stub macros and hopefully few prototypes,
32549 which can conflict with char remove (); below.
32550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32551 <limits.h> exists even on freestanding compilers. */
32554 # include <limits.h>
32556 # include <assert.h>
32561 /* Override any GCC internal prototype to avoid an error.
32562 Use char because int might match the return type of a GCC
32563 builtin and then its argument prototype would still apply. */
32568 /* The GNU C library defines this for functions which it implements
32569 to always fail with ENOSYS. Some functions are actually named
32570 something starting with __ and the normal name is an alias. */
32571 #if defined __stub_remove || defined __stub___remove
32583 rm -f conftest.$ac_objext conftest$ac_exeext
32584 if { (ac_try="$ac_link"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32587 *) ac_try_echo=$ac_try;;
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_link") 2>conftest.er1
32592 grep -v '^ *+' conftest.er1 >conftest.err
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest$ac_exeext &&
32600 $as_test_x conftest$ac_exeext; then
32601 ac_cv_func_remove=yes
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.$ac_ext >&5
32606 ac_cv_func_remove=no
32609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32610 conftest$ac_exeext conftest.$ac_ext
32612 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32613 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32615 if test $ac_cv_func_remove = no; then
32616 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32617 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32618 if test "${ac_cv_lib_posix_remove+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 ac_check_lib_save_LIBS=$LIBS
32622 LIBS="-lposix $LIBS"
32623 cat >conftest.$ac_ext <<_ACEOF
32626 cat confdefs.h >>conftest.$ac_ext
32627 cat >>conftest.$ac_ext <<_ACEOF
32628 /* end confdefs.h. */
32630 /* Override any GCC internal prototype to avoid an error.
32631 Use char because int might match the return type of a GCC
32632 builtin and then its argument prototype would still apply. */
32645 rm -f conftest.$ac_objext conftest$ac_exeext
32646 if { (ac_try="$ac_link"
32647 case "(($ac_try" in
32648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32649 *) ac_try_echo=$ac_try;;
32651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32652 (eval "$ac_link") 2>conftest.er1
32654 grep -v '^ *+' conftest.er1 >conftest.err
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } && {
32659 test -z "$ac_c_werror_flag" ||
32660 test ! -s conftest.err
32661 } && test -s conftest$ac_exeext &&
32662 $as_test_x conftest$ac_exeext; then
32663 ac_cv_lib_posix_remove=yes
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32668 ac_cv_lib_posix_remove=no
32671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32672 conftest$ac_exeext conftest.$ac_ext
32673 LIBS=$ac_check_lib_save_LIBS
32675 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32676 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32677 if test $ac_cv_lib_posix_remove = yes; then
32678 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32683 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32684 { echo "$as_me:$LINENO: checking for shmat" >&5
32685 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32686 if test "${ac_cv_func_shmat+set}" = set; then
32687 echo $ECHO_N "(cached) $ECHO_C" >&6
32689 cat >conftest.$ac_ext <<_ACEOF
32692 cat confdefs.h >>conftest.$ac_ext
32693 cat >>conftest.$ac_ext <<_ACEOF
32694 /* end confdefs.h. */
32695 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32697 #define shmat innocuous_shmat
32699 /* System header to define __stub macros and hopefully few prototypes,
32700 which can conflict with char shmat (); below.
32701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32702 <limits.h> exists even on freestanding compilers. */
32705 # include <limits.h>
32707 # include <assert.h>
32712 /* Override any GCC internal prototype to avoid an error.
32713 Use char because int might match the return type of a GCC
32714 builtin and then its argument prototype would still apply. */
32719 /* The GNU C library defines this for functions which it implements
32720 to always fail with ENOSYS. Some functions are actually named
32721 something starting with __ and the normal name is an alias. */
32722 #if defined __stub_shmat || defined __stub___shmat
32734 rm -f conftest.$ac_objext conftest$ac_exeext
32735 if { (ac_try="$ac_link"
32736 case "(($ac_try" in
32737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32738 *) ac_try_echo=$ac_try;;
32740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32741 (eval "$ac_link") 2>conftest.er1
32743 grep -v '^ *+' conftest.er1 >conftest.err
32745 cat conftest.err >&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } && {
32748 test -z "$ac_c_werror_flag" ||
32749 test ! -s conftest.err
32750 } && test -s conftest$ac_exeext &&
32751 $as_test_x conftest$ac_exeext; then
32752 ac_cv_func_shmat=yes
32754 echo "$as_me: failed program was:" >&5
32755 sed 's/^/| /' conftest.$ac_ext >&5
32757 ac_cv_func_shmat=no
32760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32761 conftest$ac_exeext conftest.$ac_ext
32763 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32764 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32766 if test $ac_cv_func_shmat = no; then
32767 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32768 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32769 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32770 echo $ECHO_N "(cached) $ECHO_C" >&6
32772 ac_check_lib_save_LIBS=$LIBS
32774 cat >conftest.$ac_ext <<_ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32781 /* Override any GCC internal prototype to avoid an error.
32782 Use char because int might match the return type of a GCC
32783 builtin and then its argument prototype would still apply. */
32796 rm -f conftest.$ac_objext conftest$ac_exeext
32797 if { (ac_try="$ac_link"
32798 case "(($ac_try" in
32799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32800 *) ac_try_echo=$ac_try;;
32802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32803 (eval "$ac_link") 2>conftest.er1
32805 grep -v '^ *+' conftest.er1 >conftest.err
32807 cat conftest.err >&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } && {
32810 test -z "$ac_c_werror_flag" ||
32811 test ! -s conftest.err
32812 } && test -s conftest$ac_exeext &&
32813 $as_test_x conftest$ac_exeext; then
32814 ac_cv_lib_ipc_shmat=yes
32816 echo "$as_me: failed program was:" >&5
32817 sed 's/^/| /' conftest.$ac_ext >&5
32819 ac_cv_lib_ipc_shmat=no
32822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32823 conftest$ac_exeext conftest.$ac_ext
32824 LIBS=$ac_check_lib_save_LIBS
32826 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32827 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32828 if test $ac_cv_lib_ipc_shmat = yes; then
32829 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32835 # Check for libraries that X11R6 Xt/Xaw programs need.
32836 ac_save_LDFLAGS=$LDFLAGS
32837 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32838 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32839 # check for ICE first), but we must link in the order -lSM -lICE or
32840 # we get undefined symbols. So assume we have SM if we have ICE.
32841 # These have to be linked with before -lX11, unlike the other
32842 # libraries we check for below, so use a different variable.
32843 # John Interrante, Karl Berry
32844 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32845 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32846 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32847 echo $ECHO_N "(cached) $ECHO_C" >&6
32849 ac_check_lib_save_LIBS=$LIBS
32850 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32851 cat >conftest.$ac_ext <<_ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32858 /* Override any GCC internal prototype to avoid an error.
32859 Use char because int might match the return type of a GCC
32860 builtin and then its argument prototype would still apply. */
32864 char IceConnectionNumber ();
32868 return IceConnectionNumber ();
32873 rm -f conftest.$ac_objext conftest$ac_exeext
32874 if { (ac_try="$ac_link"
32875 case "(($ac_try" in
32876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32877 *) ac_try_echo=$ac_try;;
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_link") 2>conftest.er1
32882 grep -v '^ *+' conftest.er1 >conftest.err
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } && {
32887 test -z "$ac_c_werror_flag" ||
32888 test ! -s conftest.err
32889 } && test -s conftest$ac_exeext &&
32890 $as_test_x conftest$ac_exeext; then
32891 ac_cv_lib_ICE_IceConnectionNumber=yes
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.$ac_ext >&5
32896 ac_cv_lib_ICE_IceConnectionNumber=no
32899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32900 conftest$ac_exeext conftest.$ac_ext
32901 LIBS=$ac_check_lib_save_LIBS
32903 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32904 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32905 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32906 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32909 LDFLAGS=$ac_save_LDFLAGS
32914 if test "$no_x" = "yes"; then
32915 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32916 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32917 { (exit 1); exit 1; }; }
32920 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32921 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32922 AFMINSTALL=afminstall
32923 COMPILED_X_PROGRAM=0
32927 if test "$wxUSE_X11" = 1; then
32928 if test "$wxUSE_NANOX" = "yes"; then
32929 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32930 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32931 if test "x$MICROWIN" = x ; then
32932 { echo "$as_me:$LINENO: result: not found" >&5
32933 echo "${ECHO_T}not found" >&6; }
32934 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32935 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32936 { (exit 1); exit 1; }; }
32938 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32939 echo "${ECHO_T}$MICROWIN" >&6; }
32940 cat >>confdefs.h <<\_ACEOF
32941 #define wxUSE_NANOX 1
32947 if test "$wxUSE_UNICODE" = "yes"; then
32950 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32951 if test -n "$ac_tool_prefix"; then
32952 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32953 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32956 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 case $PKG_CONFIG in
32961 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32965 for as_dir in $PATH
32968 test -z "$as_dir" && as_dir=.
32969 for ac_exec_ext in '' $ac_executable_extensions; do
32970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32971 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32982 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32983 if test -n "$PKG_CONFIG"; then
32984 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32985 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32987 { echo "$as_me:$LINENO: result: no" >&5
32988 echo "${ECHO_T}no" >&6; }
32993 if test -z "$ac_cv_path_PKG_CONFIG"; then
32994 ac_pt_PKG_CONFIG=$PKG_CONFIG
32995 # Extract the first word of "pkg-config", so it can be a program name with args.
32996 set dummy pkg-config; ac_word=$2
32997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32999 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33002 case $ac_pt_PKG_CONFIG in
33004 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33008 for as_dir in $PATH
33011 test -z "$as_dir" && as_dir=.
33012 for ac_exec_ext in '' $ac_executable_extensions; do
33013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33014 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33025 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33026 if test -n "$ac_pt_PKG_CONFIG"; then
33027 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33028 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33030 { echo "$as_me:$LINENO: result: no" >&5
33031 echo "${ECHO_T}no" >&6; }
33034 if test "x$ac_pt_PKG_CONFIG" = x; then
33037 case $cross_compiling:$ac_tool_warned in
33039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33040 whose name does not start with the host triplet. If you think this
33041 configuration is useful to you, please write to autoconf@gnu.org." >&5
33042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33043 whose name does not start with the host triplet. If you think this
33044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33045 ac_tool_warned=yes ;;
33047 PKG_CONFIG=$ac_pt_PKG_CONFIG
33050 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33054 if test -n "$PKG_CONFIG"; then
33055 _pkg_min_version=0.9.0
33056 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33057 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33058 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33059 { echo "$as_me:$LINENO: result: yes" >&5
33060 echo "${ECHO_T}yes" >&6; }
33062 { echo "$as_me:$LINENO: result: no" >&5
33063 echo "${ECHO_T}no" >&6; }
33071 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33072 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33074 if test -n "$PKG_CONFIG"; then
33075 if test -n "$PANGOX_CFLAGS"; then
33076 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33078 if test -n "$PKG_CONFIG" && \
33079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33080 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); }; then
33084 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33092 if test -n "$PKG_CONFIG"; then
33093 if test -n "$PANGOX_LIBS"; then
33094 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33096 if test -n "$PKG_CONFIG" && \
33097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33098 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; then
33102 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33113 if test $pkg_failed = yes; then
33115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33116 _pkg_short_errors_supported=yes
33118 _pkg_short_errors_supported=no
33120 if test $_pkg_short_errors_supported = yes; then
33121 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33123 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33125 # Put the nasty error message in config.log where it belongs
33126 echo "$PANGOX_PKG_ERRORS" >&5
33129 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33130 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33131 { (exit 1); exit 1; }; }
33134 elif test $pkg_failed = untried; then
33136 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33137 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33138 { (exit 1); exit 1; }; }
33142 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33143 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33144 { echo "$as_me:$LINENO: result: yes" >&5
33145 echo "${ECHO_T}yes" >&6; }
33147 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33148 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33149 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33154 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33155 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33157 if test -n "$PKG_CONFIG"; then
33158 if test -n "$PANGOFT2_CFLAGS"; then
33159 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33161 if test -n "$PKG_CONFIG" && \
33162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33163 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; then
33167 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33175 if test -n "$PKG_CONFIG"; then
33176 if test -n "$PANGOFT2_LIBS"; then
33177 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33179 if test -n "$PKG_CONFIG" && \
33180 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33181 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); }; then
33185 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33196 if test $pkg_failed = yes; then
33198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33199 _pkg_short_errors_supported=yes
33201 _pkg_short_errors_supported=no
33203 if test $_pkg_short_errors_supported = yes; then
33204 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33206 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33208 # Put the nasty error message in config.log where it belongs
33209 echo "$PANGOFT2_PKG_ERRORS" >&5
33212 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33213 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33214 wxUSE_PRINTING_ARCHITECTURE="no"
33217 elif test $pkg_failed = untried; then
33219 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33220 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33221 wxUSE_PRINTING_ARCHITECTURE="no"
33225 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33226 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33227 { echo "$as_me:$LINENO: result: yes" >&5
33228 echo "${ECHO_T}yes" >&6; }
33230 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33231 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33232 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33237 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33238 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33240 if test -n "$PKG_CONFIG"; then
33241 if test -n "$PANGOXFT_CFLAGS"; then
33242 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33244 if test -n "$PKG_CONFIG" && \
33245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33246 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); }; then
33250 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33258 if test -n "$PKG_CONFIG"; then
33259 if test -n "$PANGOXFT_LIBS"; then
33260 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33262 if test -n "$PKG_CONFIG" && \
33263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33264 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; then
33268 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33279 if test $pkg_failed = yes; then
33281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33282 _pkg_short_errors_supported=yes
33284 _pkg_short_errors_supported=no
33286 if test $_pkg_short_errors_supported = yes; then
33287 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33289 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33291 # Put the nasty error message in config.log where it belongs
33292 echo "$PANGOXFT_PKG_ERRORS" >&5
33295 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33296 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33299 elif test $pkg_failed = untried; then
33301 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33302 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33306 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33307 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33308 { echo "$as_me:$LINENO: result: yes" >&5
33309 echo "${ECHO_T}yes" >&6; }
33311 cat >>confdefs.h <<\_ACEOF
33312 #define HAVE_PANGO_XFT 1
33315 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33316 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33317 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33321 LIBS="$LIBS $PANGOX_LIBS"
33323 for ac_func in pango_font_family_is_monospace
33325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 cat >conftest.$ac_ext <<_ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33339 #define $ac_func innocuous_$ac_func
33341 /* System header to define __stub macros and hopefully few prototypes,
33342 which can conflict with char $ac_func (); below.
33343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33344 <limits.h> exists even on freestanding compilers. */
33347 # include <limits.h>
33349 # include <assert.h>
33354 /* Override any GCC internal prototype to avoid an error.
33355 Use char because int might match the return type of a GCC
33356 builtin and then its argument prototype would still apply. */
33361 /* The GNU C library defines this for functions which it implements
33362 to always fail with ENOSYS. Some functions are actually named
33363 something starting with __ and the normal name is an alias. */
33364 #if defined __stub_$ac_func || defined __stub___$ac_func
33371 return $ac_func ();
33376 rm -f conftest.$ac_objext conftest$ac_exeext
33377 if { (ac_try="$ac_link"
33378 case "(($ac_try" in
33379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33380 *) ac_try_echo=$ac_try;;
33382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33383 (eval "$ac_link") 2>conftest.er1
33385 grep -v '^ *+' conftest.er1 >conftest.err
33387 cat conftest.err >&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); } && {
33390 test -z "$ac_c_werror_flag" ||
33391 test ! -s conftest.err
33392 } && test -s conftest$ac_exeext &&
33393 $as_test_x conftest$ac_exeext; then
33394 eval "$as_ac_var=yes"
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.$ac_ext >&5
33399 eval "$as_ac_var=no"
33402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33403 conftest$ac_exeext conftest.$ac_ext
33405 ac_res=`eval echo '${'$as_ac_var'}'`
33406 { echo "$as_me:$LINENO: result: $ac_res" >&5
33407 echo "${ECHO_T}$ac_res" >&6; }
33408 if test `eval echo '${'$as_ac_var'}'` = yes; then
33409 cat >>confdefs.h <<_ACEOF
33410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33419 wxUSE_UNIVERSAL="yes"
33421 if test "$wxUSE_NANOX" = "yes"; then
33422 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33423 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"
33424 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33433 if test "$wxUSE_MOTIF" = 1; then
33434 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33435 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33438 for ac_dir in $SEARCH_INCLUDE /usr/include
33440 if test -f "$ac_dir/Xm/Xm.h"; then
33441 ac_find_includes=$ac_dir
33446 if test "$ac_find_includes" != "" ; then
33447 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33448 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33450 if test "x$ac_find_includes" = "x/usr/include"; then
33451 ac_path_to_include=""
33453 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33455 if test $result = 0; then
33456 ac_path_to_include=""
33458 ac_path_to_include=" -I$ac_find_includes"
33462 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33464 save_CFLAGS=$CFLAGS
33465 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33467 cat >conftest.$ac_ext <<_ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33481 version = xmUseVersion;
33487 rm -f conftest.$ac_objext
33488 if { (ac_try="$ac_compile"
33489 case "(($ac_try" in
33490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33491 *) ac_try_echo=$ac_try;;
33493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33494 (eval "$ac_compile") 2>conftest.er1
33496 grep -v '^ *+' conftest.er1 >conftest.err
33498 cat conftest.err >&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } && {
33501 test -z "$ac_c_werror_flag" ||
33502 test ! -s conftest.err
33503 } && test -s conftest.$ac_objext; then
33505 { echo "$as_me:$LINENO: result: found in default search path" >&5
33506 echo "${ECHO_T}found in default search path" >&6; }
33507 COMPILED_X_PROGRAM=1
33510 echo "$as_me: failed program was:" >&5
33511 sed 's/^/| /' conftest.$ac_ext >&5
33514 { echo "$as_me:$LINENO: result: no" >&5
33515 echo "${ECHO_T}no" >&6; }
33516 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33517 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33518 { (exit 1); exit 1; }; }
33523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33525 CFLAGS=$save_CFLAGS
33529 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33530 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33533 for ac_dir in $SEARCH_LIB
33535 for ac_extension in a so sl dylib dll.a; do
33536 if test -f "$ac_dir/libXm.$ac_extension"; then
33537 ac_find_libraries=$ac_dir
33544 if test "x$ac_find_libraries" != "x" ; then
33545 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33546 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33549 if test "$ac_find_libraries" = "default location"; then
33552 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33554 if test $result = 0; then
33557 ac_path_to_link=" -L$ac_find_libraries"
33561 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33563 save_CFLAGS=$CFLAGS
33564 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33566 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33568 cat >conftest.$ac_ext <<_ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33582 version = xmUseVersion;
33588 rm -f conftest.$ac_objext conftest$ac_exeext
33589 if { (ac_try="$ac_link"
33590 case "(($ac_try" in
33591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33592 *) ac_try_echo=$ac_try;;
33594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33595 (eval "$ac_link") 2>conftest.er1
33597 grep -v '^ *+' conftest.er1 >conftest.err
33599 cat conftest.err >&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } && {
33602 test -z "$ac_c_werror_flag" ||
33603 test ! -s conftest.err
33604 } && test -s conftest$ac_exeext &&
33605 $as_test_x conftest$ac_exeext; then
33607 { echo "$as_me:$LINENO: result: found in default search path" >&5
33608 echo "${ECHO_T}found in default search path" >&6; }
33609 COMPILED_X_PROGRAM=1
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33616 { echo "$as_me:$LINENO: result: no" >&5
33617 echo "${ECHO_T}no" >&6; }
33618 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33619 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33620 { (exit 1); exit 1; }; }
33625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33626 conftest$ac_exeext conftest.$ac_ext
33628 CFLAGS=$save_CFLAGS
33632 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33633 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33637 for libp in "" " -lXp"; do
33638 if test "$libs_found" = 0; then
33639 for libsm_ice in "" " -lSM -lICE"; do
33640 if test "$libs_found" = 0; then
33642 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33643 save_CFLAGS=$CFLAGS
33644 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33646 cat >conftest.$ac_ext <<_ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33654 #include <Xm/List.h>
33660 XmString string = NULL;
33663 XmListAddItem(w, string, position);
33669 rm -f conftest.$ac_objext conftest$ac_exeext
33670 if { (ac_try="$ac_link"
33671 case "(($ac_try" in
33672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33673 *) ac_try_echo=$ac_try;;
33675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33676 (eval "$ac_link") 2>conftest.er1
33678 grep -v '^ *+' conftest.er1 >conftest.err
33680 cat conftest.err >&5
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); } && {
33683 test -z "$ac_c_werror_flag" ||
33684 test ! -s conftest.err
33685 } && test -s conftest$ac_exeext &&
33686 $as_test_x conftest$ac_exeext; then
33689 libsm_ice_link="$libsm_ice"
33690 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33691 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33695 echo "$as_me: failed program was:" >&5
33696 sed 's/^/| /' conftest.$ac_ext >&5
33702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33703 conftest$ac_exeext conftest.$ac_ext
33706 CFLAGS=$save_CFLAGS
33712 if test "$libs_found" = 0; then
33713 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33714 echo "${ECHO_T}can't find the right libraries" >&6; }
33715 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33716 echo "$as_me: error: can't link a simple motif program" >&2;}
33717 { (exit 1); exit 1; }; }
33720 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33721 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33722 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33723 echo $ECHO_N "(cached) $ECHO_C" >&6
33725 ac_check_lib_save_LIBS=$LIBS
33727 cat >conftest.$ac_ext <<_ACEOF
33730 cat confdefs.h >>conftest.$ac_ext
33731 cat >>conftest.$ac_ext <<_ACEOF
33732 /* end confdefs.h. */
33734 /* Override any GCC internal prototype to avoid an error.
33735 Use char because int might match the return type of a GCC
33736 builtin and then its argument prototype would still apply. */
33740 char SgCreateList ();
33744 return SgCreateList ();
33749 rm -f conftest.$ac_objext conftest$ac_exeext
33750 if { (ac_try="$ac_link"
33751 case "(($ac_try" in
33752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33753 *) ac_try_echo=$ac_try;;
33755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33756 (eval "$ac_link") 2>conftest.er1
33758 grep -v '^ *+' conftest.er1 >conftest.err
33760 cat conftest.err >&5
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); } && {
33763 test -z "$ac_c_werror_flag" ||
33764 test ! -s conftest.err
33765 } && test -s conftest$ac_exeext &&
33766 $as_test_x conftest$ac_exeext; then
33767 ac_cv_lib_Sgm_SgCreateList=yes
33769 echo "$as_me: failed program was:" >&5
33770 sed 's/^/| /' conftest.$ac_ext >&5
33772 ac_cv_lib_Sgm_SgCreateList=no
33775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33776 conftest$ac_exeext conftest.$ac_ext
33777 LIBS=$ac_check_lib_save_LIBS
33779 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33780 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33781 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33782 libsgm_link=" -lSgm"
33786 save_CFLAGS=$CFLAGS
33787 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33789 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33790 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33791 if test "${wx_cv_lib_motif2+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33794 cat >conftest.$ac_ext <<_ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33807 #if XmVersion < 2000
33815 rm -f conftest.$ac_objext
33816 if { (ac_try="$ac_compile"
33817 case "(($ac_try" in
33818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33819 *) ac_try_echo=$ac_try;;
33821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33822 (eval "$ac_compile") 2>conftest.er1
33824 grep -v '^ *+' conftest.er1 >conftest.err
33826 cat conftest.err >&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); } && {
33829 test -z "$ac_c_werror_flag" ||
33830 test ! -s conftest.err
33831 } && test -s conftest.$ac_objext; then
33832 wx_cv_lib_motif2="yes"
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33837 wx_cv_lib_motif2="no"
33840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33842 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33843 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33844 if test "$wx_cv_lib_motif2" = "yes"; then
33845 cat >>confdefs.h <<\_ACEOF
33846 #define __WXMOTIF20__ 1
33850 cat >>confdefs.h <<\_ACEOF
33851 #define __WXMOTIF20__ 0
33856 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33857 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33858 if test "${wx_cv_lib_lesstif+set}" = set; then
33859 echo $ECHO_N "(cached) $ECHO_C" >&6
33861 cat >conftest.$ac_ext <<_ACEOF
33864 cat confdefs.h >>conftest.$ac_ext
33865 cat >>conftest.$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33874 #if !defined(LesstifVersion) || LesstifVersion <= 0
33882 rm -f conftest.$ac_objext
33883 if { (ac_try="$ac_compile"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_compile") 2>conftest.er1
33891 grep -v '^ *+' conftest.er1 >conftest.err
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest.$ac_objext; then
33899 wx_cv_lib_lesstif="yes"
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33904 wx_cv_lib_lesstif="no"
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33910 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33911 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33912 if test "$wx_cv_lib_lesstif" = "yes"; then
33913 cat >>confdefs.h <<\_ACEOF
33914 #define __WXLESSTIF__ 1
33918 cat >>confdefs.h <<\_ACEOF
33919 #define __WXLESSTIF__ 0
33924 CFLAGS=$save_CFLAGS
33926 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33931 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33932 if test "$wxUSE_LIBXPM" = "sys"; then
33933 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33934 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33937 for ac_dir in $SEARCH_LIB
33939 for ac_extension in a so sl dylib dll.a; do
33940 if test -f "$ac_dir/libXpm.$ac_extension"; then
33941 ac_find_libraries=$ac_dir
33947 if test "$ac_find_libraries" != "" ; then
33949 if test "$ac_find_libraries" = "default location"; then
33952 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33954 if test $result = 0; then
33957 ac_path_to_link=" -L$ac_find_libraries"
33961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33962 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33963 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33965 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33966 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33967 if test "${wx_cv_x11_xpm_h+set}" = set; then
33968 echo $ECHO_N "(cached) $ECHO_C" >&6
33971 save_CFLAGS=$CFLAGS
33972 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33974 cat >conftest.$ac_ext <<_ACEOF
33977 cat confdefs.h >>conftest.$ac_ext
33978 cat >>conftest.$ac_ext <<_ACEOF
33979 /* end confdefs.h. */
33981 #include <X11/xpm.h>
33988 version = XpmLibraryVersion();
33994 rm -f conftest.$ac_objext
33995 if { (ac_try="$ac_compile"
33996 case "(($ac_try" in
33997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33998 *) ac_try_echo=$ac_try;;
34000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34001 (eval "$ac_compile") 2>conftest.er1
34003 grep -v '^ *+' conftest.er1 >conftest.err
34005 cat conftest.err >&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); } && {
34008 test -z "$ac_c_werror_flag" ||
34009 test ! -s conftest.err
34010 } && test -s conftest.$ac_objext; then
34011 wx_cv_x11_xpm_h=yes
34013 echo "$as_me: failed program was:" >&5
34014 sed 's/^/| /' conftest.$ac_ext >&5
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34022 CFLAGS=$save_CFLAGS
34026 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34027 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34029 if test $wx_cv_x11_xpm_h = "yes"; then
34030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34031 cat >>confdefs.h <<\_ACEOF
34032 #define wxHAVE_LIB_XPM 1
34036 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34037 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34043 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34044 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34045 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 ac_check_lib_save_LIBS=$LIBS
34049 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34050 cat >conftest.$ac_ext <<_ACEOF
34053 cat confdefs.h >>conftest.$ac_ext
34054 cat >>conftest.$ac_ext <<_ACEOF
34055 /* end confdefs.h. */
34057 /* Override any GCC internal prototype to avoid an error.
34058 Use char because int might match the return type of a GCC
34059 builtin and then its argument prototype would still apply. */
34063 char XShapeQueryExtension ();
34067 return XShapeQueryExtension ();
34072 rm -f conftest.$ac_objext conftest$ac_exeext
34073 if { (ac_try="$ac_link"
34074 case "(($ac_try" in
34075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34076 *) ac_try_echo=$ac_try;;
34078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34079 (eval "$ac_link") 2>conftest.er1
34081 grep -v '^ *+' conftest.er1 >conftest.err
34083 cat conftest.err >&5
34084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34085 (exit $ac_status); } && {
34086 test -z "$ac_c_werror_flag" ||
34087 test ! -s conftest.err
34088 } && test -s conftest$ac_exeext &&
34089 $as_test_x conftest$ac_exeext; then
34090 ac_cv_lib_Xext_XShapeQueryExtension=yes
34092 echo "$as_me: failed program was:" >&5
34093 sed 's/^/| /' conftest.$ac_ext >&5
34095 ac_cv_lib_Xext_XShapeQueryExtension=no
34098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34099 conftest$ac_exeext conftest.$ac_ext
34100 LIBS=$ac_check_lib_save_LIBS
34102 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34103 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34104 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34106 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34112 if test "$wxHAVE_XEXT_LIB" = 1; then
34113 save_CFLAGS="$CFLAGS"
34114 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34116 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34117 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34118 cat >conftest.$ac_ext <<_ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34125 #include <X11/Xlib.h>
34126 #include <X11/extensions/shape.h>
34132 int dummy1, dummy2;
34133 XShapeQueryExtension((Display*)NULL,
34134 (int*)NULL, (int*)NULL);
34140 rm -f conftest.$ac_objext
34141 if { (ac_try="$ac_compile"
34142 case "(($ac_try" in
34143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34144 *) ac_try_echo=$ac_try;;
34146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34147 (eval "$ac_compile") 2>conftest.er1
34149 grep -v '^ *+' conftest.er1 >conftest.err
34151 cat conftest.err >&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); } && {
34154 test -z "$ac_c_werror_flag" ||
34155 test ! -s conftest.err
34156 } && test -s conftest.$ac_objext; then
34158 cat >>confdefs.h <<\_ACEOF
34159 #define HAVE_XSHAPE 1
34162 { echo "$as_me:$LINENO: result: found" >&5
34163 echo "${ECHO_T}found" >&6; }
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.$ac_ext >&5
34170 { echo "$as_me:$LINENO: result: not found" >&5
34171 echo "${ECHO_T}not found" >&6; }
34175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34176 CFLAGS="$save_CFLAGS"
34181 if test "$wxUSE_OSX_CARBON" = 1; then
34182 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34183 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34184 if test "$GCC" = yes; then
34185 { echo "$as_me:$LINENO: result: gcc" >&5
34186 echo "${ECHO_T}gcc" >&6; }
34187 CPPFLAGS_PASCAL="-fpascal-strings"
34188 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34189 { echo "$as_me:$LINENO: result: xlc" >&5
34190 echo "${ECHO_T}xlc" >&6; }
34191 CPPFLAGS_PASCAL="-qmacpstr"
34193 { echo "$as_me:$LINENO: result: none" >&5
34194 echo "${ECHO_T}none" >&6; }
34197 if test "x$wxUSE_UNIX" = "xyes"; then
34198 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34200 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34204 GUIDIST=OSX_CARBON_DIST
34205 WXBASEPORT="_carbon"
34207 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34210 if test "$wxUSE_OSX_COCOA" = 1; then
34212 GUIDIST=OSX_COCOA_DIST
34214 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34217 if test "$wxUSE_OSX_IPHONE" = 1; then
34221 if test "$wxUSE_OLD_COCOA" = 1; then
34226 if test "$wxUSE_PM" = 1; then
34229 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34230 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34231 if test "${wx_cv_spbcdata+set}" = set; then
34232 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 cat >conftest.$ac_ext <<_ACEOF
34238 cat confdefs.h >>conftest.$ac_ext
34239 cat >>conftest.$ac_ext <<_ACEOF
34240 /* end confdefs.h. */
34255 rm -f conftest.$ac_objext
34256 if { (ac_try="$ac_compile"
34257 case "(($ac_try" in
34258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34259 *) ac_try_echo=$ac_try;;
34261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34262 (eval "$ac_compile") 2>conftest.er1
34264 grep -v '^ *+' conftest.er1 >conftest.err
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } && {
34269 test -z "$ac_c_werror_flag" ||
34270 test ! -s conftest.err
34271 } && test -s conftest.$ac_objext; then
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.$ac_ext >&5
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34285 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34286 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34288 if test $wx_cv_spbcdata = "yes"; then
34289 cat >>confdefs.h <<\_ACEOF
34290 #define HAVE_SPBCDATA 1
34296 if test "$TOOLKIT" = "PM" ; then
34299 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34302 if test "$wxUSE_UNIVERSAL" = "yes"; then
34303 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34307 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34308 DISTDIR="wx\$(TOOLKIT)"
34314 if test "$USE_WIN32" = 1 ; then
34318 GUIDIST="BASE_DIST"
34324 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34325 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34326 wxUSE_UNICODE_UTF8=yes
34327 elif test "$USE_OS2" = 1 ; then
34328 wxUSE_UNICODE_UTF8=yes
34330 wxUSE_UNICODE_UTF8=no
34335 if test "$wxUSE_GUI" = "yes"; then
34336 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34338 for ac_header in X11/Xlib.h
34340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34341 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34344 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 cat >conftest.$ac_ext <<_ACEOF
34349 cat confdefs.h >>conftest.$ac_ext
34350 cat >>conftest.$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34354 #include <$ac_header>
34356 rm -f conftest.$ac_objext
34357 if { (ac_try="$ac_compile"
34358 case "(($ac_try" in
34359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34360 *) ac_try_echo=$ac_try;;
34362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34363 (eval "$ac_compile") 2>conftest.er1
34365 grep -v '^ *+' conftest.er1 >conftest.err
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } && {
34370 test -z "$ac_c_werror_flag" ||
34371 test ! -s conftest.err
34372 } && test -s conftest.$ac_objext; then
34373 eval "$as_ac_Header=yes"
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34378 eval "$as_ac_Header=no"
34381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383 ac_res=`eval echo '${'$as_ac_Header'}'`
34384 { echo "$as_me:$LINENO: result: $ac_res" >&5
34385 echo "${ECHO_T}$ac_res" >&6; }
34386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34387 cat >>confdefs.h <<_ACEOF
34388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34396 for ac_header in X11/XKBlib.h
34398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34404 cat >conftest.$ac_ext <<_ACEOF
34407 cat confdefs.h >>conftest.$ac_ext
34408 cat >>conftest.$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34411 #if HAVE_X11_XLIB_H
34412 #include <X11/Xlib.h>
34416 #include <$ac_header>
34418 rm -f conftest.$ac_objext
34419 if { (ac_try="$ac_compile"
34420 case "(($ac_try" in
34421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34422 *) ac_try_echo=$ac_try;;
34424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34425 (eval "$ac_compile") 2>conftest.er1
34427 grep -v '^ *+' conftest.er1 >conftest.err
34429 cat conftest.err >&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); } && {
34432 test -z "$ac_c_werror_flag" ||
34433 test ! -s conftest.err
34434 } && test -s conftest.$ac_objext; then
34435 eval "$as_ac_Header=yes"
34437 echo "$as_me: failed program was:" >&5
34438 sed 's/^/| /' conftest.$ac_ext >&5
34440 eval "$as_ac_Header=no"
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34445 ac_res=`eval echo '${'$as_ac_Header'}'`
34446 { echo "$as_me:$LINENO: result: $ac_res" >&5
34447 echo "${ECHO_T}$ac_res" >&6; }
34448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34449 cat >>confdefs.h <<_ACEOF
34450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34463 if test "$wxUSE_DISPLAY" = "yes"; then
34464 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34465 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34466 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34469 for ac_dir in $SEARCH_LIB
34471 for ac_extension in a so sl dylib dll.a; do
34472 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34473 ac_find_libraries=$ac_dir
34479 if test "$ac_find_libraries" != "" ; then
34481 if test "$ac_find_libraries" = "default location"; then
34484 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34486 if test $result = 0; then
34489 ac_path_to_link=" -L$ac_find_libraries"
34493 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34494 LDFLAGS="$LDFLAGS $ac_path_to_link"
34497 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34498 { echo "$as_me:$LINENO: result: yes" >&5
34499 echo "${ECHO_T}yes" >&6; }
34501 { echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6; }
34503 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34504 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34507 elif test "$wxUSE_MSW" = 1; then
34508 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34509 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34510 if test "${ac_cv_header_ddraw_h+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 cat >conftest.$ac_ext <<_ACEOF
34516 cat confdefs.h >>conftest.$ac_ext
34517 cat >>conftest.$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34519 #include <windows.h>
34523 rm -f conftest.$ac_objext
34524 if { (ac_try="$ac_compile"
34525 case "(($ac_try" in
34526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_compile") 2>conftest.er1
34532 grep -v '^ *+' conftest.er1 >conftest.err
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_c_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest.$ac_objext; then
34540 ac_cv_header_ddraw_h=yes
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34545 ac_cv_header_ddraw_h=no
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34550 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34551 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34557 if test "$wxUSE_DISPLAY" = "yes"; then
34558 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34559 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34560 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34563 for ac_dir in $SEARCH_LIB
34565 for ac_extension in a so sl dylib dll.a; do
34566 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34567 ac_find_libraries=$ac_dir
34573 if test "$ac_find_libraries" != "" ; then
34574 { echo "$as_me:$LINENO: result: yes" >&5
34575 echo "${ECHO_T}yes" >&6; }
34577 for ac_header in X11/extensions/xf86vmode.h
34579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34585 cat >conftest.$ac_ext <<_ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34592 #if HAVE_X11_XLIB_H
34593 #include <X11/Xlib.h>
34597 #include <$ac_header>
34599 rm -f conftest.$ac_objext
34600 if { (ac_try="$ac_compile"
34601 case "(($ac_try" in
34602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34603 *) ac_try_echo=$ac_try;;
34605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34606 (eval "$ac_compile") 2>conftest.er1
34608 grep -v '^ *+' conftest.er1 >conftest.err
34610 cat conftest.err >&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } && {
34613 test -z "$ac_c_werror_flag" ||
34614 test ! -s conftest.err
34615 } && test -s conftest.$ac_objext; then
34616 eval "$as_ac_Header=yes"
34618 echo "$as_me: failed program was:" >&5
34619 sed 's/^/| /' conftest.$ac_ext >&5
34621 eval "$as_ac_Header=no"
34624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34626 ac_res=`eval echo '${'$as_ac_Header'}'`
34627 { echo "$as_me:$LINENO: result: $ac_res" >&5
34628 echo "${ECHO_T}$ac_res" >&6; }
34629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34630 cat >>confdefs.h <<_ACEOF
34631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34634 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34641 { echo "$as_me:$LINENO: result: no" >&5
34642 echo "${ECHO_T}no" >&6; }
34647 if test "$wxUSE_DETECT_SM" = "yes"; then
34648 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34649 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34650 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34653 for ac_dir in $SEARCH_LIB
34655 for ac_extension in a so sl dylib dll.a; do
34656 if test -f "$ac_dir/libSM.$ac_extension"; then
34657 ac_find_libraries=$ac_dir
34663 if test "$ac_find_libraries" != "" ; then
34665 if test "$ac_find_libraries" = "default location"; then
34668 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34670 if test $result = 0; then
34673 ac_path_to_link=" -L$ac_find_libraries"
34677 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34678 LDFLAGS="$LDFLAGS $ac_path_to_link"
34680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34681 { echo "$as_me:$LINENO: result: yes" >&5
34682 echo "${ECHO_T}yes" >&6; }
34684 { echo "$as_me:$LINENO: result: no" >&5
34685 echo "${ECHO_T}no" >&6; }
34686 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34687 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34688 wxUSE_DETECT_SM="no"
34691 wxUSE_DETECT_SM="no"
34698 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34701 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34702 OPENGL_LIBS="-framework OpenGL -framework AGL"
34703 elif test "$wxUSE_MSW" = 1; then
34704 OPENGL_LIBS="-lopengl32 -lglu32"
34705 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34707 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34708 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34711 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34713 if test -f "$ac_dir/GL/gl.h"; then
34714 ac_find_includes=$ac_dir
34719 if test "$ac_find_includes" != "" ; then
34720 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34721 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34723 if test "x$ac_find_includes" = "x/usr/include"; then
34724 ac_path_to_include=""
34726 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34728 if test $result = 0; then
34729 ac_path_to_include=""
34731 ac_path_to_include=" -I$ac_find_includes"
34735 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34737 { echo "$as_me:$LINENO: result: not found" >&5
34738 echo "${ECHO_T}not found" >&6; }
34741 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34742 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34743 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 cat >conftest.$ac_ext <<_ACEOF
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34756 rm -f conftest.$ac_objext
34757 if { (ac_try="$ac_compile"
34758 case "(($ac_try" in
34759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34760 *) ac_try_echo=$ac_try;;
34762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34763 (eval "$ac_compile") 2>conftest.er1
34765 grep -v '^ *+' conftest.er1 >conftest.err
34767 cat conftest.err >&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); } && {
34770 test -z "$ac_c_werror_flag" ||
34771 test ! -s conftest.err
34772 } && test -s conftest.$ac_objext; then
34773 ac_cv_header_GL_gl_h=yes
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34778 ac_cv_header_GL_gl_h=no
34781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34784 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34785 if test $ac_cv_header_GL_gl_h = yes; then
34787 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34788 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34789 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34790 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 cat >conftest.$ac_ext <<_ACEOF
34795 cat confdefs.h >>conftest.$ac_ext
34796 cat >>conftest.$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34800 #include <GL/glu.h>
34802 rm -f conftest.$ac_objext
34803 if { (ac_try="$ac_compile"
34804 case "(($ac_try" in
34805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34806 *) ac_try_echo=$ac_try;;
34808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34809 (eval "$ac_compile") 2>conftest.er1
34811 grep -v '^ *+' conftest.er1 >conftest.err
34813 cat conftest.err >&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } && {
34816 test -z "$ac_c_werror_flag" ||
34817 test ! -s conftest.err
34818 } && test -s conftest.$ac_objext; then
34819 ac_cv_header_GL_glu_h=yes
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34824 ac_cv_header_GL_glu_h=no
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34829 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34830 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34831 if test $ac_cv_header_GL_glu_h = yes; then
34835 { echo "$as_me:$LINENO: checking for -lGL" >&5
34836 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34839 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34841 for ac_extension in a so sl dylib dll.a; do
34842 if test -f "$ac_dir/libGL.$ac_extension"; then
34843 ac_find_libraries=$ac_dir
34849 if test "$ac_find_libraries" != "" ; then
34850 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34851 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34854 if test "$ac_find_libraries" = "default location"; then
34857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34859 if test $result = 0; then
34862 ac_path_to_link=" -L$ac_find_libraries"
34866 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34867 LDFLAGS_GL="$ac_path_to_link"
34870 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34871 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34874 for ac_dir in $SEARCH_LIB
34876 for ac_extension in a so sl dylib dll.a; do
34877 if test -f "$ac_dir/libGLU.$ac_extension"; then
34878 ac_find_libraries=$ac_dir
34884 if test "$ac_find_libraries" != "" ; then
34886 if test "$ac_find_libraries" = "default location"; then
34889 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34891 if test $result = 0; then
34894 ac_path_to_link=" -L$ac_find_libraries"
34898 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34899 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34900 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34904 OPENGL_LIBS="-lGL -lGLU"
34905 { echo "$as_me:$LINENO: result: yes" >&5
34906 echo "${ECHO_T}yes" >&6; }
34908 { echo "$as_me:$LINENO: result: no" >&5
34909 echo "${ECHO_T}no" >&6; }
34912 { echo "$as_me:$LINENO: result: no" >&5
34913 echo "${ECHO_T}no" >&6; }
34916 if test "$found_gl" != 1; then
34917 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34918 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34921 for ac_dir in $SEARCH_LIB
34923 for ac_extension in a so sl dylib dll.a; do
34924 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34925 ac_find_libraries=$ac_dir
34931 if test "$ac_find_libraries" != "" ; then
34933 if test "$ac_find_libraries" = "default location"; then
34936 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34938 if test $result = 0; then
34941 ac_path_to_link=" -L$ac_find_libraries"
34945 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34946 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34947 { echo "$as_me:$LINENO: result: yes" >&5
34948 echo "${ECHO_T}yes" >&6; }
34950 { echo "$as_me:$LINENO: result: no" >&5
34951 echo "${ECHO_T}no" >&6; }
34963 if test "x$OPENGL_LIBS" = "x"; then
34964 if test "$wxUSE_OPENGL" = "yes"; then
34965 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34966 echo "$as_me: error: OpenGL libraries not available" >&2;}
34967 { (exit 1); exit 1; }; }
34969 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34970 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34976 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34977 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34981 if test "$wxUSE_OPENGL" = "auto"; then
34985 if test "$wxUSE_OPENGL" = "yes"; then
34987 cat >>confdefs.h <<\_ACEOF
34988 #define wxUSE_OPENGL 1
34991 cat >>confdefs.h <<\_ACEOF
34992 #define wxUSE_GLCANVAS 1
34995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35000 if test -n "$TOOLKIT" ; then
35001 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35006 if test "$wxUSE_SHARED" = "yes"; then
35010 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35011 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35016 if test "$wxUSE_SHARED" = "yes"; then
35020 *-*-cygwin* | *-*-mingw* )
35021 wx_cv_version_script=no
35025 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35026 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35027 if test "${wx_cv_version_script+set}" = set; then
35028 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 echo "VER_1 { *; };" >conftest.sym
35032 echo "int main() { return 0; }" >conftest.cpp
35035 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35036 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35038 (eval $ac_try) 2>&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); }; } ; then
35042 if test -s conftest.stderr ; then
35043 wx_cv_version_script=no
35045 wx_cv_version_script=yes
35048 wx_cv_version_script=no
35051 if test $wx_cv_version_script = yes
35053 echo "struct B { virtual ~B() { } }; \
35054 struct D : public B { }; \
35055 void F() { D d; }" > conftest.cpp
35058 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35059 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; } &&
35066 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35067 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; }
35075 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35076 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; }
35083 wx_cv_version_script=yes
35085 wx_cv_version_script=no
35090 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35091 rm -f conftest1.output conftest2.output conftest3.output
35094 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35095 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35097 if test $wx_cv_version_script = yes ; then
35098 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35104 if test "$wxUSE_VISIBILITY" != "no"; then
35107 if test -n "$GCC"; then
35108 CFLAGS_VISIBILITY="-fvisibility=hidden"
35109 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35110 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35111 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35112 if test "${wx_cv_cc_visibility+set}" = set; then
35113 echo $ECHO_N "(cached) $ECHO_C" >&6
35116 wx_save_CXXFLAGS="$CXXFLAGS"
35117 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35119 ac_cpp='$CXXCPP $CPPFLAGS'
35120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35124 cat >conftest.$ac_ext <<_ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35131 /* we need gcc >= 4.0, older versions with visibility support
35132 didn't have class visibility: */
35133 #if defined(__GNUC__) && __GNUC__ < 4
35134 error this gcc is too old;
35137 /* visibility only makes sense for ELF shared libs: */
35138 #if !defined(__ELF__) && !defined(__APPLE__)
35139 error this platform has no visibility;
35142 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35143 #if defined(__clang__)
35144 clang compiler is still broken w.r.t. visibility;
35147 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35148 extern __attribute__((__visibility__("default"))) int exportedvar;
35149 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35150 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35151 class __attribute__((__visibility__("default"))) Foo {
35163 rm -f conftest.$ac_objext
35164 if { (ac_try="$ac_compile"
35165 case "(($ac_try" in
35166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35167 *) ac_try_echo=$ac_try;;
35169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35170 (eval "$ac_compile") 2>conftest.er1
35172 grep -v '^ *+' conftest.er1 >conftest.err
35174 cat conftest.err >&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); } && {
35177 test -z "$ac_cxx_werror_flag" ||
35178 test ! -s conftest.err
35179 } && test -s conftest.$ac_objext; then
35180 wx_cv_cc_visibility=yes
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.$ac_ext >&5
35185 wx_cv_cc_visibility=no
35188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35190 ac_cpp='$CPP $CPPFLAGS'
35191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35195 CXXFLAGS="$wx_save_CXXFLAGS"
35198 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35199 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35200 if test $wx_cv_cc_visibility = yes; then
35201 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35202 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35203 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35207 wx_save_CXXFLAGS="$CXXFLAGS"
35208 wx_save_LDFLAGS="$LDFLAGS"
35209 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35210 LDFLAGS="$LDFLAGS -shared -fPIC"
35212 ac_cpp='$CXXCPP $CPPFLAGS'
35213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35217 cat >conftest.$ac_ext <<_ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h. */
35230 std::string s("hello");
35237 rm -f conftest.$ac_objext conftest$ac_exeext
35238 if { (ac_try="$ac_link"
35239 case "(($ac_try" in
35240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35241 *) ac_try_echo=$ac_try;;
35243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35244 (eval "$ac_link") 2>conftest.er1
35246 grep -v '^ *+' conftest.er1 >conftest.err
35248 cat conftest.err >&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } && {
35251 test -z "$ac_cxx_werror_flag" ||
35252 test ! -s conftest.err
35253 } && test -s conftest$ac_exeext &&
35254 $as_test_x conftest$ac_exeext; then
35255 wx_cv_cc_broken_libstdcxx_visibility=no
35257 echo "$as_me: failed program was:" >&5
35258 sed 's/^/| /' conftest.$ac_ext >&5
35260 wx_cv_cc_broken_libstdcxx_visibility=yes
35263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35264 conftest$ac_exeext conftest.$ac_ext
35266 ac_cpp='$CPP $CPPFLAGS'
35267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 CXXFLAGS="$wx_save_CXXFLAGS"
35272 LDFLAGS="$wx_save_LDFLAGS"
35275 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35276 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35278 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35279 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35280 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35281 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 ac_cpp='$CXXCPP $CPPFLAGS'
35287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35291 cat >conftest.$ac_ext <<_ACEOF
35294 cat confdefs.h >>conftest.$ac_ext
35295 cat >>conftest.$ac_ext <<_ACEOF
35296 /* end confdefs.h. */
35298 #pragma GCC visibility push(default)
35300 #pragma GCC visibility pop
35306 std::string s("hello");
35313 rm -f conftest.$ac_objext conftest$ac_exeext
35314 if { (ac_try="$ac_link"
35315 case "(($ac_try" in
35316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35317 *) ac_try_echo=$ac_try;;
35319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35320 (eval "$ac_link") 2>conftest.er1
35322 grep -v '^ *+' conftest.er1 >conftest.err
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_cxx_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest$ac_exeext &&
35330 $as_test_x conftest$ac_exeext; then
35331 wx_cv_cc_visibility_workaround=no
35333 echo "$as_me: failed program was:" >&5
35334 sed 's/^/| /' conftest.$ac_ext >&5
35336 wx_cv_cc_visibility_workaround=yes
35339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35340 conftest$ac_exeext conftest.$ac_ext
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35350 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35351 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35353 if test $wx_cv_cc_visibility_workaround = no; then
35354 wx_cv_cc_visibility=no
35359 if test $wx_cv_cc_visibility = yes; then
35360 cat >>confdefs.h <<\_ACEOF
35361 #define HAVE_VISIBILITY 1
35364 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35365 cat >>confdefs.h <<\_ACEOF
35366 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35371 CFLAGS_VISIBILITY=""
35372 CXXFLAGS_VISIBILITY=""
35380 if test "x$SUNCXX" = xyes; then
35381 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35382 WXCONFIG_RPATH="-R\$libdir"
35385 *-*-linux* | *-*-gnu* )
35386 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35387 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35392 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35394 saveLdflags="$LDFLAGS"
35395 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35396 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35397 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35398 cat >conftest.$ac_ext <<_ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35413 rm -f conftest.$ac_objext conftest$ac_exeext
35414 if { (ac_try="$ac_link"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35417 *) ac_try_echo=$ac_try;;
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_link") 2>conftest.er1
35422 grep -v '^ *+' conftest.er1 >conftest.err
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest$ac_exeext &&
35430 $as_test_x conftest$ac_exeext; then
35432 { echo "$as_me:$LINENO: result: yes" >&5
35433 echo "${ECHO_T}yes" >&6; }
35434 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35435 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35442 { echo "$as_me:$LINENO: result: no" >&5
35443 echo "${ECHO_T}no" >&6; }
35444 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35445 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35446 LDFLAGS="$saveLdflags -Wl,-R,/"
35447 cat >conftest.$ac_ext <<_ACEOF
35450 cat confdefs.h >>conftest.$ac_ext
35451 cat >>conftest.$ac_ext <<_ACEOF
35452 /* end confdefs.h. */
35462 rm -f conftest.$ac_objext conftest$ac_exeext
35463 if { (ac_try="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35466 *) ac_try_echo=$ac_try;;
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35471 grep -v '^ *+' conftest.er1 >conftest.err
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_c_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest$ac_exeext &&
35479 $as_test_x conftest$ac_exeext; then
35481 { echo "$as_me:$LINENO: result: yes" >&5
35482 echo "${ECHO_T}yes" >&6; }
35483 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35484 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35487 echo "$as_me: failed program was:" >&5
35488 sed 's/^/| /' conftest.$ac_ext >&5
35491 { echo "$as_me:$LINENO: result: no" >&5
35492 echo "${ECHO_T}no" >&6; }
35496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35497 conftest$ac_exeext conftest.$ac_ext
35501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35502 conftest$ac_exeext conftest.$ac_ext
35503 LDFLAGS="$saveLdflags"
35507 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35508 if test "$install_name_tool" -a -x "$install_name_tool"; then
35509 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35510 cat <<EOF >change-install-names
35512 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35513 for i in \${libnames} ; do
35514 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35515 for dep in \${libnames} ; do
35516 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35520 chmod +x change-install-names
35521 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35524 HEADER_PAD_OPTION="-headerpad_max_install_names"
35527 *-*-cygwin* | *-*-mingw32* )
35531 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35532 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35538 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35540 if test $wxUSE_RPATH = "no"; then
35541 SAMPLES_RPATH_FLAG=''
35542 DYLIB_PATH_POSTLINK=''
35550 config_linkage_component="-static"
35557 lib_unicode_suffix=
35559 if test "$wxUSE_UNICODE" = "yes"; then
35560 lib_unicode_suffix=u
35561 WX_CHARTYPE="unicode"
35565 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35566 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35569 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35573 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35575 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35577 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35580 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35581 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35583 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35585 if test "${TOOLKIT_DIR}" = "os2"; then
35586 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35588 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35593 if test "$wxUSE_OLD_COCOA" = 1; then
35596 ac_cpp='$CPP $CPPFLAGS'
35597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35603 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35604 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35605 cat >conftest.$ac_ext <<_ACEOF
35608 cat confdefs.h >>conftest.$ac_ext
35609 cat >>conftest.$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35611 #include <AppKit/NSEvent.h>
35612 #include <CoreFoundation/CoreFoundation.h>
35622 rm -f conftest.$ac_objext
35623 if { (ac_try="$ac_compile"
35624 case "(($ac_try" in
35625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35626 *) ac_try_echo=$ac_try;;
35628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35629 (eval "$ac_compile") 2>conftest.er1
35631 grep -v '^ *+' conftest.er1 >conftest.err
35633 cat conftest.err >&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); } && {
35636 test -z "$ac_c_werror_flag" ||
35637 test ! -s conftest.err
35638 } && test -s conftest.$ac_objext; then
35639 { echo "$as_me:$LINENO: result: no" >&5
35640 echo "${ECHO_T}no" >&6; }
35642 echo "$as_me: failed program was:" >&5
35643 sed 's/^/| /' conftest.$ac_ext >&5
35645 { echo "$as_me:$LINENO: result: yes" >&5
35646 echo "${ECHO_T}yes" >&6; }
35647 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35648 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35649 cat >conftest.$ac_ext <<_ACEOF
35652 cat confdefs.h >>conftest.$ac_ext
35653 cat >>conftest.$ac_ext <<_ACEOF
35654 /* end confdefs.h. */
35655 #define __Point__ 1
35656 #include <AppKit/NSEvent.h>
35657 #include <CoreFoundation/CoreFoundation.h>
35667 rm -f conftest.$ac_objext
35668 if { (ac_try="$ac_compile"
35669 case "(($ac_try" in
35670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35671 *) ac_try_echo=$ac_try;;
35673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35674 (eval "$ac_compile") 2>conftest.er1
35676 grep -v '^ *+' conftest.er1 >conftest.err
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } && {
35681 test -z "$ac_c_werror_flag" ||
35682 test ! -s conftest.err
35683 } && test -s conftest.$ac_objext; then
35684 { echo "$as_me:$LINENO: result: yes" >&5
35685 echo "${ECHO_T}yes" >&6; }
35686 cat >>confdefs.h <<\_ACEOF
35687 #define __Point__ 1
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35695 { { echo "$as_me:$LINENO: error: no
35696 See \`config.log' for more details." >&5
35697 echo "$as_me: error: no
35698 See \`config.log' for more details." >&2;}
35699 { (exit 1); exit 1; }; }
35703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35717 { echo "$as_me:$LINENO: checking for mode_t" >&5
35718 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35719 if test "${ac_cv_type_mode_t+set}" = set; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 cat >conftest.$ac_ext <<_ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 $ac_includes_default
35729 typedef mode_t ac__type_new_;
35733 if ((ac__type_new_ *) 0)
35735 if (sizeof (ac__type_new_))
35741 rm -f conftest.$ac_objext
35742 if { (ac_try="$ac_compile"
35743 case "(($ac_try" in
35744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35745 *) ac_try_echo=$ac_try;;
35747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35748 (eval "$ac_compile") 2>conftest.er1
35750 grep -v '^ *+' conftest.er1 >conftest.err
35752 cat conftest.err >&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } && {
35755 test -z "$ac_c_werror_flag" ||
35756 test ! -s conftest.err
35757 } && test -s conftest.$ac_objext; then
35758 ac_cv_type_mode_t=yes
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.$ac_ext >&5
35763 ac_cv_type_mode_t=no
35766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35769 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35770 if test $ac_cv_type_mode_t = yes; then
35774 cat >>confdefs.h <<_ACEOF
35780 { echo "$as_me:$LINENO: checking for off_t" >&5
35781 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35782 if test "${ac_cv_type_off_t+set}" = set; then
35783 echo $ECHO_N "(cached) $ECHO_C" >&6
35785 cat >conftest.$ac_ext <<_ACEOF
35788 cat confdefs.h >>conftest.$ac_ext
35789 cat >>conftest.$ac_ext <<_ACEOF
35790 /* end confdefs.h. */
35791 $ac_includes_default
35792 typedef off_t ac__type_new_;
35796 if ((ac__type_new_ *) 0)
35798 if (sizeof (ac__type_new_))
35804 rm -f conftest.$ac_objext
35805 if { (ac_try="$ac_compile"
35806 case "(($ac_try" in
35807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35808 *) ac_try_echo=$ac_try;;
35810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35811 (eval "$ac_compile") 2>conftest.er1
35813 grep -v '^ *+' conftest.er1 >conftest.err
35815 cat conftest.err >&5
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); } && {
35818 test -z "$ac_c_werror_flag" ||
35819 test ! -s conftest.err
35820 } && test -s conftest.$ac_objext; then
35821 ac_cv_type_off_t=yes
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.$ac_ext >&5
35826 ac_cv_type_off_t=no
35829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35832 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35833 if test $ac_cv_type_off_t = yes; then
35837 cat >>confdefs.h <<_ACEOF
35838 #define off_t long int
35843 { echo "$as_me:$LINENO: checking for pid_t" >&5
35844 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35845 if test "${ac_cv_type_pid_t+set}" = set; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 cat >conftest.$ac_ext <<_ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 $ac_includes_default
35855 typedef pid_t ac__type_new_;
35859 if ((ac__type_new_ *) 0)
35861 if (sizeof (ac__type_new_))
35867 rm -f conftest.$ac_objext
35868 if { (ac_try="$ac_compile"
35869 case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_compile") 2>conftest.er1
35876 grep -v '^ *+' conftest.er1 >conftest.err
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_c_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest.$ac_objext; then
35884 ac_cv_type_pid_t=yes
35886 echo "$as_me: failed program was:" >&5
35887 sed 's/^/| /' conftest.$ac_ext >&5
35889 ac_cv_type_pid_t=no
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35895 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35896 if test $ac_cv_type_pid_t = yes; then
35900 cat >>confdefs.h <<_ACEOF
35906 { echo "$as_me:$LINENO: checking for size_t" >&5
35907 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35908 if test "${ac_cv_type_size_t+set}" = set; then
35909 echo $ECHO_N "(cached) $ECHO_C" >&6
35911 cat >conftest.$ac_ext <<_ACEOF
35914 cat confdefs.h >>conftest.$ac_ext
35915 cat >>conftest.$ac_ext <<_ACEOF
35916 /* end confdefs.h. */
35917 $ac_includes_default
35918 typedef size_t ac__type_new_;
35922 if ((ac__type_new_ *) 0)
35924 if (sizeof (ac__type_new_))
35930 rm -f conftest.$ac_objext
35931 if { (ac_try="$ac_compile"
35932 case "(($ac_try" in
35933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35934 *) ac_try_echo=$ac_try;;
35936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35937 (eval "$ac_compile") 2>conftest.er1
35939 grep -v '^ *+' conftest.er1 >conftest.err
35941 cat conftest.err >&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } && {
35944 test -z "$ac_c_werror_flag" ||
35945 test ! -s conftest.err
35946 } && test -s conftest.$ac_objext; then
35947 ac_cv_type_size_t=yes
35949 echo "$as_me: failed program was:" >&5
35950 sed 's/^/| /' conftest.$ac_ext >&5
35952 ac_cv_type_size_t=no
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35957 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35958 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35959 if test $ac_cv_type_size_t = yes; then
35963 cat >>confdefs.h <<_ACEOF
35964 #define size_t unsigned int
35970 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35971 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35972 if test "${ac_cv_type_ssize_t+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35975 cat >conftest.$ac_ext <<_ACEOF
35978 cat confdefs.h >>conftest.$ac_ext
35979 cat >>conftest.$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35981 $ac_includes_default
35982 typedef ssize_t ac__type_new_;
35986 if ((ac__type_new_ *) 0)
35988 if (sizeof (ac__type_new_))
35994 rm -f conftest.$ac_objext
35995 if { (ac_try="$ac_compile"
35996 case "(($ac_try" in
35997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35998 *) ac_try_echo=$ac_try;;
36000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36001 (eval "$ac_compile") 2>conftest.er1
36003 grep -v '^ *+' conftest.er1 >conftest.err
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } && {
36008 test -z "$ac_c_werror_flag" ||
36009 test ! -s conftest.err
36010 } && test -s conftest.$ac_objext; then
36011 ac_cv_type_ssize_t=yes
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36016 ac_cv_type_ssize_t=no
36019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36022 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36023 if test $ac_cv_type_ssize_t = yes; then
36025 cat >>confdefs.h <<_ACEOF
36026 #define HAVE_SSIZE_T 1
36034 ac_cpp='$CXXCPP $CPPFLAGS'
36035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36038 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36039 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36040 if test "${wx_cv_size_t_is_uint+set}" = set; then
36041 echo $ECHO_N "(cached) $ECHO_C" >&6
36044 cat >conftest.$ac_ext <<_ACEOF
36047 cat confdefs.h >>conftest.$ac_ext
36048 cat >>conftest.$ac_ext <<_ACEOF
36049 /* end confdefs.h. */
36050 #include <stddef.h>
36057 struct Foo { void foo(size_t); void foo(unsigned int); };
36065 rm -f conftest.$ac_objext
36066 if { (ac_try="$ac_compile"
36067 case "(($ac_try" in
36068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36069 *) ac_try_echo=$ac_try;;
36071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36072 (eval "$ac_compile") 2>conftest.er1
36074 grep -v '^ *+' conftest.er1 >conftest.err
36076 cat conftest.err >&5
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); } && {
36079 test -z "$ac_cxx_werror_flag" ||
36080 test ! -s conftest.err
36081 } && test -s conftest.$ac_objext; then
36082 wx_cv_size_t_is_uint=no
36084 echo "$as_me: failed program was:" >&5
36085 sed 's/^/| /' conftest.$ac_ext >&5
36087 wx_cv_size_t_is_uint=yes
36091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36095 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36096 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36098 if test "$wx_cv_size_t_is_uint" = "yes"; then
36099 cat >>confdefs.h <<\_ACEOF
36100 #define wxSIZE_T_IS_UINT 1
36104 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36105 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36106 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36107 echo $ECHO_N "(cached) $ECHO_C" >&6
36109 cat >conftest.$ac_ext <<_ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <stddef.h>
36122 struct Foo { void foo(size_t); void foo(unsigned long); };
36130 rm -f conftest.$ac_objext
36131 if { (ac_try="$ac_compile"
36132 case "(($ac_try" in
36133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36134 *) ac_try_echo=$ac_try;;
36136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36137 (eval "$ac_compile") 2>conftest.er1
36139 grep -v '^ *+' conftest.er1 >conftest.err
36141 cat conftest.err >&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); } && {
36144 test -z "$ac_cxx_werror_flag" ||
36145 test ! -s conftest.err
36146 } && test -s conftest.$ac_objext; then
36147 wx_cv_size_t_is_ulong=no
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36152 wx_cv_size_t_is_ulong=yes
36156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36159 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36160 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36162 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36163 cat >>confdefs.h <<\_ACEOF
36164 #define wxSIZE_T_IS_ULONG 1
36170 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36171 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36172 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36175 cat >conftest.$ac_ext <<_ACEOF
36178 cat confdefs.h >>conftest.$ac_ext
36179 cat >>conftest.$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36188 struct Foo { void foo(wchar_t);
36189 void foo(unsigned short);
36190 void foo(unsigned int);
36191 void foo(unsigned long); };
36199 rm -f conftest.$ac_objext
36200 if { (ac_try="$ac_compile"
36201 case "(($ac_try" in
36202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36203 *) ac_try_echo=$ac_try;;
36205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36206 (eval "$ac_compile") 2>conftest.er1
36208 grep -v '^ *+' conftest.er1 >conftest.err
36210 cat conftest.err >&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); } && {
36213 test -z "$ac_cxx_werror_flag" ||
36214 test ! -s conftest.err
36215 } && test -s conftest.$ac_objext; then
36216 wx_cv_wchar_t_is_separate_type=yes
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36221 wx_cv_wchar_t_is_separate_type=no
36225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36228 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36229 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36231 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36232 cat >>confdefs.h <<\_ACEOF
36233 #define wxWCHAR_T_IS_REAL_TYPE 1
36237 cat >>confdefs.h <<\_ACEOF
36238 #define wxWCHAR_T_IS_REAL_TYPE 0
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36251 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36252 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36253 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 cat >conftest.$ac_ext <<_ACEOF
36259 cat confdefs.h >>conftest.$ac_ext
36260 cat >>conftest.$ac_ext <<_ACEOF
36261 /* end confdefs.h. */
36275 rm -f conftest.$ac_objext
36276 if { (ac_try="$ac_compile"
36277 case "(($ac_try" in
36278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36279 *) ac_try_echo=$ac_try;;
36281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36282 (eval "$ac_compile") 2>conftest.er1
36284 grep -v '^ *+' conftest.er1 >conftest.err
36286 cat conftest.err >&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } && {
36289 test -z "$ac_c_werror_flag" ||
36290 test ! -s conftest.err
36291 } && test -s conftest.$ac_objext; then
36293 wx_cv_struct_pw_gecos=yes
36296 echo "$as_me: failed program was:" >&5
36297 sed 's/^/| /' conftest.$ac_ext >&5
36300 wx_cv_struct_pw_gecos=no
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36309 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36310 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36312 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36313 cat >>confdefs.h <<\_ACEOF
36314 #define HAVE_PW_GECOS 1
36323 for ac_func in wcslen
36325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 cat >conftest.$ac_ext <<_ACEOF
36334 cat confdefs.h >>conftest.$ac_ext
36335 cat >>conftest.$ac_ext <<_ACEOF
36336 /* end confdefs.h. */
36337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36339 #define $ac_func innocuous_$ac_func
36341 /* System header to define __stub macros and hopefully few prototypes,
36342 which can conflict with char $ac_func (); below.
36343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36344 <limits.h> exists even on freestanding compilers. */
36347 # include <limits.h>
36349 # include <assert.h>
36354 /* Override any GCC internal prototype to avoid an error.
36355 Use char because int might match the return type of a GCC
36356 builtin and then its argument prototype would still apply. */
36361 /* The GNU C library defines this for functions which it implements
36362 to always fail with ENOSYS. Some functions are actually named
36363 something starting with __ and the normal name is an alias. */
36364 #if defined __stub_$ac_func || defined __stub___$ac_func
36371 return $ac_func ();
36376 rm -f conftest.$ac_objext conftest$ac_exeext
36377 if { (ac_try="$ac_link"
36378 case "(($ac_try" in
36379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36380 *) ac_try_echo=$ac_try;;
36382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36383 (eval "$ac_link") 2>conftest.er1
36385 grep -v '^ *+' conftest.er1 >conftest.err
36387 cat conftest.err >&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } && {
36390 test -z "$ac_c_werror_flag" ||
36391 test ! -s conftest.err
36392 } && test -s conftest$ac_exeext &&
36393 $as_test_x conftest$ac_exeext; then
36394 eval "$as_ac_var=yes"
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.$ac_ext >&5
36399 eval "$as_ac_var=no"
36402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36403 conftest$ac_exeext conftest.$ac_ext
36405 ac_res=`eval echo '${'$as_ac_var'}'`
36406 { echo "$as_me:$LINENO: result: $ac_res" >&5
36407 echo "${ECHO_T}$ac_res" >&6; }
36408 if test `eval echo '${'$as_ac_var'}'` = yes; then
36409 cat >>confdefs.h <<_ACEOF
36410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36417 if test "$WCSLEN_FOUND" = 0; then
36418 if test "$TOOLKIT" = "MSW"; then
36419 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36420 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36421 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36422 echo $ECHO_N "(cached) $ECHO_C" >&6
36424 ac_check_lib_save_LIBS=$LIBS
36425 LIBS="-lmsvcrt $LIBS"
36426 cat >conftest.$ac_ext <<_ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36433 /* Override any GCC internal prototype to avoid an error.
36434 Use char because int might match the return type of a GCC
36435 builtin and then its argument prototype would still apply. */
36448 rm -f conftest.$ac_objext conftest$ac_exeext
36449 if { (ac_try="$ac_link"
36450 case "(($ac_try" in
36451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36452 *) ac_try_echo=$ac_try;;
36454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36455 (eval "$ac_link") 2>conftest.er1
36457 grep -v '^ *+' conftest.er1 >conftest.err
36459 cat conftest.err >&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); } && {
36462 test -z "$ac_c_werror_flag" ||
36463 test ! -s conftest.err
36464 } && test -s conftest$ac_exeext &&
36465 $as_test_x conftest$ac_exeext; then
36466 ac_cv_lib_msvcrt_wcslen=yes
36468 echo "$as_me: failed program was:" >&5
36469 sed 's/^/| /' conftest.$ac_ext >&5
36471 ac_cv_lib_msvcrt_wcslen=no
36474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36475 conftest$ac_exeext conftest.$ac_ext
36476 LIBS=$ac_check_lib_save_LIBS
36478 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36479 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36480 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36485 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36486 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36487 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36490 ac_check_lib_save_LIBS=$LIBS
36492 cat >conftest.$ac_ext <<_ACEOF
36495 cat confdefs.h >>conftest.$ac_ext
36496 cat >>conftest.$ac_ext <<_ACEOF
36497 /* end confdefs.h. */
36499 /* Override any GCC internal prototype to avoid an error.
36500 Use char because int might match the return type of a GCC
36501 builtin and then its argument prototype would still apply. */
36514 rm -f conftest.$ac_objext conftest$ac_exeext
36515 if { (ac_try="$ac_link"
36516 case "(($ac_try" in
36517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36518 *) ac_try_echo=$ac_try;;
36520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36521 (eval "$ac_link") 2>conftest.er1
36523 grep -v '^ *+' conftest.er1 >conftest.err
36525 cat conftest.err >&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); } && {
36528 test -z "$ac_c_werror_flag" ||
36529 test ! -s conftest.err
36530 } && test -s conftest$ac_exeext &&
36531 $as_test_x conftest$ac_exeext; then
36532 ac_cv_lib_w_wcslen=yes
36534 echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36537 ac_cv_lib_w_wcslen=no
36540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36541 conftest$ac_exeext conftest.$ac_ext
36542 LIBS=$ac_check_lib_save_LIBS
36544 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36545 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36546 if test $ac_cv_lib_w_wcslen = yes; then
36556 if test "$WCSLEN_FOUND" = 1; then
36557 cat >>confdefs.h <<\_ACEOF
36558 #define HAVE_WCSLEN 1
36569 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 cat >conftest.$ac_ext <<_ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36585 #define $ac_func innocuous_$ac_func
36587 /* System header to define __stub macros and hopefully few prototypes,
36588 which can conflict with char $ac_func (); below.
36589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36590 <limits.h> exists even on freestanding compilers. */
36593 # include <limits.h>
36595 # include <assert.h>
36600 /* Override any GCC internal prototype to avoid an error.
36601 Use char because int might match the return type of a GCC
36602 builtin and then its argument prototype would still apply. */
36607 /* The GNU C library defines this for functions which it implements
36608 to always fail with ENOSYS. Some functions are actually named
36609 something starting with __ and the normal name is an alias. */
36610 #if defined __stub_$ac_func || defined __stub___$ac_func
36617 return $ac_func ();
36622 rm -f conftest.$ac_objext conftest$ac_exeext
36623 if { (ac_try="$ac_link"
36624 case "(($ac_try" in
36625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36626 *) ac_try_echo=$ac_try;;
36628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36629 (eval "$ac_link") 2>conftest.er1
36631 grep -v '^ *+' conftest.er1 >conftest.err
36633 cat conftest.err >&5
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); } && {
36636 test -z "$ac_c_werror_flag" ||
36637 test ! -s conftest.err
36638 } && test -s conftest$ac_exeext &&
36639 $as_test_x conftest$ac_exeext; then
36640 eval "$as_ac_var=yes"
36642 echo "$as_me: failed program was:" >&5
36643 sed 's/^/| /' conftest.$ac_ext >&5
36645 eval "$as_ac_var=no"
36648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36649 conftest$ac_exeext conftest.$ac_ext
36651 ac_res=`eval echo '${'$as_ac_var'}'`
36652 { echo "$as_me:$LINENO: result: $ac_res" >&5
36653 echo "${ECHO_T}$ac_res" >&6; }
36654 if test `eval echo '${'$as_ac_var'}'` = yes; then
36655 cat >>confdefs.h <<_ACEOF
36656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36663 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36664 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36667 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36668 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_mbstate_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 cat >conftest.$ac_ext <<_ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36680 typedef mbstate_t ac__type_new_;
36684 if ((ac__type_new_ *) 0)
36686 if (sizeof (ac__type_new_))
36692 rm -f conftest.$ac_objext
36693 if { (ac_try="$ac_compile"
36694 case "(($ac_try" in
36695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36696 *) ac_try_echo=$ac_try;;
36698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36699 (eval "$ac_compile") 2>conftest.er1
36701 grep -v '^ *+' conftest.er1 >conftest.err
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } && {
36706 test -z "$ac_c_werror_flag" ||
36707 test ! -s conftest.err
36708 } && test -s conftest.$ac_objext; then
36709 ac_cv_type_mbstate_t=yes
36711 echo "$as_me: failed program was:" >&5
36712 sed 's/^/| /' conftest.$ac_ext >&5
36714 ac_cv_type_mbstate_t=no
36717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36719 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36720 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36721 if test $ac_cv_type_mbstate_t = yes; then
36723 cat >>confdefs.h <<_ACEOF
36724 #define HAVE_MBSTATE_T 1
36728 for ac_func in wcsrtombs
36730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36734 echo $ECHO_N "(cached) $ECHO_C" >&6
36736 cat >conftest.$ac_ext <<_ACEOF
36739 cat confdefs.h >>conftest.$ac_ext
36740 cat >>conftest.$ac_ext <<_ACEOF
36741 /* end confdefs.h. */
36742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36744 #define $ac_func innocuous_$ac_func
36746 /* System header to define __stub macros and hopefully few prototypes,
36747 which can conflict with char $ac_func (); below.
36748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36749 <limits.h> exists even on freestanding compilers. */
36752 # include <limits.h>
36754 # include <assert.h>
36759 /* Override any GCC internal prototype to avoid an error.
36760 Use char because int might match the return type of a GCC
36761 builtin and then its argument prototype would still apply. */
36766 /* The GNU C library defines this for functions which it implements
36767 to always fail with ENOSYS. Some functions are actually named
36768 something starting with __ and the normal name is an alias. */
36769 #if defined __stub_$ac_func || defined __stub___$ac_func
36776 return $ac_func ();
36781 rm -f conftest.$ac_objext conftest$ac_exeext
36782 if { (ac_try="$ac_link"
36783 case "(($ac_try" in
36784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36785 *) ac_try_echo=$ac_try;;
36787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36788 (eval "$ac_link") 2>conftest.er1
36790 grep -v '^ *+' conftest.er1 >conftest.err
36792 cat conftest.err >&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); } && {
36795 test -z "$ac_c_werror_flag" ||
36796 test ! -s conftest.err
36797 } && test -s conftest$ac_exeext &&
36798 $as_test_x conftest$ac_exeext; then
36799 eval "$as_ac_var=yes"
36801 echo "$as_me: failed program was:" >&5
36802 sed 's/^/| /' conftest.$ac_ext >&5
36804 eval "$as_ac_var=no"
36807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36808 conftest$ac_exeext conftest.$ac_ext
36810 ac_res=`eval echo '${'$as_ac_var'}'`
36811 { echo "$as_me:$LINENO: result: $ac_res" >&5
36812 echo "${ECHO_T}$ac_res" >&6; }
36813 if test `eval echo '${'$as_ac_var'}'` = yes; then
36814 cat >>confdefs.h <<_ACEOF
36815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36827 for ac_func in snprintf vsnprintf vsscanf
36829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36833 echo $ECHO_N "(cached) $ECHO_C" >&6
36835 cat >conftest.$ac_ext <<_ACEOF
36838 cat confdefs.h >>conftest.$ac_ext
36839 cat >>conftest.$ac_ext <<_ACEOF
36840 /* end confdefs.h. */
36841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36843 #define $ac_func innocuous_$ac_func
36845 /* System header to define __stub macros and hopefully few prototypes,
36846 which can conflict with char $ac_func (); below.
36847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36848 <limits.h> exists even on freestanding compilers. */
36851 # include <limits.h>
36853 # include <assert.h>
36858 /* Override any GCC internal prototype to avoid an error.
36859 Use char because int might match the return type of a GCC
36860 builtin and then its argument prototype would still apply. */
36865 /* The GNU C library defines this for functions which it implements
36866 to always fail with ENOSYS. Some functions are actually named
36867 something starting with __ and the normal name is an alias. */
36868 #if defined __stub_$ac_func || defined __stub___$ac_func
36875 return $ac_func ();
36880 rm -f conftest.$ac_objext conftest$ac_exeext
36881 if { (ac_try="$ac_link"
36882 case "(($ac_try" in
36883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36884 *) ac_try_echo=$ac_try;;
36886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36887 (eval "$ac_link") 2>conftest.er1
36889 grep -v '^ *+' conftest.er1 >conftest.err
36891 cat conftest.err >&5
36892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36893 (exit $ac_status); } && {
36894 test -z "$ac_c_werror_flag" ||
36895 test ! -s conftest.err
36896 } && test -s conftest$ac_exeext &&
36897 $as_test_x conftest$ac_exeext; then
36898 eval "$as_ac_var=yes"
36900 echo "$as_me: failed program was:" >&5
36901 sed 's/^/| /' conftest.$ac_ext >&5
36903 eval "$as_ac_var=no"
36906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36907 conftest$ac_exeext conftest.$ac_ext
36909 ac_res=`eval echo '${'$as_ac_var'}'`
36910 { echo "$as_me:$LINENO: result: $ac_res" >&5
36911 echo "${ECHO_T}$ac_res" >&6; }
36912 if test `eval echo '${'$as_ac_var'}'` = yes; then
36913 cat >>confdefs.h <<_ACEOF
36914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927 if test "$ac_cv_func_vsnprintf" = "yes"; then
36928 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36929 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36930 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36931 echo $ECHO_N "(cached) $ECHO_C" >&6
36934 cat >conftest.$ac_ext <<_ACEOF
36937 cat confdefs.h >>conftest.$ac_ext
36938 cat >>conftest.$ac_ext <<_ACEOF
36939 /* end confdefs.h. */
36942 #include <stdarg.h>
36944 #if __MSL__ >= 0x6000
36946 using namespace std;
36956 vsnprintf(buf, 10u, "%s", ap);
36962 rm -f conftest.$ac_objext
36963 if { (ac_try="$ac_compile"
36964 case "(($ac_try" in
36965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36966 *) ac_try_echo=$ac_try;;
36968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36969 (eval "$ac_compile") 2>conftest.er1
36971 grep -v '^ *+' conftest.er1 >conftest.err
36973 cat conftest.err >&5
36974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36975 (exit $ac_status); } && {
36976 test -z "$ac_cxx_werror_flag" ||
36977 test ! -s conftest.err
36978 } && test -s conftest.$ac_objext; then
36979 wx_cv_func_vsnprintf_decl=yes
36981 echo "$as_me: failed program was:" >&5
36982 sed 's/^/| /' conftest.$ac_ext >&5
36984 wx_cv_func_vsnprintf_decl=no
36988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36992 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36993 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36995 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36996 cat >>confdefs.h <<\_ACEOF
36997 #define HAVE_VSNPRINTF_DECL 1
37001 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37002 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37003 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 cat >conftest.$ac_ext <<_ACEOF
37010 cat confdefs.h >>conftest.$ac_ext
37011 cat >>conftest.$ac_ext <<_ACEOF
37012 /* end confdefs.h. */
37015 #include <stdarg.h>
37017 #if __MSL__ >= 0x6000
37019 using namespace std;
37029 const char *fmt = "%s";
37030 vsnprintf(buf, 10u, fmt, ap);
37036 rm -f conftest.$ac_objext
37037 if { (ac_try="$ac_compile"
37038 case "(($ac_try" in
37039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37040 *) ac_try_echo=$ac_try;;
37042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37043 (eval "$ac_compile") 2>conftest.er1
37045 grep -v '^ *+' conftest.er1 >conftest.err
37047 cat conftest.err >&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); } && {
37050 test -z "$ac_cxx_werror_flag" ||
37051 test ! -s conftest.err
37052 } && test -s conftest.$ac_objext; then
37053 wx_cv_func_broken_vsnprintf_decl=no
37055 echo "$as_me: failed program was:" >&5
37056 sed 's/^/| /' conftest.$ac_ext >&5
37058 wx_cv_func_broken_vsnprintf_decl=yes
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37066 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37067 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37069 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37070 cat >>confdefs.h <<\_ACEOF
37071 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37078 if test "$ac_cv_func_snprintf" = "yes"; then
37079 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37080 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37081 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37085 cat >conftest.$ac_ext <<_ACEOF
37088 cat confdefs.h >>conftest.$ac_ext
37089 cat >>conftest.$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37093 #include <stdarg.h>
37095 #if __MSL__ >= 0x6000
37097 using namespace std;
37106 snprintf(buf, 10u, "%s", "wx");
37112 rm -f conftest.$ac_objext
37113 if { (ac_try="$ac_compile"
37114 case "(($ac_try" in
37115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37116 *) ac_try_echo=$ac_try;;
37118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37119 (eval "$ac_compile") 2>conftest.er1
37121 grep -v '^ *+' conftest.er1 >conftest.err
37123 cat conftest.err >&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); } && {
37126 test -z "$ac_cxx_werror_flag" ||
37127 test ! -s conftest.err
37128 } && test -s conftest.$ac_objext; then
37129 wx_cv_func_snprintf_decl=yes
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.$ac_ext >&5
37134 wx_cv_func_snprintf_decl=no
37138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37142 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37143 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37145 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37146 cat >>confdefs.h <<\_ACEOF
37147 #define HAVE_SNPRINTF_DECL 1
37152 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37154 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37155 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37156 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37160 if test "$cross_compiling" = yes; then
37162 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37163 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37164 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37165 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37166 wx_cv_func_snprintf_pos_params=no
37170 cat >conftest.$ac_ext <<_ACEOF
37173 cat confdefs.h >>conftest.$ac_ext
37174 cat >>conftest.$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37182 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37183 if (strcmp ("2 3 1", buffer) == 0)
37189 rm -f conftest$ac_exeext
37190 if { (ac_try="$ac_link"
37191 case "(($ac_try" in
37192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37193 *) ac_try_echo=$ac_try;;
37195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37196 (eval "$ac_link") 2>&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37200 { (case "(($ac_try" in
37201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37202 *) ac_try_echo=$ac_try;;
37204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37205 (eval "$ac_try") 2>&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); }; }; then
37209 wx_cv_func_snprintf_pos_params=no
37211 echo "$as_me: program exited with status $ac_status" >&5
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37215 ( exit $ac_status )
37216 wx_cv_func_snprintf_pos_params=yes
37218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37225 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37226 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37228 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define HAVE_UNIX98_PRINTF 1
37237 if test "$ac_cv_func_vsscanf" = "yes"; then
37238 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37239 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37240 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37241 echo $ECHO_N "(cached) $ECHO_C" >&6
37244 cat >conftest.$ac_ext <<_ACEOF
37247 cat confdefs.h >>conftest.$ac_ext
37248 cat >>conftest.$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37252 #include <stdarg.h>
37254 #if __MSL__ >= 0x6000
37256 using namespace std;
37266 vsscanf(buf, "%s", args);
37272 rm -f conftest.$ac_objext
37273 if { (ac_try="$ac_compile"
37274 case "(($ac_try" in
37275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37276 *) ac_try_echo=$ac_try;;
37278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37279 (eval "$ac_compile") 2>conftest.er1
37281 grep -v '^ *+' conftest.er1 >conftest.err
37283 cat conftest.err >&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } && {
37286 test -z "$ac_cxx_werror_flag" ||
37287 test ! -s conftest.err
37288 } && test -s conftest.$ac_objext; then
37289 wx_cv_func_vsscanf_decl=yes
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.$ac_ext >&5
37294 wx_cv_func_vsscanf_decl=no
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37302 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37303 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37305 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_VSSCANF_DECL 1
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37319 if test "$wxUSE_UNICODE" = yes; then
37321 wchar_headers="#include <stdio.h>
37322 #include <wchar.h>"
37326 for ac_header in widec.h
37328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37332 echo $ECHO_N "(cached) $ECHO_C" >&6
37334 cat >conftest.$ac_ext <<_ACEOF
37337 cat confdefs.h >>conftest.$ac_ext
37338 cat >>conftest.$ac_ext <<_ACEOF
37339 /* end confdefs.h. */
37340 $ac_includes_default
37342 #include <$ac_header>
37344 rm -f conftest.$ac_objext
37345 if { (ac_try="$ac_compile"
37346 case "(($ac_try" in
37347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37348 *) ac_try_echo=$ac_try;;
37350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37351 (eval "$ac_compile") 2>conftest.er1
37353 grep -v '^ *+' conftest.er1 >conftest.err
37355 cat conftest.err >&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } && {
37358 test -z "$ac_c_werror_flag" ||
37359 test ! -s conftest.err
37360 } && test -s conftest.$ac_objext; then
37361 eval "$as_ac_Header=yes"
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37366 eval "$as_ac_Header=no"
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37371 ac_res=`eval echo '${'$as_ac_Header'}'`
37372 { echo "$as_me:$LINENO: result: $ac_res" >&5
37373 echo "${ECHO_T}$ac_res" >&6; }
37374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37375 cat >>confdefs.h <<_ACEOF
37376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37383 if test "$ac_cv_header_widec_h" = "yes"; then
37384 wchar_headers="$wchar_headers
37385 #include <widec.h>"
37390 for wx_func in putws fputws wprintf vswprintf vswscanf
37392 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37393 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37394 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37398 cat >conftest.$ac_ext <<_ACEOF
37402 cat confdefs.h >>conftest.$ac_ext
37403 cat >>conftest.$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37407 $ac_includes_default
37423 rm -f conftest.$ac_objext conftest$ac_exeext
37424 if { (ac_try="$ac_link"
37425 case "(($ac_try" in
37426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37427 *) ac_try_echo=$ac_try;;
37429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37430 (eval "$ac_link") 2>conftest.er1
37432 grep -v '^ *+' conftest.er1 >conftest.err
37434 cat conftest.err >&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); } && {
37437 test -z "$ac_c_werror_flag" ||
37438 test ! -s conftest.err
37439 } && test -s conftest$ac_exeext &&
37440 $as_test_x conftest$ac_exeext; then
37441 eval wx_cv_func_$wx_func=yes
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37446 eval wx_cv_func_$wx_func=no
37449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37450 conftest$ac_exeext conftest.$ac_ext
37453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37454 { echo "$as_me:$LINENO: result: $ac_res" >&5
37455 echo "${ECHO_T}$ac_res" >&6; }
37457 if eval test \$wx_cv_func_$wx_func = yes
37459 cat >>confdefs.h <<_ACEOF
37460 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37471 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37472 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37473 cat >conftest.$ac_ext <<_ACEOF
37476 cat confdefs.h >>conftest.$ac_ext
37477 cat >>conftest.$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37488 rm -f conftest.$ac_objext
37489 if { (ac_try="$ac_compile"
37490 case "(($ac_try" in
37491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37492 *) ac_try_echo=$ac_try;;
37494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37495 (eval "$ac_compile") 2>conftest.er1
37497 grep -v '^ *+' conftest.er1 >conftest.err
37499 cat conftest.err >&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } && {
37502 test -z "$ac_c_werror_flag" ||
37503 test ! -s conftest.err
37504 } && test -s conftest.$ac_objext; then
37505 { echo "$as_me:$LINENO: result: yes" >&5
37506 echo "${ECHO_T}yes" >&6; }
37507 cat >>confdefs.h <<\_ACEOF
37508 #define HAVE__VSNWPRINTF 1
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37515 { echo "$as_me:$LINENO: result: no" >&5
37516 echo "${ECHO_T}no" >&6; }
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37522 if test "$wxUSE_FILE" = "yes"; then
37524 for wx_func in fsync
37526 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37527 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37528 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37532 cat >conftest.$ac_ext <<_ACEOF
37536 cat confdefs.h >>conftest.$ac_ext
37537 cat >>conftest.$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37541 $ac_includes_default
37557 rm -f conftest.$ac_objext conftest$ac_exeext
37558 if { (ac_try="$ac_link"
37559 case "(($ac_try" in
37560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37561 *) ac_try_echo=$ac_try;;
37563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37564 (eval "$ac_link") 2>conftest.er1
37566 grep -v '^ *+' conftest.er1 >conftest.err
37568 cat conftest.err >&5
37569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37570 (exit $ac_status); } && {
37571 test -z "$ac_c_werror_flag" ||
37572 test ! -s conftest.err
37573 } && test -s conftest$ac_exeext &&
37574 $as_test_x conftest$ac_exeext; then
37575 eval wx_cv_func_$wx_func=yes
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.$ac_ext >&5
37580 eval wx_cv_func_$wx_func=no
37583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37584 conftest$ac_exeext conftest.$ac_ext
37587 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37588 { echo "$as_me:$LINENO: result: $ac_res" >&5
37589 echo "${ECHO_T}$ac_res" >&6; }
37591 if eval test \$wx_cv_func_$wx_func = yes
37593 cat >>confdefs.h <<_ACEOF
37594 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37607 ac_cpp='$CXXCPP $CPPFLAGS'
37608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613 for wx_func in round
37615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37618 echo $ECHO_N "(cached) $ECHO_C" >&6
37621 cat >conftest.$ac_ext <<_ACEOF
37625 cat confdefs.h >>conftest.$ac_ext
37626 cat >>conftest.$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37630 $ac_includes_default
37646 rm -f conftest.$ac_objext conftest$ac_exeext
37647 if { (ac_try="$ac_link"
37648 case "(($ac_try" in
37649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37650 *) ac_try_echo=$ac_try;;
37652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37653 (eval "$ac_link") 2>conftest.er1
37655 grep -v '^ *+' conftest.er1 >conftest.err
37657 cat conftest.err >&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); } && {
37660 test -z "$ac_cxx_werror_flag" ||
37661 test ! -s conftest.err
37662 } && test -s conftest$ac_exeext &&
37663 $as_test_x conftest$ac_exeext; then
37664 eval wx_cv_func_$wx_func=yes
37666 echo "$as_me: failed program was:" >&5
37667 sed 's/^/| /' conftest.$ac_ext >&5
37669 eval wx_cv_func_$wx_func=no
37672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37673 conftest$ac_exeext conftest.$ac_ext
37676 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37677 { echo "$as_me:$LINENO: result: $ac_res" >&5
37678 echo "${ECHO_T}$ac_res" >&6; }
37680 if eval test \$wx_cv_func_$wx_func = yes
37682 cat >>confdefs.h <<_ACEOF
37683 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37694 ac_cpp='$CPP $CPPFLAGS'
37695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37700 if test "$TOOLKIT" != "MSW"; then
37702 if test "$wxUSE_LIBICONV" != "no" ; then
37706 # Check whether --with-libiconv-prefix was given.
37707 if test "${with_libiconv_prefix+set}" = set; then
37708 withval=$with_libiconv_prefix;
37709 for dir in `echo "$withval" | tr : ' '`; do
37710 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37711 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37717 { echo "$as_me:$LINENO: checking for iconv" >&5
37718 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37719 if test "${am_cv_func_iconv+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 am_cv_func_iconv="no, consider installing GNU libiconv"
37725 cat >conftest.$ac_ext <<_ACEOF
37728 cat confdefs.h >>conftest.$ac_ext
37729 cat >>conftest.$ac_ext <<_ACEOF
37730 /* end confdefs.h. */
37731 #include <stdlib.h>
37736 iconv_t cd = iconv_open("","");
37737 iconv(cd,NULL,NULL,NULL,NULL);
37743 rm -f conftest.$ac_objext conftest$ac_exeext
37744 if { (ac_try="$ac_link"
37745 case "(($ac_try" in
37746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37747 *) ac_try_echo=$ac_try;;
37749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37750 (eval "$ac_link") 2>conftest.er1
37752 grep -v '^ *+' conftest.er1 >conftest.err
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } && {
37757 test -z "$ac_c_werror_flag" ||
37758 test ! -s conftest.err
37759 } && test -s conftest$ac_exeext &&
37760 $as_test_x conftest$ac_exeext; then
37761 am_cv_func_iconv=yes
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.$ac_ext >&5
37769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37770 conftest$ac_exeext conftest.$ac_ext
37771 if test "$am_cv_func_iconv" != yes; then
37772 am_save_LIBS="$LIBS"
37773 LIBS="$LIBS -liconv"
37774 cat >conftest.$ac_ext <<_ACEOF
37777 cat confdefs.h >>conftest.$ac_ext
37778 cat >>conftest.$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37780 #include <stdlib.h>
37785 iconv_t cd = iconv_open("","");
37786 iconv(cd,NULL,NULL,NULL,NULL);
37792 rm -f conftest.$ac_objext conftest$ac_exeext
37793 if { (ac_try="$ac_link"
37794 case "(($ac_try" in
37795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37796 *) ac_try_echo=$ac_try;;
37798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37799 (eval "$ac_link") 2>conftest.er1
37801 grep -v '^ *+' conftest.er1 >conftest.err
37803 cat conftest.err >&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); } && {
37806 test -z "$ac_c_werror_flag" ||
37807 test ! -s conftest.err
37808 } && test -s conftest$ac_exeext &&
37809 $as_test_x conftest$ac_exeext; then
37810 am_cv_lib_iconv=yes
37811 am_cv_func_iconv=yes
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37820 conftest$ac_exeext conftest.$ac_ext
37821 LIBS="$am_save_LIBS"
37825 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37826 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37827 if test "$am_cv_func_iconv" = yes; then
37829 cat >>confdefs.h <<\_ACEOF
37830 #define HAVE_ICONV 1
37833 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37834 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37835 if test "${wx_cv_func_iconv_const+set}" = set; then
37836 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 cat >conftest.$ac_ext <<_ACEOF
37841 cat confdefs.h >>conftest.$ac_ext
37842 cat >>conftest.$ac_ext <<_ACEOF
37843 /* end confdefs.h. */
37845 #include <stdlib.h>
37851 #if defined(__STDC__) || defined(__cplusplus)
37852 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37865 rm -f conftest.$ac_objext
37866 if { (ac_try="$ac_compile"
37867 case "(($ac_try" in
37868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37869 *) ac_try_echo=$ac_try;;
37871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37872 (eval "$ac_compile") 2>conftest.er1
37874 grep -v '^ *+' conftest.er1 >conftest.err
37876 cat conftest.err >&5
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); } && {
37879 test -z "$ac_c_werror_flag" ||
37880 test ! -s conftest.err
37881 } && test -s conftest.$ac_objext; then
37882 wx_cv_func_iconv_const="no"
37884 echo "$as_me: failed program was:" >&5
37885 sed 's/^/| /' conftest.$ac_ext >&5
37887 wx_cv_func_iconv_const="yes"
37891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37894 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37895 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37898 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37899 iconv_const="const"
37903 cat >>confdefs.h <<_ACEOF
37904 #define ICONV_CONST $iconv_const
37909 if test "$am_cv_lib_iconv" = yes; then
37914 LIBS="$LIBICONV $LIBS"
37917 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37919 for ac_func in sigaction
37921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37924 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37925 echo $ECHO_N "(cached) $ECHO_C" >&6
37927 cat >conftest.$ac_ext <<_ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h. */
37933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37935 #define $ac_func innocuous_$ac_func
37937 /* System header to define __stub macros and hopefully few prototypes,
37938 which can conflict with char $ac_func (); below.
37939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37940 <limits.h> exists even on freestanding compilers. */
37943 # include <limits.h>
37945 # include <assert.h>
37950 /* Override any GCC internal prototype to avoid an error.
37951 Use char because int might match the return type of a GCC
37952 builtin and then its argument prototype would still apply. */
37957 /* The GNU C library defines this for functions which it implements
37958 to always fail with ENOSYS. Some functions are actually named
37959 something starting with __ and the normal name is an alias. */
37960 #if defined __stub_$ac_func || defined __stub___$ac_func
37967 return $ac_func ();
37972 rm -f conftest.$ac_objext conftest$ac_exeext
37973 if { (ac_try="$ac_link"
37974 case "(($ac_try" in
37975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37976 *) ac_try_echo=$ac_try;;
37978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37979 (eval "$ac_link") 2>conftest.er1
37981 grep -v '^ *+' conftest.er1 >conftest.err
37983 cat conftest.err >&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); } && {
37986 test -z "$ac_c_werror_flag" ||
37987 test ! -s conftest.err
37988 } && test -s conftest$ac_exeext &&
37989 $as_test_x conftest$ac_exeext; then
37990 eval "$as_ac_var=yes"
37992 echo "$as_me: failed program was:" >&5
37993 sed 's/^/| /' conftest.$ac_ext >&5
37995 eval "$as_ac_var=no"
37998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37999 conftest$ac_exeext conftest.$ac_ext
38001 ac_res=`eval echo '${'$as_ac_var'}'`
38002 { echo "$as_me:$LINENO: result: $ac_res" >&5
38003 echo "${ECHO_T}$ac_res" >&6; }
38004 if test `eval echo '${'$as_ac_var'}'` = yes; then
38005 cat >>confdefs.h <<_ACEOF
38006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38013 if test "$ac_cv_func_sigaction" = "no"; then
38014 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38015 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38016 wxUSE_ON_FATAL_EXCEPTION=no
38019 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38020 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38021 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38022 if test "${wx_cv_type_sa_handler+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 ac_cpp='$CXXCPP $CPPFLAGS'
38028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38032 cat >conftest.$ac_ext <<_ACEOF
38035 cat confdefs.h >>conftest.$ac_ext
38036 cat >>conftest.$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 #include <signal.h>
38043 extern void testSigHandler(int);
38045 struct sigaction sa;
38046 sa.sa_handler = testSigHandler;
38052 rm -f conftest.$ac_objext
38053 if { (ac_try="$ac_compile"
38054 case "(($ac_try" in
38055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38056 *) ac_try_echo=$ac_try;;
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_compile") 2>conftest.er1
38061 grep -v '^ *+' conftest.er1 >conftest.err
38063 cat conftest.err >&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_cxx_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest.$ac_objext; then
38070 wx_cv_type_sa_handler=int
38073 echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38077 wx_cv_type_sa_handler=void
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38090 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38091 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38093 cat >>confdefs.h <<_ACEOF
38094 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38100 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38101 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38102 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38103 if test "${wx_cv_func_backtrace+set}" = set; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38113 cat >conftest.$ac_ext <<_ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119 #include <execinfo.h>
38127 backtrace(trace, 1);
38128 messages = backtrace_symbols(trace, 1);
38134 rm -f conftest.$ac_objext
38135 if { (ac_try="$ac_compile"
38136 case "(($ac_try" in
38137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38138 *) ac_try_echo=$ac_try;;
38140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38141 (eval "$ac_compile") 2>conftest.er1
38143 grep -v '^ *+' conftest.er1 >conftest.err
38145 cat conftest.err >&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } && {
38148 test -z "$ac_cxx_werror_flag" ||
38149 test ! -s conftest.err
38150 } && test -s conftest.$ac_objext; then
38151 wx_cv_func_backtrace=yes
38153 echo "$as_me: failed program was:" >&5
38154 sed 's/^/| /' conftest.$ac_ext >&5
38156 wx_cv_func_backtrace=no
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38171 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38174 if test "$wx_cv_func_backtrace" = "no"; then
38175 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38176 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38177 wxUSE_STACKWALKER=no
38179 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38180 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38181 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 ac_cpp='$CXXCPP $CPPFLAGS'
38187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38191 cat >conftest.$ac_ext <<_ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197 #include <cxxabi.h>
38203 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38209 rm -f conftest.$ac_objext conftest$ac_exeext
38210 if { (ac_try="$ac_link"
38211 case "(($ac_try" in
38212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38213 *) ac_try_echo=$ac_try;;
38215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38216 (eval "$ac_link") 2>conftest.er1
38218 grep -v '^ *+' conftest.er1 >conftest.err
38220 cat conftest.err >&5
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); } && {
38223 test -z "$ac_cxx_werror_flag" ||
38224 test ! -s conftest.err
38225 } && test -s conftest$ac_exeext &&
38226 $as_test_x conftest$ac_exeext; then
38227 wx_cv_func_cxa_demangle=yes
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38232 wx_cv_func_cxa_demangle=no
38236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38237 conftest$ac_exeext conftest.$ac_ext
38239 ac_cpp='$CPP $CPPFLAGS'
38240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38247 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38248 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38250 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38251 cat >>confdefs.h <<\_ACEOF
38252 #define HAVE_CXA_DEMANGLE 1
38259 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38260 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38261 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38262 wxUSE_STACKWALKER=no
38268 for ac_func in mkstemp mktemp
38270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38276 cat >conftest.$ac_ext <<_ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38284 #define $ac_func innocuous_$ac_func
38286 /* System header to define __stub macros and hopefully few prototypes,
38287 which can conflict with char $ac_func (); below.
38288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38289 <limits.h> exists even on freestanding compilers. */
38292 # include <limits.h>
38294 # include <assert.h>
38299 /* Override any GCC internal prototype to avoid an error.
38300 Use char because int might match the return type of a GCC
38301 builtin and then its argument prototype would still apply. */
38306 /* The GNU C library defines this for functions which it implements
38307 to always fail with ENOSYS. Some functions are actually named
38308 something starting with __ and the normal name is an alias. */
38309 #if defined __stub_$ac_func || defined __stub___$ac_func
38316 return $ac_func ();
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38330 grep -v '^ *+' conftest.er1 >conftest.err
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 eval "$as_ac_var=yes"
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38344 eval "$as_ac_var=no"
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38350 ac_res=`eval echo '${'$as_ac_var'}'`
38351 { echo "$as_me:$LINENO: result: $ac_res" >&5
38352 echo "${ECHO_T}$ac_res" >&6; }
38353 if test `eval echo '${'$as_ac_var'}'` = yes; then
38354 cat >>confdefs.h <<_ACEOF
38355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38362 { echo "$as_me:$LINENO: checking for statfs" >&5
38363 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38364 if test "${wx_cv_func_statfs+set}" = set; then
38365 echo $ECHO_N "(cached) $ECHO_C" >&6
38367 cat >conftest.$ac_ext <<_ACEOF
38370 cat confdefs.h >>conftest.$ac_ext
38371 cat >>conftest.$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38374 #if defined(__BSD__)
38375 #include <sys/param.h>
38376 #include <sys/mount.h>
38378 #include <sys/vfs.h>
38396 rm -f conftest.$ac_objext
38397 if { (ac_try="$ac_compile"
38398 case "(($ac_try" in
38399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38400 *) ac_try_echo=$ac_try;;
38402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38403 (eval "$ac_compile") 2>conftest.er1
38405 grep -v '^ *+' conftest.er1 >conftest.err
38407 cat conftest.err >&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); } && {
38410 test -z "$ac_c_werror_flag" ||
38411 test ! -s conftest.err
38412 } && test -s conftest.$ac_objext; then
38413 wx_cv_func_statfs=yes
38415 echo "$as_me: failed program was:" >&5
38416 sed 's/^/| /' conftest.$ac_ext >&5
38418 wx_cv_func_statfs=no
38422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38426 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38428 if test "$wx_cv_func_statfs" = "yes"; then
38429 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38430 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38431 if test "${wx_cv_func_statfs_decl+set}" = set; then
38432 echo $ECHO_N "(cached) $ECHO_C" >&6
38435 ac_cpp='$CXXCPP $CPPFLAGS'
38436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38440 cat >conftest.$ac_ext <<_ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38447 #if defined(__BSD__)
38448 #include <sys/param.h>
38449 #include <sys/mount.h>
38451 #include <sys/vfs.h>
38465 rm -f conftest.$ac_objext
38466 if { (ac_try="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38474 grep -v '^ *+' conftest.er1 >conftest.err
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_cxx_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482 wx_cv_func_statfs_decl=yes
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38487 wx_cv_func_statfs_decl=no
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38500 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38501 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38503 if test "$wx_cv_func_statfs_decl" = "yes"; then
38504 cat >>confdefs.h <<\_ACEOF
38505 #define HAVE_STATFS_DECL 1
38510 wx_cv_type_statvfs_t="struct statfs"
38511 cat >>confdefs.h <<\_ACEOF
38512 #define HAVE_STATFS 1
38516 { echo "$as_me:$LINENO: checking for statvfs" >&5
38517 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38518 if test "${wx_cv_func_statvfs+set}" = set; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 cat >conftest.$ac_ext <<_ACEOF
38524 cat confdefs.h >>conftest.$ac_ext
38525 cat >>conftest.$ac_ext <<_ACEOF
38526 /* end confdefs.h. */
38528 #include <stddef.h>
38529 #include <sys/statvfs.h>
38535 statvfs("/", NULL);
38541 rm -f conftest.$ac_objext
38542 if { (ac_try="$ac_compile"
38543 case "(($ac_try" in
38544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38545 *) ac_try_echo=$ac_try;;
38547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38548 (eval "$ac_compile") 2>conftest.er1
38550 grep -v '^ *+' conftest.er1 >conftest.err
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } && {
38555 test -z "$ac_c_werror_flag" ||
38556 test ! -s conftest.err
38557 } && test -s conftest.$ac_objext; then
38558 wx_cv_func_statvfs=yes
38560 echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.$ac_ext >&5
38563 wx_cv_func_statvfs=no
38567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38570 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38571 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38573 if test "$wx_cv_func_statvfs" = "yes"; then
38574 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38575 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38576 if test "${wx_cv_type_statvfs_t+set}" = set; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 ac_cpp='$CXXCPP $CPPFLAGS'
38581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38585 cat >conftest.$ac_ext <<_ACEOF
38588 cat confdefs.h >>conftest.$ac_ext
38589 cat >>conftest.$ac_ext <<_ACEOF
38590 /* end confdefs.h. */
38592 #include <sys/statvfs.h>
38609 rm -f conftest.$ac_objext
38610 if { (ac_try="$ac_compile"
38611 case "(($ac_try" in
38612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38613 *) ac_try_echo=$ac_try;;
38615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38616 (eval "$ac_compile") 2>conftest.er1
38618 grep -v '^ *+' conftest.er1 >conftest.err
38620 cat conftest.err >&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } && {
38623 test -z "$ac_cxx_werror_flag" ||
38624 test ! -s conftest.err
38625 } && test -s conftest.$ac_objext; then
38626 wx_cv_type_statvfs_t=statvfs_t
38628 echo "$as_me: failed program was:" >&5
38629 sed 's/^/| /' conftest.$ac_ext >&5
38632 cat >conftest.$ac_ext <<_ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38639 #include <sys/statvfs.h>
38656 rm -f conftest.$ac_objext
38657 if { (ac_try="$ac_compile"
38658 case "(($ac_try" in
38659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38660 *) ac_try_echo=$ac_try;;
38662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38663 (eval "$ac_compile") 2>conftest.er1
38665 grep -v '^ *+' conftest.er1 >conftest.err
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } && {
38670 test -z "$ac_cxx_werror_flag" ||
38671 test ! -s conftest.err
38672 } && test -s conftest.$ac_objext; then
38673 wx_cv_type_statvfs_t="struct statvfs"
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38678 wx_cv_type_statvfs_t="unknown"
38682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38696 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38697 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38699 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38700 cat >>confdefs.h <<\_ACEOF
38701 #define HAVE_STATVFS 1
38706 wx_cv_type_statvfs_t="unknown"
38710 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38711 cat >>confdefs.h <<_ACEOF
38712 #define WX_STATFS_T $wx_cv_type_statvfs_t
38716 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38717 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38720 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38723 for ac_func in fcntl flock
38725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 cat >conftest.$ac_ext <<_ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38747 # include <limits.h>
38749 # include <assert.h>
38754 /* Override any GCC internal prototype to avoid an error.
38755 Use char because int might match the return type of a GCC
38756 builtin and then its argument prototype would still apply. */
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined __stub_$ac_func || defined __stub___$ac_func
38771 return $ac_func ();
38776 rm -f conftest.$ac_objext conftest$ac_exeext
38777 if { (ac_try="$ac_link"
38778 case "(($ac_try" in
38779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38780 *) ac_try_echo=$ac_try;;
38782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38783 (eval "$ac_link") 2>conftest.er1
38785 grep -v '^ *+' conftest.er1 >conftest.err
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } && {
38790 test -z "$ac_c_werror_flag" ||
38791 test ! -s conftest.err
38792 } && test -s conftest$ac_exeext &&
38793 $as_test_x conftest$ac_exeext; then
38794 eval "$as_ac_var=yes"
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.$ac_ext >&5
38799 eval "$as_ac_var=no"
38802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38803 conftest$ac_exeext conftest.$ac_ext
38805 ac_res=`eval echo '${'$as_ac_var'}'`
38806 { echo "$as_me:$LINENO: result: $ac_res" >&5
38807 echo "${ECHO_T}$ac_res" >&6; }
38808 if test `eval echo '${'$as_ac_var'}'` = yes; then
38809 cat >>confdefs.h <<_ACEOF
38810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38817 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38818 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38819 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38820 wxUSE_SNGLINST_CHECKER=no
38826 for ac_func in setenv putenv
38828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 cat >conftest.$ac_ext <<_ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38842 #define $ac_func innocuous_$ac_func
38844 /* System header to define __stub macros and hopefully few prototypes,
38845 which can conflict with char $ac_func (); below.
38846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38847 <limits.h> exists even on freestanding compilers. */
38850 # include <limits.h>
38852 # include <assert.h>
38857 /* Override any GCC internal prototype to avoid an error.
38858 Use char because int might match the return type of a GCC
38859 builtin and then its argument prototype would still apply. */
38864 /* The GNU C library defines this for functions which it implements
38865 to always fail with ENOSYS. Some functions are actually named
38866 something starting with __ and the normal name is an alias. */
38867 #if defined __stub_$ac_func || defined __stub___$ac_func
38874 return $ac_func ();
38879 rm -f conftest.$ac_objext conftest$ac_exeext
38880 if { (ac_try="$ac_link"
38881 case "(($ac_try" in
38882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38883 *) ac_try_echo=$ac_try;;
38885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38886 (eval "$ac_link") 2>conftest.er1
38888 grep -v '^ *+' conftest.er1 >conftest.err
38890 cat conftest.err >&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); } && {
38893 test -z "$ac_c_werror_flag" ||
38894 test ! -s conftest.err
38895 } && test -s conftest$ac_exeext &&
38896 $as_test_x conftest$ac_exeext; then
38897 eval "$as_ac_var=yes"
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38902 eval "$as_ac_var=no"
38905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38906 conftest$ac_exeext conftest.$ac_ext
38908 ac_res=`eval echo '${'$as_ac_var'}'`
38909 { echo "$as_me:$LINENO: result: $ac_res" >&5
38910 echo "${ECHO_T}$ac_res" >&6; }
38911 if test `eval echo '${'$as_ac_var'}'` = yes; then
38912 cat >>confdefs.h <<_ACEOF
38913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38919 if test "$ac_cv_func_setenv" = "yes"; then
38921 for ac_func in unsetenv
38923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38927 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 cat >conftest.$ac_ext <<_ACEOF
38932 cat confdefs.h >>conftest.$ac_ext
38933 cat >>conftest.$ac_ext <<_ACEOF
38934 /* end confdefs.h. */
38935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38937 #define $ac_func innocuous_$ac_func
38939 /* System header to define __stub macros and hopefully few prototypes,
38940 which can conflict with char $ac_func (); below.
38941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38942 <limits.h> exists even on freestanding compilers. */
38945 # include <limits.h>
38947 # include <assert.h>
38952 /* Override any GCC internal prototype to avoid an error.
38953 Use char because int might match the return type of a GCC
38954 builtin and then its argument prototype would still apply. */
38959 /* The GNU C library defines this for functions which it implements
38960 to always fail with ENOSYS. Some functions are actually named
38961 something starting with __ and the normal name is an alias. */
38962 #if defined __stub_$ac_func || defined __stub___$ac_func
38969 return $ac_func ();
38974 rm -f conftest.$ac_objext conftest$ac_exeext
38975 if { (ac_try="$ac_link"
38976 case "(($ac_try" in
38977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38978 *) ac_try_echo=$ac_try;;
38980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38981 (eval "$ac_link") 2>conftest.er1
38983 grep -v '^ *+' conftest.er1 >conftest.err
38985 cat conftest.err >&5
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); } && {
38988 test -z "$ac_c_werror_flag" ||
38989 test ! -s conftest.err
38990 } && test -s conftest$ac_exeext &&
38991 $as_test_x conftest$ac_exeext; then
38992 eval "$as_ac_var=yes"
38994 echo "$as_me: failed program was:" >&5
38995 sed 's/^/| /' conftest.$ac_ext >&5
38997 eval "$as_ac_var=no"
39000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39001 conftest$ac_exeext conftest.$ac_ext
39003 ac_res=`eval echo '${'$as_ac_var'}'`
39004 { echo "$as_me:$LINENO: result: $ac_res" >&5
39005 echo "${ECHO_T}$ac_res" >&6; }
39006 if test `eval echo '${'$as_ac_var'}'` = yes; then
39007 cat >>confdefs.h <<_ACEOF
39008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39016 HAVE_SOME_SLEEP_FUNC=0
39017 if test "$USE_BEOS" = 1; then
39018 cat >>confdefs.h <<\_ACEOF
39019 #define HAVE_SLEEP 1
39022 HAVE_SOME_SLEEP_FUNC=1
39025 if test "$USE_DARWIN" = 1; then
39026 cat >>confdefs.h <<\_ACEOF
39027 #define HAVE_USLEEP 1
39030 HAVE_SOME_SLEEP_FUNC=1
39033 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39036 for ac_func in nanosleep
39038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39044 cat >conftest.$ac_ext <<_ACEOF
39047 cat confdefs.h >>conftest.$ac_ext
39048 cat >>conftest.$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39052 #define $ac_func innocuous_$ac_func
39054 /* System header to define __stub macros and hopefully few prototypes,
39055 which can conflict with char $ac_func (); below.
39056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39057 <limits.h> exists even on freestanding compilers. */
39060 # include <limits.h>
39062 # include <assert.h>
39067 /* Override any GCC internal prototype to avoid an error.
39068 Use char because int might match the return type of a GCC
39069 builtin and then its argument prototype would still apply. */
39074 /* The GNU C library defines this for functions which it implements
39075 to always fail with ENOSYS. Some functions are actually named
39076 something starting with __ and the normal name is an alias. */
39077 #if defined __stub_$ac_func || defined __stub___$ac_func
39084 return $ac_func ();
39089 rm -f conftest.$ac_objext conftest$ac_exeext
39090 if { (ac_try="$ac_link"
39091 case "(($ac_try" in
39092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_link") 2>conftest.er1
39098 grep -v '^ *+' conftest.er1 >conftest.err
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_c_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest$ac_exeext &&
39106 $as_test_x conftest$ac_exeext; then
39107 eval "$as_ac_var=yes"
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39112 eval "$as_ac_var=no"
39115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39116 conftest$ac_exeext conftest.$ac_ext
39118 ac_res=`eval echo '${'$as_ac_var'}'`
39119 { echo "$as_me:$LINENO: result: $ac_res" >&5
39120 echo "${ECHO_T}$ac_res" >&6; }
39121 if test `eval echo '${'$as_ac_var'}'` = yes; then
39122 cat >>confdefs.h <<_ACEOF
39123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39125 cat >>confdefs.h <<\_ACEOF
39126 #define HAVE_NANOSLEEP 1
39131 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39132 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39133 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 ac_check_lib_save_LIBS=$LIBS
39137 LIBS="-lposix4 $LIBS"
39138 cat >conftest.$ac_ext <<_ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39145 /* Override any GCC internal prototype to avoid an error.
39146 Use char because int might match the return type of a GCC
39147 builtin and then its argument prototype would still apply. */
39155 return nanosleep ();
39160 rm -f conftest.$ac_objext conftest$ac_exeext
39161 if { (ac_try="$ac_link"
39162 case "(($ac_try" in
39163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39164 *) ac_try_echo=$ac_try;;
39166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39167 (eval "$ac_link") 2>conftest.er1
39169 grep -v '^ *+' conftest.er1 >conftest.err
39171 cat conftest.err >&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } && {
39174 test -z "$ac_c_werror_flag" ||
39175 test ! -s conftest.err
39176 } && test -s conftest$ac_exeext &&
39177 $as_test_x conftest$ac_exeext; then
39178 ac_cv_lib_posix4_nanosleep=yes
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39183 ac_cv_lib_posix4_nanosleep=no
39186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39187 conftest$ac_exeext conftest.$ac_ext
39188 LIBS=$ac_check_lib_save_LIBS
39190 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39191 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39192 if test $ac_cv_lib_posix4_nanosleep = yes; then
39194 cat >>confdefs.h <<\_ACEOF
39195 #define HAVE_NANOSLEEP 1
39198 POSIX4_LINK=" -lposix4"
39203 for wx_func in usleep
39205 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39206 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39207 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39208 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 cat >conftest.$ac_ext <<_ACEOF
39215 cat confdefs.h >>conftest.$ac_ext
39216 cat >>conftest.$ac_ext <<_ACEOF
39217 /* end confdefs.h. */
39220 $ac_includes_default
39236 rm -f conftest.$ac_objext conftest$ac_exeext
39237 if { (ac_try="$ac_link"
39238 case "(($ac_try" in
39239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39240 *) ac_try_echo=$ac_try;;
39242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39243 (eval "$ac_link") 2>conftest.er1
39245 grep -v '^ *+' conftest.er1 >conftest.err
39247 cat conftest.err >&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); } && {
39250 test -z "$ac_c_werror_flag" ||
39251 test ! -s conftest.err
39252 } && test -s conftest$ac_exeext &&
39253 $as_test_x conftest$ac_exeext; then
39254 eval wx_cv_func_$wx_func=yes
39256 echo "$as_me: failed program was:" >&5
39257 sed 's/^/| /' conftest.$ac_ext >&5
39259 eval wx_cv_func_$wx_func=no
39262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39263 conftest$ac_exeext conftest.$ac_ext
39266 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39267 { echo "$as_me:$LINENO: result: $ac_res" >&5
39268 echo "${ECHO_T}$ac_res" >&6; }
39270 if eval test \$wx_cv_func_$wx_func = yes
39272 cat >>confdefs.h <<_ACEOF
39273 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39279 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39280 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39297 for wx_func in uname
39299 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39300 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39301 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39302 echo $ECHO_N "(cached) $ECHO_C" >&6
39305 cat >conftest.$ac_ext <<_ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39313 #include <sys/utsname.h>
39314 $ac_includes_default
39330 rm -f conftest.$ac_objext conftest$ac_exeext
39331 if { (ac_try="$ac_link"
39332 case "(($ac_try" in
39333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39334 *) ac_try_echo=$ac_try;;
39336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39337 (eval "$ac_link") 2>conftest.er1
39339 grep -v '^ *+' conftest.er1 >conftest.err
39341 cat conftest.err >&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); } && {
39344 test -z "$ac_c_werror_flag" ||
39345 test ! -s conftest.err
39346 } && test -s conftest$ac_exeext &&
39347 $as_test_x conftest$ac_exeext; then
39348 eval wx_cv_func_$wx_func=yes
39350 echo "$as_me: failed program was:" >&5
39351 sed 's/^/| /' conftest.$ac_ext >&5
39353 eval wx_cv_func_$wx_func=no
39356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39357 conftest$ac_exeext conftest.$ac_ext
39360 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39361 { echo "$as_me:$LINENO: result: $ac_res" >&5
39362 echo "${ECHO_T}$ac_res" >&6; }
39364 if eval test \$wx_cv_func_$wx_func = yes
39366 cat >>confdefs.h <<_ACEOF
39367 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39377 if test "$wx_cv_func_uname" != yes; then
39379 for wx_func in gethostname
39381 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39382 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39383 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39384 echo $ECHO_N "(cached) $ECHO_C" >&6
39387 cat >conftest.$ac_ext <<_ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39396 $ac_includes_default
39412 rm -f conftest.$ac_objext conftest$ac_exeext
39413 if { (ac_try="$ac_link"
39414 case "(($ac_try" in
39415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39416 *) ac_try_echo=$ac_try;;
39418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39419 (eval "$ac_link") 2>conftest.er1
39421 grep -v '^ *+' conftest.er1 >conftest.err
39423 cat conftest.err >&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); } && {
39426 test -z "$ac_c_werror_flag" ||
39427 test ! -s conftest.err
39428 } && test -s conftest$ac_exeext &&
39429 $as_test_x conftest$ac_exeext; then
39430 eval wx_cv_func_$wx_func=yes
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.$ac_ext >&5
39435 eval wx_cv_func_$wx_func=no
39438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39439 conftest$ac_exeext conftest.$ac_ext
39442 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39443 { echo "$as_me:$LINENO: result: $ac_res" >&5
39444 echo "${ECHO_T}$ac_res" >&6; }
39446 if eval test \$wx_cv_func_$wx_func = yes
39448 cat >>confdefs.h <<_ACEOF
39449 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39462 for wx_func in strtok_r
39464 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39465 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39466 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39467 echo $ECHO_N "(cached) $ECHO_C" >&6
39470 cat >conftest.$ac_ext <<_ACEOF
39474 cat confdefs.h >>conftest.$ac_ext
39475 cat >>conftest.$ac_ext <<_ACEOF
39476 /* end confdefs.h. */
39479 $ac_includes_default
39495 rm -f conftest.$ac_objext conftest$ac_exeext
39496 if { (ac_try="$ac_link"
39497 case "(($ac_try" in
39498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39499 *) ac_try_echo=$ac_try;;
39501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39502 (eval "$ac_link") 2>conftest.er1
39504 grep -v '^ *+' conftest.er1 >conftest.err
39506 cat conftest.err >&5
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); } && {
39509 test -z "$ac_c_werror_flag" ||
39510 test ! -s conftest.err
39511 } && test -s conftest$ac_exeext &&
39512 $as_test_x conftest$ac_exeext; then
39513 eval wx_cv_func_$wx_func=yes
39515 echo "$as_me: failed program was:" >&5
39516 sed 's/^/| /' conftest.$ac_ext >&5
39518 eval wx_cv_func_$wx_func=no
39521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39522 conftest$ac_exeext conftest.$ac_ext
39525 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39526 { echo "$as_me:$LINENO: result: $ac_res" >&5
39527 echo "${ECHO_T}$ac_res" >&6; }
39529 if eval test \$wx_cv_func_$wx_func = yes
39531 cat >>confdefs.h <<_ACEOF
39532 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39545 for ac_func in inet_addr
39547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 cat >conftest.$ac_ext <<_ACEOF
39556 cat confdefs.h >>conftest.$ac_ext
39557 cat >>conftest.$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39561 #define $ac_func innocuous_$ac_func
39563 /* System header to define __stub macros and hopefully few prototypes,
39564 which can conflict with char $ac_func (); below.
39565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39566 <limits.h> exists even on freestanding compilers. */
39569 # include <limits.h>
39571 # include <assert.h>
39576 /* Override any GCC internal prototype to avoid an error.
39577 Use char because int might match the return type of a GCC
39578 builtin and then its argument prototype would still apply. */
39583 /* The GNU C library defines this for functions which it implements
39584 to always fail with ENOSYS. Some functions are actually named
39585 something starting with __ and the normal name is an alias. */
39586 #if defined __stub_$ac_func || defined __stub___$ac_func
39593 return $ac_func ();
39598 rm -f conftest.$ac_objext conftest$ac_exeext
39599 if { (ac_try="$ac_link"
39600 case "(($ac_try" in
39601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39602 *) ac_try_echo=$ac_try;;
39604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39605 (eval "$ac_link") 2>conftest.er1
39607 grep -v '^ *+' conftest.er1 >conftest.err
39609 cat conftest.err >&5
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); } && {
39612 test -z "$ac_c_werror_flag" ||
39613 test ! -s conftest.err
39614 } && test -s conftest$ac_exeext &&
39615 $as_test_x conftest$ac_exeext; then
39616 eval "$as_ac_var=yes"
39618 echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39621 eval "$as_ac_var=no"
39624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39625 conftest$ac_exeext conftest.$ac_ext
39627 ac_res=`eval echo '${'$as_ac_var'}'`
39628 { echo "$as_me:$LINENO: result: $ac_res" >&5
39629 echo "${ECHO_T}$ac_res" >&6; }
39630 if test `eval echo '${'$as_ac_var'}'` = yes; then
39631 cat >>confdefs.h <<_ACEOF
39632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39634 cat >>confdefs.h <<\_ACEOF
39635 #define HAVE_INET_ADDR 1
39640 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39641 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39642 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 ac_check_lib_save_LIBS=$LIBS
39647 cat >conftest.$ac_ext <<_ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39654 /* Override any GCC internal prototype to avoid an error.
39655 Use char because int might match the return type of a GCC
39656 builtin and then its argument prototype would still apply. */
39664 return inet_addr ();
39669 rm -f conftest.$ac_objext conftest$ac_exeext
39670 if { (ac_try="$ac_link"
39671 case "(($ac_try" in
39672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39673 *) ac_try_echo=$ac_try;;
39675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39676 (eval "$ac_link") 2>conftest.er1
39678 grep -v '^ *+' conftest.er1 >conftest.err
39680 cat conftest.err >&5
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); } && {
39683 test -z "$ac_c_werror_flag" ||
39684 test ! -s conftest.err
39685 } && test -s conftest$ac_exeext &&
39686 $as_test_x conftest$ac_exeext; then
39687 ac_cv_lib_nsl_inet_addr=yes
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.$ac_ext >&5
39692 ac_cv_lib_nsl_inet_addr=no
39695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39696 conftest$ac_exeext conftest.$ac_ext
39697 LIBS=$ac_check_lib_save_LIBS
39699 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39700 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39701 if test $ac_cv_lib_nsl_inet_addr = yes; then
39705 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39706 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39707 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39708 echo $ECHO_N "(cached) $ECHO_C" >&6
39710 ac_check_lib_save_LIBS=$LIBS
39711 LIBS="-lresolv $LIBS"
39712 cat >conftest.$ac_ext <<_ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39719 /* Override any GCC internal prototype to avoid an error.
39720 Use char because int might match the return type of a GCC
39721 builtin and then its argument prototype would still apply. */
39729 return inet_addr ();
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39743 grep -v '^ *+' conftest.er1 >conftest.err
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest$ac_exeext &&
39751 $as_test_x conftest$ac_exeext; then
39752 ac_cv_lib_resolv_inet_addr=yes
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.$ac_ext >&5
39757 ac_cv_lib_resolv_inet_addr=no
39760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39761 conftest$ac_exeext conftest.$ac_ext
39762 LIBS=$ac_check_lib_save_LIBS
39764 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39765 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39766 if test $ac_cv_lib_resolv_inet_addr = yes; then
39770 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39771 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39772 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 ac_check_lib_save_LIBS=$LIBS
39776 LIBS="-lsocket $LIBS"
39777 cat >conftest.$ac_ext <<_ACEOF
39780 cat confdefs.h >>conftest.$ac_ext
39781 cat >>conftest.$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39784 /* Override any GCC internal prototype to avoid an error.
39785 Use char because int might match the return type of a GCC
39786 builtin and then its argument prototype would still apply. */
39794 return inet_addr ();
39799 rm -f conftest.$ac_objext conftest$ac_exeext
39800 if { (ac_try="$ac_link"
39801 case "(($ac_try" in
39802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39803 *) ac_try_echo=$ac_try;;
39805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39806 (eval "$ac_link") 2>conftest.er1
39808 grep -v '^ *+' conftest.er1 >conftest.err
39810 cat conftest.err >&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } && {
39813 test -z "$ac_c_werror_flag" ||
39814 test ! -s conftest.err
39815 } && test -s conftest$ac_exeext &&
39816 $as_test_x conftest$ac_exeext; then
39817 ac_cv_lib_socket_inet_addr=yes
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39822 ac_cv_lib_socket_inet_addr=no
39825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39826 conftest$ac_exeext conftest.$ac_ext
39827 LIBS=$ac_check_lib_save_LIBS
39829 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39830 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39831 if test $ac_cv_lib_socket_inet_addr = yes; then
39851 for ac_func in inet_aton
39853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 cat >conftest.$ac_ext <<_ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define $ac_func innocuous_$ac_func
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char $ac_func (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39875 # include <limits.h>
39877 # include <assert.h>
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_$ac_func || defined __stub___$ac_func
39899 return $ac_func ();
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (ac_try="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39913 grep -v '^ *+' conftest.er1 >conftest.err
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 eval "$as_ac_var=yes"
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39927 eval "$as_ac_var=no"
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39933 ac_res=`eval echo '${'$as_ac_var'}'`
39934 { echo "$as_me:$LINENO: result: $ac_res" >&5
39935 echo "${ECHO_T}$ac_res" >&6; }
39936 if test `eval echo '${'$as_ac_var'}'` = yes; then
39937 cat >>confdefs.h <<_ACEOF
39938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39940 cat >>confdefs.h <<\_ACEOF
39941 #define HAVE_INET_ATON 1
39946 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39947 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39948 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39949 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39952 ac_check_lib_save_LIBS=$LIBS
39953 LIBS="-l$INET_LINK $LIBS"
39954 cat >conftest.$ac_ext <<_ACEOF
39957 cat confdefs.h >>conftest.$ac_ext
39958 cat >>conftest.$ac_ext <<_ACEOF
39959 /* end confdefs.h. */
39961 /* Override any GCC internal prototype to avoid an error.
39962 Use char because int might match the return type of a GCC
39963 builtin and then its argument prototype would still apply. */
39971 return inet_aton ();
39976 rm -f conftest.$ac_objext conftest$ac_exeext
39977 if { (ac_try="$ac_link"
39978 case "(($ac_try" in
39979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39980 *) ac_try_echo=$ac_try;;
39982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39983 (eval "$ac_link") 2>conftest.er1
39985 grep -v '^ *+' conftest.er1 >conftest.err
39987 cat conftest.err >&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); } && {
39990 test -z "$ac_c_werror_flag" ||
39991 test ! -s conftest.err
39992 } && test -s conftest$ac_exeext &&
39993 $as_test_x conftest$ac_exeext; then
39994 eval "$as_ac_Lib=yes"
39996 echo "$as_me: failed program was:" >&5
39997 sed 's/^/| /' conftest.$ac_ext >&5
39999 eval "$as_ac_Lib=no"
40002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40003 conftest$ac_exeext conftest.$ac_ext
40004 LIBS=$ac_check_lib_save_LIBS
40006 ac_res=`eval echo '${'$as_ac_Lib'}'`
40007 { echo "$as_me:$LINENO: result: $ac_res" >&5
40008 echo "${ECHO_T}$ac_res" >&6; }
40009 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40010 cat >>confdefs.h <<\_ACEOF
40011 #define HAVE_INET_ATON 1
40021 if test "x$INET_LINK" != "x"; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define HAVE_INET_ADDR 1
40026 INET_LINK=" -l$INET_LINK"
40030 for wx_func in fdopen
40032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40034 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40035 echo $ECHO_N "(cached) $ECHO_C" >&6
40038 cat >conftest.$ac_ext <<_ACEOF
40042 cat confdefs.h >>conftest.$ac_ext
40043 cat >>conftest.$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40047 $ac_includes_default
40063 rm -f conftest.$ac_objext conftest$ac_exeext
40064 if { (ac_try="$ac_link"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40067 *) ac_try_echo=$ac_try;;
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_link") 2>conftest.er1
40072 grep -v '^ *+' conftest.er1 >conftest.err
40074 cat conftest.err >&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest$ac_exeext &&
40080 $as_test_x conftest$ac_exeext; then
40081 eval wx_cv_func_$wx_func=yes
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.$ac_ext >&5
40086 eval wx_cv_func_$wx_func=no
40089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40090 conftest$ac_exeext conftest.$ac_ext
40093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40094 { echo "$as_me:$LINENO: result: $ac_res" >&5
40095 echo "${ECHO_T}$ac_res" >&6; }
40097 if eval test \$wx_cv_func_$wx_func = yes
40099 cat >>confdefs.h <<_ACEOF
40100 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40111 if test "$wxUSE_TARSTREAM" = "yes"; then
40113 for wx_func in sysconf
40115 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40116 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40117 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40118 echo $ECHO_N "(cached) $ECHO_C" >&6
40121 cat >conftest.$ac_ext <<_ACEOF
40125 cat confdefs.h >>conftest.$ac_ext
40126 cat >>conftest.$ac_ext <<_ACEOF
40127 /* end confdefs.h. */
40130 $ac_includes_default
40146 rm -f conftest.$ac_objext conftest$ac_exeext
40147 if { (ac_try="$ac_link"
40148 case "(($ac_try" in
40149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40150 *) ac_try_echo=$ac_try;;
40152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40153 (eval "$ac_link") 2>conftest.er1
40155 grep -v '^ *+' conftest.er1 >conftest.err
40157 cat conftest.err >&5
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); } && {
40160 test -z "$ac_c_werror_flag" ||
40161 test ! -s conftest.err
40162 } && test -s conftest$ac_exeext &&
40163 $as_test_x conftest$ac_exeext; then
40164 eval wx_cv_func_$wx_func=yes
40166 echo "$as_me: failed program was:" >&5
40167 sed 's/^/| /' conftest.$ac_ext >&5
40169 eval wx_cv_func_$wx_func=no
40172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40173 conftest$ac_exeext conftest.$ac_ext
40176 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40177 { echo "$as_me:$LINENO: result: $ac_res" >&5
40178 echo "${ECHO_T}$ac_res" >&6; }
40180 if eval test \$wx_cv_func_$wx_func = yes
40182 cat >>confdefs.h <<_ACEOF
40183 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40195 for wx_func in getpwuid_r
40197 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40198 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40199 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40200 echo $ECHO_N "(cached) $ECHO_C" >&6
40203 cat >conftest.$ac_ext <<_ACEOF
40207 cat confdefs.h >>conftest.$ac_ext
40208 cat >>conftest.$ac_ext <<_ACEOF
40209 /* end confdefs.h. */
40215 $ac_includes_default
40225 struct passwd pw, *ppw;
40227 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40235 rm -f conftest.$ac_objext conftest$ac_exeext
40236 if { (ac_try="$ac_link"
40237 case "(($ac_try" in
40238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40239 *) ac_try_echo=$ac_try;;
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_link") 2>conftest.er1
40244 grep -v '^ *+' conftest.er1 >conftest.err
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest$ac_exeext &&
40252 $as_test_x conftest$ac_exeext; then
40253 eval wx_cv_func_$wx_func=yes
40255 echo "$as_me: failed program was:" >&5
40256 sed 's/^/| /' conftest.$ac_ext >&5
40258 eval wx_cv_func_$wx_func=no
40261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40262 conftest$ac_exeext conftest.$ac_ext
40265 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40266 { echo "$as_me:$LINENO: result: $ac_res" >&5
40267 echo "${ECHO_T}$ac_res" >&6; }
40269 if eval test \$wx_cv_func_$wx_func = yes
40271 cat >>confdefs.h <<_ACEOF
40272 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40284 for wx_func in getgrgid_r
40286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40292 cat >conftest.$ac_ext <<_ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40304 $ac_includes_default
40314 struct group grp, *pgrp;
40316 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40324 rm -f conftest.$ac_objext conftest$ac_exeext
40325 if { (ac_try="$ac_link"
40326 case "(($ac_try" in
40327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40328 *) ac_try_echo=$ac_try;;
40330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40331 (eval "$ac_link") 2>conftest.er1
40333 grep -v '^ *+' conftest.er1 >conftest.err
40335 cat conftest.err >&5
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); } && {
40338 test -z "$ac_c_werror_flag" ||
40339 test ! -s conftest.err
40340 } && test -s conftest$ac_exeext &&
40341 $as_test_x conftest$ac_exeext; then
40342 eval wx_cv_func_$wx_func=yes
40344 echo "$as_me: failed program was:" >&5
40345 sed 's/^/| /' conftest.$ac_ext >&5
40347 eval wx_cv_func_$wx_func=no
40350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40351 conftest$ac_exeext conftest.$ac_ext
40354 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40355 { echo "$as_me:$LINENO: result: $ac_res" >&5
40356 echo "${ECHO_T}$ac_res" >&6; }
40358 if eval test \$wx_cv_func_$wx_func = yes
40360 cat >>confdefs.h <<_ACEOF
40361 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40377 cat >confcache <<\_ACEOF
40378 # This file is a shell script that caches the results of configure
40379 # tests run on this system so they can be shared between configure
40380 # scripts and configure runs, see configure's option --config-cache.
40381 # It is not useful on other systems. If it contains results you don't
40382 # want to keep, you may remove or edit it.
40384 # config.status only pays attention to the cache file if you give it
40385 # the --recheck option to rerun configure.
40387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40389 # following values.
40393 # The following way of writing the cache mishandles newlines in values,
40394 # but we know of no workaround that is simple, portable, and efficient.
40395 # So, we kill variables containing newlines.
40396 # Ultrix sh set writes to stderr and can't be redirected directly,
40397 # and sets the high bit in the cache file unless we assign to the vars.
40399 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40400 eval ac_val=\$$ac_var
40404 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40405 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40408 _ | IFS | as_nl) ;; #(
40409 *) $as_unset $ac_var ;;
40415 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40416 *${as_nl}ac_space=\ *)
40417 # `set' does not quote correctly, so add quotes (double-quote
40418 # substitution turns \\\\ into \\, and sed turns \\ into \).
40421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40424 # `set' quotes correctly as required by POSIX, so do not add quotes.
40425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40434 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40436 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40438 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40439 if test -w "$cache_file"; then
40440 test "x$cache_file" != "x/dev/null" &&
40441 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40442 echo "$as_me: updating cache $cache_file" >&6;}
40443 cat confcache >$cache_file
40445 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40446 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40452 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40458 if test "$wxUSE_THREADS" = "yes" ; then
40459 if test "$USE_BEOS" = 1; then
40460 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40461 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40466 if test "$wxUSE_THREADS" = "yes" ; then
40469 THREAD_OPTS="-pthread"
40470 if test "x$SUNCXX" = xyes; then
40471 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40475 *-*-solaris2* | *-*-sunos4* )
40476 if test "x$GCC" = "xyes"; then
40477 THREAD_OPTS="-pthreads $THREAD_OPTS"
40481 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40483 *-*-darwin* | *-*-cygwin* )
40487 THREAD_OPTS="pthreads"
40490 if test "x$GCC" = "xyes"; then
40491 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40499 if test "x$GCC" = "xyes"; then
40509 if test "x$GCC" != "xyes"; then
40510 THREAD_OPTS="-Ethread"
40517 THREAD_OPTS="none pthread"
40521 THREAD_OPTS="$THREAD_OPTS pthread none"
40526 for flag in $THREAD_OPTS; do
40529 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40530 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40534 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40535 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40536 THREADS_CFLAGS="$flag"
40540 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40541 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40542 THREADS_LINK="-l$flag"
40547 save_CFLAGS="$CFLAGS"
40548 LIBS="$THREADS_LINK $LIBS"
40549 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40551 cat >conftest.$ac_ext <<_ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h. */
40557 #include <pthread.h>
40561 pthread_create(0,0,0,0);
40566 rm -f conftest.$ac_objext conftest$ac_exeext
40567 if { (ac_try="$ac_link"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40570 *) ac_try_echo=$ac_try;;
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_link") 2>conftest.er1
40575 grep -v '^ *+' conftest.er1 >conftest.err
40577 cat conftest.err >&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest$ac_exeext &&
40583 $as_test_x conftest$ac_exeext; then
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40593 conftest$ac_exeext conftest.$ac_ext
40596 CFLAGS="$save_CFLAGS"
40598 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40599 echo "${ECHO_T}$THREADS_OK" >&6; }
40600 if test "x$THREADS_OK" = "xyes"; then
40608 if test "x$THREADS_OK" != "xyes"; then
40610 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40611 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40613 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40614 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40615 LIBS="$THREADS_LINK $LIBS"
40617 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40618 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40622 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40623 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40624 flag="-D_THREAD_SAFE"
40627 flag="-D_THREAD_SAFE"
40630 flag="-D_REENTRANT"
40631 if test "x$GCC" != "xyes"; then
40632 flag="$flag -D_RWSTD_MULTI_THREAD"
40635 *solaris* | alpha*-osf*)
40636 flag="-D_REENTRANT"
40639 { echo "$as_me:$LINENO: result: ${flag}" >&5
40640 echo "${ECHO_T}${flag}" >&6; }
40641 if test "x$flag" != xno; then
40642 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40645 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40649 if test "$wxUSE_THREADS" = "yes" ; then
40651 for ac_func in thr_setconcurrency
40653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 cat >conftest.$ac_ext <<_ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define $ac_func innocuous_$ac_func
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char $ac_func (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40675 # include <limits.h>
40677 # include <assert.h>
40682 /* Override any GCC internal prototype to avoid an error.
40683 Use char because int might match the return type of a GCC
40684 builtin and then its argument prototype would still apply. */
40689 /* The GNU C library defines this for functions which it implements
40690 to always fail with ENOSYS. Some functions are actually named
40691 something starting with __ and the normal name is an alias. */
40692 #if defined __stub_$ac_func || defined __stub___$ac_func
40699 return $ac_func ();
40704 rm -f conftest.$ac_objext conftest$ac_exeext
40705 if { (ac_try="$ac_link"
40706 case "(($ac_try" in
40707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40708 *) ac_try_echo=$ac_try;;
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_link") 2>conftest.er1
40713 grep -v '^ *+' conftest.er1 >conftest.err
40715 cat conftest.err >&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest$ac_exeext &&
40721 $as_test_x conftest$ac_exeext; then
40722 eval "$as_ac_var=yes"
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40727 eval "$as_ac_var=no"
40730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40731 conftest$ac_exeext conftest.$ac_ext
40733 ac_res=`eval echo '${'$as_ac_var'}'`
40734 { echo "$as_me:$LINENO: result: $ac_res" >&5
40735 echo "${ECHO_T}$ac_res" >&6; }
40736 if test `eval echo '${'$as_ac_var'}'` = yes; then
40737 cat >>confdefs.h <<_ACEOF
40738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40745 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40746 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40747 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40748 echo $ECHO_N "(cached) $ECHO_C" >&6
40752 ac_cpp='$CXXCPP $CPPFLAGS'
40753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40757 cat >conftest.$ac_ext <<_ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 #include <pthread.h>
40764 void ThreadCleanupFunc(void *p);
40771 pthread_cleanup_push(ThreadCleanupFunc, p);
40772 pthread_cleanup_pop(0);
40778 rm -f conftest.$ac_objext
40779 if { (ac_try="$ac_compile"
40780 case "(($ac_try" in
40781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40782 *) ac_try_echo=$ac_try;;
40784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40785 (eval "$ac_compile") 2>conftest.er1
40787 grep -v '^ *+' conftest.er1 >conftest.err
40789 cat conftest.err >&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } && {
40792 test -z "$ac_cxx_werror_flag" ||
40793 test ! -s conftest.err
40794 } && test -s conftest.$ac_objext; then
40796 wx_cv_func_pthread_cleanup=yes
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40803 wx_cv_func_pthread_cleanup=no
40808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40810 ac_cpp='$CPP $CPPFLAGS'
40811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40817 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40818 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40819 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40820 cat >>confdefs.h <<\_ACEOF
40821 #define wxHAVE_PTHREAD_CLEANUP 1
40827 for ac_header in sched.h
40829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40833 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 cat >conftest.$ac_ext <<_ACEOF
40838 cat confdefs.h >>conftest.$ac_ext
40839 cat >>conftest.$ac_ext <<_ACEOF
40840 /* end confdefs.h. */
40841 $ac_includes_default
40843 #include <$ac_header>
40845 rm -f conftest.$ac_objext
40846 if { (ac_try="$ac_compile"
40847 case "(($ac_try" in
40848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40849 *) ac_try_echo=$ac_try;;
40851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40852 (eval "$ac_compile") 2>conftest.er1
40854 grep -v '^ *+' conftest.er1 >conftest.err
40856 cat conftest.err >&5
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); } && {
40859 test -z "$ac_c_werror_flag" ||
40860 test ! -s conftest.err
40861 } && test -s conftest.$ac_objext; then
40862 eval "$as_ac_Header=yes"
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40867 eval "$as_ac_Header=no"
40870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40872 ac_res=`eval echo '${'$as_ac_Header'}'`
40873 { echo "$as_me:$LINENO: result: $ac_res" >&5
40874 echo "${ECHO_T}$ac_res" >&6; }
40875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40876 cat >>confdefs.h <<_ACEOF
40877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40884 if test "$ac_cv_header_sched_h" = "yes"; then
40885 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40886 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40887 if test "${ac_cv_func_sched_yield+set}" = set; then
40888 echo $ECHO_N "(cached) $ECHO_C" >&6
40890 cat >conftest.$ac_ext <<_ACEOF
40893 cat confdefs.h >>conftest.$ac_ext
40894 cat >>conftest.$ac_ext <<_ACEOF
40895 /* end confdefs.h. */
40896 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40898 #define sched_yield innocuous_sched_yield
40900 /* System header to define __stub macros and hopefully few prototypes,
40901 which can conflict with char sched_yield (); below.
40902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40903 <limits.h> exists even on freestanding compilers. */
40906 # include <limits.h>
40908 # include <assert.h>
40913 /* Override any GCC internal prototype to avoid an error.
40914 Use char because int might match the return type of a GCC
40915 builtin and then its argument prototype would still apply. */
40919 char sched_yield ();
40920 /* The GNU C library defines this for functions which it implements
40921 to always fail with ENOSYS. Some functions are actually named
40922 something starting with __ and the normal name is an alias. */
40923 #if defined __stub_sched_yield || defined __stub___sched_yield
40930 return sched_yield ();
40935 rm -f conftest.$ac_objext conftest$ac_exeext
40936 if { (ac_try="$ac_link"
40937 case "(($ac_try" in
40938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40939 *) ac_try_echo=$ac_try;;
40941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40942 (eval "$ac_link") 2>conftest.er1
40944 grep -v '^ *+' conftest.er1 >conftest.err
40946 cat conftest.err >&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); } && {
40949 test -z "$ac_c_werror_flag" ||
40950 test ! -s conftest.err
40951 } && test -s conftest$ac_exeext &&
40952 $as_test_x conftest$ac_exeext; then
40953 ac_cv_func_sched_yield=yes
40955 echo "$as_me: failed program was:" >&5
40956 sed 's/^/| /' conftest.$ac_ext >&5
40958 ac_cv_func_sched_yield=no
40961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40962 conftest$ac_exeext conftest.$ac_ext
40964 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40965 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40966 if test $ac_cv_func_sched_yield = yes; then
40967 cat >>confdefs.h <<\_ACEOF
40968 #define HAVE_SCHED_YIELD 1
40973 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40974 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40975 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40976 echo $ECHO_N "(cached) $ECHO_C" >&6
40978 ac_check_lib_save_LIBS=$LIBS
40979 LIBS="-lposix4 $LIBS"
40980 cat >conftest.$ac_ext <<_ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h. */
40987 /* Override any GCC internal prototype to avoid an error.
40988 Use char because int might match the return type of a GCC
40989 builtin and then its argument prototype would still apply. */
40993 char sched_yield ();
40997 return sched_yield ();
41002 rm -f conftest.$ac_objext conftest$ac_exeext
41003 if { (ac_try="$ac_link"
41004 case "(($ac_try" in
41005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41006 *) ac_try_echo=$ac_try;;
41008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41009 (eval "$ac_link") 2>conftest.er1
41011 grep -v '^ *+' conftest.er1 >conftest.err
41013 cat conftest.err >&5
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); } && {
41016 test -z "$ac_c_werror_flag" ||
41017 test ! -s conftest.err
41018 } && test -s conftest$ac_exeext &&
41019 $as_test_x conftest$ac_exeext; then
41020 ac_cv_lib_posix4_sched_yield=yes
41022 echo "$as_me: failed program was:" >&5
41023 sed 's/^/| /' conftest.$ac_ext >&5
41025 ac_cv_lib_posix4_sched_yield=no
41028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41029 conftest$ac_exeext conftest.$ac_ext
41030 LIBS=$ac_check_lib_save_LIBS
41032 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41033 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41034 if test $ac_cv_lib_posix4_sched_yield = yes; then
41035 cat >>confdefs.h <<\_ACEOF
41036 #define HAVE_SCHED_YIELD 1
41038 POSIX4_LINK=" -lposix4"
41040 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41041 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41052 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41053 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41054 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41057 cat >conftest.$ac_ext <<_ACEOF
41060 cat confdefs.h >>conftest.$ac_ext
41061 cat >>conftest.$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41065 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41067 /* System header to define __stub macros and hopefully few prototypes,
41068 which can conflict with char pthread_attr_getschedpolicy (); below.
41069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41070 <limits.h> exists even on freestanding compilers. */
41073 # include <limits.h>
41075 # include <assert.h>
41078 #undef pthread_attr_getschedpolicy
41080 /* Override any GCC internal prototype to avoid an error.
41081 Use char because int might match the return type of a GCC
41082 builtin and then its argument prototype would still apply. */
41086 char pthread_attr_getschedpolicy ();
41087 /* The GNU C library defines this for functions which it implements
41088 to always fail with ENOSYS. Some functions are actually named
41089 something starting with __ and the normal name is an alias. */
41090 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41097 return pthread_attr_getschedpolicy ();
41102 rm -f conftest.$ac_objext conftest$ac_exeext
41103 if { (ac_try="$ac_link"
41104 case "(($ac_try" in
41105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41106 *) ac_try_echo=$ac_try;;
41108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41109 (eval "$ac_link") 2>conftest.er1
41111 grep -v '^ *+' conftest.er1 >conftest.err
41113 cat conftest.err >&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && {
41116 test -z "$ac_c_werror_flag" ||
41117 test ! -s conftest.err
41118 } && test -s conftest$ac_exeext &&
41119 $as_test_x conftest$ac_exeext; then
41120 ac_cv_func_pthread_attr_getschedpolicy=yes
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41125 ac_cv_func_pthread_attr_getschedpolicy=no
41128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41129 conftest$ac_exeext conftest.$ac_ext
41131 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41132 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41133 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41134 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41135 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41136 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41137 echo $ECHO_N "(cached) $ECHO_C" >&6
41139 cat >conftest.$ac_ext <<_ACEOF
41142 cat confdefs.h >>conftest.$ac_ext
41143 cat >>conftest.$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41147 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41149 /* System header to define __stub macros and hopefully few prototypes,
41150 which can conflict with char pthread_attr_setschedparam (); below.
41151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41152 <limits.h> exists even on freestanding compilers. */
41155 # include <limits.h>
41157 # include <assert.h>
41160 #undef pthread_attr_setschedparam
41162 /* Override any GCC internal prototype to avoid an error.
41163 Use char because int might match the return type of a GCC
41164 builtin and then its argument prototype would still apply. */
41168 char pthread_attr_setschedparam ();
41169 /* The GNU C library defines this for functions which it implements
41170 to always fail with ENOSYS. Some functions are actually named
41171 something starting with __ and the normal name is an alias. */
41172 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41179 return pthread_attr_setschedparam ();
41184 rm -f conftest.$ac_objext conftest$ac_exeext
41185 if { (ac_try="$ac_link"
41186 case "(($ac_try" in
41187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41188 *) ac_try_echo=$ac_try;;
41190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41191 (eval "$ac_link") 2>conftest.er1
41193 grep -v '^ *+' conftest.er1 >conftest.err
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } && {
41198 test -z "$ac_c_werror_flag" ||
41199 test ! -s conftest.err
41200 } && test -s conftest$ac_exeext &&
41201 $as_test_x conftest$ac_exeext; then
41202 ac_cv_func_pthread_attr_setschedparam=yes
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41207 ac_cv_func_pthread_attr_setschedparam=no
41210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41211 conftest$ac_exeext conftest.$ac_ext
41213 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41214 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41215 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41216 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41217 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41218 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41219 echo $ECHO_N "(cached) $ECHO_C" >&6
41221 cat >conftest.$ac_ext <<_ACEOF
41224 cat confdefs.h >>conftest.$ac_ext
41225 cat >>conftest.$ac_ext <<_ACEOF
41226 /* end confdefs.h. */
41227 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41229 #define sched_get_priority_max innocuous_sched_get_priority_max
41231 /* System header to define __stub macros and hopefully few prototypes,
41232 which can conflict with char sched_get_priority_max (); below.
41233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41234 <limits.h> exists even on freestanding compilers. */
41237 # include <limits.h>
41239 # include <assert.h>
41242 #undef sched_get_priority_max
41244 /* Override any GCC internal prototype to avoid an error.
41245 Use char because int might match the return type of a GCC
41246 builtin and then its argument prototype would still apply. */
41250 char sched_get_priority_max ();
41251 /* The GNU C library defines this for functions which it implements
41252 to always fail with ENOSYS. Some functions are actually named
41253 something starting with __ and the normal name is an alias. */
41254 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41261 return sched_get_priority_max ();
41266 rm -f conftest.$ac_objext conftest$ac_exeext
41267 if { (ac_try="$ac_link"
41268 case "(($ac_try" in
41269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41270 *) ac_try_echo=$ac_try;;
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273 (eval "$ac_link") 2>conftest.er1
41275 grep -v '^ *+' conftest.er1 >conftest.err
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } && {
41280 test -z "$ac_c_werror_flag" ||
41281 test ! -s conftest.err
41282 } && test -s conftest$ac_exeext &&
41283 $as_test_x conftest$ac_exeext; then
41284 ac_cv_func_sched_get_priority_max=yes
41286 echo "$as_me: failed program was:" >&5
41287 sed 's/^/| /' conftest.$ac_ext >&5
41289 ac_cv_func_sched_get_priority_max=no
41292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41293 conftest$ac_exeext conftest.$ac_ext
41295 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41296 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41297 if test $ac_cv_func_sched_get_priority_max = yes; then
41300 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41301 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41302 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41303 echo $ECHO_N "(cached) $ECHO_C" >&6
41305 ac_check_lib_save_LIBS=$LIBS
41306 LIBS="-lposix4 $LIBS"
41307 cat >conftest.$ac_ext <<_ACEOF
41310 cat confdefs.h >>conftest.$ac_ext
41311 cat >>conftest.$ac_ext <<_ACEOF
41312 /* end confdefs.h. */
41314 /* Override any GCC internal prototype to avoid an error.
41315 Use char because int might match the return type of a GCC
41316 builtin and then its argument prototype would still apply. */
41320 char sched_get_priority_max ();
41324 return sched_get_priority_max ();
41329 rm -f conftest.$ac_objext conftest$ac_exeext
41330 if { (ac_try="$ac_link"
41331 case "(($ac_try" in
41332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41333 *) ac_try_echo=$ac_try;;
41335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41336 (eval "$ac_link") 2>conftest.er1
41338 grep -v '^ *+' conftest.er1 >conftest.err
41340 cat conftest.err >&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); } && {
41343 test -z "$ac_c_werror_flag" ||
41344 test ! -s conftest.err
41345 } && test -s conftest$ac_exeext &&
41346 $as_test_x conftest$ac_exeext; then
41347 ac_cv_lib_posix4_sched_get_priority_max=yes
41349 echo "$as_me: failed program was:" >&5
41350 sed 's/^/| /' conftest.$ac_ext >&5
41352 ac_cv_lib_posix4_sched_get_priority_max=no
41355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41356 conftest$ac_exeext conftest.$ac_ext
41357 LIBS=$ac_check_lib_save_LIBS
41359 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41360 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41361 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41364 POSIX4_LINK=" -lposix4"
41378 if test "$HAVE_PRIOR_FUNCS" = 1; then
41379 cat >>confdefs.h <<\_ACEOF
41380 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41384 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41385 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41388 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41389 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41390 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41393 cat >conftest.$ac_ext <<_ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h. */
41399 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41401 #define pthread_cancel innocuous_pthread_cancel
41403 /* System header to define __stub macros and hopefully few prototypes,
41404 which can conflict with char pthread_cancel (); below.
41405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41406 <limits.h> exists even on freestanding compilers. */
41409 # include <limits.h>
41411 # include <assert.h>
41414 #undef pthread_cancel
41416 /* Override any GCC internal prototype to avoid an error.
41417 Use char because int might match the return type of a GCC
41418 builtin and then its argument prototype would still apply. */
41422 char pthread_cancel ();
41423 /* The GNU C library defines this for functions which it implements
41424 to always fail with ENOSYS. Some functions are actually named
41425 something starting with __ and the normal name is an alias. */
41426 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41433 return pthread_cancel ();
41438 rm -f conftest.$ac_objext conftest$ac_exeext
41439 if { (ac_try="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>conftest.er1
41447 grep -v '^ *+' conftest.er1 >conftest.err
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } && {
41452 test -z "$ac_c_werror_flag" ||
41453 test ! -s conftest.err
41454 } && test -s conftest$ac_exeext &&
41455 $as_test_x conftest$ac_exeext; then
41456 ac_cv_func_pthread_cancel=yes
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41461 ac_cv_func_pthread_cancel=no
41464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41465 conftest$ac_exeext conftest.$ac_ext
41467 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41468 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41469 if test $ac_cv_func_pthread_cancel = yes; then
41470 cat >>confdefs.h <<\_ACEOF
41471 #define HAVE_PTHREAD_CANCEL 1
41475 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41476 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41480 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41481 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41482 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41483 echo $ECHO_N "(cached) $ECHO_C" >&6
41485 cat >conftest.$ac_ext <<_ACEOF
41488 cat confdefs.h >>conftest.$ac_ext
41489 cat >>conftest.$ac_ext <<_ACEOF
41490 /* end confdefs.h. */
41491 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41493 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41495 /* System header to define __stub macros and hopefully few prototypes,
41496 which can conflict with char pthread_mutex_timedlock (); below.
41497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41498 <limits.h> exists even on freestanding compilers. */
41501 # include <limits.h>
41503 # include <assert.h>
41506 #undef pthread_mutex_timedlock
41508 /* Override any GCC internal prototype to avoid an error.
41509 Use char because int might match the return type of a GCC
41510 builtin and then its argument prototype would still apply. */
41514 char pthread_mutex_timedlock ();
41515 /* The GNU C library defines this for functions which it implements
41516 to always fail with ENOSYS. Some functions are actually named
41517 something starting with __ and the normal name is an alias. */
41518 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41525 return pthread_mutex_timedlock ();
41530 rm -f conftest.$ac_objext conftest$ac_exeext
41531 if { (ac_try="$ac_link"
41532 case "(($ac_try" in
41533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41534 *) ac_try_echo=$ac_try;;
41536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41537 (eval "$ac_link") 2>conftest.er1
41539 grep -v '^ *+' conftest.er1 >conftest.err
41541 cat conftest.err >&5
41542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41543 (exit $ac_status); } && {
41544 test -z "$ac_c_werror_flag" ||
41545 test ! -s conftest.err
41546 } && test -s conftest$ac_exeext &&
41547 $as_test_x conftest$ac_exeext; then
41548 ac_cv_func_pthread_mutex_timedlock=yes
41550 echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.$ac_ext >&5
41553 ac_cv_func_pthread_mutex_timedlock=no
41556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41557 conftest$ac_exeext conftest.$ac_ext
41559 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41560 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41561 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41567 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41568 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41572 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41573 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41574 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41575 echo $ECHO_N "(cached) $ECHO_C" >&6
41577 cat >conftest.$ac_ext <<_ACEOF
41580 cat confdefs.h >>conftest.$ac_ext
41581 cat >>conftest.$ac_ext <<_ACEOF
41582 /* end confdefs.h. */
41583 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41585 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41587 /* System header to define __stub macros and hopefully few prototypes,
41588 which can conflict with char pthread_attr_setstacksize (); below.
41589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41590 <limits.h> exists even on freestanding compilers. */
41593 # include <limits.h>
41595 # include <assert.h>
41598 #undef pthread_attr_setstacksize
41600 /* Override any GCC internal prototype to avoid an error.
41601 Use char because int might match the return type of a GCC
41602 builtin and then its argument prototype would still apply. */
41606 char pthread_attr_setstacksize ();
41607 /* The GNU C library defines this for functions which it implements
41608 to always fail with ENOSYS. Some functions are actually named
41609 something starting with __ and the normal name is an alias. */
41610 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41617 return pthread_attr_setstacksize ();
41622 rm -f conftest.$ac_objext conftest$ac_exeext
41623 if { (ac_try="$ac_link"
41624 case "(($ac_try" in
41625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41626 *) ac_try_echo=$ac_try;;
41628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41629 (eval "$ac_link") 2>conftest.er1
41631 grep -v '^ *+' conftest.er1 >conftest.err
41633 cat conftest.err >&5
41634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41635 (exit $ac_status); } && {
41636 test -z "$ac_c_werror_flag" ||
41637 test ! -s conftest.err
41638 } && test -s conftest$ac_exeext &&
41639 $as_test_x conftest$ac_exeext; then
41640 ac_cv_func_pthread_attr_setstacksize=yes
41642 echo "$as_me: failed program was:" >&5
41643 sed 's/^/| /' conftest.$ac_ext >&5
41645 ac_cv_func_pthread_attr_setstacksize=no
41648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41649 conftest$ac_exeext conftest.$ac_ext
41651 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41652 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41653 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41654 cat >>confdefs.h <<\_ACEOF
41655 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41662 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41663 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41664 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41665 echo $ECHO_N "(cached) $ECHO_C" >&6
41668 cat >conftest.$ac_ext <<_ACEOF
41671 cat confdefs.h >>conftest.$ac_ext
41672 cat >>conftest.$ac_ext <<_ACEOF
41673 /* end confdefs.h. */
41674 #include <pthread.h>
41679 pthread_mutexattr_t attr;
41680 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41686 rm -f conftest.$ac_objext
41687 if { (ac_try="$ac_compile"
41688 case "(($ac_try" in
41689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41690 *) ac_try_echo=$ac_try;;
41692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41693 (eval "$ac_compile") 2>conftest.er1
41695 grep -v '^ *+' conftest.er1 >conftest.err
41697 cat conftest.err >&5
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); } && {
41700 test -z "$ac_c_werror_flag" ||
41701 test ! -s conftest.err
41702 } && test -s conftest.$ac_objext; then
41703 wx_cv_type_pthread_mutexattr_t=yes
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41708 wx_cv_type_pthread_mutexattr_t=no
41712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41715 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41716 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41718 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41719 cat >>confdefs.h <<\_ACEOF
41720 #define HAVE_PTHREAD_MUTEXATTR_T 1
41724 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41725 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41726 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 cat >conftest.$ac_ext <<_ACEOF
41733 cat confdefs.h >>conftest.$ac_ext
41734 cat >>conftest.$ac_ext <<_ACEOF
41735 /* end confdefs.h. */
41736 #include <pthread.h>
41741 pthread_mutexattr_t attr;
41742 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41748 rm -f conftest.$ac_objext
41749 if { (ac_try="$ac_compile"
41750 case "(($ac_try" in
41751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41752 *) ac_try_echo=$ac_try;;
41754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41755 (eval "$ac_compile") 2>conftest.er1
41757 grep -v '^ *+' conftest.er1 >conftest.err
41759 cat conftest.err >&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } && {
41762 test -z "$ac_c_werror_flag" ||
41763 test ! -s conftest.err
41764 } && test -s conftest.$ac_objext; then
41765 wx_cv_func_pthread_mutexattr_settype_decl=yes
41767 echo "$as_me: failed program was:" >&5
41768 sed 's/^/| /' conftest.$ac_ext >&5
41770 wx_cv_func_pthread_mutexattr_settype_decl=no
41774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41777 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41778 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41779 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41786 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41787 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41788 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41792 cat >conftest.$ac_ext <<_ACEOF
41795 cat confdefs.h >>conftest.$ac_ext
41796 cat >>conftest.$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798 #include <pthread.h>
41803 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41809 rm -f conftest.$ac_objext
41810 if { (ac_try="$ac_compile"
41811 case "(($ac_try" in
41812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41813 *) ac_try_echo=$ac_try;;
41815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41816 (eval "$ac_compile") 2>conftest.er1
41818 grep -v '^ *+' conftest.er1 >conftest.err
41820 cat conftest.err >&5
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); } && {
41823 test -z "$ac_c_werror_flag" ||
41824 test ! -s conftest.err
41825 } && test -s conftest.$ac_objext; then
41827 wx_cv_type_pthread_rec_mutex_init=yes
41830 echo "$as_me: failed program was:" >&5
41831 sed 's/^/| /' conftest.$ac_ext >&5
41834 wx_cv_type_pthread_rec_mutex_init=no
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41842 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41843 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41844 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41850 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41851 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41855 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41856 if test "$USE_NETBSD" = 1; then
41857 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41858 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41859 wxUSE_COMPILER_TLS=no
41861 wxUSE_COMPILER_TLS=yes
41865 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41866 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41867 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41868 if test "${wx_cv_cc___thread+set}" = set; then
41869 echo $ECHO_N "(cached) $ECHO_C" >&6
41872 cat >conftest.$ac_ext <<_ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878 #include <pthread.h>
41883 static __thread int n = 0;
41884 static __thread int *p = 0;
41890 rm -f conftest.$ac_objext
41891 if { (ac_try="$ac_compile"
41892 case "(($ac_try" in
41893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41894 *) ac_try_echo=$ac_try;;
41896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41897 (eval "$ac_compile") 2>conftest.er1
41899 grep -v '^ *+' conftest.er1 >conftest.err
41901 cat conftest.err >&5
41902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41903 (exit $ac_status); } && {
41904 test -z "$ac_c_werror_flag" ||
41905 test ! -s conftest.err
41906 } && test -s conftest.$ac_objext; then
41907 wx_cv_cc___thread=yes
41909 echo "$as_me: failed program was:" >&5
41910 sed 's/^/| /' conftest.$ac_ext >&5
41912 wx_cv_cc___thread=no
41916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41920 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41921 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41923 if test "$wx_cv_cc___thread" = "yes"; then
41929 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41930 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41932 if test "x$GCC" = "xyes" ; then
41934 if test -z "" ; then
41936 ax_gcc_option_test="int main()
41943 ax_gcc_option_test=""
41948 # Dump the test program to file
41949 cat <<EOF > conftest.c
41950 $ax_gcc_option_test
41953 # Dump back the file to the log, useful for debugging purposes
41954 { ac_try='cat conftest.c 1>&5'
41955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956 (eval $ac_try) 2>&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); }; }
41961 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41963 (eval $ac_try) 2>&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); }; } ; then
41968 { echo "$as_me:$LINENO: result: yes" >&5
41969 echo "${ECHO_T}yes" >&6; }
41971 ax_gcc_version_option=yes
41976 { echo "$as_me:$LINENO: result: no" >&5
41977 echo "${ECHO_T}no" >&6; }
41979 ax_gcc_version_option=no
41987 { echo "$as_me:$LINENO: result: no gcc available" >&5
41988 echo "${ECHO_T}no gcc available" >&6; }
41993 if test "x$GXX" = "xyes"; then
41995 if test "x$ax_gxx_version_option" != "no"; then
41997 { echo "$as_me:$LINENO: checking gxx version" >&5
41998 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41999 if test "${ax_cv_gxx_version+set}" = set; then
42000 echo $ECHO_N "(cached) $ECHO_C" >&6
42003 ax_cv_gxx_version="`$CXX -dumpversion`"
42004 if test "x$ax_cv_gxx_version" = "x"; then
42006 ax_cv_gxx_version=""
42012 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
42013 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
42014 GXX_VERSION=$ax_cv_gxx_version
42023 if test -n "$ax_cv_gxx_version"; then
42024 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
42025 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
42026 case "$ax_cv_gxx_version" in
42028 { echo "$as_me:$LINENO: result: no, it's broken" >&5
42029 echo "${ECHO_T}no, it's broken" >&6; }
42030 wx_cv_cc___thread=no
42033 { echo "$as_me:$LINENO: result: yes, it works" >&5
42034 echo "${ECHO_T}yes, it works" >&6; }
42040 if test "$wx_cv_cc___thread" = "yes"; then
42041 cat >>confdefs.h <<\_ACEOF
42042 #define HAVE___THREAD_KEYWORD 1
42050 if test "$wxUSE_THREADS" = "yes" ; then
42052 x86_64-*-mingw32* )
42055 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42056 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42057 if test "${wx_cv_cflags_mthread+set}" = set; then
42058 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 CFLAGS_OLD="$CFLAGS"
42062 CFLAGS="-mthreads $CFLAGS"
42063 cat >conftest.$ac_ext <<_ACEOF
42066 cat confdefs.h >>conftest.$ac_ext
42067 cat >>conftest.$ac_ext <<_ACEOF
42068 /* end confdefs.h. */
42078 rm -f conftest.$ac_objext
42079 if { (ac_try="$ac_compile"
42080 case "(($ac_try" in
42081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42082 *) ac_try_echo=$ac_try;;
42084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42085 (eval "$ac_compile") 2>conftest.er1
42087 grep -v '^ *+' conftest.er1 >conftest.err
42089 cat conftest.err >&5
42090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091 (exit $ac_status); } && {
42092 test -z "$ac_c_werror_flag" ||
42093 test ! -s conftest.err
42094 } && test -s conftest.$ac_objext; then
42095 wx_cv_cflags_mthread=yes
42097 echo "$as_me: failed program was:" >&5
42098 sed 's/^/| /' conftest.$ac_ext >&5
42100 wx_cv_cflags_mthread=no
42104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42108 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42109 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42111 if test "$wx_cv_cflags_mthread" = "yes"; then
42112 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42113 LDFLAGS="$LDFLAGS -mthreads"
42115 CFLAGS="$CFLAGS_OLD"
42119 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42120 LDFLAGS="$LDFLAGS -Zmt"
42126 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42127 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42128 if test "${ac_cv_func_localtime_r+set}" = set; then
42129 echo $ECHO_N "(cached) $ECHO_C" >&6
42131 cat >conftest.$ac_ext <<_ACEOF
42134 cat confdefs.h >>conftest.$ac_ext
42135 cat >>conftest.$ac_ext <<_ACEOF
42136 /* end confdefs.h. */
42137 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42139 #define localtime_r innocuous_localtime_r
42141 /* System header to define __stub macros and hopefully few prototypes,
42142 which can conflict with char localtime_r (); below.
42143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42144 <limits.h> exists even on freestanding compilers. */
42147 # include <limits.h>
42149 # include <assert.h>
42154 /* Override any GCC internal prototype to avoid an error.
42155 Use char because int might match the return type of a GCC
42156 builtin and then its argument prototype would still apply. */
42160 char localtime_r ();
42161 /* The GNU C library defines this for functions which it implements
42162 to always fail with ENOSYS. Some functions are actually named
42163 something starting with __ and the normal name is an alias. */
42164 #if defined __stub_localtime_r || defined __stub___localtime_r
42171 return localtime_r ();
42176 rm -f conftest.$ac_objext conftest$ac_exeext
42177 if { (ac_try="$ac_link"
42178 case "(($ac_try" in
42179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42180 *) ac_try_echo=$ac_try;;
42182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42183 (eval "$ac_link") 2>conftest.er1
42185 grep -v '^ *+' conftest.er1 >conftest.err
42187 cat conftest.err >&5
42188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42189 (exit $ac_status); } && {
42190 test -z "$ac_c_werror_flag" ||
42191 test ! -s conftest.err
42192 } && test -s conftest$ac_exeext &&
42193 $as_test_x conftest$ac_exeext; then
42194 ac_cv_func_localtime_r=yes
42196 echo "$as_me: failed program was:" >&5
42197 sed 's/^/| /' conftest.$ac_ext >&5
42199 ac_cv_func_localtime_r=no
42202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42203 conftest$ac_exeext conftest.$ac_ext
42205 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42206 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42207 if test $ac_cv_func_localtime_r = yes; then
42208 cat >>confdefs.h <<\_ACEOF
42209 #define HAVE_LOCALTIME_R 1
42214 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42215 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42216 if test "${ac_cv_func_gmtime_r+set}" = set; then
42217 echo $ECHO_N "(cached) $ECHO_C" >&6
42219 cat >conftest.$ac_ext <<_ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42227 #define gmtime_r innocuous_gmtime_r
42229 /* System header to define __stub macros and hopefully few prototypes,
42230 which can conflict with char gmtime_r (); below.
42231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42232 <limits.h> exists even on freestanding compilers. */
42235 # include <limits.h>
42237 # include <assert.h>
42242 /* Override any GCC internal prototype to avoid an error.
42243 Use char because int might match the return type of a GCC
42244 builtin and then its argument prototype would still apply. */
42249 /* The GNU C library defines this for functions which it implements
42250 to always fail with ENOSYS. Some functions are actually named
42251 something starting with __ and the normal name is an alias. */
42252 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42259 return gmtime_r ();
42264 rm -f conftest.$ac_objext conftest$ac_exeext
42265 if { (ac_try="$ac_link"
42266 case "(($ac_try" in
42267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42268 *) ac_try_echo=$ac_try;;
42270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42271 (eval "$ac_link") 2>conftest.er1
42273 grep -v '^ *+' conftest.er1 >conftest.err
42275 cat conftest.err >&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); } && {
42278 test -z "$ac_c_werror_flag" ||
42279 test ! -s conftest.err
42280 } && test -s conftest$ac_exeext &&
42281 $as_test_x conftest$ac_exeext; then
42282 ac_cv_func_gmtime_r=yes
42284 echo "$as_me: failed program was:" >&5
42285 sed 's/^/| /' conftest.$ac_ext >&5
42287 ac_cv_func_gmtime_r=no
42290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42291 conftest$ac_exeext conftest.$ac_ext
42293 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42294 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42295 if test $ac_cv_func_gmtime_r = yes; then
42296 cat >>confdefs.h <<\_ACEOF
42297 #define HAVE_GMTIME_R 1
42306 ac_cpp='$CPP $CPPFLAGS'
42307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42311 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42312 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42314 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42315 echo $ECHO_N "(cached) $ECHO_C" >&6
42319 ################################################################
42321 ac_cv_func_which_gethostbyname_r=unknown
42324 # ONE ARGUMENT (sanity check)
42327 # This should fail, as there is no variant of gethostbyname_r() that takes
42328 # a single argument. If it actually compiles, then we can assume that
42329 # netdb.h is not declaring the function, and the compiler is thereby
42330 # assuming an implicit prototype. In which case, we're out of luck.
42332 cat >conftest.$ac_ext <<_ACEOF
42335 cat confdefs.h >>conftest.$ac_ext
42336 cat >>conftest.$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42343 char *name = "www.gnu.org";
42344 (void)gethostbyname_r(name) /* ; */
42350 rm -f conftest.$ac_objext
42351 if { (ac_try="$ac_compile"
42352 case "(($ac_try" in
42353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42354 *) ac_try_echo=$ac_try;;
42356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42357 (eval "$ac_compile") 2>conftest.er1
42359 grep -v '^ *+' conftest.er1 >conftest.err
42361 cat conftest.err >&5
42362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42363 (exit $ac_status); } && {
42364 test -z "$ac_c_werror_flag" ||
42365 test ! -s conftest.err
42366 } && test -s conftest.$ac_objext; then
42367 ac_cv_func_which_gethostbyname_r=no
42369 echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.$ac_ext >&5
42375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42382 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42384 cat >conftest.$ac_ext <<_ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h. */
42395 char *name = "www.gnu.org";
42396 struct hostent ret, *retp;
42400 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42406 rm -f conftest.$ac_objext
42407 if { (ac_try="$ac_compile"
42408 case "(($ac_try" in
42409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42410 *) ac_try_echo=$ac_try;;
42412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42413 (eval "$ac_compile") 2>conftest.er1
42415 grep -v '^ *+' conftest.er1 >conftest.err
42417 cat conftest.err >&5
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); } && {
42420 test -z "$ac_c_werror_flag" ||
42421 test ! -s conftest.err
42422 } && test -s conftest.$ac_objext; then
42423 ac_cv_func_which_gethostbyname_r=six
42425 echo "$as_me: failed program was:" >&5
42426 sed 's/^/| /' conftest.$ac_ext >&5
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42440 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42442 cat >conftest.$ac_ext <<_ACEOF
42445 cat confdefs.h >>conftest.$ac_ext
42446 cat >>conftest.$ac_ext <<_ACEOF
42447 /* end confdefs.h. */
42453 char *name = "www.gnu.org";
42454 struct hostent ret;
42458 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42464 rm -f conftest.$ac_objext
42465 if { (ac_try="$ac_compile"
42466 case "(($ac_try" in
42467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42468 *) ac_try_echo=$ac_try;;
42470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42471 (eval "$ac_compile") 2>conftest.er1
42473 grep -v '^ *+' conftest.er1 >conftest.err
42475 cat conftest.err >&5
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); } && {
42478 test -z "$ac_c_werror_flag" ||
42479 test ! -s conftest.err
42480 } && test -s conftest.$ac_objext; then
42481 ac_cv_func_which_gethostbyname_r=five
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495 # (e.g. AIX, HP-UX, Tru64)
42498 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42500 cat >conftest.$ac_ext <<_ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42511 char *name = "www.gnu.org";
42512 struct hostent ret;
42513 struct hostent_data data;
42514 (void)gethostbyname_r(name, &ret, &data) /* ; */
42520 rm -f conftest.$ac_objext
42521 if { (ac_try="$ac_compile"
42522 case "(($ac_try" in
42523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42524 *) ac_try_echo=$ac_try;;
42526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42527 (eval "$ac_compile") 2>conftest.er1
42529 grep -v '^ *+' conftest.er1 >conftest.err
42531 cat conftest.err >&5
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); } && {
42534 test -z "$ac_c_werror_flag" ||
42535 test ! -s conftest.err
42536 } && test -s conftest.$ac_objext; then
42537 ac_cv_func_which_gethostbyname_r=three
42539 echo "$as_me: failed program was:" >&5
42540 sed 's/^/| /' conftest.$ac_ext >&5
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42549 ################################################################
42554 case "$ac_cv_func_which_gethostbyname_r" in
42556 { echo "$as_me:$LINENO: result: three" >&5
42557 echo "${ECHO_T}three" >&6; }
42558 cat >>confdefs.h <<\_ACEOF
42559 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42565 { echo "$as_me:$LINENO: result: five" >&5
42566 echo "${ECHO_T}five" >&6; }
42567 cat >>confdefs.h <<\_ACEOF
42568 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42574 { echo "$as_me:$LINENO: result: six" >&5
42575 echo "${ECHO_T}six" >&6; }
42576 cat >>confdefs.h <<\_ACEOF
42577 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42583 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42584 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42588 { echo "$as_me:$LINENO: result: can't tell" >&5
42589 echo "${ECHO_T}can't tell" >&6; }
42593 { { echo "$as_me:$LINENO: error: internal error" >&5
42594 echo "$as_me: error: internal error" >&2;}
42595 { (exit 1); exit 1; }; }
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42607 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42608 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42609 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42610 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42611 if test "${ac_cv_func_gethostbyname+set}" = set; then
42612 echo $ECHO_N "(cached) $ECHO_C" >&6
42614 cat >conftest.$ac_ext <<_ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42622 #define gethostbyname innocuous_gethostbyname
42624 /* System header to define __stub macros and hopefully few prototypes,
42625 which can conflict with char gethostbyname (); below.
42626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42627 <limits.h> exists even on freestanding compilers. */
42630 # include <limits.h>
42632 # include <assert.h>
42635 #undef gethostbyname
42637 /* Override any GCC internal prototype to avoid an error.
42638 Use char because int might match the return type of a GCC
42639 builtin and then its argument prototype would still apply. */
42643 char gethostbyname ();
42644 /* The GNU C library defines this for functions which it implements
42645 to always fail with ENOSYS. Some functions are actually named
42646 something starting with __ and the normal name is an alias. */
42647 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42654 return gethostbyname ();
42659 rm -f conftest.$ac_objext conftest$ac_exeext
42660 if { (ac_try="$ac_link"
42661 case "(($ac_try" in
42662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42663 *) ac_try_echo=$ac_try;;
42665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42666 (eval "$ac_link") 2>conftest.er1
42668 grep -v '^ *+' conftest.er1 >conftest.err
42670 cat conftest.err >&5
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); } && {
42673 test -z "$ac_c_werror_flag" ||
42674 test ! -s conftest.err
42675 } && test -s conftest$ac_exeext &&
42676 $as_test_x conftest$ac_exeext; then
42677 ac_cv_func_gethostbyname=yes
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42682 ac_cv_func_gethostbyname=no
42685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42686 conftest$ac_exeext conftest.$ac_ext
42688 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42689 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42690 if test $ac_cv_func_gethostbyname = yes; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define HAVE_GETHOSTBYNAME 1
42699 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42700 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42701 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42702 echo $ECHO_N "(cached) $ECHO_C" >&6
42706 ac_cpp='$CXXCPP $CPPFLAGS'
42707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42712 cat >conftest.$ac_ext <<_ACEOF
42715 cat confdefs.h >>conftest.$ac_ext
42716 cat >>conftest.$ac_ext <<_ACEOF
42717 /* end confdefs.h. */
42725 struct servent *se, *res;
42728 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42734 rm -f conftest.$ac_objext
42735 if { (ac_try="$ac_compile"
42736 case "(($ac_try" in
42737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42738 *) ac_try_echo=$ac_try;;
42740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42741 (eval "$ac_compile") 2>conftest.er1
42743 grep -v '^ *+' conftest.er1 >conftest.err
42745 cat conftest.err >&5
42746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747 (exit $ac_status); } && {
42748 test -z "$ac_cxx_werror_flag" ||
42749 test ! -s conftest.err
42750 } && test -s conftest.$ac_objext; then
42751 ac_cv_func_which_getservbyname_r=six
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42757 cat >conftest.$ac_ext <<_ACEOF
42760 cat confdefs.h >>conftest.$ac_ext
42761 cat >>conftest.$ac_ext <<_ACEOF
42762 /* end confdefs.h. */
42770 struct servent *se;
42773 (void) getservbyname_r(name, proto, se, buffer, buflen)
42779 rm -f conftest.$ac_objext
42780 if { (ac_try="$ac_compile"
42781 case "(($ac_try" in
42782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42783 *) ac_try_echo=$ac_try;;
42785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42786 (eval "$ac_compile") 2>conftest.er1
42788 grep -v '^ *+' conftest.er1 >conftest.err
42790 cat conftest.err >&5
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); } && {
42793 test -z "$ac_cxx_werror_flag" ||
42794 test ! -s conftest.err
42795 } && test -s conftest.$ac_objext; then
42796 ac_cv_func_which_getservbyname_r=five
42798 echo "$as_me: failed program was:" >&5
42799 sed 's/^/| /' conftest.$ac_ext >&5
42802 cat >conftest.$ac_ext <<_ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42815 struct servent *se;
42816 struct servent_data data;
42817 (void) getservbyname_r(name, proto, se, &data);
42823 rm -f conftest.$ac_objext
42824 if { (ac_try="$ac_compile"
42825 case "(($ac_try" in
42826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42827 *) ac_try_echo=$ac_try;;
42829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42830 (eval "$ac_compile") 2>conftest.er1
42832 grep -v '^ *+' conftest.er1 >conftest.err
42834 cat conftest.err >&5
42835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42836 (exit $ac_status); } && {
42837 test -z "$ac_cxx_werror_flag" ||
42838 test ! -s conftest.err
42839 } && test -s conftest.$ac_objext; then
42840 ac_cv_func_which_getservbyname_r=four
42842 echo "$as_me: failed program was:" >&5
42843 sed 's/^/| /' conftest.$ac_ext >&5
42845 ac_cv_func_which_getservbyname_r=no
42849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42861 ac_cpp='$CPP $CPPFLAGS'
42862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42869 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42870 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42872 if test $ac_cv_func_which_getservbyname_r = six; then
42873 cat >>confdefs.h <<\_ACEOF
42874 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42877 elif test $ac_cv_func_which_getservbyname_r = five; then
42878 cat >>confdefs.h <<\_ACEOF
42879 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42882 elif test $ac_cv_func_which_getservbyname_r = four; then
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42890 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42891 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42893 for ac_func in getservbyname
42895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42899 echo $ECHO_N "(cached) $ECHO_C" >&6
42901 cat >conftest.$ac_ext <<_ACEOF
42904 cat confdefs.h >>conftest.$ac_ext
42905 cat >>conftest.$ac_ext <<_ACEOF
42906 /* end confdefs.h. */
42907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42909 #define $ac_func innocuous_$ac_func
42911 /* System header to define __stub macros and hopefully few prototypes,
42912 which can conflict with char $ac_func (); below.
42913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42914 <limits.h> exists even on freestanding compilers. */
42917 # include <limits.h>
42919 # include <assert.h>
42924 /* Override any GCC internal prototype to avoid an error.
42925 Use char because int might match the return type of a GCC
42926 builtin and then its argument prototype would still apply. */
42931 /* The GNU C library defines this for functions which it implements
42932 to always fail with ENOSYS. Some functions are actually named
42933 something starting with __ and the normal name is an alias. */
42934 #if defined __stub_$ac_func || defined __stub___$ac_func
42941 return $ac_func ();
42946 rm -f conftest.$ac_objext conftest$ac_exeext
42947 if { (ac_try="$ac_link"
42948 case "(($ac_try" in
42949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42950 *) ac_try_echo=$ac_try;;
42952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42953 (eval "$ac_link") 2>conftest.er1
42955 grep -v '^ *+' conftest.er1 >conftest.err
42957 cat conftest.err >&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); } && {
42960 test -z "$ac_c_werror_flag" ||
42961 test ! -s conftest.err
42962 } && test -s conftest$ac_exeext &&
42963 $as_test_x conftest$ac_exeext; then
42964 eval "$as_ac_var=yes"
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.$ac_ext >&5
42969 eval "$as_ac_var=no"
42972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42973 conftest$ac_exeext conftest.$ac_ext
42975 ac_res=`eval echo '${'$as_ac_var'}'`
42976 { echo "$as_me:$LINENO: result: $ac_res" >&5
42977 echo "${ECHO_T}$ac_res" >&6; }
42978 if test `eval echo '${'$as_ac_var'}'` = yes; then
42979 cat >>confdefs.h <<_ACEOF
42980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42982 cat >>confdefs.h <<\_ACEOF
42983 #define HAVE_GETSERVBYNAME 1
42991 if test "$wxUSE_THREADS" = "yes"; then
42992 cat >>confdefs.h <<\_ACEOF
42993 #define wxUSE_THREADS 1
42997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42999 if test "$wx_cv_func_strtok_r" = "yes"; then
43000 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43001 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43002 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43003 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43004 { echo "$as_me:$LINENO: result: yes" >&5
43005 echo "${ECHO_T}yes" >&6; }
43007 { echo "$as_me:$LINENO: result: no" >&5
43008 echo "${ECHO_T}no" >&6; }
43013 if test "$WXGTK2" = 1 ; then
43014 cat >>confdefs.h <<_ACEOF
43015 #define __WXGTK20__ $WXGTK2
43021 if test "$WXGTK12" = 1 ; then
43022 cat >>confdefs.h <<_ACEOF
43023 #define __WXGTK12__ $WXGTK12
43028 if test "$WXGTK127" = 1 ; then
43029 cat >>confdefs.h <<_ACEOF
43030 #define __WXGTK127__ $WXGTK127
43035 if test "$WXGPE" = 1 ; then
43036 cat >>confdefs.h <<_ACEOF
43037 #define __WXGPE__ $WXGPE
43043 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
43044 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43045 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43046 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43050 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43051 wxUSE_DEBUG_INFO=yes
43052 if test "$GCC" = yes; then
43053 DEBUG_CFLAGS="-ggdb"
43057 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43058 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43060 if test "$wxUSE_GTK" = 1 ; then
43061 if test "x$wxGTK_VERSION" = "x1" ; then
43062 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43067 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43068 cat >>confdefs.h <<\_ACEOF
43069 #define wxUSE_MEMORY_TRACING 1
43072 cat >>confdefs.h <<\_ACEOF
43073 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_DEBUG_NEW_ALWAYS 1
43080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43083 if test "$wxUSE_DMALLOC" = "yes" ; then
43084 DMALLOC_LIBS="-ldmallocthcxx"
43088 if test "$wxUSE_PROFILE" = "yes" ; then
43089 PROFILE_FLAGS=" -pg"
43092 if test "$GCC" = "yes" ; then
43093 if test "$wxUSE_NO_RTTI" = "yes" ; then
43094 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43096 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43097 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43099 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43100 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43105 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43108 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43114 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43115 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43116 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43118 if test "$wxUSE_OPTIMISE" = "no" ; then
43119 if test "$GCC" = yes ; then
43120 OPTIMISE_CFLAGS="-O0"
43123 if test "$GCC" = yes ; then
43125 *-pc-os2_emx | *-pc-os2-emx )
43126 OPTIMISE_CFLAGS="-O2"
43129 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43133 OPTIMISE_CFLAGS="-O"
43139 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43140 cat >>confdefs.h <<\_ACEOF
43141 #define WXWIN_COMPATIBILITY_2_6 1
43145 WXWIN_COMPATIBILITY_2_8="yes"
43148 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43149 cat >>confdefs.h <<\_ACEOF
43150 #define WXWIN_COMPATIBILITY_2_8 1
43156 if test "$wxUSE_GUI" = "yes"; then
43157 cat >>confdefs.h <<\_ACEOF
43158 #define wxUSE_GUI 1
43165 if test "$wxUSE_UNIX" = "yes"; then
43166 cat >>confdefs.h <<\_ACEOF
43167 #define wxUSE_UNIX 1
43173 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43177 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43178 if test "$USE_DOS" = 1; then
43182 for ac_func in dlopen
43184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43188 echo $ECHO_N "(cached) $ECHO_C" >&6
43190 cat >conftest.$ac_ext <<_ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43198 #define $ac_func innocuous_$ac_func
43200 /* System header to define __stub macros and hopefully few prototypes,
43201 which can conflict with char $ac_func (); below.
43202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43203 <limits.h> exists even on freestanding compilers. */
43206 # include <limits.h>
43208 # include <assert.h>
43213 /* Override any GCC internal prototype to avoid an error.
43214 Use char because int might match the return type of a GCC
43215 builtin and then its argument prototype would still apply. */
43220 /* The GNU C library defines this for functions which it implements
43221 to always fail with ENOSYS. Some functions are actually named
43222 something starting with __ and the normal name is an alias. */
43223 #if defined __stub_$ac_func || defined __stub___$ac_func
43230 return $ac_func ();
43235 rm -f conftest.$ac_objext conftest$ac_exeext
43236 if { (ac_try="$ac_link"
43237 case "(($ac_try" in
43238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43239 *) ac_try_echo=$ac_try;;
43241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43242 (eval "$ac_link") 2>conftest.er1
43244 grep -v '^ *+' conftest.er1 >conftest.err
43246 cat conftest.err >&5
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); } && {
43249 test -z "$ac_c_werror_flag" ||
43250 test ! -s conftest.err
43251 } && test -s conftest$ac_exeext &&
43252 $as_test_x conftest$ac_exeext; then
43253 eval "$as_ac_var=yes"
43255 echo "$as_me: failed program was:" >&5
43256 sed 's/^/| /' conftest.$ac_ext >&5
43258 eval "$as_ac_var=no"
43261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43262 conftest$ac_exeext conftest.$ac_ext
43264 ac_res=`eval echo '${'$as_ac_var'}'`
43265 { echo "$as_me:$LINENO: result: $ac_res" >&5
43266 echo "${ECHO_T}$ac_res" >&6; }
43267 if test `eval echo '${'$as_ac_var'}'` = yes; then
43268 cat >>confdefs.h <<_ACEOF
43269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43272 cat >>confdefs.h <<\_ACEOF
43273 #define HAVE_DLOPEN 1
43280 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43281 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43282 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43283 echo $ECHO_N "(cached) $ECHO_C" >&6
43285 ac_check_lib_save_LIBS=$LIBS
43287 cat >conftest.$ac_ext <<_ACEOF
43290 cat confdefs.h >>conftest.$ac_ext
43291 cat >>conftest.$ac_ext <<_ACEOF
43292 /* end confdefs.h. */
43294 /* Override any GCC internal prototype to avoid an error.
43295 Use char because int might match the return type of a GCC
43296 builtin and then its argument prototype would still apply. */
43309 rm -f conftest.$ac_objext conftest$ac_exeext
43310 if { (ac_try="$ac_link"
43311 case "(($ac_try" in
43312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43313 *) ac_try_echo=$ac_try;;
43315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43316 (eval "$ac_link") 2>conftest.er1
43318 grep -v '^ *+' conftest.er1 >conftest.err
43320 cat conftest.err >&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } && {
43323 test -z "$ac_c_werror_flag" ||
43324 test ! -s conftest.err
43325 } && test -s conftest$ac_exeext &&
43326 $as_test_x conftest$ac_exeext; then
43327 ac_cv_lib_dl_dlopen=yes
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.$ac_ext >&5
43332 ac_cv_lib_dl_dlopen=no
43335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43336 conftest$ac_exeext conftest.$ac_ext
43337 LIBS=$ac_check_lib_save_LIBS
43339 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43340 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43341 if test $ac_cv_lib_dl_dlopen = yes; then
43343 cat >>confdefs.h <<\_ACEOF
43344 #define HAVE_DLOPEN 1
43348 DL_LINK=" -ldl$DL_LINK"
43353 for ac_func in shl_load
43355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43361 cat >conftest.$ac_ext <<_ACEOF
43364 cat confdefs.h >>conftest.$ac_ext
43365 cat >>conftest.$ac_ext <<_ACEOF
43366 /* end confdefs.h. */
43367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43369 #define $ac_func innocuous_$ac_func
43371 /* System header to define __stub macros and hopefully few prototypes,
43372 which can conflict with char $ac_func (); below.
43373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43374 <limits.h> exists even on freestanding compilers. */
43377 # include <limits.h>
43379 # include <assert.h>
43384 /* Override any GCC internal prototype to avoid an error.
43385 Use char because int might match the return type of a GCC
43386 builtin and then its argument prototype would still apply. */
43391 /* The GNU C library defines this for functions which it implements
43392 to always fail with ENOSYS. Some functions are actually named
43393 something starting with __ and the normal name is an alias. */
43394 #if defined __stub_$ac_func || defined __stub___$ac_func
43401 return $ac_func ();
43406 rm -f conftest.$ac_objext conftest$ac_exeext
43407 if { (ac_try="$ac_link"
43408 case "(($ac_try" in
43409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43410 *) ac_try_echo=$ac_try;;
43412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43413 (eval "$ac_link") 2>conftest.er1
43415 grep -v '^ *+' conftest.er1 >conftest.err
43417 cat conftest.err >&5
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); } && {
43420 test -z "$ac_c_werror_flag" ||
43421 test ! -s conftest.err
43422 } && test -s conftest$ac_exeext &&
43423 $as_test_x conftest$ac_exeext; then
43424 eval "$as_ac_var=yes"
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.$ac_ext >&5
43429 eval "$as_ac_var=no"
43432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43433 conftest$ac_exeext conftest.$ac_ext
43435 ac_res=`eval echo '${'$as_ac_var'}'`
43436 { echo "$as_me:$LINENO: result: $ac_res" >&5
43437 echo "${ECHO_T}$ac_res" >&6; }
43438 if test `eval echo '${'$as_ac_var'}'` = yes; then
43439 cat >>confdefs.h <<_ACEOF
43440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43443 cat >>confdefs.h <<\_ACEOF
43444 #define HAVE_SHL_LOAD 1
43451 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43452 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43453 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43456 ac_check_lib_save_LIBS=$LIBS
43457 LIBS="-lshl_load $LIBS"
43458 cat >conftest.$ac_ext <<_ACEOF
43461 cat confdefs.h >>conftest.$ac_ext
43462 cat >>conftest.$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43465 /* Override any GCC internal prototype to avoid an error.
43466 Use char because int might match the return type of a GCC
43467 builtin and then its argument prototype would still apply. */
43480 rm -f conftest.$ac_objext conftest$ac_exeext
43481 if { (ac_try="$ac_link"
43482 case "(($ac_try" in
43483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43484 *) ac_try_echo=$ac_try;;
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_link") 2>conftest.er1
43489 grep -v '^ *+' conftest.er1 >conftest.err
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_c_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest$ac_exeext &&
43497 $as_test_x conftest$ac_exeext; then
43498 ac_cv_lib_shl_load_dld=yes
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43503 ac_cv_lib_shl_load_dld=no
43506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43507 conftest$ac_exeext conftest.$ac_ext
43508 LIBS=$ac_check_lib_save_LIBS
43510 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43511 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43512 if test $ac_cv_lib_shl_load_dld = yes; then
43515 DL_LINK=" -ldld$DL_LINK"
43531 if test "$HAVE_DL_FUNCS" = 1; then
43533 for ac_func in dlerror
43535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43539 echo $ECHO_N "(cached) $ECHO_C" >&6
43541 cat >conftest.$ac_ext <<_ACEOF
43544 cat confdefs.h >>conftest.$ac_ext
43545 cat >>conftest.$ac_ext <<_ACEOF
43546 /* end confdefs.h. */
43547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43549 #define $ac_func innocuous_$ac_func
43551 /* System header to define __stub macros and hopefully few prototypes,
43552 which can conflict with char $ac_func (); below.
43553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43554 <limits.h> exists even on freestanding compilers. */
43557 # include <limits.h>
43559 # include <assert.h>
43564 /* Override any GCC internal prototype to avoid an error.
43565 Use char because int might match the return type of a GCC
43566 builtin and then its argument prototype would still apply. */
43571 /* The GNU C library defines this for functions which it implements
43572 to always fail with ENOSYS. Some functions are actually named
43573 something starting with __ and the normal name is an alias. */
43574 #if defined __stub_$ac_func || defined __stub___$ac_func
43581 return $ac_func ();
43586 rm -f conftest.$ac_objext conftest$ac_exeext
43587 if { (ac_try="$ac_link"
43588 case "(($ac_try" in
43589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43590 *) ac_try_echo=$ac_try;;
43592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43593 (eval "$ac_link") 2>conftest.er1
43595 grep -v '^ *+' conftest.er1 >conftest.err
43597 cat conftest.err >&5
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); } && {
43600 test -z "$ac_c_werror_flag" ||
43601 test ! -s conftest.err
43602 } && test -s conftest$ac_exeext &&
43603 $as_test_x conftest$ac_exeext; then
43604 eval "$as_ac_var=yes"
43606 echo "$as_me: failed program was:" >&5
43607 sed 's/^/| /' conftest.$ac_ext >&5
43609 eval "$as_ac_var=no"
43612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43613 conftest$ac_exeext conftest.$ac_ext
43615 ac_res=`eval echo '${'$as_ac_var'}'`
43616 { echo "$as_me:$LINENO: result: $ac_res" >&5
43617 echo "${ECHO_T}$ac_res" >&6; }
43618 if test `eval echo '${'$as_ac_var'}'` = yes; then
43619 cat >>confdefs.h <<_ACEOF
43620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43622 cat >>confdefs.h <<\_ACEOF
43623 #define HAVE_DLERROR 1
43628 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43629 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43630 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43633 ac_check_lib_save_LIBS=$LIBS
43635 cat >conftest.$ac_ext <<_ACEOF
43638 cat confdefs.h >>conftest.$ac_ext
43639 cat >>conftest.$ac_ext <<_ACEOF
43640 /* end confdefs.h. */
43642 /* Override any GCC internal prototype to avoid an error.
43643 Use char because int might match the return type of a GCC
43644 builtin and then its argument prototype would still apply. */
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (ac_try="$ac_link"
43659 case "(($ac_try" in
43660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43661 *) ac_try_echo=$ac_try;;
43663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43664 (eval "$ac_link") 2>conftest.er1
43666 grep -v '^ *+' conftest.er1 >conftest.err
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } && {
43671 test -z "$ac_c_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest$ac_exeext &&
43674 $as_test_x conftest$ac_exeext; then
43675 ac_cv_lib_dl_dlerror=yes
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43680 ac_cv_lib_dl_dlerror=no
43683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43684 conftest$ac_exeext conftest.$ac_ext
43685 LIBS=$ac_check_lib_save_LIBS
43687 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43688 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43689 if test $ac_cv_lib_dl_dlerror = yes; then
43690 cat >>confdefs.h <<\_ACEOF
43691 #define HAVE_DLERROR 1
43704 if test "$USE_DARWIN" = 1; then
43708 if test "$HAVE_DL_FUNCS" = 0; then
43709 if test "$HAVE_SHL_FUNCS" = 0; then
43710 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43711 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43712 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43713 wxUSE_DYNAMIC_LOADER=no
43714 wxUSE_DYNLIB_CLASS=no
43716 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43717 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43724 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_DYNAMIC_LOADER 1
43730 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define wxUSE_DYNLIB_CLASS 1
43739 if test "$wxUSE_PLUGINS" = "yes" ; then
43740 if test "$wxUSE_SHARED" = "no" ; then
43741 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43742 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43745 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43746 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43747 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43750 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43751 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43752 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43755 if test "$wxUSE_PLUGINS" = "yes" ; then
43756 cat >>confdefs.h <<\_ACEOF
43757 #define wxUSE_PLUGINS 1
43764 if test "$wxUSE_FSWATCHER" = "yes"; then
43765 if test "$wxUSE_MSW" != "1"; then
43766 if test "$wxUSE_UNIX" = "yes"; then
43768 for ac_header in sys/inotify.h
43770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43774 echo $ECHO_N "(cached) $ECHO_C" >&6
43776 cat >conftest.$ac_ext <<_ACEOF
43779 cat confdefs.h >>conftest.$ac_ext
43780 cat >>conftest.$ac_ext <<_ACEOF
43781 /* end confdefs.h. */
43782 $ac_includes_default
43784 #include <$ac_header>
43786 rm -f conftest.$ac_objext
43787 if { (ac_try="$ac_compile"
43788 case "(($ac_try" in
43789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43790 *) ac_try_echo=$ac_try;;
43792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43793 (eval "$ac_compile") 2>conftest.er1
43795 grep -v '^ *+' conftest.er1 >conftest.err
43797 cat conftest.err >&5
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); } && {
43800 test -z "$ac_c_werror_flag" ||
43801 test ! -s conftest.err
43802 } && test -s conftest.$ac_objext; then
43803 eval "$as_ac_Header=yes"
43805 echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43808 eval "$as_ac_Header=no"
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43813 ac_res=`eval echo '${'$as_ac_Header'}'`
43814 { echo "$as_me:$LINENO: result: $ac_res" >&5
43815 echo "${ECHO_T}$ac_res" >&6; }
43816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43817 cat >>confdefs.h <<_ACEOF
43818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43825 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxHAS_INOTIFY 1
43832 for ac_header in sys/event.h
43834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43838 echo $ECHO_N "(cached) $ECHO_C" >&6
43840 cat >conftest.$ac_ext <<_ACEOF
43843 cat confdefs.h >>conftest.$ac_ext
43844 cat >>conftest.$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43846 $ac_includes_default
43848 #include <$ac_header>
43850 rm -f conftest.$ac_objext
43851 if { (ac_try="$ac_compile"
43852 case "(($ac_try" in
43853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43854 *) ac_try_echo=$ac_try;;
43856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43857 (eval "$ac_compile") 2>conftest.er1
43859 grep -v '^ *+' conftest.er1 >conftest.err
43861 cat conftest.err >&5
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); } && {
43864 test -z "$ac_c_werror_flag" ||
43865 test ! -s conftest.err
43866 } && test -s conftest.$ac_objext; then
43867 eval "$as_ac_Header=yes"
43869 echo "$as_me: failed program was:" >&5
43870 sed 's/^/| /' conftest.$ac_ext >&5
43872 eval "$as_ac_Header=no"
43875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43877 ac_res=`eval echo '${'$as_ac_Header'}'`
43878 { echo "$as_me:$LINENO: result: $ac_res" >&5
43879 echo "${ECHO_T}$ac_res" >&6; }
43880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43881 cat >>confdefs.h <<_ACEOF
43882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43889 if test "$ac_cv_header_sys_event_h" = "yes"; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxHAS_KQUEUE 1
43902 if test "$wxUSE_THREADS" != "yes"; then
43903 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43904 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43909 if test "$wxUSE_FSWATCHER" = "yes"; then
43910 cat >>confdefs.h <<\_ACEOF
43911 #define wxUSE_FSWATCHER 1
43914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43916 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43917 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43922 if test "$wxUSE_STL" = "yes"; then
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_STL 1
43929 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43930 cat >>confdefs.h <<\_ACEOF
43931 #define wxUSE_EXTENDED_RTTI 1
43936 if test "$wxUSE_ANY" = "yes"; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define wxUSE_ANY 1
43943 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43944 cat >>confdefs.h <<\_ACEOF
43945 #define wxUSE_APPLE_IEEE 1
43950 if test "$wxUSE_TIMER" = "yes"; then
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_TIMER 1
43957 if test "$USE_UNIX" = 1 ; then
43958 if test "$wxUSE_MGL" != 1; then
43959 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43960 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43961 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43965 cat >conftest.$ac_ext <<_ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43972 #include <sys/ioctl.h>
43973 #include <sys/soundcard.h>
43979 ioctl(0, SNDCTL_DSP_SPEED, 0);
43985 rm -f conftest.$ac_objext conftest$ac_exeext
43986 if { (ac_try="$ac_link"
43987 case "(($ac_try" in
43988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43989 *) ac_try_echo=$ac_try;;
43991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43992 (eval "$ac_link") 2>conftest.er1
43994 grep -v '^ *+' conftest.er1 >conftest.err
43996 cat conftest.err >&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } && {
43999 test -z "$ac_c_werror_flag" ||
44000 test ! -s conftest.err
44001 } && test -s conftest$ac_exeext &&
44002 $as_test_x conftest$ac_exeext; then
44003 ac_cv_header_sys_soundcard=yes
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44010 LIBS="$saveLibs -lossaudio"
44011 cat >conftest.$ac_ext <<_ACEOF
44014 cat confdefs.h >>conftest.$ac_ext
44015 cat >>conftest.$ac_ext <<_ACEOF
44016 /* end confdefs.h. */
44018 #include <sys/ioctl.h>
44019 #include <sys/soundcard.h>
44025 ioctl(0, SNDCTL_DSP_SPEED, 0);
44031 rm -f conftest.$ac_objext conftest$ac_exeext
44032 if { (ac_try="$ac_link"
44033 case "(($ac_try" in
44034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44035 *) ac_try_echo=$ac_try;;
44037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44038 (eval "$ac_link") 2>conftest.er1
44040 grep -v '^ *+' conftest.er1 >conftest.err
44042 cat conftest.err >&5
44043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44044 (exit $ac_status); } && {
44045 test -z "$ac_c_werror_flag" ||
44046 test ! -s conftest.err
44047 } && test -s conftest$ac_exeext &&
44048 $as_test_x conftest$ac_exeext; then
44049 ac_cv_header_sys_soundcard=yes
44051 echo "$as_me: failed program was:" >&5
44052 sed 's/^/| /' conftest.$ac_ext >&5
44056 ac_cv_header_sys_soundcard=no
44061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44062 conftest$ac_exeext conftest.$ac_ext
44067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44068 conftest$ac_exeext conftest.$ac_ext
44071 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44072 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44075 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define HAVE_SYS_SOUNDCARD_H 1
44084 if test "$wxUSE_SOUND" = "yes"; then
44085 if test "$USE_UNIX" = 1 ; then
44086 if test "$wxUSE_LIBSDL" != "no"; then
44088 # Check whether --with-sdl-prefix was given.
44089 if test "${with_sdl_prefix+set}" = set; then
44090 withval=$with_sdl_prefix; sdl_prefix="$withval"
44096 # Check whether --with-sdl-exec-prefix was given.
44097 if test "${with_sdl_exec_prefix+set}" = set; then
44098 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44103 # Check whether --enable-sdltest was given.
44104 if test "${enable_sdltest+set}" = set; then
44105 enableval=$enable_sdltest;
44111 if test x$sdl_exec_prefix != x ; then
44112 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44113 if test x${SDL_CONFIG+set} != xset ; then
44114 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44117 if test x$sdl_prefix != x ; then
44118 sdl_args="$sdl_args --prefix=$sdl_prefix"
44119 if test x${SDL_CONFIG+set} != xset ; then
44120 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44124 if test "x$prefix" != xNONE; then
44125 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44127 # Extract the first word of "sdl-config", so it can be a program name with args.
44128 set dummy sdl-config; ac_word=$2
44129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44131 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44132 echo $ECHO_N "(cached) $ECHO_C" >&6
44134 case $SDL_CONFIG in
44136 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44140 for as_dir in $PATH
44143 test -z "$as_dir" && as_dir=.
44144 for ac_exec_ext in '' $ac_executable_extensions; do
44145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44146 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44154 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44158 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44159 if test -n "$SDL_CONFIG"; then
44160 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44161 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44163 { echo "$as_me:$LINENO: result: no" >&5
44164 echo "${ECHO_T}no" >&6; }
44168 min_sdl_version=1.2.0
44169 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44170 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44172 if test "$SDL_CONFIG" = "no" ; then
44175 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44176 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44178 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44180 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44182 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44184 if test "x$enable_sdltest" = "xyes" ; then
44185 ac_save_CFLAGS="$CFLAGS"
44186 ac_save_CXXFLAGS="$CXXFLAGS"
44187 ac_save_LIBS="$LIBS"
44188 CFLAGS="$CFLAGS $SDL_CFLAGS"
44189 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44190 LIBS="$LIBS $SDL_LIBS"
44192 if test "$cross_compiling" = yes; then
44193 echo $ac_n "cross compiling; assumed OK... $ac_c"
44195 cat >conftest.$ac_ext <<_ACEOF
44198 cat confdefs.h >>conftest.$ac_ext
44199 cat >>conftest.$ac_ext <<_ACEOF
44200 /* end confdefs.h. */
44203 #include <stdlib.h>
44204 #include <string.h>
44208 my_strdup (char *str)
44214 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44215 strcpy (new_str, str);
44223 int main (int argc, char *argv[])
44225 int major, minor, micro;
44228 /* This hangs on some systems (?)
44229 system ("touch conf.sdltest");
44231 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44233 /* HP/UX 9 (%@#!) writes to sscanf strings */
44234 tmp_version = my_strdup("$min_sdl_version");
44235 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44236 printf("%s, bad version string\n", "$min_sdl_version");
44240 if (($sdl_major_version > major) ||
44241 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44242 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44248 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44249 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44250 printf("*** best to upgrade to the required version.\n");
44251 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44252 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44253 printf("*** config.cache before re-running configure\n");
44260 rm -f conftest$ac_exeext
44261 if { (ac_try="$ac_link"
44262 case "(($ac_try" in
44263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44264 *) ac_try_echo=$ac_try;;
44266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44267 (eval "$ac_link") 2>&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44271 { (case "(($ac_try" in
44272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44273 *) ac_try_echo=$ac_try;;
44275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44276 (eval "$ac_try") 2>&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); }; }; then
44282 echo "$as_me: program exited with status $ac_status" >&5
44283 echo "$as_me: failed program was:" >&5
44284 sed 's/^/| /' conftest.$ac_ext >&5
44286 ( exit $ac_status )
44289 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44293 CFLAGS="$ac_save_CFLAGS"
44294 CXXFLAGS="$ac_save_CXXFLAGS"
44295 LIBS="$ac_save_LIBS"
44298 if test "x$no_sdl" = x ; then
44299 { echo "$as_me:$LINENO: result: yes" >&5
44300 echo "${ECHO_T}yes" >&6; }
44302 EXTRALIBS_SDL="$SDL_LIBS"
44303 CFLAGS="$SDL_CFLAGS $CFLAGS"
44304 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44305 cat >>confdefs.h <<\_ACEOF
44306 #define wxUSE_LIBSDL 1
44311 { echo "$as_me:$LINENO: result: no" >&5
44312 echo "${ECHO_T}no" >&6; }
44313 if test "$SDL_CONFIG" = "no" ; then
44314 echo "*** The sdl-config script installed by SDL could not be found"
44315 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44316 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44317 echo "*** full path to sdl-config."
44319 if test -f conf.sdltest ; then
44322 echo "*** Could not run SDL test program, checking why..."
44323 CFLAGS="$CFLAGS $SDL_CFLAGS"
44324 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44325 LIBS="$LIBS $SDL_LIBS"
44326 cat >conftest.$ac_ext <<_ACEOF
44329 cat confdefs.h >>conftest.$ac_ext
44330 cat >>conftest.$ac_ext <<_ACEOF
44331 /* end confdefs.h. */
44336 int main(int argc, char *argv[])
44339 #define main K_and_R_C_main
44349 rm -f conftest.$ac_objext conftest$ac_exeext
44350 if { (ac_try="$ac_link"
44351 case "(($ac_try" in
44352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44353 *) ac_try_echo=$ac_try;;
44355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44356 (eval "$ac_link") 2>conftest.er1
44358 grep -v '^ *+' conftest.er1 >conftest.err
44360 cat conftest.err >&5
44361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362 (exit $ac_status); } && {
44363 test -z "$ac_c_werror_flag" ||
44364 test ! -s conftest.err
44365 } && test -s conftest$ac_exeext &&
44366 $as_test_x conftest$ac_exeext; then
44367 echo "*** The test program compiled, but did not run. This usually means"
44368 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44369 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44370 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44371 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44372 echo "*** is required on your system"
44374 echo "*** If you have an old version installed, it is best to remove it, although"
44375 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44380 echo "*** The test program failed to compile or link. See the file config.log for the"
44381 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44382 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44383 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44387 conftest$ac_exeext conftest.$ac_ext
44388 CFLAGS="$ac_save_CFLAGS"
44389 CXXFLAGS="$ac_save_CXXFLAGS"
44390 LIBS="$ac_save_LIBS"
44401 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44406 if test "$wxUSE_MGL" = 1; then
44407 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44408 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44414 if test "$wxUSE_SOUND" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_SOUND 1
44419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44422 if test "$WXGTK2" = 1; then
44425 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44426 if test -n "$ac_tool_prefix"; then
44427 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44428 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44432 echo $ECHO_N "(cached) $ECHO_C" >&6
44434 case $PKG_CONFIG in
44436 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44440 for as_dir in $PATH
44443 test -z "$as_dir" && as_dir=.
44444 for ac_exec_ext in '' $ac_executable_extensions; do
44445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44446 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44457 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44458 if test -n "$PKG_CONFIG"; then
44459 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44460 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44462 { echo "$as_me:$LINENO: result: no" >&5
44463 echo "${ECHO_T}no" >&6; }
44468 if test -z "$ac_cv_path_PKG_CONFIG"; then
44469 ac_pt_PKG_CONFIG=$PKG_CONFIG
44470 # Extract the first word of "pkg-config", so it can be a program name with args.
44471 set dummy pkg-config; ac_word=$2
44472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44474 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44475 echo $ECHO_N "(cached) $ECHO_C" >&6
44477 case $ac_pt_PKG_CONFIG in
44479 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44483 for as_dir in $PATH
44486 test -z "$as_dir" && as_dir=.
44487 for ac_exec_ext in '' $ac_executable_extensions; do
44488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44489 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44500 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44501 if test -n "$ac_pt_PKG_CONFIG"; then
44502 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44503 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44505 { echo "$as_me:$LINENO: result: no" >&5
44506 echo "${ECHO_T}no" >&6; }
44509 if test "x$ac_pt_PKG_CONFIG" = x; then
44512 case $cross_compiling:$ac_tool_warned in
44514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44515 whose name does not start with the host triplet. If you think this
44516 configuration is useful to you, please write to autoconf@gnu.org." >&5
44517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44518 whose name does not start with the host triplet. If you think this
44519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44520 ac_tool_warned=yes ;;
44522 PKG_CONFIG=$ac_pt_PKG_CONFIG
44525 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44529 if test -n "$PKG_CONFIG"; then
44530 _pkg_min_version=0.9.0
44531 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44532 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44533 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44534 { echo "$as_me:$LINENO: result: yes" >&5
44535 echo "${ECHO_T}yes" >&6; }
44537 { echo "$as_me:$LINENO: result: no" >&5
44538 echo "${ECHO_T}no" >&6; }
44544 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44546 if test "$wxUSE_GTKPRINT" = "yes" ; then
44550 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44551 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44553 if test -n "$PKG_CONFIG"; then
44554 if test -n "$GTKPRINT_CFLAGS"; then
44555 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44557 if test -n "$PKG_CONFIG" && \
44558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44559 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); }; then
44563 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44571 if test -n "$PKG_CONFIG"; then
44572 if test -n "$GTKPRINT_LIBS"; then
44573 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44575 if test -n "$PKG_CONFIG" && \
44576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44577 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); }; then
44581 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44592 if test $pkg_failed = yes; then
44594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44595 _pkg_short_errors_supported=yes
44597 _pkg_short_errors_supported=no
44599 if test $_pkg_short_errors_supported = yes; then
44600 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44602 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44604 # Put the nasty error message in config.log where it belongs
44605 echo "$GTKPRINT_PKG_ERRORS" >&5
44608 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44609 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44610 wxUSE_GTKPRINT="no"
44613 elif test $pkg_failed = untried; then
44615 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44616 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44617 wxUSE_GTKPRINT="no"
44621 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44622 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44623 { echo "$as_me:$LINENO: result: yes" >&5
44624 echo "${ECHO_T}yes" >&6; }
44626 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44627 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_GTKPRINT 1
44636 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44640 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44641 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44643 if test -n "$PKG_CONFIG"; then
44644 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44645 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44647 if test -n "$PKG_CONFIG" && \
44648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44649 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); }; then
44653 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44661 if test -n "$PKG_CONFIG"; then
44662 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44663 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44665 if test -n "$PKG_CONFIG" && \
44666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44667 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; then
44671 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44682 if test $pkg_failed = yes; then
44684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44685 _pkg_short_errors_supported=yes
44687 _pkg_short_errors_supported=no
44689 if test $_pkg_short_errors_supported = yes; then
44690 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44692 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44694 # Put the nasty error message in config.log where it belongs
44695 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44698 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44699 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44700 wxUSE_LIBGNOMEPRINT="no"
44703 elif test $pkg_failed = untried; then
44705 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44706 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44707 wxUSE_LIBGNOMEPRINT="no"
44711 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44712 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44713 { echo "$as_me:$LINENO: result: yes" >&5
44714 echo "${ECHO_T}yes" >&6; }
44716 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44717 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_LIBGNOMEPRINT 1
44727 if test "$wxUSE_MIMETYPE" = "yes" ; then
44728 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44732 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44733 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44735 if test -n "$PKG_CONFIG"; then
44736 if test -n "$GNOMEVFS_CFLAGS"; then
44737 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44739 if test -n "$PKG_CONFIG" && \
44740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44741 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); }; then
44745 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44753 if test -n "$PKG_CONFIG"; then
44754 if test -n "$GNOMEVFS_LIBS"; then
44755 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44757 if test -n "$PKG_CONFIG" && \
44758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44759 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44762 (exit $ac_status); }; then
44763 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44774 if test $pkg_failed = yes; then
44776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44777 _pkg_short_errors_supported=yes
44779 _pkg_short_errors_supported=no
44781 if test $_pkg_short_errors_supported = yes; then
44782 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44784 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44786 # Put the nasty error message in config.log where it belongs
44787 echo "$GNOMEVFS_PKG_ERRORS" >&5
44790 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44791 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44792 wxUSE_LIBGNOMEVFS="no"
44795 elif test $pkg_failed = untried; then
44797 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44798 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44799 wxUSE_LIBGNOMEVFS="no"
44803 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44804 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44805 { echo "$as_me:$LINENO: result: yes" >&5
44806 echo "${ECHO_T}yes" >&6; }
44808 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44809 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_LIBGNOMEVFS 1
44819 if test "$wxUSE_LIBHILDON" = "yes" ; then
44822 { echo "$as_me:$LINENO: checking for HILDON" >&5
44823 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44825 if test -n "$PKG_CONFIG"; then
44826 if test -n "$HILDON_CFLAGS"; then
44827 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44829 if test -n "$PKG_CONFIG" && \
44830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44831 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); }; then
44835 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44843 if test -n "$PKG_CONFIG"; then
44844 if test -n "$HILDON_LIBS"; then
44845 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44847 if test -n "$PKG_CONFIG" && \
44848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44849 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); }; then
44853 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44864 if test $pkg_failed = yes; then
44866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44867 _pkg_short_errors_supported=yes
44869 _pkg_short_errors_supported=no
44871 if test $_pkg_short_errors_supported = yes; then
44872 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44874 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44876 # Put the nasty error message in config.log where it belongs
44877 echo "$HILDON_PKG_ERRORS" >&5
44880 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44881 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44882 wxUSE_LIBHILDON="no"
44886 elif test $pkg_failed = untried; then
44888 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44889 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44890 wxUSE_LIBHILDON="no"
44895 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44896 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44897 { echo "$as_me:$LINENO: result: yes" >&5
44898 echo "${ECHO_T}yes" >&6; }
44900 EXTRALIBS_HILDON="$HILDON_LIBS"
44901 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44902 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44903 cat >>confdefs.h <<\_ACEOF
44904 #define wxUSE_LIBHILDON 1
44911 if test "$ac_hildon_lgpl" = 0 ; then
44914 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44915 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44917 if test -n "$PKG_CONFIG"; then
44918 if test -n "$HILDON2_CFLAGS"; then
44919 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44921 if test -n "$PKG_CONFIG" && \
44922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44923 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); }; then
44927 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44935 if test -n "$PKG_CONFIG"; then
44936 if test -n "$HILDON2_LIBS"; then
44937 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44939 if test -n "$PKG_CONFIG" && \
44940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44941 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); }; then
44945 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44956 if test $pkg_failed = yes; then
44958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44959 _pkg_short_errors_supported=yes
44961 _pkg_short_errors_supported=no
44963 if test $_pkg_short_errors_supported = yes; then
44964 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44966 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44968 # Put the nasty error message in config.log where it belongs
44969 echo "$HILDON2_PKG_ERRORS" >&5
44972 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44973 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44974 wxUSE_LIBHILDON2="no"
44977 elif test $pkg_failed = untried; then
44979 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44980 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44981 wxUSE_LIBHILDON2="no"
44985 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44986 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44987 { echo "$as_me:$LINENO: result: yes" >&5
44988 echo "${ECHO_T}yes" >&6; }
44990 EXTRALIBS_HILDON="$HILDON2_LIBS"
44991 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44992 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_LIBHILDON2 1
45003 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_CMDLINE_PARSER 1
45010 if test "$wxUSE_STOPWATCH" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_STOPWATCH 1
45017 if test "$wxUSE_DATETIME" = "yes"; then
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_DATETIME 1
45024 if test "$wxUSE_FILE" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_FILE 1
45031 if test "$wxUSE_FFILE" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_FFILE 1
45038 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45039 if test "$wxUSE_STREAMS" != yes; then
45040 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45041 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45042 wxUSE_ARCHIVE_STREAMS=no
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_ARCHIVE_STREAMS 1
45051 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45052 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45053 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45054 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45055 elif test "$wxUSE_ZLIB" = "no"; then
45056 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45057 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_ZIPSTREAM 1
45066 if test "$wxUSE_TARSTREAM" = "yes"; then
45067 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45068 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45069 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_TARSTREAM 1
45078 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_FILE_HISTORY 1
45085 if test "$wxUSE_FILESYSTEM" = "yes"; then
45086 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45087 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45088 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45089 wxUSE_FILESYSTEM=no
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_FILESYSTEM 1
45098 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45099 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45100 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45101 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_FS_ARCHIVE 1
45110 if test "$wxUSE_FS_ZIP" = "yes"; then
45111 if test "$wxUSE_FS_ARCHIVE" != yes; then
45112 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45113 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_FS_ZIP 1
45122 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45123 if test "$USE_UNIX" != 1; then
45124 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45125 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45126 wxUSE_ON_FATAL_EXCEPTION=no
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_ON_FATAL_EXCEPTION 1
45135 if test "$wxUSE_STACKWALKER" = "yes"; then
45136 cat >>confdefs.h <<\_ACEOF
45137 #define wxUSE_STACKWALKER 1
45142 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45143 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45144 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45145 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45146 wxUSE_DEBUGREPORT=no
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_DEBUGREPORT 1
45152 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45158 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SNGLINST_CHECKER 1
45165 if test "$wxUSE_BUSYINFO" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_BUSYINFO 1
45172 if test "$wxUSE_HOTKEY" = "yes"; then
45173 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45174 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45175 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45178 elif test "$wxUSE_HOTKEY" = "auto"; then
45179 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45183 if test "$wxUSE_HOTKEY" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_HOTKEY 1
45190 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_STD_CONTAINERS 1
45197 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_STD_IOSTREAM 1
45204 if test "$wxUSE_STD_STRING" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_STD_STRING 1
45211 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45218 if test "$wxUSE_STDPATHS" = "yes"; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_STDPATHS 1
45225 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_TEXTBUFFER 1
45232 if test "$wxUSE_TEXTFILE" = "yes"; then
45233 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45234 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45235 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_TEXTFILE 1
45244 if test "$wxUSE_CONFIG" = "yes" ; then
45245 if test "$wxUSE_TEXTFILE" != "yes"; then
45246 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45247 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_CONFIG 1
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_CONFIG_NATIVE 1
45257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45261 if test "$wxUSE_INTL" = "yes" ; then
45262 if test "$wxUSE_FILE" != "yes"; then
45263 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45264 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45266 cat >>confdefs.h <<\_ACEOF
45267 #define wxUSE_INTL 1
45270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45271 GUIDIST="$GUIDIST INTL_DIST"
45275 if test "$wxUSE_XLOCALE" = "yes" ; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_XLOCALE 1
45280 { echo "$as_me:$LINENO: checking for locale_t" >&5
45281 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45282 if test "${ac_cv_type_locale_t+set}" = set; then
45283 echo $ECHO_N "(cached) $ECHO_C" >&6
45285 cat >conftest.$ac_ext <<_ACEOF
45288 cat confdefs.h >>conftest.$ac_ext
45289 cat >>conftest.$ac_ext <<_ACEOF
45290 /* end confdefs.h. */
45291 #include <xlocale.h>
45292 #include <locale.h>
45294 typedef locale_t ac__type_new_;
45298 if ((ac__type_new_ *) 0)
45300 if (sizeof (ac__type_new_))
45306 rm -f conftest.$ac_objext
45307 if { (ac_try="$ac_compile"
45308 case "(($ac_try" in
45309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45310 *) ac_try_echo=$ac_try;;
45312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45313 (eval "$ac_compile") 2>conftest.er1
45315 grep -v '^ *+' conftest.er1 >conftest.err
45317 cat conftest.err >&5
45318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45319 (exit $ac_status); } && {
45320 test -z "$ac_c_werror_flag" ||
45321 test ! -s conftest.err
45322 } && test -s conftest.$ac_objext; then
45323 ac_cv_type_locale_t=yes
45325 echo "$as_me: failed program was:" >&5
45326 sed 's/^/| /' conftest.$ac_ext >&5
45328 ac_cv_type_locale_t=no
45331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45333 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45334 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45335 if test $ac_cv_type_locale_t = yes; then
45337 cat >>confdefs.h <<_ACEOF
45338 #define HAVE_LOCALE_T 1
45346 if test "$wxUSE_LOG" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_LOG 1
45352 if test "$wxUSE_LOGGUI" = "yes"; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_LOGGUI 1
45359 if test "$wxUSE_LOGWINDOW" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_LOGWINDOW 1
45366 if test "$wxUSE_LOGDIALOG" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_LOG_DIALOG 1
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45376 if test "$wxUSE_LONGLONG" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_LONGLONG 1
45383 if test "$wxUSE_GEOMETRY" = "yes"; then
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_GEOMETRY 1
45390 if test "$wxUSE_BASE64" = "yes"; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_BASE64 1
45397 if test "$wxUSE_STREAMS" = "yes" ; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_STREAMS 1
45404 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_PRINTF_POS_PARAMS 1
45411 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_OBJC_UNIQUIFYING 1
45419 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_CONSOLE_EVENTLOOP 1
45425 if test "$wxUSE_UNIX" = "yes"; then
45426 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_SELECT_DISPATCHER 1
45433 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45435 for ac_header in sys/epoll.h
45437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45441 echo $ECHO_N "(cached) $ECHO_C" >&6
45443 cat >conftest.$ac_ext <<_ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h. */
45449 $ac_includes_default
45451 #include <$ac_header>
45453 rm -f conftest.$ac_objext
45454 if { (ac_try="$ac_compile"
45455 case "(($ac_try" in
45456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45457 *) ac_try_echo=$ac_try;;
45459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45460 (eval "$ac_compile") 2>conftest.er1
45462 grep -v '^ *+' conftest.er1 >conftest.err
45464 cat conftest.err >&5
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); } && {
45467 test -z "$ac_c_werror_flag" ||
45468 test ! -s conftest.err
45469 } && test -s conftest.$ac_objext; then
45470 eval "$as_ac_Header=yes"
45472 echo "$as_me: failed program was:" >&5
45473 sed 's/^/| /' conftest.$ac_ext >&5
45475 eval "$as_ac_Header=no"
45478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45480 ac_res=`eval echo '${'$as_ac_Header'}'`
45481 { echo "$as_me:$LINENO: result: $ac_res" >&5
45482 echo "${ECHO_T}$ac_res" >&6; }
45483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45484 cat >>confdefs.h <<_ACEOF
45485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45492 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_EPOLL_DISPATCHER 1
45498 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45499 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45508 for ac_func in gettimeofday ftime
45510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45514 echo $ECHO_N "(cached) $ECHO_C" >&6
45516 cat >conftest.$ac_ext <<_ACEOF
45519 cat confdefs.h >>conftest.$ac_ext
45520 cat >>conftest.$ac_ext <<_ACEOF
45521 /* end confdefs.h. */
45522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45524 #define $ac_func innocuous_$ac_func
45526 /* System header to define __stub macros and hopefully few prototypes,
45527 which can conflict with char $ac_func (); below.
45528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45529 <limits.h> exists even on freestanding compilers. */
45532 # include <limits.h>
45534 # include <assert.h>
45539 /* Override any GCC internal prototype to avoid an error.
45540 Use char because int might match the return type of a GCC
45541 builtin and then its argument prototype would still apply. */
45546 /* The GNU C library defines this for functions which it implements
45547 to always fail with ENOSYS. Some functions are actually named
45548 something starting with __ and the normal name is an alias. */
45549 #if defined __stub_$ac_func || defined __stub___$ac_func
45556 return $ac_func ();
45561 rm -f conftest.$ac_objext conftest$ac_exeext
45562 if { (ac_try="$ac_link"
45563 case "(($ac_try" in
45564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45565 *) ac_try_echo=$ac_try;;
45567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45568 (eval "$ac_link") 2>conftest.er1
45570 grep -v '^ *+' conftest.er1 >conftest.err
45572 cat conftest.err >&5
45573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45574 (exit $ac_status); } && {
45575 test -z "$ac_c_werror_flag" ||
45576 test ! -s conftest.err
45577 } && test -s conftest$ac_exeext &&
45578 $as_test_x conftest$ac_exeext; then
45579 eval "$as_ac_var=yes"
45581 echo "$as_me: failed program was:" >&5
45582 sed 's/^/| /' conftest.$ac_ext >&5
45584 eval "$as_ac_var=no"
45587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45588 conftest$ac_exeext conftest.$ac_ext
45590 ac_res=`eval echo '${'$as_ac_var'}'`
45591 { echo "$as_me:$LINENO: result: $ac_res" >&5
45592 echo "${ECHO_T}$ac_res" >&6; }
45593 if test `eval echo '${'$as_ac_var'}'` = yes; then
45594 cat >>confdefs.h <<_ACEOF
45595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45602 if test "$ac_cv_func_gettimeofday" = "yes"; then
45603 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45604 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45605 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45606 echo $ECHO_N "(cached) $ECHO_C" >&6
45609 cat >conftest.$ac_ext <<_ACEOF
45612 cat confdefs.h >>conftest.$ac_ext
45613 cat >>conftest.$ac_ext <<_ACEOF
45614 /* end confdefs.h. */
45616 #include <sys/time.h>
45617 #include <unistd.h>
45624 gettimeofday(&tv, NULL);
45630 rm -f conftest.$ac_objext
45631 if { (ac_try="$ac_compile"
45632 case "(($ac_try" in
45633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45634 *) ac_try_echo=$ac_try;;
45636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45637 (eval "$ac_compile") 2>conftest.er1
45639 grep -v '^ *+' conftest.er1 >conftest.err
45641 cat conftest.err >&5
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); } && {
45644 test -z "$ac_c_werror_flag" ||
45645 test ! -s conftest.err
45646 } && test -s conftest.$ac_objext; then
45647 wx_cv_func_gettimeofday_has_2_args=yes
45649 echo "$as_me: failed program was:" >&5
45650 sed 's/^/| /' conftest.$ac_ext >&5
45652 cat >conftest.$ac_ext <<_ACEOF
45655 cat confdefs.h >>conftest.$ac_ext
45656 cat >>conftest.$ac_ext <<_ACEOF
45657 /* end confdefs.h. */
45659 #include <sys/time.h>
45660 #include <unistd.h>
45673 rm -f conftest.$ac_objext
45674 if { (ac_try="$ac_compile"
45675 case "(($ac_try" in
45676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45677 *) ac_try_echo=$ac_try;;
45679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45680 (eval "$ac_compile") 2>conftest.er1
45682 grep -v '^ *+' conftest.er1 >conftest.err
45684 cat conftest.err >&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); } && {
45687 test -z "$ac_c_werror_flag" ||
45688 test ! -s conftest.err
45689 } && test -s conftest.$ac_objext; then
45690 wx_cv_func_gettimeofday_has_2_args=no
45692 echo "$as_me: failed program was:" >&5
45693 sed 's/^/| /' conftest.$ac_ext >&5
45696 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45697 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45698 wx_cv_func_gettimeofday_has_2_args=unknown
45703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45710 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45711 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45713 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define WX_GETTIMEOFDAY_NO_TZ 1
45721 if test "$wxUSE_DATETIME" = "yes"; then
45722 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45723 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45724 if test "${wx_cv_var_timezone+set}" = set; then
45725 echo $ECHO_N "(cached) $ECHO_C" >&6
45729 ac_cpp='$CXXCPP $CPPFLAGS'
45730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45734 cat >conftest.$ac_ext <<_ACEOF
45737 cat confdefs.h >>conftest.$ac_ext
45738 cat >>conftest.$ac_ext <<_ACEOF
45739 /* end confdefs.h. */
45754 rm -f conftest.$ac_objext
45755 if { (ac_try="$ac_compile"
45756 case "(($ac_try" in
45757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45758 *) ac_try_echo=$ac_try;;
45760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45761 (eval "$ac_compile") 2>conftest.er1
45763 grep -v '^ *+' conftest.er1 >conftest.err
45765 cat conftest.err >&5
45766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45767 (exit $ac_status); } && {
45768 test -z "$ac_cxx_werror_flag" ||
45769 test ! -s conftest.err
45770 } && test -s conftest.$ac_objext; then
45772 wx_cv_var_timezone=timezone
45775 echo "$as_me: failed program was:" >&5
45776 sed 's/^/| /' conftest.$ac_ext >&5
45779 cat >conftest.$ac_ext <<_ACEOF
45782 cat confdefs.h >>conftest.$ac_ext
45783 cat >>conftest.$ac_ext <<_ACEOF
45784 /* end confdefs.h. */
45799 rm -f conftest.$ac_objext
45800 if { (ac_try="$ac_compile"
45801 case "(($ac_try" in
45802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45803 *) ac_try_echo=$ac_try;;
45805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45806 (eval "$ac_compile") 2>conftest.er1
45808 grep -v '^ *+' conftest.er1 >conftest.err
45810 cat conftest.err >&5
45811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812 (exit $ac_status); } && {
45813 test -z "$ac_cxx_werror_flag" ||
45814 test ! -s conftest.err
45815 } && test -s conftest.$ac_objext; then
45817 wx_cv_var_timezone=_timezone
45820 echo "$as_me: failed program was:" >&5
45821 sed 's/^/| /' conftest.$ac_ext >&5
45824 cat >conftest.$ac_ext <<_ACEOF
45827 cat confdefs.h >>conftest.$ac_ext
45828 cat >>conftest.$ac_ext <<_ACEOF
45829 /* end confdefs.h. */
45844 rm -f conftest.$ac_objext
45845 if { (ac_try="$ac_compile"
45846 case "(($ac_try" in
45847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45848 *) ac_try_echo=$ac_try;;
45850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45851 (eval "$ac_compile") 2>conftest.er1
45853 grep -v '^ *+' conftest.er1 >conftest.err
45855 cat conftest.err >&5
45856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45857 (exit $ac_status); } && {
45858 test -z "$ac_cxx_werror_flag" ||
45859 test ! -s conftest.err
45860 } && test -s conftest.$ac_objext; then
45862 wx_cv_var_timezone=__timezone
45865 echo "$as_me: failed program was:" >&5
45866 sed 's/^/| /' conftest.$ac_ext >&5
45869 if test "$USE_DOS" = 0 ; then
45870 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45871 echo "$as_me: WARNING: no timezone variable" >&2;}
45877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45889 ac_cpp='$CPP $CPPFLAGS'
45890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45897 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45898 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45900 if test "x$wx_cv_var_timezone" != x ; then
45901 cat >>confdefs.h <<_ACEOF
45902 #define WX_TIMEZONE $wx_cv_var_timezone
45908 for ac_func in localtime
45910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45914 echo $ECHO_N "(cached) $ECHO_C" >&6
45916 cat >conftest.$ac_ext <<_ACEOF
45919 cat confdefs.h >>conftest.$ac_ext
45920 cat >>conftest.$ac_ext <<_ACEOF
45921 /* end confdefs.h. */
45922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45924 #define $ac_func innocuous_$ac_func
45926 /* System header to define __stub macros and hopefully few prototypes,
45927 which can conflict with char $ac_func (); below.
45928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45929 <limits.h> exists even on freestanding compilers. */
45932 # include <limits.h>
45934 # include <assert.h>
45939 /* Override any GCC internal prototype to avoid an error.
45940 Use char because int might match the return type of a GCC
45941 builtin and then its argument prototype would still apply. */
45946 /* The GNU C library defines this for functions which it implements
45947 to always fail with ENOSYS. Some functions are actually named
45948 something starting with __ and the normal name is an alias. */
45949 #if defined __stub_$ac_func || defined __stub___$ac_func
45956 return $ac_func ();
45961 rm -f conftest.$ac_objext conftest$ac_exeext
45962 if { (ac_try="$ac_link"
45963 case "(($ac_try" in
45964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45965 *) ac_try_echo=$ac_try;;
45967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45968 (eval "$ac_link") 2>conftest.er1
45970 grep -v '^ *+' conftest.er1 >conftest.err
45972 cat conftest.err >&5
45973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45974 (exit $ac_status); } && {
45975 test -z "$ac_c_werror_flag" ||
45976 test ! -s conftest.err
45977 } && test -s conftest$ac_exeext &&
45978 $as_test_x conftest$ac_exeext; then
45979 eval "$as_ac_var=yes"
45981 echo "$as_me: failed program was:" >&5
45982 sed 's/^/| /' conftest.$ac_ext >&5
45984 eval "$as_ac_var=no"
45987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45988 conftest$ac_exeext conftest.$ac_ext
45990 ac_res=`eval echo '${'$as_ac_var'}'`
45991 { echo "$as_me:$LINENO: result: $ac_res" >&5
45992 echo "${ECHO_T}$ac_res" >&6; }
45993 if test `eval echo '${'$as_ac_var'}'` = yes; then
45994 cat >>confdefs.h <<_ACEOF
45995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46002 if test "$ac_cv_func_localtime" = "yes"; then
46003 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46004 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46005 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46006 echo $ECHO_N "(cached) $ECHO_C" >&6
46009 cat >conftest.$ac_ext <<_ACEOF
46012 cat confdefs.h >>conftest.$ac_ext
46013 cat >>conftest.$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46029 rm -f conftest.$ac_objext
46030 if { (ac_try="$ac_compile"
46031 case "(($ac_try" in
46032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46033 *) ac_try_echo=$ac_try;;
46035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46036 (eval "$ac_compile") 2>conftest.er1
46038 grep -v '^ *+' conftest.er1 >conftest.err
46040 cat conftest.err >&5
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); } && {
46043 test -z "$ac_c_werror_flag" ||
46044 test ! -s conftest.err
46045 } && test -s conftest.$ac_objext; then
46047 wx_cv_struct_tm_has_gmtoff=yes
46050 echo "$as_me: failed program was:" >&5
46051 sed 's/^/| /' conftest.$ac_ext >&5
46053 wx_cv_struct_tm_has_gmtoff=no
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46060 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46061 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46064 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define WX_GMTOFF_IN_TM 1
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46075 if test "$wxUSE_SOCKETS" = "yes"; then
46076 if test "$wxUSE_MGL" = 1; then
46077 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46078 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46083 if test "$wxUSE_SOCKETS" = "yes"; then
46084 if test "$TOOLKIT" != "MSW"; then
46085 { echo "$as_me:$LINENO: checking for socket" >&5
46086 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46087 if test "${ac_cv_func_socket+set}" = set; then
46088 echo $ECHO_N "(cached) $ECHO_C" >&6
46090 cat >conftest.$ac_ext <<_ACEOF
46093 cat confdefs.h >>conftest.$ac_ext
46094 cat >>conftest.$ac_ext <<_ACEOF
46095 /* end confdefs.h. */
46096 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46098 #define socket innocuous_socket
46100 /* System header to define __stub macros and hopefully few prototypes,
46101 which can conflict with char socket (); below.
46102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46103 <limits.h> exists even on freestanding compilers. */
46106 # include <limits.h>
46108 # include <assert.h>
46113 /* Override any GCC internal prototype to avoid an error.
46114 Use char because int might match the return type of a GCC
46115 builtin and then its argument prototype would still apply. */
46120 /* The GNU C library defines this for functions which it implements
46121 to always fail with ENOSYS. Some functions are actually named
46122 something starting with __ and the normal name is an alias. */
46123 #if defined __stub_socket || defined __stub___socket
46135 rm -f conftest.$ac_objext conftest$ac_exeext
46136 if { (ac_try="$ac_link"
46137 case "(($ac_try" in
46138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46139 *) ac_try_echo=$ac_try;;
46141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46142 (eval "$ac_link") 2>conftest.er1
46144 grep -v '^ *+' conftest.er1 >conftest.err
46146 cat conftest.err >&5
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); } && {
46149 test -z "$ac_c_werror_flag" ||
46150 test ! -s conftest.err
46151 } && test -s conftest$ac_exeext &&
46152 $as_test_x conftest$ac_exeext; then
46153 ac_cv_func_socket=yes
46155 echo "$as_me: failed program was:" >&5
46156 sed 's/^/| /' conftest.$ac_ext >&5
46158 ac_cv_func_socket=no
46161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46162 conftest$ac_exeext conftest.$ac_ext
46164 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46165 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46166 if test $ac_cv_func_socket = yes; then
46170 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46171 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46172 if test "${ac_cv_lib_socket_socket+set}" = set; then
46173 echo $ECHO_N "(cached) $ECHO_C" >&6
46175 ac_check_lib_save_LIBS=$LIBS
46176 LIBS="-lsocket $LIBS"
46177 cat >conftest.$ac_ext <<_ACEOF
46180 cat confdefs.h >>conftest.$ac_ext
46181 cat >>conftest.$ac_ext <<_ACEOF
46182 /* end confdefs.h. */
46184 /* Override any GCC internal prototype to avoid an error.
46185 Use char because int might match the return type of a GCC
46186 builtin and then its argument prototype would still apply. */
46199 rm -f conftest.$ac_objext conftest$ac_exeext
46200 if { (ac_try="$ac_link"
46201 case "(($ac_try" in
46202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46203 *) ac_try_echo=$ac_try;;
46205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46206 (eval "$ac_link") 2>conftest.er1
46208 grep -v '^ *+' conftest.er1 >conftest.err
46210 cat conftest.err >&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); } && {
46213 test -z "$ac_c_werror_flag" ||
46214 test ! -s conftest.err
46215 } && test -s conftest$ac_exeext &&
46216 $as_test_x conftest$ac_exeext; then
46217 ac_cv_lib_socket_socket=yes
46219 echo "$as_me: failed program was:" >&5
46220 sed 's/^/| /' conftest.$ac_ext >&5
46222 ac_cv_lib_socket_socket=no
46225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46226 conftest$ac_exeext conftest.$ac_ext
46227 LIBS=$ac_check_lib_save_LIBS
46229 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46230 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46231 if test $ac_cv_lib_socket_socket = yes; then
46232 if test "$INET_LINK" != " -lsocket"; then
46233 INET_LINK="$INET_LINK -lsocket"
46237 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46238 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46251 if test "$wxUSE_SOCKETS" = "yes" ; then
46252 if test "$TOOLKIT" != "MSW"; then
46253 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46254 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46255 if test "${wx_cv_type_getsockname3+set}" = set; then
46256 echo $ECHO_N "(cached) $ECHO_C" >&6
46260 ac_cpp='$CXXCPP $CPPFLAGS'
46261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46265 cat >conftest.$ac_ext <<_ACEOF
46268 cat confdefs.h >>conftest.$ac_ext
46269 cat >>conftest.$ac_ext <<_ACEOF
46270 /* end confdefs.h. */
46272 #include <sys/types.h>
46273 #include <sys/socket.h>
46280 getsockname(0, 0, &len);
46286 rm -f conftest.$ac_objext
46287 if { (ac_try="$ac_compile"
46288 case "(($ac_try" in
46289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46290 *) ac_try_echo=$ac_try;;
46292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46293 (eval "$ac_compile") 2>conftest.er1
46295 grep -v '^ *+' conftest.er1 >conftest.err
46297 cat conftest.err >&5
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); } && {
46300 test -z "$ac_cxx_werror_flag" ||
46301 test ! -s conftest.err
46302 } && test -s conftest.$ac_objext; then
46303 wx_cv_type_getsockname3=socklen_t
46305 echo "$as_me: failed program was:" >&5
46306 sed 's/^/| /' conftest.$ac_ext >&5
46309 CFLAGS_OLD="$CFLAGS"
46310 if test "$GCC" = yes ; then
46311 CFLAGS="-Werror $CFLAGS"
46314 cat >conftest.$ac_ext <<_ACEOF
46317 cat confdefs.h >>conftest.$ac_ext
46318 cat >>conftest.$ac_ext <<_ACEOF
46319 /* end confdefs.h. */
46321 #include <sys/types.h>
46322 #include <sys/socket.h>
46329 getsockname(0, 0, &len);
46335 rm -f conftest.$ac_objext
46336 if { (ac_try="$ac_compile"
46337 case "(($ac_try" in
46338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46339 *) ac_try_echo=$ac_try;;
46341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46342 (eval "$ac_compile") 2>conftest.er1
46344 grep -v '^ *+' conftest.er1 >conftest.err
46346 cat conftest.err >&5
46347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46348 (exit $ac_status); } && {
46349 test -z "$ac_cxx_werror_flag" ||
46350 test ! -s conftest.err
46351 } && test -s conftest.$ac_objext; then
46352 wx_cv_type_getsockname3=size_t
46354 echo "$as_me: failed program was:" >&5
46355 sed 's/^/| /' conftest.$ac_ext >&5
46357 cat >conftest.$ac_ext <<_ACEOF
46360 cat confdefs.h >>conftest.$ac_ext
46361 cat >>conftest.$ac_ext <<_ACEOF
46362 /* end confdefs.h. */
46364 #include <sys/types.h>
46365 #include <sys/socket.h>
46372 getsockname(0, 0, &len);
46378 rm -f conftest.$ac_objext
46379 if { (ac_try="$ac_compile"
46380 case "(($ac_try" in
46381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46382 *) ac_try_echo=$ac_try;;
46384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46385 (eval "$ac_compile") 2>conftest.er1
46387 grep -v '^ *+' conftest.er1 >conftest.err
46389 cat conftest.err >&5
46390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46391 (exit $ac_status); } && {
46392 test -z "$ac_cxx_werror_flag" ||
46393 test ! -s conftest.err
46394 } && test -s conftest.$ac_objext; then
46395 wx_cv_type_getsockname3=int
46397 echo "$as_me: failed program was:" >&5
46398 sed 's/^/| /' conftest.$ac_ext >&5
46400 wx_cv_type_getsockname3=unknown
46404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46410 CFLAGS="$CFLAGS_OLD"
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46424 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46425 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46427 if test "$wx_cv_type_getsockname3" = "unknown"; then
46429 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46430 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46432 cat >>confdefs.h <<_ACEOF
46433 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46437 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46438 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46439 if test "${wx_cv_type_getsockopt5+set}" = set; then
46440 echo $ECHO_N "(cached) $ECHO_C" >&6
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat >conftest.$ac_ext <<_ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46456 #include <sys/types.h>
46457 #include <sys/socket.h>
46464 getsockopt(0, 0, 0, 0, &len);
46470 rm -f conftest.$ac_objext
46471 if { (ac_try="$ac_compile"
46472 case "(($ac_try" in
46473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46474 *) ac_try_echo=$ac_try;;
46476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46477 (eval "$ac_compile") 2>conftest.er1
46479 grep -v '^ *+' conftest.er1 >conftest.err
46481 cat conftest.err >&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); } && {
46484 test -z "$ac_cxx_werror_flag" ||
46485 test ! -s conftest.err
46486 } && test -s conftest.$ac_objext; then
46487 wx_cv_type_getsockopt5=socklen_t
46489 echo "$as_me: failed program was:" >&5
46490 sed 's/^/| /' conftest.$ac_ext >&5
46493 cat >conftest.$ac_ext <<_ACEOF
46496 cat confdefs.h >>conftest.$ac_ext
46497 cat >>conftest.$ac_ext <<_ACEOF
46498 /* end confdefs.h. */
46500 #include <sys/types.h>
46501 #include <sys/socket.h>
46508 getsockopt(0, 0, 0, 0, &len);
46514 rm -f conftest.$ac_objext
46515 if { (ac_try="$ac_compile"
46516 case "(($ac_try" in
46517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46518 *) ac_try_echo=$ac_try;;
46520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46521 (eval "$ac_compile") 2>conftest.er1
46523 grep -v '^ *+' conftest.er1 >conftest.err
46525 cat conftest.err >&5
46526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527 (exit $ac_status); } && {
46528 test -z "$ac_cxx_werror_flag" ||
46529 test ! -s conftest.err
46530 } && test -s conftest.$ac_objext; then
46531 wx_cv_type_getsockopt5=size_t
46533 echo "$as_me: failed program was:" >&5
46534 sed 's/^/| /' conftest.$ac_ext >&5
46536 cat >conftest.$ac_ext <<_ACEOF
46539 cat confdefs.h >>conftest.$ac_ext
46540 cat >>conftest.$ac_ext <<_ACEOF
46541 /* end confdefs.h. */
46543 #include <sys/types.h>
46544 #include <sys/socket.h>
46551 getsockopt(0, 0, 0, 0, &len);
46557 rm -f conftest.$ac_objext
46558 if { (ac_try="$ac_compile"
46559 case "(($ac_try" in
46560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46561 *) ac_try_echo=$ac_try;;
46563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46564 (eval "$ac_compile") 2>conftest.er1
46566 grep -v '^ *+' conftest.er1 >conftest.err
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } && {
46571 test -z "$ac_cxx_werror_flag" ||
46572 test ! -s conftest.err
46573 } && test -s conftest.$ac_objext; then
46574 wx_cv_type_getsockopt5=int
46576 echo "$as_me: failed program was:" >&5
46577 sed 's/^/| /' conftest.$ac_ext >&5
46579 wx_cv_type_getsockopt5=unknown
46583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46594 ac_cpp='$CPP $CPPFLAGS'
46595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46601 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46602 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46604 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46606 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46607 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46609 cat >>confdefs.h <<_ACEOF
46610 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46617 if test "$wxUSE_SOCKETS" = "yes" ; then
46618 if test "$wxUSE_IPV6" = "yes"; then
46619 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46620 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46621 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46622 echo $ECHO_N "(cached) $ECHO_C" >&6
46625 cat >conftest.$ac_ext <<_ACEOF
46628 cat confdefs.h >>conftest.$ac_ext
46629 cat >>conftest.$ac_ext <<_ACEOF
46630 /* end confdefs.h. */
46632 #include <sys/types.h>
46633 #include <sys/socket.h>
46634 #include <netinet/in.h>
46640 struct sockaddr_in6 sa6;
46646 rm -f conftest.$ac_objext
46647 if { (ac_try="$ac_compile"
46648 case "(($ac_try" in
46649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46650 *) ac_try_echo=$ac_try;;
46652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46653 (eval "$ac_compile") 2>conftest.er1
46655 grep -v '^ *+' conftest.er1 >conftest.err
46657 cat conftest.err >&5
46658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46659 (exit $ac_status); } && {
46660 test -z "$ac_c_werror_flag" ||
46661 test ! -s conftest.err
46662 } && test -s conftest.$ac_objext; then
46663 wx_cv_type_sockaddr_in6=yes
46665 echo "$as_me: failed program was:" >&5
46666 sed 's/^/| /' conftest.$ac_ext >&5
46668 wx_cv_type_sockaddr_in6=no
46672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46676 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46677 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46679 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_IPV6 1
46685 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46686 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_SOCKETS 1
46694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46697 if test "$wxUSE_PROTOCOL" = "yes"; then
46698 if test "$wxUSE_SOCKETS" != "yes"; then
46699 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46700 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46705 if test "$wxUSE_PROTOCOL" = "yes"; then
46706 cat >>confdefs.h <<\_ACEOF
46707 #define wxUSE_PROTOCOL 1
46711 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_PROTOCOL_HTTP 1
46717 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46718 cat >>confdefs.h <<\_ACEOF
46719 #define wxUSE_PROTOCOL_FTP 1
46723 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_PROTOCOL_FILE 1
46730 if test "$wxUSE_FS_INET" = "yes"; then
46731 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46732 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46737 if test "$wxUSE_URL" = "yes"; then
46738 if test "$wxUSE_PROTOCOL" != "yes"; then
46739 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46740 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46743 if test "$wxUSE_URL" = "yes"; then
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_URL 1
46751 if test "$wxUSE_VARIANT" = "yes"; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_VARIANT 1
46758 if test "$wxUSE_FS_INET" = "yes"; then
46759 cat >>confdefs.h <<\_ACEOF
46760 #define wxUSE_FS_INET 1
46766 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46769 if test "$TOOLKIT" = "MSW"; then
46772 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46773 if test "$USE_DARWIN" = 1; then
46774 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46775 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46777 ac_cpp='$CXXCPP $CPPFLAGS'
46778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46782 cat >conftest.$ac_ext <<_ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h. */
46788 #include <IOKit/hid/IOHIDLib.h>
46792 IOHIDQueueInterface *qi = NULL;
46793 IOHIDCallbackFunction cb = NULL;
46794 qi->setEventCallout(NULL, cb, NULL, NULL);
46799 rm -f conftest.$ac_objext
46800 if { (ac_try="$ac_compile"
46801 case "(($ac_try" in
46802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46803 *) ac_try_echo=$ac_try;;
46805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46806 (eval "$ac_compile") 2>conftest.er1
46808 grep -v '^ *+' conftest.er1 >conftest.err
46810 cat conftest.err >&5
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); } && {
46813 test -z "$ac_cxx_werror_flag" ||
46814 test ! -s conftest.err
46815 } && test -s conftest.$ac_objext; then
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.$ac_ext >&5
46825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46827 ac_cpp='$CPP $CPPFLAGS'
46828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46832 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46833 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46837 if test "$wxUSE_MGL" != 1; then
46839 for ac_header in linux/joystick.h
46841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46842 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46845 echo $ECHO_N "(cached) $ECHO_C" >&6
46847 cat >conftest.$ac_ext <<_ACEOF
46850 cat confdefs.h >>conftest.$ac_ext
46851 cat >>conftest.$ac_ext <<_ACEOF
46852 /* end confdefs.h. */
46853 $ac_includes_default
46855 #include <$ac_header>
46857 rm -f conftest.$ac_objext
46858 if { (ac_try="$ac_compile"
46859 case "(($ac_try" in
46860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46861 *) ac_try_echo=$ac_try;;
46863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46864 (eval "$ac_compile") 2>conftest.er1
46866 grep -v '^ *+' conftest.er1 >conftest.err
46868 cat conftest.err >&5
46869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46870 (exit $ac_status); } && {
46871 test -z "$ac_c_werror_flag" ||
46872 test ! -s conftest.err
46873 } && test -s conftest.$ac_objext; then
46874 eval "$as_ac_Header=yes"
46876 echo "$as_me: failed program was:" >&5
46877 sed 's/^/| /' conftest.$ac_ext >&5
46879 eval "$as_ac_Header=no"
46882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46884 ac_res=`eval echo '${'$as_ac_Header'}'`
46885 { echo "$as_me:$LINENO: result: $ac_res" >&5
46886 echo "${ECHO_T}$ac_res" >&6; }
46887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46888 cat >>confdefs.h <<_ACEOF
46889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46899 if test "$wxUSE_JOYSTICK" = "yes"; then
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_JOYSTICK 1
46904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46906 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46907 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46913 if test "$wxUSE_FONTENUM" = "yes" ; then
46914 cat >>confdefs.h <<\_ACEOF
46915 #define wxUSE_FONTENUM 1
46920 if test "$wxUSE_FONTMAP" = "yes" ; then
46921 cat >>confdefs.h <<\_ACEOF
46922 #define wxUSE_FONTMAP 1
46927 if test "$wxUSE_UNICODE" = "yes" ; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_UNICODE 1
46933 if test "$USE_WIN32" != 1; then
46934 wxUSE_UNICODE_MSLU=no
46937 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46938 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46939 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46940 if test "${ac_cv_lib_unicows_main+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46943 ac_check_lib_save_LIBS=$LIBS
46944 LIBS="-lunicows $LIBS"
46945 cat >conftest.$ac_ext <<_ACEOF
46948 cat confdefs.h >>conftest.$ac_ext
46949 cat >>conftest.$ac_ext <<_ACEOF
46950 /* end confdefs.h. */
46961 rm -f conftest.$ac_objext conftest$ac_exeext
46962 if { (ac_try="$ac_link"
46963 case "(($ac_try" in
46964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46965 *) ac_try_echo=$ac_try;;
46967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46968 (eval "$ac_link") 2>conftest.er1
46970 grep -v '^ *+' conftest.er1 >conftest.err
46972 cat conftest.err >&5
46973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974 (exit $ac_status); } && {
46975 test -z "$ac_c_werror_flag" ||
46976 test ! -s conftest.err
46977 } && test -s conftest$ac_exeext &&
46978 $as_test_x conftest$ac_exeext; then
46979 ac_cv_lib_unicows_main=yes
46981 echo "$as_me: failed program was:" >&5
46982 sed 's/^/| /' conftest.$ac_ext >&5
46984 ac_cv_lib_unicows_main=no
46987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46988 conftest$ac_exeext conftest.$ac_ext
46989 LIBS=$ac_check_lib_save_LIBS
46991 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46992 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46993 if test $ac_cv_lib_unicows_main = yes; then
46995 cat >>confdefs.h <<\_ACEOF
46996 #define wxUSE_UNICODE_MSLU 1
47002 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47003 Applications will only run on Windows NT/2000/XP!" >&5
47004 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47005 Applications will only run on Windows NT/2000/XP!" >&2;}
47006 wxUSE_UNICODE_MSLU=no
47013 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47014 cat >>confdefs.h <<\_ACEOF
47015 #define wxUSE_UNICODE_UTF8 1
47019 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47020 cat >>confdefs.h <<\_ACEOF
47021 #define wxUSE_UTF8_LOCALE_ONLY 1
47028 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_CONSTRAINTS 1
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47036 if test "$wxUSE_MDI" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_MDI 1
47042 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_MDI_ARCHITECTURE 1
47047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47051 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47059 if test "$wxUSE_HELP" = "yes"; then
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_HELP 1
47064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47066 if test "$wxUSE_MSW" = 1; then
47067 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_MS_HTML_HELP 1
47075 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47076 if test "$wxUSE_HTML" = "yes"; then
47077 cat >>confdefs.h <<\_ACEOF
47078 #define wxUSE_WXHTML_HELP 1
47082 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47083 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47084 wxUSE_WXHTML_HELP=no
47089 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_PRINTING_ARCHITECTURE 1
47094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47097 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47098 cat >>confdefs.h <<\_ACEOF
47099 #define wxUSE_POSTSCRIPT 1
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47109 if test "$wxUSE_SVG" = "yes"; then
47110 cat >>confdefs.h <<\_ACEOF
47111 #define wxUSE_SVG 1
47117 if test "$wxUSE_METAFILE" = "yes"; then
47118 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47119 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47120 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47126 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47127 -o "$wxUSE_CLIPBOARD" = "yes" \
47128 -o "$wxUSE_OLE" = "yes" \
47129 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47130 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47131 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47132 if test "${ac_cv_header_ole2_h+set}" = set; then
47133 echo $ECHO_N "(cached) $ECHO_C" >&6
47135 cat >conftest.$ac_ext <<_ACEOF
47138 cat confdefs.h >>conftest.$ac_ext
47139 cat >>conftest.$ac_ext <<_ACEOF
47140 /* end confdefs.h. */
47145 rm -f conftest.$ac_objext
47146 if { (ac_try="$ac_compile"
47147 case "(($ac_try" in
47148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47149 *) ac_try_echo=$ac_try;;
47151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47152 (eval "$ac_compile") 2>conftest.er1
47154 grep -v '^ *+' conftest.er1 >conftest.err
47156 cat conftest.err >&5
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); } && {
47159 test -z "$ac_c_werror_flag" ||
47160 test ! -s conftest.err
47161 } && test -s conftest.$ac_objext; then
47162 ac_cv_header_ole2_h=yes
47164 echo "$as_me: failed program was:" >&5
47165 sed 's/^/| /' conftest.$ac_ext >&5
47167 ac_cv_header_ole2_h=no
47170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47172 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47173 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47177 if test "$ac_cv_header_ole2_h" = "yes" ; then
47178 if test "$GCC" = yes ; then
47179 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47180 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47181 cat >conftest.$ac_ext <<_ACEOF
47184 cat confdefs.h >>conftest.$ac_ext
47185 cat >>conftest.$ac_ext <<_ACEOF
47186 /* end confdefs.h. */
47187 #include <windows.h>
47197 rm -f conftest.$ac_objext
47198 if { (ac_try="$ac_compile"
47199 case "(($ac_try" in
47200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47201 *) ac_try_echo=$ac_try;;
47203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47204 (eval "$ac_compile") 2>conftest.er1
47206 grep -v '^ *+' conftest.er1 >conftest.err
47208 cat conftest.err >&5
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); } && {
47211 test -z "$ac_c_werror_flag" ||
47212 test ! -s conftest.err
47213 } && test -s conftest.$ac_objext; then
47214 { echo "$as_me:$LINENO: result: no" >&5
47215 echo "${ECHO_T}no" >&6; }
47217 echo "$as_me: failed program was:" >&5
47218 sed 's/^/| /' conftest.$ac_ext >&5
47220 { echo "$as_me:$LINENO: result: yes" >&5
47221 echo "${ECHO_T}yes" >&6; }
47222 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47226 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47227 if test "$wxUSE_OLE" = "yes" ; then
47228 cat >>confdefs.h <<\_ACEOF
47229 #define wxUSE_OLE 1
47232 cat >>confdefs.h <<\_ACEOF
47233 #define wxUSE_OLE_AUTOMATION 1
47236 cat >>confdefs.h <<\_ACEOF
47237 #define wxUSE_ACTIVEX 1
47240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47244 if test "$wxUSE_DATAOBJ" = "yes" ; then
47245 cat >>confdefs.h <<\_ACEOF
47246 #define wxUSE_DATAOBJ 1
47251 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47252 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47255 wxUSE_DRAG_AND_DROP=no
47260 if test "$wxUSE_METAFILE" = "yes"; then
47261 cat >>confdefs.h <<\_ACEOF
47262 #define wxUSE_METAFILE 1
47266 cat >>confdefs.h <<\_ACEOF
47267 #define wxUSE_ENH_METAFILE 1
47273 if test "$wxUSE_IPC" = "yes"; then
47274 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47275 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47276 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47280 if test "$wxUSE_IPC" = "yes"; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_IPC 1
47285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47289 if test "$wxUSE_DATAOBJ" = "yes"; then
47290 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47291 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47292 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47295 cat >>confdefs.h <<\_ACEOF
47296 #define wxUSE_DATAOBJ 1
47301 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47302 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47304 wxUSE_DRAG_AND_DROP=no
47307 if test "$wxUSE_CLIPBOARD" = "yes"; then
47308 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47309 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47310 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47314 if test "$wxUSE_CLIPBOARD" = "yes"; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_CLIPBOARD 1
47322 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47323 if test "$wxUSE_GTK" = 1; then
47324 if test "$WXGTK12" != 1; then
47325 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47326 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47327 wxUSE_DRAG_AND_DROP=no
47331 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47332 "$wxUSE_DFB" = 1; then
47333 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47334 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47335 wxUSE_DRAG_AND_DROP=no
47338 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_DRAG_AND_DROP 1
47347 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47351 if test "$wxUSE_CLIPBOARD" = "yes"; then
47352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47355 if test "$wxUSE_SPLINES" = "yes" ; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_SPLINES 1
47362 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_MOUSEWHEEL 1
47369 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47370 cat >>confdefs.h <<\_ACEOF
47371 #define wxUSE_UIACTIONSIMULATOR 1
47374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47377 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_DC_TRANSFORM_MATRIX 1
47386 if test "$wxUSE_CONTROLS" = "yes"; then
47390 if test "$wxUSE_MARKUP" = "yes"; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_MARKUP 1
47397 if test "$wxUSE_ACCEL" = "yes"; then
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_ACCEL 1
47405 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_ANIMATIONCTRL 1
47411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47414 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_BANNERWINDOW 1
47421 if test "$wxUSE_BUTTON" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_BUTTON 1
47429 if test "$wxUSE_BMPBUTTON" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_BMPBUTTON 1
47437 if test "$wxUSE_CALCTRL" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_CALENDARCTRL 1
47443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47446 if test "$wxUSE_CARET" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_CARET 1
47452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47455 if test "$wxUSE_COLLPANE" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_COLLPANE 1
47461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47464 if test "$wxUSE_COMBOBOX" = "yes"; then
47465 cat >>confdefs.h <<\_ACEOF
47466 #define wxUSE_COMBOBOX 1
47472 if test "$wxUSE_COMBOCTRL" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_COMBOCTRL 1
47480 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47481 cat >>confdefs.h <<\_ACEOF
47482 #define wxUSE_COMMANDLINKBUTTON 1
47488 if test "$wxUSE_CHOICE" = "yes"; then
47489 cat >>confdefs.h <<\_ACEOF
47490 #define wxUSE_CHOICE 1
47496 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_CHOICEBOOK 1
47504 if test "$wxUSE_CHECKBOX" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_CHECKBOX 1
47512 if test "$wxUSE_CHECKLST" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_CHECKLISTBOX 1
47520 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_COLOURPICKERCTRL 1
47528 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_DATEPICKCTRL 1
47536 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_DIRPICKERCTRL 1
47544 if test "$wxUSE_FILECTRL" = "yes"; then
47545 cat >>confdefs.h <<\_ACEOF
47546 #define wxUSE_FILECTRL 1
47552 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47553 cat >>confdefs.h <<\_ACEOF
47554 #define wxUSE_FILEPICKERCTRL 1
47560 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_FONTPICKERCTRL 1
47568 if test "$wxUSE_DISPLAY" = "yes"; then
47569 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47570 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47571 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_DISPLAY 1
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47582 if test "$wxUSE_DETECT_SM" = "yes"; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_DETECT_SM 1
47589 if test "$wxUSE_GAUGE" = "yes"; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_GAUGE 1
47597 if test "$wxUSE_GRID" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_GRID 1
47603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47606 if test "$wxUSE_HEADERCTRL" = "yes"; then
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_HEADERCTRL 1
47614 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_HYPERLINKCTRL 1
47622 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_BITMAPCOMBOBOX 1
47630 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47631 cat >>confdefs.h <<\_ACEOF
47632 #define wxUSE_DATAVIEWCTRL 1
47636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47639 if test "$wxUSE_IMAGLIST" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_IMAGLIST 1
47646 if test "$wxUSE_INFOBAR" = "yes"; then
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_INFOBAR 1
47653 if test "$wxUSE_LISTBOOK" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_LISTBOOK 1
47661 if test "$wxUSE_LISTBOX" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_LISTBOX 1
47669 if test "$wxUSE_LISTCTRL" = "yes"; then
47670 if test "$wxUSE_IMAGLIST" = "yes"; then
47671 cat >>confdefs.h <<\_ACEOF
47672 #define wxUSE_LISTCTRL 1
47676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47678 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47679 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47683 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_EDITABLELISTBOX 1
47691 if test "$wxUSE_NOTEBOOK" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_NOTEBOOK 1
47697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47700 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_NOTIFICATION_MESSAGE 1
47707 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47708 cat >>confdefs.h <<\_ACEOF
47709 #define wxUSE_ODCOMBOBOX 1
47713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47716 if test "$wxUSE_RADIOBOX" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_RADIOBOX 1
47724 if test "$wxUSE_RADIOBTN" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_RADIOBTN 1
47732 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_REARRANGECTRL 1
47739 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_RICHMSGDLG 1
47746 if test "$wxUSE_SASH" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_SASH 1
47751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47754 if test "$wxUSE_SCROLLBAR" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_SCROLLBAR 1
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47763 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_SEARCHCTRL 1
47771 if test "$wxUSE_SLIDER" = "yes"; then
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_SLIDER 1
47779 if test "$wxUSE_SPINBTN" = "yes"; then
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_SPINBTN 1
47787 if test "$wxUSE_SPINCTRL" = "yes"; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_SPINCTRL 1
47795 if test "$wxUSE_SPLITTER" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_SPLITTER 1
47800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47803 if test "$wxUSE_STATBMP" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_STATBMP 1
47811 if test "$wxUSE_STATBOX" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_STATBOX 1
47819 if test "$wxUSE_STATTEXT" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_STATTEXT 1
47827 if test "$wxUSE_STATLINE" = "yes"; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_STATLINE 1
47835 if test "$wxUSE_STATUSBAR" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_NATIVE_STATUSBAR 1
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_STATUSBAR 1
47846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47849 if test "$wxUSE_TEXTCTRL" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_TEXTCTRL 1
47855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_RICHEDIT 1
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_RICHEDIT2 1
47867 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47868 if test "$wxUSE_OLD_COCOA" = 1 ; then
47869 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47870 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47874 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_TOGGLEBTN 1
47883 if test "$wxUSE_TOOLBAR" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_TOOLBAR 1
47890 if test "$wxUSE_UNIVERSAL" = "yes"; then
47891 wxUSE_TOOLBAR_NATIVE="no"
47893 wxUSE_TOOLBAR_NATIVE="yes"
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_TOOLBAR_NATIVE 1
47900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47903 if test "$wxUSE_TOOLTIPS" = "yes"; then
47904 if test "$wxUSE_MOTIF" = 1; then
47905 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47906 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47908 if test "$wxUSE_UNIVERSAL" = "yes"; then
47909 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47910 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_TOOLTIPS 1
47920 if test "$wxUSE_TREEBOOK" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_TREEBOOK 1
47928 if test "$wxUSE_TOOLBOOK" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_TOOLBOOK 1
47936 if test "$wxUSE_TREECTRL" = "yes"; then
47937 if test "$wxUSE_IMAGLIST" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_TREECTRL 1
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47945 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47946 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47950 if test "$wxUSE_TREECTRL" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_TREELISTCTRL 1
47958 if test "$wxUSE_POPUPWIN" = "yes"; then
47959 if test "$wxUSE_OLD_COCOA" = 1 ; then
47960 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47961 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47963 if test "$wxUSE_PM" = 1; then
47964 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47965 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_POPUPWIN 1
47971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47978 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47979 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47980 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47981 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_DIALUP_MANAGER 1
47987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47991 if test "$wxUSE_TIPWINDOW" = "yes"; then
47992 if test "$wxUSE_PM" = 1; then
47993 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47994 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_TIPWINDOW 1
48003 if test "$USES_CONTROLS" = 1; then
48004 cat >>confdefs.h <<\_ACEOF
48005 #define wxUSE_CONTROLS 1
48011 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_ACCESSIBILITY 1
48016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48019 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_ARTPROVIDER_STD 1
48026 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
48027 if test "$wxUSE_GTK" != 1; then
48028 if test "$wxUSE_LIBPNG" != no -a \
48029 "$wxUSE_IMAGE" = yes -a \
48030 "$wxUSE_STREAMS" = yes; then
48031 wxUSE_ARTPROVIDER_TANGO="yes"
48036 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_ARTPROVIDER_TANGO 1
48043 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_DRAGIMAGE 1
48048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48051 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48052 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48053 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48054 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_EXCEPTIONS 1
48060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48065 if test "$wxUSE_HTML" = "yes"; then
48066 cat >>confdefs.h <<\_ACEOF
48067 #define wxUSE_HTML 1
48071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48073 if test "$wxUSE_WEBKIT" = "yes"; then
48074 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48075 old_CPPFLAGS="$CPPFLAGS"
48076 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48077 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48078 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48079 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48080 echo $ECHO_N "(cached) $ECHO_C" >&6
48082 cat >conftest.$ac_ext <<_ACEOF
48085 cat confdefs.h >>conftest.$ac_ext
48086 cat >>conftest.$ac_ext <<_ACEOF
48087 /* end confdefs.h. */
48089 #include <Carbon/Carbon.h>
48090 #include <WebKit/WebKit.h>
48093 #include <WebKit/HIWebView.h>
48095 rm -f conftest.$ac_objext
48096 if { (ac_try="$ac_compile"
48097 case "(($ac_try" in
48098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48099 *) ac_try_echo=$ac_try;;
48101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48102 (eval "$ac_compile") 2>conftest.er1
48104 grep -v '^ *+' conftest.er1 >conftest.err
48106 cat conftest.err >&5
48107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48108 (exit $ac_status); } && {
48109 test -z "$ac_c_werror_flag" ||
48110 test ! -s conftest.err
48111 } && test -s conftest.$ac_objext; then
48112 ac_cv_header_WebKit_HIWebView_h=yes
48114 echo "$as_me: failed program was:" >&5
48115 sed 's/^/| /' conftest.$ac_ext >&5
48117 ac_cv_header_WebKit_HIWebView_h=no
48120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48123 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48124 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48126 cat >>confdefs.h <<\_ACEOF
48127 #define wxUSE_WEBKIT 1
48130 WEBKIT_LINK="-framework WebKit"
48134 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48135 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48141 CPPFLAGS="$old_CPPFLAGS"
48142 elif test "$wxUSE_OLD_COCOA" = 1; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_WEBKIT 1
48150 if test "$wxUSE_WEBKIT" = "yes"; then
48151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48156 if test "$wxUSE_XRC" = "yes"; then
48157 if test "$wxUSE_XML" != "yes"; then
48158 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48159 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_XRC 1
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48172 if test "$wxUSE_AUI" = "yes"; then
48173 cat >>confdefs.h <<\_ACEOF
48174 #define wxUSE_AUI 1
48178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48182 if test "$wxUSE_PROPGRID" = "yes"; then
48183 cat >>confdefs.h <<\_ACEOF
48184 #define wxUSE_PROPGRID 1
48188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48192 if test "$wxUSE_RIBBON" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_RIBBON 1
48198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48202 if test "$wxUSE_STC" = "yes"; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_STC 1
48208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48210 # Extract the first word of "python", so it can be a program name with args.
48211 set dummy python; ac_word=$2
48212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48214 if test "${ac_cv_path_PYTHON+set}" = set; then
48215 echo $ECHO_N "(cached) $ECHO_C" >&6
48219 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48223 for as_dir in $PATH
48226 test -z "$as_dir" && as_dir=.
48227 for ac_exec_ext in '' $ac_executable_extensions; do
48228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48229 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48240 PYTHON=$ac_cv_path_PYTHON
48241 if test -n "$PYTHON"; then
48242 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48243 echo "${ECHO_T}$PYTHON" >&6; }
48245 { echo "$as_me:$LINENO: result: no" >&5
48246 echo "${ECHO_T}no" >&6; }
48250 if test "x$PYTHON" = "x"; then
48256 if test "$wxUSE_MENUS" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_MENUS 1
48261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48264 if test "$wxUSE_METAFILE" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_METAFILE 1
48271 if test "$wxUSE_MIMETYPE" = "yes"; then
48272 cat >>confdefs.h <<\_ACEOF
48273 #define wxUSE_MIMETYPE 1
48278 if test "$wxUSE_MINIFRAME" = "yes"; then
48279 cat >>confdefs.h <<\_ACEOF
48280 #define wxUSE_MINIFRAME 1
48285 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48286 cat >>confdefs.h <<\_ACEOF
48287 #define wxUSE_SYSTEM_OPTIONS 1
48292 if test "$wxUSE_TASKBARICON" = "yes"; then
48293 cat >>confdefs.h <<\_ACEOF
48294 #define wxUSE_TASKBARICON 1
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48301 if test "$wxUSE_VALIDATORS" = "yes"; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_VALIDATORS 1
48306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48309 if test "$wxUSE_PALETTE" = "yes" ; then
48310 if test "$wxUSE_DFB" = 1; then
48311 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48312 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_PALETTE 1
48322 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48323 LIBS=" -lunicows $LIBS"
48327 if test "$wxUSE_RICHTEXT" = "yes"; then
48328 cat >>confdefs.h <<\_ACEOF
48329 #define wxUSE_RICHTEXT 1
48333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48337 if test "$wxUSE_IMAGE" = "yes" ; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_IMAGE 1
48343 if test "$wxUSE_GIF" = "yes" ; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define wxUSE_GIF 1
48350 if test "$wxUSE_PCX" = "yes" ; then
48351 cat >>confdefs.h <<\_ACEOF
48352 #define wxUSE_PCX 1
48357 if test "$wxUSE_TGA" = "yes" ; then
48358 cat >>confdefs.h <<\_ACEOF
48359 #define wxUSE_TGA 1
48364 if test "$wxUSE_IFF" = "yes" ; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define wxUSE_IFF 1
48371 if test "$wxUSE_PNM" = "yes" ; then
48372 cat >>confdefs.h <<\_ACEOF
48373 #define wxUSE_PNM 1
48378 if test "$wxUSE_XPM" = "yes" ; then
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_XPM 1
48385 if test "$wxUSE_ICO_CUR" = "yes" ; then
48386 cat >>confdefs.h <<\_ACEOF
48387 #define wxUSE_ICO_CUR 1
48394 if test "$wxUSE_ABOUTDLG" = "yes"; then
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_ABOUTDLG 1
48401 if test "$wxUSE_CHOICEDLG" = "yes"; then
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_CHOICEDLG 1
48408 if test "$wxUSE_COLOURDLG" = "yes"; then
48409 cat >>confdefs.h <<\_ACEOF
48410 #define wxUSE_COLOURDLG 1
48415 if test "$wxUSE_FILEDLG" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_FILEDLG 1
48422 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48423 cat >>confdefs.h <<\_ACEOF
48424 #define wxUSE_FINDREPLDLG 1
48429 if test "$wxUSE_FONTDLG" = "yes"; then
48430 cat >>confdefs.h <<\_ACEOF
48431 #define wxUSE_FONTDLG 1
48436 if test "$wxUSE_DIRDLG" = "yes"; then
48437 if test "$wxUSE_TREECTRL" != "yes"; then
48438 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48439 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48441 cat >>confdefs.h <<\_ACEOF
48442 #define wxUSE_DIRDLG 1
48448 if test "$wxUSE_MSGDLG" = "yes"; then
48449 cat >>confdefs.h <<\_ACEOF
48450 #define wxUSE_MSGDLG 1
48455 if test "$wxUSE_NUMBERDLG" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_NUMBERDLG 1
48462 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_PROGRESSDLG 1
48469 if test "$wxUSE_SPLASH" = "yes"; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_SPLASH 1
48474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48477 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48478 cat >>confdefs.h <<\_ACEOF
48479 #define wxUSE_STARTUP_TIPS 1
48484 if test "$wxUSE_TEXTDLG" = "yes"; then
48485 cat >>confdefs.h <<\_ACEOF
48486 #define wxUSE_TEXTDLG 1
48491 if test "$wxUSE_WIZARDDLG" = "yes"; then
48492 cat >>confdefs.h <<\_ACEOF
48493 #define wxUSE_WIZARDDLG 1
48496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48500 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48501 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48502 cat >>confdefs.h <<\_ACEOF
48503 #define wxUSE_OWNER_DRAWN 1
48510 if test "$wxUSE_MSW" = 1 ; then
48512 if test "$wxUSE_DC_CACHEING" = "yes"; then
48513 cat >>confdefs.h <<\_ACEOF
48514 #define wxUSE_DC_CACHEING 1
48519 if test "$wxUSE_DIB" = "yes"; then
48520 cat >>confdefs.h <<\_ACEOF
48521 #define wxUSE_WXDIB 1
48526 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48527 cat >>confdefs.h <<\_ACEOF
48528 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48533 if test "$wxUSE_UXTHEME" = "yes"; then
48534 cat >>confdefs.h <<\_ACEOF
48535 #define wxUSE_UXTHEME 1
48542 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48543 cat >>confdefs.h <<\_ACEOF
48544 #define wxUSE_AUTOID_MANAGEMENT 1
48549 if test "$USE_WIN32" = 1 ; then
48550 if test "$wxUSE_INICONF" = "yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_INICONF 1
48557 if test "$wxUSE_REGKEY" = "yes"; then
48558 cat >>confdefs.h <<\_ACEOF
48559 #define wxUSE_REGKEY 1
48566 if test "$wxUSE_MAC" = 1; then
48567 wxUSE_GRAPHICS_CONTEXT="yes"
48570 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48572 if test "$wxUSE_MSW" = 1; then
48573 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48574 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48575 if test "${wx_cv_lib_gdiplus+set}" = set; then
48576 echo $ECHO_N "(cached) $ECHO_C" >&6
48580 ac_cpp='$CXXCPP $CPPFLAGS'
48581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48585 cat >conftest.$ac_ext <<_ACEOF
48588 cat confdefs.h >>conftest.$ac_ext
48589 cat >>conftest.$ac_ext <<_ACEOF
48590 /* end confdefs.h. */
48591 #include <windows.h>
48592 #include <gdiplus.h>
48597 using namespace Gdiplus;
48603 rm -f conftest.$ac_objext
48604 if { (ac_try="$ac_compile"
48605 case "(($ac_try" in
48606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48607 *) ac_try_echo=$ac_try;;
48609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48610 (eval "$ac_compile") 2>conftest.er1
48612 grep -v '^ *+' conftest.er1 >conftest.err
48614 cat conftest.err >&5
48615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48616 (exit $ac_status); } && {
48617 test -z "$ac_cxx_werror_flag" ||
48618 test ! -s conftest.err
48619 } && test -s conftest.$ac_objext; then
48620 wx_cv_lib_gdiplus=yes
48622 echo "$as_me: failed program was:" >&5
48623 sed 's/^/| /' conftest.$ac_ext >&5
48625 wx_cv_lib_gdiplus=no
48629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48631 ac_cpp='$CPP $CPPFLAGS'
48632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48639 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48640 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48641 if test "$wx_cv_lib_gdiplus" = "yes"; then
48644 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48647 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48648 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48650 if test -n "$PKG_CONFIG"; then
48651 if test -n "$CAIRO_CFLAGS"; then
48652 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48654 if test -n "$PKG_CONFIG" && \
48655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48656 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48659 (exit $ac_status); }; then
48660 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48668 if test -n "$PKG_CONFIG"; then
48669 if test -n "$CAIRO_LIBS"; then
48670 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48672 if test -n "$PKG_CONFIG" && \
48673 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48674 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48677 (exit $ac_status); }; then
48678 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48689 if test $pkg_failed = yes; then
48691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48692 _pkg_short_errors_supported=yes
48694 _pkg_short_errors_supported=no
48696 if test $_pkg_short_errors_supported = yes; then
48697 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48699 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48701 # Put the nasty error message in config.log where it belongs
48702 echo "$CAIRO_PKG_ERRORS" >&5
48704 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48705 echo "$as_me: WARNING: Cairo library not found" >&2;}
48707 elif test $pkg_failed = untried; then
48708 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48709 echo "$as_me: WARNING: Cairo library not found" >&2;}
48712 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48713 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48714 { echo "$as_me:$LINENO: result: yes" >&5
48715 echo "${ECHO_T}yes" >&6; }
48718 if test "$wx_has_graphics" = 1; then
48720 LIBS="$LIBS $CAIRO_LIBS"
48722 for ac_func in cairo_push_group
48724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48728 echo $ECHO_N "(cached) $ECHO_C" >&6
48730 cat >conftest.$ac_ext <<_ACEOF
48733 cat confdefs.h >>conftest.$ac_ext
48734 cat >>conftest.$ac_ext <<_ACEOF
48735 /* end confdefs.h. */
48736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48738 #define $ac_func innocuous_$ac_func
48740 /* System header to define __stub macros and hopefully few prototypes,
48741 which can conflict with char $ac_func (); below.
48742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48743 <limits.h> exists even on freestanding compilers. */
48746 # include <limits.h>
48748 # include <assert.h>
48753 /* Override any GCC internal prototype to avoid an error.
48754 Use char because int might match the return type of a GCC
48755 builtin and then its argument prototype would still apply. */
48760 /* The GNU C library defines this for functions which it implements
48761 to always fail with ENOSYS. Some functions are actually named
48762 something starting with __ and the normal name is an alias. */
48763 #if defined __stub_$ac_func || defined __stub___$ac_func
48770 return $ac_func ();
48775 rm -f conftest.$ac_objext conftest$ac_exeext
48776 if { (ac_try="$ac_link"
48777 case "(($ac_try" in
48778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48779 *) ac_try_echo=$ac_try;;
48781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48782 (eval "$ac_link") 2>conftest.er1
48784 grep -v '^ *+' conftest.er1 >conftest.err
48786 cat conftest.err >&5
48787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48788 (exit $ac_status); } && {
48789 test -z "$ac_c_werror_flag" ||
48790 test ! -s conftest.err
48791 } && test -s conftest$ac_exeext &&
48792 $as_test_x conftest$ac_exeext; then
48793 eval "$as_ac_var=yes"
48795 echo "$as_me: failed program was:" >&5
48796 sed 's/^/| /' conftest.$ac_ext >&5
48798 eval "$as_ac_var=no"
48801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48802 conftest$ac_exeext conftest.$ac_ext
48804 ac_res=`eval echo '${'$as_ac_var'}'`
48805 { echo "$as_me:$LINENO: result: $ac_res" >&5
48806 echo "${ECHO_T}$ac_res" >&6; }
48807 if test `eval echo '${'$as_ac_var'}'` = yes; then
48808 cat >>confdefs.h <<_ACEOF
48809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48816 if test "$ac_cv_func_cairo_push_group" = "no"; then
48818 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48819 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48821 cat >>confdefs.h <<\_ACEOF
48822 #define wxUSE_CAIRO 1
48826 if test "$wxUSE_GTK" != 1; then
48827 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48828 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48836 if test "$wx_has_graphics" = 1; then
48837 cat >>confdefs.h <<\_ACEOF
48838 #define wxUSE_GRAPHICS_CONTEXT 1
48842 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48843 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48850 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48853 if test "$wxUSE_GTK" = 1; then
48854 wxUSE_GSTREAMER="no"
48856 GST_VERSION_MAJOR=0
48857 GST_VERSION_MINOR=10
48858 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48860 if test "$wxUSE_GSTREAMER8" = "no"; then
48863 { echo "$as_me:$LINENO: checking for GST" >&5
48864 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48866 if test -n "$PKG_CONFIG"; then
48867 if test -n "$GST_CFLAGS"; then
48868 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48870 if test -n "$PKG_CONFIG" && \
48871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48872 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48875 (exit $ac_status); }; then
48876 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48884 if test -n "$PKG_CONFIG"; then
48885 if test -n "$GST_LIBS"; then
48886 pkg_cv_GST_LIBS="$GST_LIBS"
48888 if test -n "$PKG_CONFIG" && \
48889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48890 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); }; then
48894 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48905 if test $pkg_failed = yes; then
48907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48908 _pkg_short_errors_supported=yes
48910 _pkg_short_errors_supported=no
48912 if test $_pkg_short_errors_supported = yes; then
48913 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48915 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48917 # Put the nasty error message in config.log where it belongs
48918 echo "$GST_PKG_ERRORS" >&5
48921 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48922 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48923 GST_VERSION_MINOR=8
48926 elif test $pkg_failed = untried; then
48928 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48929 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48930 GST_VERSION_MINOR=8
48934 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48935 GST_LIBS=$pkg_cv_GST_LIBS
48936 { echo "$as_me:$LINENO: result: yes" >&5
48937 echo "${ECHO_T}yes" >&6; }
48939 wxUSE_GSTREAMER="yes"
48940 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48944 GST_VERSION_MINOR=8
48947 if test $GST_VERSION_MINOR = "8"; then
48948 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48951 { echo "$as_me:$LINENO: checking for GST" >&5
48952 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48954 if test -n "$PKG_CONFIG"; then
48955 if test -n "$GST_CFLAGS"; then
48956 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48958 if test -n "$PKG_CONFIG" && \
48959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48960 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; then
48964 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48972 if test -n "$PKG_CONFIG"; then
48973 if test -n "$GST_LIBS"; then
48974 pkg_cv_GST_LIBS="$GST_LIBS"
48976 if test -n "$PKG_CONFIG" && \
48977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48978 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); }; then
48982 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48993 if test $pkg_failed = yes; then
48995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48996 _pkg_short_errors_supported=yes
48998 _pkg_short_errors_supported=no
49000 if test $_pkg_short_errors_supported = yes; then
49001 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49003 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49005 # Put the nasty error message in config.log where it belongs
49006 echo "$GST_PKG_ERRORS" >&5
49009 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49010 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49012 elif test $pkg_failed = untried; then
49014 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49015 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49018 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49019 GST_LIBS=$pkg_cv_GST_LIBS
49020 { echo "$as_me:$LINENO: result: yes" >&5
49021 echo "${ECHO_T}yes" >&6; }
49022 wxUSE_GSTREAMER="yes"
49027 if test "$wxUSE_GSTREAMER" = "yes"; then
49028 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49029 EXTRALIBS_MEDIA="$GST_LIBS"
49031 cat >>confdefs.h <<\_ACEOF
49032 #define wxUSE_GSTREAMER 1
49040 if test $USE_MEDIA = 1; then
49041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49042 cat >>confdefs.h <<\_ACEOF
49043 #define wxUSE_MEDIACTRL 1
49047 if test "$wxUSE_MEDIACTRL" = "yes"; then
49048 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49049 echo "$as_me: error: GStreamer not available" >&2;}
49050 { (exit 1); exit 1; }; }
49052 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49053 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49059 if test "$cross_compiling" != "no"; then
49062 OSINFO=`uname -s -r -m`
49063 OSINFO="\"$OSINFO\""
49066 cat >>confdefs.h <<_ACEOF
49067 #define WXWIN_OS_DESCRIPTION $OSINFO
49072 if test "x$prefix" != "xNONE"; then
49075 wxPREFIX=$ac_default_prefix
49078 cat >>confdefs.h <<_ACEOF
49079 #define wxINSTALL_PREFIX "$wxPREFIX"
49085 STD_BASE_LIBS="base"
49087 BUILT_WX_LIBS="base"
49088 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49090 if test "$wxUSE_SOCKETS" = "yes" ; then
49091 STD_BASE_LIBS="net $STD_BASE_LIBS"
49092 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49094 if test "$wxUSE_XML" = "yes" ; then
49095 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49096 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49099 if test "$wxUSE_GUI" = "yes"; then
49100 STD_GUI_LIBS="adv core"
49101 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49103 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49104 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49105 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49107 if test "$wxUSE_HTML" = "yes" ; then
49108 STD_GUI_LIBS="html $STD_GUI_LIBS"
49109 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49111 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49112 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49114 if test "$wxUSE_OPENGL" = "yes" ; then
49115 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49117 if test "$wxUSE_AUI" = "yes" ; then
49118 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49120 if test "$wxUSE_PROPGRID" = "yes" ; then
49121 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49123 if test "$wxUSE_RIBBON" = "yes" ; then
49124 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49126 if test "$wxUSE_RICHTEXT" = "yes" ; then
49127 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49129 if test "$wxUSE_STC" = "yes" ; then
49130 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49132 if test "$wxUSE_XRC" = "yes" ; then
49133 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49134 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49145 if test "$wxUSE_MAC" = 1 ; then
49146 if test "$USE_DARWIN" = 1; then
49147 if test "$wxUSE_OSX_IPHONE" = 1; then
49148 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49150 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49154 if test "$wxUSE_OLD_COCOA" = 1 ; then
49155 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49156 if test "$wxUSE_MEDIACTRL" = "yes"; then
49157 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49160 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49161 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49164 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49165 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49167 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49169 if test "$wxUSE_GUI" = "yes"; then
49172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49173 erase event exec font image minimal render \
49174 shaped svg taborder vscroll widgets wrapsizer"
49176 if test "$wxUSE_MONOLITHIC" != "yes"; then
49177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49179 if test "$TOOLKIT" = "MSW"; then
49180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49181 if test "$wxUSE_UNIVERSAL" != "yes"; then
49182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49185 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49189 SAMPLES_SUBDIRS="console"
49190 if test "$wxUSE_SOCKETS" = "yes" ; then
49191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49193 if test "$wxUSE_IPC" = "yes" ; then
49194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49199 if test "x$INTELCC" = "xyes" ; then
49200 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49201 elif test "$GCC" = yes ; then
49202 CWARNINGS="-Wall -Wundef"
49205 if test "x$INTELCXX" = "xyes" ; then
49206 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49207 elif test "$GXX" = yes ; then
49208 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49209 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49210 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49211 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49212 echo $ECHO_N "(cached) $ECHO_C" >&6
49214 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222 ac_save_CXXFLAGS="$CXXFLAGS"
49223 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49224 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49225 cat >conftest.$ac_ext <<_ACEOF
49228 cat confdefs.h >>conftest.$ac_ext
49229 cat >>conftest.$ac_ext <<_ACEOF
49230 /* end confdefs.h. */
49240 rm -f conftest.$ac_objext
49241 if { (ac_try="$ac_compile"
49242 case "(($ac_try" in
49243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49244 *) ac_try_echo=$ac_try;;
49246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49247 (eval "$ac_compile") 2>conftest.er1
49249 grep -v '^ *+' conftest.er1 >conftest.err
49251 cat conftest.err >&5
49252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49253 (exit $ac_status); } && {
49254 test -z "$ac_cxx_werror_flag" ||
49255 test ! -s conftest.err
49256 } && test -s conftest.$ac_objext; then
49257 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49259 echo "$as_me: failed program was:" >&5
49260 sed 's/^/| /' conftest.$ac_ext >&5
49265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49267 CXXFLAGS="$ac_save_CXXFLAGS"
49269 ac_cpp='$CPP $CPPFLAGS'
49270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49277 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49278 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49282 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49283 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49284 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); }
49288 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49289 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); }
49293 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49299 if test "$wxUSE_MAC" = 1 ; then
49300 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49305 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49306 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49309 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49310 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49311 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49314 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49315 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49316 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49317 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49318 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49320 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49323 if test "x$MWCC" = "xyes"; then
49325 CC="$CC -cwd source -I-"
49326 CXX="$CXX -cwd source -I-"
49331 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49332 EXTRALIBS_XML="$EXPAT_LINK"
49333 EXTRALIBS_HTML="$MSPACK_LINK"
49334 EXTRALIBS_MEDIA="$GST_LIBS"
49335 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49336 if test "$wxUSE_GUI" = "yes"; then
49337 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49339 if test "$wxUSE_OPENGL" = "yes"; then
49340 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49343 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49345 WXCONFIG_LIBS="$LIBS"
49347 if test "$wxUSE_REGEX" = "builtin" ; then
49348 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49350 if test "$wxUSE_EXPAT" = "builtin" ; then
49351 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49353 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49354 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49356 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49357 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49359 if test "$wxUSE_LIBPNG" = "builtin" ; then
49360 wxconfig_3rdparty="png $wxconfig_3rdparty"
49362 if test "$wxUSE_ZLIB" = "builtin" ; then
49363 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49366 for i in $wxconfig_3rdparty ; do
49367 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49371 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49374 case "$wxUNIV_THEMES" in
49376 cat >>confdefs.h <<\_ACEOF
49377 #define wxUSE_ALL_THEMES 1
49383 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49384 cat >>confdefs.h <<_ACEOF
49385 #define wxUSE_THEME_$t 1
49401 if test $wxUSE_MONOLITHIC = "yes" ; then
49407 if test $wxUSE_PLUGINS = "yes" ; then
49413 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49419 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49451 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49464 TOOLKIT_DESC="GTK+"
49465 if test "$WXGTK2" = 1; then
49466 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49467 if test "$wxUSE_GTKPRINT" = "yes" ; then
49468 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49470 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49471 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49473 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49474 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49476 if test "$wxUSE_LIBHILDON" = "yes"; then
49477 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49479 if test "$wxUSE_LIBHILDON2" = "yes"; then
49480 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49483 if test "$TOOLKIT_EXTRA" != ""; then
49484 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49490 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49494 TOOLKIT_DESC="base only"
49498 if test "$wxUSE_WINE" = "yes"; then
49499 BAKEFILE_FORCE_PLATFORM=win32
49502 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49504 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49505 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49506 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49507 echo $ECHO_N "(cached) $ECHO_C" >&6
49510 echo '#include <stdio.h>
49511 const wchar_t test_var[] = L"awidetest";' > conftest.h
49513 echo '#include "conftest.h"
49516 printf("%ls", test_var);
49520 wx_cv_gcc_pch_bug="pch not supported"
49522 if $CXX conftest.h >/dev/null 2>&1
49526 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49528 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49529 grep awidetest >/dev/null
49531 wx_cv_gcc_pch_bug=no
49533 wx_cv_gcc_pch_bug=yes
49538 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49541 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49542 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49544 if test "$wx_cv_gcc_pch_bug" = yes; then
49555 if test "x$BAKEFILE_HOST" = "x"; then
49556 if test "x${host}" = "x" ; then
49557 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49558 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49559 { (exit 1); exit 1; }; }
49562 BAKEFILE_HOST="${host}"
49565 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49567 if test -n "$ac_tool_prefix"; then
49568 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49569 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49572 if test "${ac_cv_prog_RANLIB+set}" = set; then
49573 echo $ECHO_N "(cached) $ECHO_C" >&6
49575 if test -n "$RANLIB"; then
49576 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49579 for as_dir in $PATH
49582 test -z "$as_dir" && as_dir=.
49583 for ac_exec_ext in '' $ac_executable_extensions; do
49584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49585 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49595 RANLIB=$ac_cv_prog_RANLIB
49596 if test -n "$RANLIB"; then
49597 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49598 echo "${ECHO_T}$RANLIB" >&6; }
49600 { echo "$as_me:$LINENO: result: no" >&5
49601 echo "${ECHO_T}no" >&6; }
49606 if test -z "$ac_cv_prog_RANLIB"; then
49607 ac_ct_RANLIB=$RANLIB
49608 # Extract the first word of "ranlib", so it can be a program name with args.
49609 set dummy ranlib; ac_word=$2
49610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49612 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49613 echo $ECHO_N "(cached) $ECHO_C" >&6
49615 if test -n "$ac_ct_RANLIB"; then
49616 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49619 for as_dir in $PATH
49622 test -z "$as_dir" && as_dir=.
49623 for ac_exec_ext in '' $ac_executable_extensions; do
49624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49625 ac_cv_prog_ac_ct_RANLIB="ranlib"
49626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49635 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49636 if test -n "$ac_ct_RANLIB"; then
49637 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49638 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49640 { echo "$as_me:$LINENO: result: no" >&5
49641 echo "${ECHO_T}no" >&6; }
49644 if test "x$ac_ct_RANLIB" = x; then
49647 case $cross_compiling:$ac_tool_warned in
49649 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49650 whose name does not start with the host triplet. If you think this
49651 configuration is useful to you, please write to autoconf@gnu.org." >&5
49652 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49653 whose name does not start with the host triplet. If you think this
49654 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49655 ac_tool_warned=yes ;;
49657 RANLIB=$ac_ct_RANLIB
49660 RANLIB="$ac_cv_prog_RANLIB"
49663 # Find a good install program. We prefer a C program (faster),
49664 # so one script is as good as another. But avoid the broken or
49665 # incompatible versions:
49666 # SysV /etc/install, /usr/sbin/install
49667 # SunOS /usr/etc/install
49668 # IRIX /sbin/install
49670 # AmigaOS /C/install, which installs bootblocks on floppy discs
49671 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49672 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49673 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49674 # OS/2's system install, which has a completely different semantic
49675 # ./install, which can be erroneously created by make from ./install.sh.
49676 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49677 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49678 if test -z "$INSTALL"; then
49679 if test "${ac_cv_path_install+set}" = set; then
49680 echo $ECHO_N "(cached) $ECHO_C" >&6
49682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49683 for as_dir in $PATH
49686 test -z "$as_dir" && as_dir=.
49687 # Account for people who put trailing slashes in PATH elements.
49689 ./ | .// | /cC/* | \
49690 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49691 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49694 # OSF1 and SCO ODT 3.0 have their own names for install.
49695 # Don't use installbsd from OSF since it installs stuff as root
49697 for ac_prog in ginstall scoinst install; do
49698 for ac_exec_ext in '' $ac_executable_extensions; do
49699 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49700 if test $ac_prog = install &&
49701 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49702 # AIX install. It has an incompatible calling convention.
49704 elif test $ac_prog = install &&
49705 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49706 # program-specific install script used by HP pwplus--don't use.
49709 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49722 if test "${ac_cv_path_install+set}" = set; then
49723 INSTALL=$ac_cv_path_install
49725 # As a last resort, use the slow shell script. Don't cache a
49726 # value for INSTALL within a source directory, because that will
49727 # break other packages using the cache if that directory is
49728 # removed, or if the value is a relative name.
49729 INSTALL=$ac_install_sh
49732 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49733 echo "${ECHO_T}$INSTALL" >&6; }
49735 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49736 # It thinks the first close brace ends the variable substitution.
49737 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49739 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49741 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49743 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49744 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49746 if test "$LN_S" = "ln -s"; then
49747 { echo "$as_me:$LINENO: result: yes" >&5
49748 echo "${ECHO_T}yes" >&6; }
49750 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49751 echo "${ECHO_T}no, using $LN_S" >&6; }
49755 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49757 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49758 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49759 echo $ECHO_N "(cached) $ECHO_C" >&6
49761 cat >conftest.make <<\_ACEOF
49764 @echo '@@@%%%=$(MAKE)=@@@%%%'
49766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49768 *@@@%%%=?*=@@@%%%*)
49769 eval ac_cv_prog_make_${ac_make}_set=yes;;
49771 eval ac_cv_prog_make_${ac_make}_set=no;;
49773 rm -f conftest.make
49775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49776 { echo "$as_me:$LINENO: result: yes" >&5
49777 echo "${ECHO_T}yes" >&6; }
49780 { echo "$as_me:$LINENO: result: no" >&5
49781 echo "${ECHO_T}no" >&6; }
49782 SET_MAKE="MAKE=${MAKE-make}"
49787 if test "x$SUNCXX" = "xyes"; then
49789 AROPTIONS="-xar -o"
49791 elif test "x$SGICC" = "xyes"; then
49796 if test -n "$ac_tool_prefix"; then
49797 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49798 set dummy ${ac_tool_prefix}ar; ac_word=$2
49799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49801 if test "${ac_cv_prog_AR+set}" = set; then
49802 echo $ECHO_N "(cached) $ECHO_C" >&6
49804 if test -n "$AR"; then
49805 ac_cv_prog_AR="$AR" # Let the user override the test.
49807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49808 for as_dir in $PATH
49811 test -z "$as_dir" && as_dir=.
49812 for ac_exec_ext in '' $ac_executable_extensions; do
49813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49814 ac_cv_prog_AR="${ac_tool_prefix}ar"
49815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49825 if test -n "$AR"; then
49826 { echo "$as_me:$LINENO: result: $AR" >&5
49827 echo "${ECHO_T}$AR" >&6; }
49829 { echo "$as_me:$LINENO: result: no" >&5
49830 echo "${ECHO_T}no" >&6; }
49835 if test -z "$ac_cv_prog_AR"; then
49837 # Extract the first word of "ar", so it can be a program name with args.
49838 set dummy ar; ac_word=$2
49839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49841 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49842 echo $ECHO_N "(cached) $ECHO_C" >&6
49844 if test -n "$ac_ct_AR"; then
49845 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49848 for as_dir in $PATH
49851 test -z "$as_dir" && as_dir=.
49852 for ac_exec_ext in '' $ac_executable_extensions; do
49853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49854 ac_cv_prog_ac_ct_AR="ar"
49855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49864 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49865 if test -n "$ac_ct_AR"; then
49866 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49867 echo "${ECHO_T}$ac_ct_AR" >&6; }
49869 { echo "$as_me:$LINENO: result: no" >&5
49870 echo "${ECHO_T}no" >&6; }
49873 if test "x$ac_ct_AR" = x; then
49876 case $cross_compiling:$ac_tool_warned in
49878 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49879 whose name does not start with the host triplet. If you think this
49880 configuration is useful to you, please write to autoconf@gnu.org." >&5
49881 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49882 whose name does not start with the host triplet. If you think this
49883 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49884 ac_tool_warned=yes ;;
49889 AR="$ac_cv_prog_AR"
49896 if test -n "$ac_tool_prefix"; then
49897 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49898 set dummy ${ac_tool_prefix}strip; ac_word=$2
49899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49901 if test "${ac_cv_prog_STRIP+set}" = set; then
49902 echo $ECHO_N "(cached) $ECHO_C" >&6
49904 if test -n "$STRIP"; then
49905 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49908 for as_dir in $PATH
49911 test -z "$as_dir" && as_dir=.
49912 for ac_exec_ext in '' $ac_executable_extensions; do
49913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49914 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49924 STRIP=$ac_cv_prog_STRIP
49925 if test -n "$STRIP"; then
49926 { echo "$as_me:$LINENO: result: $STRIP" >&5
49927 echo "${ECHO_T}$STRIP" >&6; }
49929 { echo "$as_me:$LINENO: result: no" >&5
49930 echo "${ECHO_T}no" >&6; }
49935 if test -z "$ac_cv_prog_STRIP"; then
49937 # Extract the first word of "strip", so it can be a program name with args.
49938 set dummy strip; ac_word=$2
49939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49941 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49942 echo $ECHO_N "(cached) $ECHO_C" >&6
49944 if test -n "$ac_ct_STRIP"; then
49945 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49948 for as_dir in $PATH
49951 test -z "$as_dir" && as_dir=.
49952 for ac_exec_ext in '' $ac_executable_extensions; do
49953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49954 ac_cv_prog_ac_ct_STRIP="strip"
49955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49965 if test -n "$ac_ct_STRIP"; then
49966 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49967 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49969 { echo "$as_me:$LINENO: result: no" >&5
49970 echo "${ECHO_T}no" >&6; }
49973 if test "x$ac_ct_STRIP" = x; then
49976 case $cross_compiling:$ac_tool_warned in
49978 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49979 whose name does not start with the host triplet. If you think this
49980 configuration is useful to you, please write to autoconf@gnu.org." >&5
49981 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49982 whose name does not start with the host triplet. If you think this
49983 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49984 ac_tool_warned=yes ;;
49989 STRIP="$ac_cv_prog_STRIP"
49992 if test -n "$ac_tool_prefix"; then
49993 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49994 set dummy ${ac_tool_prefix}nm; ac_word=$2
49995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49997 if test "${ac_cv_prog_NM+set}" = set; then
49998 echo $ECHO_N "(cached) $ECHO_C" >&6
50000 if test -n "$NM"; then
50001 ac_cv_prog_NM="$NM" # Let the user override the test.
50003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50004 for as_dir in $PATH
50007 test -z "$as_dir" && as_dir=.
50008 for ac_exec_ext in '' $ac_executable_extensions; do
50009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50010 ac_cv_prog_NM="${ac_tool_prefix}nm"
50011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50021 if test -n "$NM"; then
50022 { echo "$as_me:$LINENO: result: $NM" >&5
50023 echo "${ECHO_T}$NM" >&6; }
50025 { echo "$as_me:$LINENO: result: no" >&5
50026 echo "${ECHO_T}no" >&6; }
50031 if test -z "$ac_cv_prog_NM"; then
50033 # Extract the first word of "nm", so it can be a program name with args.
50034 set dummy nm; ac_word=$2
50035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50037 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50038 echo $ECHO_N "(cached) $ECHO_C" >&6
50040 if test -n "$ac_ct_NM"; then
50041 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50044 for as_dir in $PATH
50047 test -z "$as_dir" && as_dir=.
50048 for ac_exec_ext in '' $ac_executable_extensions; do
50049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50050 ac_cv_prog_ac_ct_NM="nm"
50051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50060 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50061 if test -n "$ac_ct_NM"; then
50062 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50063 echo "${ECHO_T}$ac_ct_NM" >&6; }
50065 { echo "$as_me:$LINENO: result: no" >&5
50066 echo "${ECHO_T}no" >&6; }
50069 if test "x$ac_ct_NM" = x; then
50072 case $cross_compiling:$ac_tool_warned in
50074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50075 whose name does not start with the host triplet. If you think this
50076 configuration is useful to you, please write to autoconf@gnu.org." >&5
50077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50078 whose name does not start with the host triplet. If you think this
50079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50080 ac_tool_warned=yes ;;
50085 NM="$ac_cv_prog_NM"
50089 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50090 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50091 INSTALL_TEST_DIR=acbftest$$
50092 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
50093 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
50094 rmdir $INSTALL_TEST_DIR
50095 INSTALL_DIR='$(INSTALL) -d'
50096 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50097 echo "${ECHO_T}$INSTALL -d" >&6; }
50099 INSTALL_DIR="mkdir -p"
50100 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50101 echo "${ECHO_T}mkdir -p" >&6; }
50106 case ${BAKEFILE_HOST} in
50107 *-*-cygwin* | *-*-mingw32* )
50108 LDFLAGS_GUI="-mwindows"
50114 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50115 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50116 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50117 echo $ECHO_N "(cached) $ECHO_C" >&6
50120 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50121 egrep -s GNU > /dev/null); then
50122 bakefile_cv_prog_makeisgnu="yes"
50124 bakefile_cv_prog_makeisgnu="no"
50128 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50129 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50131 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50148 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50149 case "${BAKEFILE_HOST}" in
50156 *-pc-os2_emx | *-pc-os2-emx )
50166 powerpc-apple-macos* )
50175 case "$BAKEFILE_FORCE_PLATFORM" in
50196 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50197 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50198 { (exit 1); exit 1; }; }
50213 # Check whether --enable-omf was given.
50214 if test "${enable_omf+set}" = set; then
50215 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50219 case "${BAKEFILE_HOST}" in
50221 if test "x$GCC" = "xyes"; then
50222 CFLAGS="$CFLAGS -fno-common"
50223 CXXFLAGS="$CXXFLAGS -fno-common"
50225 if test "x$XLCC" = "xyes"; then
50226 CFLAGS="$CFLAGS -qnocommon"
50227 CXXFLAGS="$CXXFLAGS -qnocommon"
50231 *-pc-os2_emx | *-pc-os2-emx )
50232 if test "x$bk_os2_use_omf" = "xyes" ; then
50235 LDFLAGS="-Zomf $LDFLAGS"
50236 CFLAGS="-Zomf $CFLAGS"
50237 CXXFLAGS="-Zomf $CXXFLAGS"
50245 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50251 SO_SUFFIX_MODULE="so"
50256 DLLPREFIX_MODULE=""
50260 case "${BAKEFILE_HOST}" in
50265 SO_SUFFIX_MODULE="sl"
50269 SO_SUFFIX_MODULE="a"
50273 SO_SUFFIX_MODULE="dll"
50274 DLLIMP_SUFFIX="dll.a"
50281 SO_SUFFIX_MODULE="dll"
50282 DLLIMP_SUFFIX="dll.a"
50292 *-pc-os2_emx | *-pc-os2-emx )
50294 SO_SUFFIX_MODULE="dll"
50295 DLLIMP_SUFFIX=$OS2_LIBEXT
50299 LIBEXT=".$OS2_LIBEXT"
50304 SO_SUFFIX_MODULE="bundle"
50308 if test "x$DLLIMP_SUFFIX" = "x" ; then
50309 DLLIMP_SUFFIX="$SO_SUFFIX"
50324 if test "x$GCC" = "xyes"; then
50328 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50329 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50332 case "${BAKEFILE_HOST}" in
50334 if test "x$GCC" != "xyes"; then
50335 LDFLAGS="$LDFLAGS -L/usr/lib"
50337 SHARED_LD_CC="${CC} -b -o"
50338 SHARED_LD_CXX="${CXX} -b -o"
50344 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50346 elif test "x$SUNCXX" = "xyes"; then
50347 SHARED_LD_CC="${CC} -G -o"
50348 SHARED_LD_CXX="${CXX} -G -o"
50354 if test "x$SUNCXX" = xyes ; then
50355 SHARED_LD_CC="${CC} -G -o"
50356 SHARED_LD_CXX="${CXX} -G -o"
50364 cat <<EOF >shared-ld-sh
50366 #-----------------------------------------------------------------------------
50367 #-- Name: distrib/mac/shared-ld-sh
50368 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50369 #-- Author: Gilles Depeyrot
50370 #-- Copyright: (c) 2002 Gilles Depeyrot
50371 #-- Licence: any use permitted
50372 #-----------------------------------------------------------------------------
50377 linking_flag="-dynamiclib"
50378 ldargs="-r -keep_private_externs -nostdlib"
50380 if test "x${D}CXX" = "x"; then
50384 while test ${D}# -gt 0; do
50391 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50392 # collect these options and values
50393 args="${D}{args} ${D}1 ${D}2"
50398 # collect these options and values
50399 ldargs="${D}{ldargs} ${D}1 ${D}2"
50404 # collect these load args
50405 ldargs="${D}{ldargs} ${D}1"
50408 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50409 # collect these options
50410 args="${D}{args} ${D}1"
50413 -dynamiclib|-bundle)
50414 linking_flag="${D}1"
50418 echo "shared-ld: unhandled option '${D}1'"
50422 *.o | *.a | *.dylib)
50423 # collect object files
50424 objects="${D}{objects} ${D}1"
50428 echo "shared-ld: unhandled argument '${D}1'"
50439 # Link one module containing all the others
50441 if test ${D}{verbose} = 1; then
50442 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50444 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50448 # Link the shared library from the single module created, but only if the
50449 # previous command didn't fail:
50451 if test ${D}{status} = 0; then
50452 if test ${D}{verbose} = 1; then
50453 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50455 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50460 # Remove intermediate module
50462 rm -f master.${D}${D}.o
50467 chmod +x shared-ld-sh
50469 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50470 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50473 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50474 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50475 if test "${bakefile_cv_gcc31+set}" = set; then
50476 echo $ECHO_N "(cached) $ECHO_C" >&6
50479 cat >conftest.$ac_ext <<_ACEOF
50482 cat confdefs.h >>conftest.$ac_ext
50483 cat >>conftest.$ac_ext <<_ACEOF
50484 /* end confdefs.h. */
50490 #if (__GNUC__ < 3) || \
50491 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50499 rm -f conftest.$ac_objext
50500 if { (ac_try="$ac_compile"
50501 case "(($ac_try" in
50502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50503 *) ac_try_echo=$ac_try;;
50505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50506 (eval "$ac_compile") 2>conftest.er1
50508 grep -v '^ *+' conftest.er1 >conftest.err
50510 cat conftest.err >&5
50511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50512 (exit $ac_status); } && {
50513 test -z "$ac_c_werror_flag" ||
50514 test ! -s conftest.err
50515 } && test -s conftest.$ac_objext; then
50517 bakefile_cv_gcc31=yes
50520 echo "$as_me: failed program was:" >&5
50521 sed 's/^/| /' conftest.$ac_ext >&5
50524 bakefile_cv_gcc31=no
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50532 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50533 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50534 if test "$bakefile_cv_gcc31" = "no"; then
50535 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50536 SHARED_LD_CXX="$SHARED_LD_CC"
50538 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50539 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50542 if test "x$GCC" == "xyes"; then
50543 PIC_FLAG="-dynamic -fPIC"
50545 if test "x$XLCC" = "xyes"; then
50546 PIC_FLAG="-dynamic -DPIC"
50551 if test "x$GCC" = "xyes"; then
50554 case "${BAKEFILE_HOST}" in
50556 LD_EXPFULL="-Wl,-bexpfull"
50560 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50561 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50563 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50564 set dummy makeC++SharedLib; ac_word=$2
50565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50567 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50568 echo $ECHO_N "(cached) $ECHO_C" >&6
50570 if test -n "$AIX_CXX_LD"; then
50571 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50574 for as_dir in $PATH
50577 test -z "$as_dir" && as_dir=.
50578 for ac_exec_ext in '' $ac_executable_extensions; do
50579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50580 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50588 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50591 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50592 if test -n "$AIX_CXX_LD"; then
50593 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50594 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50596 { echo "$as_me:$LINENO: result: no" >&5
50597 echo "${ECHO_T}no" >&6; }
50601 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50602 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50607 SHARED_LD_CC="${LD} -nostart -o"
50608 SHARED_LD_CXX="${LD} -nostart -o"
50612 if test "x$GCC" != "xyes"; then
50617 *-*-cygwin* | *-*-mingw32* )
50619 SHARED_LD_CC="\$(CC) -shared -o"
50620 SHARED_LD_CXX="\$(CXX) -shared -o"
50624 *-pc-os2_emx | *-pc-os2-emx )
50625 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50626 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50630 cat <<EOF >dllar.sh
50633 # dllar - a tool to build both a .dll and an .a file
50634 # from a set of object (.o) files for EMX/OS2.
50636 # Written by Andrew Zabolotny, bit@freya.etu.ru
50637 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50639 # This script will accept a set of files on the command line.
50640 # All the public symbols from the .o files will be exported into
50641 # a .DEF file, then linker will be run (through gcc) against them to
50642 # build a shared library consisting of all given .o files. All libraries
50643 # (.a) will be first decompressed into component .o files then act as
50644 # described above. You can optionally give a description (-d "description")
50645 # which will be put into .DLL. To see the list of accepted options (as well
50646 # as command-line format) simply run this program without options. The .DLL
50647 # is built to be imported by name (there is no guarantee that new versions
50648 # of the library you build will have same ordinals for same symbols).
50650 # dllar is free software; you can redistribute it and/or modify
50651 # it under the terms of the GNU General Public License as published by
50652 # the Free Software Foundation; either version 2, or (at your option)
50653 # any later version.
50655 # dllar is distributed in the hope that it will be useful,
50656 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50658 # GNU General Public License for more details.
50660 # You should have received a copy of the GNU General Public License
50661 # along with dllar; see the file COPYING. If not, write to the Free
50662 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50665 # To successfuly run this program you will need:
50666 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50667 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50669 # (used to build the .dll)
50671 # (used to create .def file from .o files)
50673 # (used to create .a file from .def file)
50674 # - GNU text utilites (cat, sort, uniq)
50675 # used to process emxexp output
50676 # - GNU file utilities (mv, rm)
50678 # - lxlite (optional, see flag below)
50679 # (used for general .dll cleanup)
50686 # basnam, variant of basename, which does _not_ remove the path, _iff_
50687 # second argument (suffix to remove) is given
50691 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50694 echo ${D}1 | sed 's/'${D}2'${D}//'
50697 echo "error in basnam ${D}*"
50703 # Cleanup temporary files and output
50706 for i in ${D}inputFiles ; do
50709 rm -rf \`basnam ${D}i !\`
50716 # Kill result in case of failure as there is just to many stupid make/nmake
50717 # things out there which doesn't do this.
50718 if [ ${D}# -eq 0 ]; then
50719 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50723 # Print usage and exit script with rc=1.
50725 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50726 echo ' [-name-mangler-script script.sh]'
50727 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50728 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50729 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50730 echo ' [*.o] [*.a]'
50731 echo '*> "output_file" should have no extension.'
50732 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50733 echo ' The import library name is derived from this and is set to "name".a,'
50734 echo ' unless overridden by -import'
50735 echo '*> "importlib_name" should have no extension.'
50736 echo ' If it has the .o, or .a extension, it is automatically removed.'
50737 echo ' This name is used as the import library name and may be longer and'
50738 echo ' more descriptive than the DLL name which has to follow the old '
50739 echo ' 8.3 convention of FAT.'
50740 echo '*> "script.sh may be given to override the output_file name by a'
50741 echo ' different name. It is mainly useful if the regular make process'
50742 echo ' of some package does not take into account OS/2 restriction of'
50743 echo ' DLL name lengths. It takes the importlib name as input and is'
50744 echo ' supposed to procude a shorter name as output. The script should'
50745 echo ' expect to get importlib_name without extension and should produce'
50746 echo ' a (max.) 8 letter name without extension.'
50747 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50748 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50749 echo ' These flags will be put at the start of GCC command line.'
50750 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50751 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50752 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50753 echo ' If the last character of a symbol is "*", all symbols beginning'
50754 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50755 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50756 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50757 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50758 echo ' C runtime DLLs.'
50759 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50760 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50761 echo ' unchanged to GCC at the end of command line.'
50762 echo '*> If you create a DLL from a library and you do not specify -o,'
50763 echo ' the basename for DLL and import library will be set to library name,'
50764 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50765 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50766 echo ' library will be renamed into gcc_s.a.'
50769 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50770 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50775 # Execute a command.
50776 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50777 # @Uses Whatever CleanUp() uses.
50783 if [ ${D}rcCmd -ne 0 ]; then
50784 echo "command failed, exit code="${D}rcCmd
50799 CFLAGS="-s -Zcrtdll"
50801 EXPORT_BY_ORDINALS=0
50806 case ${D}curDirS in
50810 curDirS=${D}{curDirS}"/"
50813 # Parse commandline
50816 while [ ${D}1 ]; do
50819 EXPORT_BY_ORDINALS=1;
50829 -name-mangler-script)
50850 exclude_symbols=${D}{exclude_symbols}${D}1" "
50854 library_flags=${D}{library_flags}${D}1" "
50873 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50876 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50877 if [ ${D}omfLinking -eq 1 ]; then
50878 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50880 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50885 if [ ${D}libsToLink -ne 0 ]; then
50886 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50888 for file in ${D}1 ; do
50889 if [ -f ${D}file ]; then
50890 inputFiles="${D}{inputFiles} ${D}file"
50894 if [ ${D}found -eq 0 ]; then
50895 echo "ERROR: No file(s) found: "${D}1
50902 done # iterate cmdline words
50905 if [ -z "${D}inputFiles" ]; then
50906 echo "dllar: no input files"
50910 # Now extract all .o files from .a files
50912 for file in ${D}inputFiles ; do
50923 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50928 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50930 if [ ${D}? -ne 0 ]; then
50931 echo "Failed to create subdirectory ./${D}dirname"
50935 # Append '!' to indicate archive
50936 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50937 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50940 for subfile in ${D}dirname/*.o* ; do
50941 if [ -f ${D}subfile ]; then
50943 if [ -s ${D}subfile ]; then
50944 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50945 newInputFiles="${D}newInputFiles ${D}subfile"
50949 if [ ${D}found -eq 0 ]; then
50950 echo "WARNING: there are no files in archive \\'${D}file\\'"
50954 newInputFiles="${D}{newInputFiles} ${D}file"
50958 inputFiles="${D}newInputFiles"
50960 # Output filename(s).
50962 if [ -z ${D}outFile ]; then
50964 set outFile ${D}inputFiles; outFile=${D}2
50967 # If it is an archive, remove the '!' and the '_%' suffixes
50968 case ${D}outFile in
50970 outFile=\`basnam ${D}outFile _%!\`
50975 case ${D}outFile in
50977 outFile=\`basnam ${D}outFile .dll\`
50980 outFile=\`basnam ${D}outFile .DLL\`
50983 outFile=\`basnam ${D}outFile .o\`
50986 outFile=\`basnam ${D}outFile .obj\`
50989 outFile=\`basnam ${D}outFile .a\`
50992 outFile=\`basnam ${D}outFile .lib\`
50997 case ${D}outimpFile in
50999 outimpFile=\`basnam ${D}outimpFile .a\`
51002 outimpFile=\`basnam ${D}outimpFile .lib\`
51007 if [ -z ${D}outimpFile ]; then
51008 outimpFile=${D}outFile
51010 defFile="${D}{outFile}.def"
51011 arcFile="${D}{outimpFile}.a"
51012 arcFile2="${D}{outimpFile}.lib"
51014 #create ${D}dllFile as something matching 8.3 restrictions,
51015 if [ -z ${D}renameScript ] ; then
51016 dllFile="${D}outFile"
51018 dllFile=\`${D}renameScript ${D}outimpFile\`
51021 if [ ${D}do_backup -ne 0 ] ; then
51022 if [ -f ${D}arcFile ] ; then
51023 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51025 if [ -f ${D}arcFile2 ] ; then
51026 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51030 # Extract public symbols from all the object files.
51031 tmpdefFile=${D}{defFile}_%
51032 rm -f ${D}tmpdefFile
51033 for file in ${D}inputFiles ; do
51038 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51043 # Create the def file.
51045 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51046 dllFile="${D}{dllFile}.dll"
51047 if [ ! -z ${D}description ]; then
51048 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51050 echo "EXPORTS" >> ${D}defFile
51052 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51053 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51055 # Checks if the export is ok or not.
51056 for word in ${D}exclude_symbols; do
51057 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51058 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51062 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51063 sed "=" < ${D}tmpdefFile | \\
51067 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51069 ' > ${D}{tmpdefFile}%
51070 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51072 rm -f ${D}{tmpdefFile}%
51074 cat ${D}tmpdefFile >> ${D}defFile
51075 rm -f ${D}tmpdefFile
51077 # Do linking, create implib, and apply lxlite.
51079 for file in ${D}inputFiles ; do
51084 gccCmdl="${D}gccCmdl ${D}file"
51088 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51089 touch "${D}{outFile}.dll"
51091 doCommand "emximp -o ${D}arcFile ${D}defFile"
51092 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51094 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51097 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51099 doCommand "emxomf -s -l ${D}arcFile"
51109 powerpc-apple-macos* | \
51110 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51120 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51121 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51122 { (exit 1); exit 1; }; }
51125 if test "x$PIC_FLAG" != "x" ; then
51126 PIC_FLAG="$PIC_FLAG -DPIC"
51129 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51130 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51132 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51133 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51148 USE_SOTWOSYMLINKS=0
51152 case "${BAKEFILE_HOST}" in
51153 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51154 *-*-k*bsd*-gnu | *-*-mirbsd* )
51155 if test "x$SUNCXX" = "xyes"; then
51158 SONAME_FLAG="-Wl,-soname,"
51162 USE_SOTWOSYMLINKS=1
51174 USE_SOTWOSYMLINKS=1
51192 # Check whether --enable-dependency-tracking was given.
51193 if test "${enable_dependency_tracking+set}" = set; then
51194 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51198 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51199 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51202 if test "x$bk_use_trackdeps" = "xno" ; then
51204 { echo "$as_me:$LINENO: result: disabled" >&5
51205 echo "${ECHO_T}disabled" >&6; }
51209 if test "x$GCC" = "xyes"; then
51211 case "${BAKEFILE_HOST}" in
51213 DEPSFLAG="-no-cpp-precomp -MMD"
51219 { echo "$as_me:$LINENO: result: gcc" >&5
51220 echo "${ECHO_T}gcc" >&6; }
51221 elif test "x$MWCC" = "xyes"; then
51224 { echo "$as_me:$LINENO: result: mwcc" >&5
51225 echo "${ECHO_T}mwcc" >&6; }
51226 elif test "x$SUNCC" = "xyes"; then
51229 { echo "$as_me:$LINENO: result: Sun cc" >&5
51230 echo "${ECHO_T}Sun cc" >&6; }
51231 elif test "x$SGICC" = "xyes"; then
51234 { echo "$as_me:$LINENO: result: SGI cc" >&5
51235 echo "${ECHO_T}SGI cc" >&6; }
51236 elif test "x$HPCC" = "xyes"; then
51239 { echo "$as_me:$LINENO: result: HP cc" >&5
51240 echo "${ECHO_T}HP cc" >&6; }
51241 elif test "x$COMPAQCC" = "xyes"; then
51244 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51245 echo "${ECHO_T}Compaq cc" >&6; }
51248 { echo "$as_me:$LINENO: result: none" >&5
51249 echo "${ECHO_T}none" >&6; }
51252 if test $DEPS_TRACKING = 1 ; then
51258 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51259 # script. It is used to track C/C++ files dependencies in portable way.
51261 # Permission is given to use this file in any way.
51263 DEPSMODE=${DEPSMODE}
51264 DEPSFLAG="${DEPSFLAG}"
51267 if test ${D}DEPSMODE = gcc ; then
51268 ${D}* ${D}{DEPSFLAG}
51271 # determine location of created files:
51272 while test ${D}# -gt 0; do
51286 objfilebase=\`basename ${D}objfile\`
51287 builddir=\`dirname ${D}objfile\`
51288 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51289 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51290 depsdir=${D}builddir/${D}DEPSDIRBASE
51291 mkdir -p ${D}depsdir
51293 # if the compiler failed, we're done:
51294 if test ${D}{status} != 0 ; then
51299 # move created file to the location we want it in:
51300 if test -f ${D}depfile ; then
51301 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51304 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51305 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51306 if test ! -f ${D}depfile ; then
51307 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51308 depfile="${D}objfile.d"
51310 if test -f ${D}depfile ; then
51311 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51317 elif test ${D}DEPSMODE = mwcc ; then
51318 ${D}* || exit ${D}?
51319 # Run mwcc again with -MM and redirect into the dep file we want
51320 # NOTE: We can't use shift here because we need ${D}* to be valid
51322 for arg in ${D}* ; do
51323 if test "${D}prevarg" = "-o"; then
51337 objfilebase=\`basename ${D}objfile\`
51338 builddir=\`dirname ${D}objfile\`
51339 depsdir=${D}builddir/${D}DEPSDIRBASE
51340 mkdir -p ${D}depsdir
51342 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51345 elif test ${D}DEPSMODE = unixcc; then
51346 ${D}* || exit ${D}?
51347 # Run compiler again with deps flag and redirect into the dep file.
51348 # It doesn't work if the '-o FILE' option is used, but without it the
51349 # dependency file will contain the wrong name for the object. So it is
51350 # removed from the command line, and the dep file is fixed with sed.
51352 while test ${D}# -gt 0; do
51359 eval arg${D}#=\\${D}1
51360 cmd="${D}cmd \\${D}arg${D}#"
51366 objfilebase=\`basename ${D}objfile\`
51367 builddir=\`dirname ${D}objfile\`
51368 depsdir=${D}builddir/${D}DEPSDIRBASE
51369 mkdir -p ${D}depsdir
51371 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51381 BK_DEPS="`pwd`/bk-deps"
51389 case ${BAKEFILE_HOST} in
51390 *-*-cygwin* | *-*-mingw32* )
51391 if test -n "$ac_tool_prefix"; then
51392 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51393 set dummy ${ac_tool_prefix}windres; ac_word=$2
51394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51396 if test "${ac_cv_prog_WINDRES+set}" = set; then
51397 echo $ECHO_N "(cached) $ECHO_C" >&6
51399 if test -n "$WINDRES"; then
51400 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51403 for as_dir in $PATH
51406 test -z "$as_dir" && as_dir=.
51407 for ac_exec_ext in '' $ac_executable_extensions; do
51408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51409 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51419 WINDRES=$ac_cv_prog_WINDRES
51420 if test -n "$WINDRES"; then
51421 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51422 echo "${ECHO_T}$WINDRES" >&6; }
51424 { echo "$as_me:$LINENO: result: no" >&5
51425 echo "${ECHO_T}no" >&6; }
51430 if test -z "$ac_cv_prog_WINDRES"; then
51431 ac_ct_WINDRES=$WINDRES
51432 # Extract the first word of "windres", so it can be a program name with args.
51433 set dummy windres; ac_word=$2
51434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51436 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51437 echo $ECHO_N "(cached) $ECHO_C" >&6
51439 if test -n "$ac_ct_WINDRES"; then
51440 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51443 for as_dir in $PATH
51446 test -z "$as_dir" && as_dir=.
51447 for ac_exec_ext in '' $ac_executable_extensions; do
51448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51449 ac_cv_prog_ac_ct_WINDRES="windres"
51450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51459 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51460 if test -n "$ac_ct_WINDRES"; then
51461 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51462 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51464 { echo "$as_me:$LINENO: result: no" >&5
51465 echo "${ECHO_T}no" >&6; }
51468 if test "x$ac_ct_WINDRES" = x; then
51471 case $cross_compiling:$ac_tool_warned in
51473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51474 whose name does not start with the host triplet. If you think this
51475 configuration is useful to you, please write to autoconf@gnu.org." >&5
51476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51477 whose name does not start with the host triplet. If you think this
51478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51479 ac_tool_warned=yes ;;
51481 WINDRES=$ac_ct_WINDRES
51484 WINDRES="$ac_cv_prog_WINDRES"
51489 *-*-darwin* | powerpc-apple-macos* )
51490 # Extract the first word of "Rez", so it can be a program name with args.
51491 set dummy Rez; ac_word=$2
51492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51494 if test "${ac_cv_prog_REZ+set}" = set; then
51495 echo $ECHO_N "(cached) $ECHO_C" >&6
51497 if test -n "$REZ"; then
51498 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51501 for as_dir in $PATH
51504 test -z "$as_dir" && as_dir=.
51505 for ac_exec_ext in '' $ac_executable_extensions; do
51506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51507 ac_cv_prog_REZ="Rez"
51508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51515 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51518 REZ=$ac_cv_prog_REZ
51519 if test -n "$REZ"; then
51520 { echo "$as_me:$LINENO: result: $REZ" >&5
51521 echo "${ECHO_T}$REZ" >&6; }
51523 { echo "$as_me:$LINENO: result: no" >&5
51524 echo "${ECHO_T}no" >&6; }
51528 # Extract the first word of "SetFile", so it can be a program name with args.
51529 set dummy SetFile; ac_word=$2
51530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51532 if test "${ac_cv_prog_SETFILE+set}" = set; then
51533 echo $ECHO_N "(cached) $ECHO_C" >&6
51535 if test -n "$SETFILE"; then
51536 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51539 for as_dir in $PATH
51542 test -z "$as_dir" && as_dir=.
51543 for ac_exec_ext in '' $ac_executable_extensions; do
51544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51545 ac_cv_prog_SETFILE="SetFile"
51546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51553 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51556 SETFILE=$ac_cv_prog_SETFILE
51557 if test -n "$SETFILE"; then
51558 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51559 echo "${ECHO_T}$SETFILE" >&6; }
51561 { echo "$as_me:$LINENO: result: no" >&5
51562 echo "${ECHO_T}no" >&6; }
51577 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51580 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51584 # Check whether --enable-precomp-headers was given.
51585 if test "${enable_precomp_headers+set}" = set; then
51586 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51595 case ${BAKEFILE_HOST} in
51601 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51602 if test "x$GCC" = "xyes"; then
51603 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51604 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51605 cat >conftest.$ac_ext <<_ACEOF
51608 cat confdefs.h >>conftest.$ac_ext
51609 cat >>conftest.$ac_ext <<_ACEOF
51610 /* end confdefs.h. */
51616 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51617 There is no PCH support
51620 There is no PCH support
51622 #if (__GNUC__ == 3) && \
51623 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51624 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51625 ( defined(__INTEL_COMPILER) )
51626 There is no PCH support
51633 rm -f conftest.$ac_objext
51634 if { (ac_try="$ac_compile"
51635 case "(($ac_try" in
51636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51637 *) ac_try_echo=$ac_try;;
51639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51640 (eval "$ac_compile") 2>conftest.er1
51642 grep -v '^ *+' conftest.er1 >conftest.err
51644 cat conftest.err >&5
51645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51646 (exit $ac_status); } && {
51647 test -z "$ac_c_werror_flag" ||
51648 test ! -s conftest.err
51649 } && test -s conftest.$ac_objext; then
51651 { echo "$as_me:$LINENO: result: yes" >&5
51652 echo "${ECHO_T}yes" >&6; }
51656 echo "$as_me: failed program was:" >&5
51657 sed 's/^/| /' conftest.$ac_ext >&5
51660 if test "$INTELCXX8" = "yes"; then
51661 { echo "$as_me:$LINENO: result: yes" >&5
51662 echo "${ECHO_T}yes" >&6; }
51664 if test "$INTELCXX10" = "yes"; then
51665 ICC_PCH_CREATE_SWITCH="-pch-create"
51666 ICC_PCH_USE_SWITCH="-pch-use"
51668 ICC_PCH_CREATE_SWITCH="-create-pch"
51669 ICC_PCH_USE_SWITCH="-use-pch"
51672 { echo "$as_me:$LINENO: result: no" >&5
51673 echo "${ECHO_T}no" >&6; }
51678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51679 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51683 cat <<EOF >bk-make-pch
51686 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51687 # script. It is used to generated precompiled headers.
51689 # Permission is given to use this file in any way.
51696 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51701 while test ${D}{#} -gt 0; do
51705 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51706 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51707 headerfile="${D}{incdir}/${D}{header}"
51710 -use-pch|-use_pch|-pch-use )
51715 if test ${D}add_to_cmdline = 1 ; then
51716 compiler="${D}{compiler} ${D}{1}"
51721 if test "x${D}{headerfile}" = "x" ; then
51722 echo "error: can't find header ${D}{header} in include paths" >&2
51724 if test -f ${D}{outfile} ; then
51725 rm -f ${D}{outfile}
51727 mkdir -p \`dirname ${D}{outfile}\`
51729 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51730 mkdir -p ${D}{builddir}/.deps
51731 if test "x${GCC_PCH}" = "x1" ; then
51732 # can do this because gcc is >= 3.4:
51733 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51734 elif test "x${ICC_PCH}" = "x1" ; then
51735 filename=pch_gen-${D}${D}
51736 file=${D}{filename}.c
51737 dfile=${D}{filename}.d
51738 cat > ${D}file <<EOT
51739 #include "${D}header"
51741 # using -MF icc complains about differing command lines in creation/use
51742 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51743 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51744 rm -f ${D}file ${D}dfile ${D}{filename}.o
51750 chmod +x bk-make-pch
51751 BK_MAKE_PCH="`pwd`/bk-make-pch"
51762 COND_BUILD_DEBUG="#"
51763 if test "x$BUILD" = "xdebug" ; then
51764 COND_BUILD_DEBUG=""
51767 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51768 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51769 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51772 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51773 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51774 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51777 COND_BUILD_DEBUG_UNICODE_0="#"
51778 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51779 COND_BUILD_DEBUG_UNICODE_0=""
51782 COND_BUILD_DEBUG_UNICODE_1="#"
51783 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51784 COND_BUILD_DEBUG_UNICODE_1=""
51787 COND_BUILD_RELEASE="#"
51788 if test "x$BUILD" = "xrelease" ; then
51789 COND_BUILD_RELEASE=""
51792 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51793 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51794 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51797 COND_BUILD_RELEASE_UNICODE_0="#"
51798 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51799 COND_BUILD_RELEASE_UNICODE_0=""
51802 COND_BUILD_RELEASE_UNICODE_1="#"
51803 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51804 COND_BUILD_RELEASE_UNICODE_1=""
51807 COND_BUILD_debug="#"
51808 if test "x$BUILD" = "xdebug" ; then
51809 COND_BUILD_debug=""
51812 COND_BUILD_debug_DEBUG_FLAG_default="#"
51813 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51814 COND_BUILD_debug_DEBUG_FLAG_default=""
51817 COND_BUILD_debug_DEBUG_INFO_default="#"
51818 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51819 COND_BUILD_debug_DEBUG_INFO_default=""
51822 COND_BUILD_debug_UNICODE_0="#"
51823 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51824 COND_BUILD_debug_UNICODE_0=""
51827 COND_BUILD_debug_UNICODE_1="#"
51828 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51829 COND_BUILD_debug_UNICODE_1=""
51832 COND_BUILD_release="#"
51833 if test "x$BUILD" = "xrelease" ; then
51834 COND_BUILD_release=""
51837 COND_BUILD_release_DEBUG_INFO_default="#"
51838 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51839 COND_BUILD_release_DEBUG_INFO_default=""
51842 COND_BUILD_release_UNICODE_0="#"
51843 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51844 COND_BUILD_release_UNICODE_0=""
51847 COND_BUILD_release_UNICODE_1="#"
51848 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51849 COND_BUILD_release_UNICODE_1=""
51852 COND_DEBUG_FLAG_0="#"
51853 if test "x$DEBUG_FLAG" = "x0" ; then
51854 COND_DEBUG_FLAG_0=""
51857 COND_DEBUG_FLAG_1="#"
51858 if test "x$DEBUG_FLAG" = "x1" ; then
51859 COND_DEBUG_FLAG_1=""
51862 COND_DEBUG_INFO_0="#"
51863 if test "x$DEBUG_INFO" = "x0" ; then
51864 COND_DEBUG_INFO_0=""
51867 COND_DEBUG_INFO_1="#"
51868 if test "x$DEBUG_INFO" = "x1" ; then
51869 COND_DEBUG_INFO_1=""
51872 COND_DEPS_TRACKING_0="#"
51873 if test "x$DEPS_TRACKING" = "x0" ; then
51874 COND_DEPS_TRACKING_0=""
51877 COND_DEPS_TRACKING_1="#"
51878 if test "x$DEPS_TRACKING" = "x1" ; then
51879 COND_DEPS_TRACKING_1=""
51883 if test "x$GCC_PCH" = "x1" ; then
51888 if test "x$ICC_PCH" = "x1" ; then
51892 COND_MONOLITHIC_0="#"
51893 if test "x$MONOLITHIC" = "x0" ; then
51894 COND_MONOLITHIC_0=""
51897 COND_MONOLITHIC_0_SHARED_0="#"
51898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51899 COND_MONOLITHIC_0_SHARED_0=""
51902 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51904 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51922 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51924 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51927 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51929 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51932 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51934 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51937 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51939 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51942 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51944 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51947 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51949 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51952 COND_MONOLITHIC_0_SHARED_1="#"
51953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51954 COND_MONOLITHIC_0_SHARED_1=""
51957 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51959 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51972 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51974 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51979 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51982 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51984 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51987 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51989 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51992 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51994 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51997 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51999 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52002 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52004 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52007 COND_MONOLITHIC_0_USE_AUI_1="#"
52008 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52009 COND_MONOLITHIC_0_USE_AUI_1=""
52012 COND_MONOLITHIC_0_USE_GUI_1="#"
52013 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52014 COND_MONOLITHIC_0_USE_GUI_1=""
52017 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52018 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52019 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52022 COND_MONOLITHIC_0_USE_HTML_1="#"
52023 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52024 COND_MONOLITHIC_0_USE_HTML_1=""
52027 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52028 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52029 COND_MONOLITHIC_0_USE_MEDIA_1=""
52032 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
52033 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52034 COND_MONOLITHIC_0_USE_PROPGRID_1=""
52037 COND_MONOLITHIC_0_USE_QA_1="#"
52038 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52039 COND_MONOLITHIC_0_USE_QA_1=""
52042 COND_MONOLITHIC_0_USE_RIBBON_1="#"
52043 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52044 COND_MONOLITHIC_0_USE_RIBBON_1=""
52047 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52048 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52049 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52052 COND_MONOLITHIC_0_USE_STC_1="#"
52053 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52054 COND_MONOLITHIC_0_USE_STC_1=""
52057 COND_MONOLITHIC_0_USE_XRC_1="#"
52058 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52059 COND_MONOLITHIC_0_USE_XRC_1=""
52062 COND_MONOLITHIC_1="#"
52063 if test "x$MONOLITHIC" = "x1" ; then
52064 COND_MONOLITHIC_1=""
52067 COND_MONOLITHIC_1_SHARED_0="#"
52068 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52069 COND_MONOLITHIC_1_SHARED_0=""
52072 COND_MONOLITHIC_1_SHARED_1="#"
52073 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52074 COND_MONOLITHIC_1_SHARED_1=""
52077 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52078 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52079 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52082 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52083 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52084 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52087 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52088 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52089 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52092 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52093 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52094 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52097 COND_PLATFORM_MACOSX_1="#"
52098 if test "x$PLATFORM_MACOSX" = "x1" ; then
52099 COND_PLATFORM_MACOSX_1=""
52102 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52103 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52104 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52107 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52108 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52109 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52112 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52113 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52114 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52117 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52119 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52122 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52124 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52127 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52129 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52132 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52134 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52137 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52139 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52142 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52144 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52147 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52149 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52152 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52154 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52157 COND_PLATFORM_MACOS_1="#"
52158 if test "x$PLATFORM_MACOS" = "x1" ; then
52159 COND_PLATFORM_MACOS_1=""
52162 COND_PLATFORM_MAC_0="#"
52163 if test "x$PLATFORM_MAC" = "x0" ; then
52164 COND_PLATFORM_MAC_0=""
52167 COND_PLATFORM_MAC_1="#"
52168 if test "x$PLATFORM_MAC" = "x1" ; then
52169 COND_PLATFORM_MAC_1=""
52172 COND_PLATFORM_MSDOS_0="#"
52173 if test "x$PLATFORM_MSDOS" = "x0" ; then
52174 COND_PLATFORM_MSDOS_0=""
52177 COND_PLATFORM_MSDOS_1="#"
52178 if test "x$PLATFORM_MSDOS" = "x1" ; then
52179 COND_PLATFORM_MSDOS_1=""
52182 COND_PLATFORM_OS2_1="#"
52183 if test "x$PLATFORM_OS2" = "x1" ; then
52184 COND_PLATFORM_OS2_1=""
52187 COND_PLATFORM_UNIX_0="#"
52188 if test "x$PLATFORM_UNIX" = "x0" ; then
52189 COND_PLATFORM_UNIX_0=""
52192 COND_PLATFORM_UNIX_1="#"
52193 if test "x$PLATFORM_UNIX" = "x1" ; then
52194 COND_PLATFORM_UNIX_1=""
52197 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52198 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52202 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52203 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52204 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52207 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52208 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52209 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52212 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52213 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52214 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52217 COND_PLATFORM_WIN32_0="#"
52218 if test "x$PLATFORM_WIN32" = "x0" ; then
52219 COND_PLATFORM_WIN32_0=""
52222 COND_PLATFORM_WIN32_1="#"
52223 if test "x$PLATFORM_WIN32" = "x1" ; then
52224 COND_PLATFORM_WIN32_1=""
52227 COND_PLATFORM_WIN32_1_SHARED_0="#"
52228 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52229 COND_PLATFORM_WIN32_1_SHARED_0=""
52233 if test "x$SHARED" = "x0" ; then
52237 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52238 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52239 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52242 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52243 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52244 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52247 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52248 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52249 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52252 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52253 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52254 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52257 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52258 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52259 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52262 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52263 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52264 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52267 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52268 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52269 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52272 COND_SHARED_0_USE_STC_1="#"
52273 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52274 COND_SHARED_0_USE_STC_1=""
52277 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52278 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52279 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52282 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52283 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52284 COND_SHARED_0_wxUSE_REGEX_builtin=""
52287 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52288 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52289 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52293 if test "x$SHARED" = "x1" ; then
52297 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52298 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52299 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52303 if test "x$TOOLKIT" = "x" ; then
52307 COND_TOOLKIT_COCOA="#"
52308 if test "x$TOOLKIT" = "xCOCOA" ; then
52309 COND_TOOLKIT_COCOA=""
52312 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52313 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52314 COND_TOOLKIT_COCOA_USE_GUI_1=""
52317 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52318 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52319 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52322 COND_TOOLKIT_DFB="#"
52323 if test "x$TOOLKIT" = "xDFB" ; then
52324 COND_TOOLKIT_DFB=""
52327 COND_TOOLKIT_DFB_USE_GUI_1="#"
52328 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52329 COND_TOOLKIT_DFB_USE_GUI_1=""
52332 COND_TOOLKIT_GTK="#"
52333 if test "x$TOOLKIT" = "xGTK" ; then
52334 COND_TOOLKIT_GTK=""
52337 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52338 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52339 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52343 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52348 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52349 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52353 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52354 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52357 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52358 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52359 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52363 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52364 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52367 COND_TOOLKIT_GTK_USE_GUI_1="#"
52368 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52369 COND_TOOLKIT_GTK_USE_GUI_1=""
52372 COND_TOOLKIT_MAC="#"
52373 if test "x$TOOLKIT" = "xMAC" ; then
52374 COND_TOOLKIT_MAC=""
52377 COND_TOOLKIT_MGL="#"
52378 if test "x$TOOLKIT" = "xMGL" ; then
52379 COND_TOOLKIT_MGL=""
52382 COND_TOOLKIT_MGL_USE_GUI_1="#"
52383 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52384 COND_TOOLKIT_MGL_USE_GUI_1=""
52387 COND_TOOLKIT_MOTIF="#"
52388 if test "x$TOOLKIT" = "xMOTIF" ; then
52389 COND_TOOLKIT_MOTIF=""
52392 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52393 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52394 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52397 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52398 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52399 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52402 COND_TOOLKIT_MSW="#"
52403 if test "x$TOOLKIT" = "xMSW" ; then
52404 COND_TOOLKIT_MSW=""
52407 COND_TOOLKIT_MSW_USE_GUI_1="#"
52408 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52409 COND_TOOLKIT_MSW_USE_GUI_1=""
52412 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52413 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52414 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52417 COND_TOOLKIT_MSW_WXUNIV_0="#"
52418 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52419 COND_TOOLKIT_MSW_WXUNIV_0=""
52422 COND_TOOLKIT_OSX_CARBON="#"
52423 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52424 COND_TOOLKIT_OSX_CARBON=""
52427 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52428 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52429 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52432 COND_TOOLKIT_OSX_COCOA="#"
52433 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52434 COND_TOOLKIT_OSX_COCOA=""
52437 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52438 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52439 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52442 COND_TOOLKIT_OSX_IPHONE="#"
52443 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52444 COND_TOOLKIT_OSX_IPHONE=""
52447 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52448 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52449 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52452 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52453 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52454 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52457 COND_TOOLKIT_PM="#"
52458 if test "x$TOOLKIT" = "xPM" ; then
52462 COND_TOOLKIT_PM_USE_GUI_1="#"
52463 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52464 COND_TOOLKIT_PM_USE_GUI_1=""
52467 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52468 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52469 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52472 COND_TOOLKIT_WINCE="#"
52473 if test "x$TOOLKIT" = "xWINCE" ; then
52474 COND_TOOLKIT_WINCE=""
52477 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52478 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52479 COND_TOOLKIT_WINCE_USE_GUI_1=""
52482 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52483 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52484 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52487 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52488 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52489 COND_TOOLKIT_WINCE_WXUNIV_0=""
52492 COND_TOOLKIT_X11="#"
52493 if test "x$TOOLKIT" = "xX11" ; then
52494 COND_TOOLKIT_X11=""
52497 COND_TOOLKIT_X11_USE_GUI_1="#"
52498 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52499 COND_TOOLKIT_X11_USE_GUI_1=""
52503 if test "x$UNICODE" = "x1" ; then
52507 COND_USE_CAIRO_1="#"
52508 if test "x$USE_CAIRO" = "x1" ; then
52509 COND_USE_CAIRO_1=""
52512 COND_USE_EXCEPTIONS_0="#"
52513 if test "x$USE_EXCEPTIONS" = "x0" ; then
52514 COND_USE_EXCEPTIONS_0=""
52517 COND_USE_EXCEPTIONS_1="#"
52518 if test "x$USE_EXCEPTIONS" = "x1" ; then
52519 COND_USE_EXCEPTIONS_1=""
52523 if test "x$USE_GUI" = "x0" ; then
52528 if test "x$USE_GUI" = "x1" ; then
52532 COND_USE_GUI_1_USE_OPENGL_1="#"
52533 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52534 COND_USE_GUI_1_USE_OPENGL_1=""
52537 COND_USE_GUI_1_WXUNIV_0="#"
52538 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52539 COND_USE_GUI_1_WXUNIV_0=""
52542 COND_USE_GUI_1_WXUNIV_1="#"
52543 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52544 COND_USE_GUI_1_WXUNIV_1=""
52547 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52548 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52549 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52552 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52553 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52554 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52557 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52558 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52559 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52562 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52564 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52567 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52568 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52569 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52572 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52573 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52574 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52577 COND_USE_OPENGL_1="#"
52578 if test "x$USE_OPENGL" = "x1" ; then
52579 COND_USE_OPENGL_1=""
52583 if test "x$USE_PCH" = "x1" ; then
52587 COND_USE_PLUGINS_0="#"
52588 if test "x$USE_PLUGINS" = "x0" ; then
52589 COND_USE_PLUGINS_0=""
52592 COND_USE_RTTI_0="#"
52593 if test "x$USE_RTTI" = "x0" ; then
52597 COND_USE_RTTI_1="#"
52598 if test "x$USE_RTTI" = "x1" ; then
52602 COND_USE_SOTWOSYMLINKS_1="#"
52603 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52604 COND_USE_SOTWOSYMLINKS_1=""
52607 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52608 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52609 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52612 COND_USE_SOVERLINUX_1="#"
52613 if test "x$USE_SOVERLINUX" = "x1" ; then
52614 COND_USE_SOVERLINUX_1=""
52617 COND_USE_SOVERSION_0="#"
52618 if test "x$USE_SOVERSION" = "x0" ; then
52619 COND_USE_SOVERSION_0=""
52622 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52623 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52624 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52627 COND_USE_SOVERSOLARIS_1="#"
52628 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52629 COND_USE_SOVERSOLARIS_1=""
52633 if test "x$USE_STC" = "x1" ; then
52637 COND_USE_THREADS_0="#"
52638 if test "x$USE_THREADS" = "x0" ; then
52639 COND_USE_THREADS_0=""
52642 COND_USE_THREADS_1="#"
52643 if test "x$USE_THREADS" = "x1" ; then
52644 COND_USE_THREADS_1=""
52648 if test "x$USE_XRC" = "x1" ; then
52652 COND_WINDOWS_IMPLIB_1="#"
52653 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52654 COND_WINDOWS_IMPLIB_1=""
52657 COND_WITH_PLUGIN_SDL_1="#"
52658 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52659 COND_WITH_PLUGIN_SDL_1=""
52663 if test "x$WXUNIV" = "x0" ; then
52668 if test "x$WXUNIV" = "x1" ; then
52672 COND_WXUSE_EXPAT_BUILTIN="#"
52673 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52674 COND_WXUSE_EXPAT_BUILTIN=""
52677 COND_WXUSE_LIBJPEG_BUILTIN="#"
52678 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52679 COND_WXUSE_LIBJPEG_BUILTIN=""
52682 COND_WXUSE_LIBPNG_BUILTIN="#"
52683 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52684 COND_WXUSE_LIBPNG_BUILTIN=""
52687 COND_WXUSE_LIBTIFF_BUILTIN="#"
52688 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52689 COND_WXUSE_LIBTIFF_BUILTIN=""
52692 COND_WXUSE_REGEX_BUILTIN="#"
52693 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52694 COND_WXUSE_REGEX_BUILTIN=""
52697 COND_WXUSE_ZLIB_BUILTIN="#"
52698 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52699 COND_WXUSE_ZLIB_BUILTIN=""
52702 COND_wxUSE_EXPAT_builtin="#"
52703 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52704 COND_wxUSE_EXPAT_builtin=""
52707 COND_wxUSE_LIBJPEG_builtin="#"
52708 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52709 COND_wxUSE_LIBJPEG_builtin=""
52712 COND_wxUSE_LIBPNG_builtin="#"
52713 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52714 COND_wxUSE_LIBPNG_builtin=""
52717 COND_wxUSE_LIBTIFF_builtin="#"
52718 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52719 COND_wxUSE_LIBTIFF_builtin=""
52722 COND_wxUSE_REGEX_builtin="#"
52723 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52724 COND_wxUSE_REGEX_builtin=""
52727 COND_wxUSE_ZLIB_builtin="#"
52728 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52729 COND_wxUSE_ZLIB_builtin=""
52734 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52735 { { 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
52736 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;}
52737 { (exit 1); exit 1; }; }
52740 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52741 { { 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
52742 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;}
52743 { (exit 1); exit 1; }; }
52750 ?:* ) # Drive letter, considered as absolute.
52753 INSTALL=`pwd`/${INSTALL} ;;
52756 if test "$wxUSE_GUI" = "yes"; then
52758 if test "$wxUSE_MSW" = 1 ; then
52759 if test "x$WINDRES" = "x"; then
52760 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52761 echo "$as_me: error: Required windres program not found" >&2;}
52762 { (exit 1); exit 1; }; }
52768 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52769 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52770 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52772 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52774 # Extract the first word of "DeRez", so it can be a program name with args.
52775 set dummy DeRez; ac_word=$2
52776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52778 if test "${ac_cv_prog_DEREZ+set}" = set; then
52779 echo $ECHO_N "(cached) $ECHO_C" >&6
52781 if test -n "$DEREZ"; then
52782 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52785 for as_dir in $PATH
52788 test -z "$as_dir" && as_dir=.
52789 for ac_exec_ext in '' $ac_executable_extensions; do
52790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52791 ac_cv_prog_DEREZ="DeRez"
52792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52799 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52802 DEREZ=$ac_cv_prog_DEREZ
52803 if test -n "$DEREZ"; then
52804 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52805 echo "${ECHO_T}$DEREZ" >&6; }
52807 { echo "$as_me:$LINENO: result: no" >&5
52808 echo "${ECHO_T}no" >&6; }
52813 MACSETFILE="\$(SETFILE)"
52815 if test "$wxUSE_OSX_CARBON" = 1; then
52816 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52818 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52820 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52821 RESCOMP="cat /dev/null \| $REZ"
52822 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52828 if test "$wxUSE_PM" = 1; then
52830 WXCONFIG_RESFLAGS="-ep"
52832 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52834 POSTLINK_COMMAND="@true"
52841 if test $GCC_PCH = 1
52843 if test "$wx_cv_gcc_pch_bug" = yes; then
52844 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52845 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52846 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52847 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52848 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52849 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52852 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52853 # the headers that benefit from precompilation are mostly C++ headers.
52854 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52855 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52856 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52860 if test "$wxUSE_MAC" = 1 ; then
52861 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52862 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52868 if test "$wxUSE_SHARED" = "yes"; then
52870 *-pc-os2_emx | *-pc-os2-emx )
52871 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52872 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52873 cp -p ${srcdir}/src/os2/dllnames.sh .
52874 cp -p ${srcdir}/src/os2/dllar.sh .
52878 if test "$wxUSE_OMF" = "yes"; then
52880 *-pc-os2_emx | *-pc-os2-emx )
52881 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52882 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52883 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52888 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52893 if test "$GCC" = yes; then
52894 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52895 LIBS=`echo $LIBS | sed 's/-mt//'`
52896 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52901 if test "x$SUNCXX" = xyes; then
52902 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52903 LIBS=`echo $LIBS | sed 's/-pthread//'`
52904 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52909 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52910 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52911 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52912 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52914 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52975 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52976 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52977 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52978 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52979 echo $ECHO_N "(cached) $ECHO_C" >&6
52981 cat >conftest.make <<\_ACEOF
52984 @echo '@@@%%%=$(MAKE)=@@@%%%'
52986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52988 *@@@%%%=?*=@@@%%%*)
52989 eval ac_cv_prog_make_${ac_make}_set=yes;;
52991 eval ac_cv_prog_make_${ac_make}_set=no;;
52993 rm -f conftest.make
52995 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52996 { echo "$as_me:$LINENO: result: yes" >&5
52997 echo "${ECHO_T}yes" >&6; }
53000 { echo "$as_me:$LINENO: result: no" >&5
53001 echo "${ECHO_T}no" >&6; }
53002 SET_MAKE="MAKE=${MAKE-make}"
53007 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53010 if test "$USE_WIN32" = 1; then
53011 ac_config_commands="$ac_config_commands rcdefs.h"
53015 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53018 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53021 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
53024 if test "$wx_cv_version_script" = "yes"; then
53025 ac_config_files="$ac_config_files version-script"
53028 ac_config_files="$ac_config_files Makefile"
53031 ac_config_commands="$ac_config_commands wx-config"
53035 if test "$wxWITH_SUBDIRS" != "no"; then
53036 if test "$wxUSE_GUI" = "yes"; then
53037 SUBDIRS="samples demos utils"
53039 SUBDIRS="samples utils"
53044 # Check whether --with-cppunit-prefix was given.
53045 if test "${with_cppunit_prefix+set}" = set; then
53046 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53048 cppunit_config_prefix=""
53052 # Check whether --with-cppunit-exec-prefix was given.
53053 if test "${with_cppunit_exec_prefix+set}" = set; then
53054 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53056 cppunit_config_exec_prefix=""
53060 if test x$cppunit_config_exec_prefix != x ; then
53061 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53062 if test x${CPPUNIT_CONFIG+set} != xset ; then
53063 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53066 if test x$cppunit_config_prefix != x ; then
53067 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53068 if test x${CPPUNIT_CONFIG+set} != xset ; then
53069 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53073 # Extract the first word of "cppunit-config", so it can be a program name with args.
53074 set dummy cppunit-config; ac_word=$2
53075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53077 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53078 echo $ECHO_N "(cached) $ECHO_C" >&6
53080 case $CPPUNIT_CONFIG in
53082 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53086 for as_dir in $PATH
53089 test -z "$as_dir" && as_dir=.
53090 for ac_exec_ext in '' $ac_executable_extensions; do
53091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53092 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53100 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53104 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53105 if test -n "$CPPUNIT_CONFIG"; then
53106 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53107 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53109 { echo "$as_me:$LINENO: result: no" >&5
53110 echo "${ECHO_T}no" >&6; }
53114 cppunit_version_min=1.8.0
53116 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53117 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53119 if test "$CPPUNIT_CONFIG" = "no" ; then
53120 { echo "$as_me:$LINENO: result: no" >&5
53121 echo "${ECHO_T}no" >&6; }
53124 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53125 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53126 cppunit_version=`$CPPUNIT_CONFIG --version`
53128 cppunit_major_version=`echo $cppunit_version | \
53129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53130 cppunit_minor_version=`echo $cppunit_version | \
53131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53132 cppunit_micro_version=`echo $cppunit_version | \
53133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53135 cppunit_major_min=`echo $cppunit_version_min | \
53136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53137 cppunit_minor_min=`echo $cppunit_version_min | \
53138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53139 cppunit_micro_min=`echo $cppunit_version_min | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53142 cppunit_version_proper=`expr \
53143 $cppunit_major_version \> $cppunit_major_min \| \
53144 $cppunit_major_version \= $cppunit_major_min \& \
53145 $cppunit_minor_version \> $cppunit_minor_min \| \
53146 $cppunit_major_version \= $cppunit_major_min \& \
53147 $cppunit_minor_version \= $cppunit_minor_min \& \
53148 $cppunit_micro_version \>= $cppunit_micro_min `
53150 if test "$cppunit_version_proper" = "1" ; then
53151 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53152 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53154 { echo "$as_me:$LINENO: result: no" >&5
53155 echo "${ECHO_T}no" >&6; }
53160 if test "x$no_cppunit" = x ; then
53161 SUBDIRS="$SUBDIRS tests"
53172 for subdir in $SUBDIRS; do
53173 if test -d ${srcdir}/${subdir} ; then
53174 if test "$wxUSE_GUI" = "yes"; then
53175 if test ${subdir} = "samples"; then
53176 makefiles="samples/Makefile.in $makefiles"
53177 for sample in $SAMPLES_SUBDIRS; do
53178 if test -d $srcdir/samples/$sample; then
53179 makefiles="samples/$sample/Makefile.in $makefiles"
53183 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53184 eval "disabled=\$$disabled_var"
53185 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53186 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53189 if test ${subdir} = "samples"; then
53190 makefiles="samples/Makefile.in $makefiles"
53191 for sample in `echo $SAMPLES_SUBDIRS`; do
53192 if test -d $srcdir/samples/$sample; then
53193 makefiles="samples/$sample/Makefile.in $makefiles"
53196 elif test ${subdir} = "utils"; then
53198 for util in ifacecheck ; do
53199 if test -d $srcdir/utils/$util ; then
53200 makefiles="utils/$util/src/Makefile.in \
53205 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53209 for mkin in $makefiles ; do
53210 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53211 ac_config_files="$ac_config_files $mk"
53217 cat >confcache <<\_ACEOF
53218 # This file is a shell script that caches the results of configure
53219 # tests run on this system so they can be shared between configure
53220 # scripts and configure runs, see configure's option --config-cache.
53221 # It is not useful on other systems. If it contains results you don't
53222 # want to keep, you may remove or edit it.
53224 # config.status only pays attention to the cache file if you give it
53225 # the --recheck option to rerun configure.
53227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53229 # following values.
53233 # The following way of writing the cache mishandles newlines in values,
53234 # but we know of no workaround that is simple, portable, and efficient.
53235 # So, we kill variables containing newlines.
53236 # Ultrix sh set writes to stderr and can't be redirected directly,
53237 # and sets the high bit in the cache file unless we assign to the vars.
53239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53240 eval ac_val=\$$ac_var
53244 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53245 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53248 _ | IFS | as_nl) ;; #(
53249 *) $as_unset $ac_var ;;
53255 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53256 *${as_nl}ac_space=\ *)
53257 # `set' does not quote correctly, so add quotes (double-quote
53258 # substitution turns \\\\ into \\, and sed turns \\ into \).
53261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53264 # `set' quotes correctly as required by POSIX, so do not add quotes.
53265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53278 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53279 if test -w "$cache_file"; then
53280 test "x$cache_file" != "x/dev/null" &&
53281 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53282 echo "$as_me: updating cache $cache_file" >&6;}
53283 cat confcache >$cache_file
53285 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53286 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53291 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53292 # Let make expand exec_prefix.
53293 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53295 DEFS=-DHAVE_CONFIG_H
53299 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53300 # 1. Remove the extension, and $U if already installed.
53301 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53302 ac_i=`echo "$ac_i" | sed "$ac_script"`
53303 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53304 # will be set to the directory where LIBOBJS objects are built.
53305 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53306 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53308 LIBOBJS=$ac_libobjs
53310 LTLIBOBJS=$ac_ltlibobjs
53314 : ${CONFIG_STATUS=./config.status}
53315 ac_clean_files_save=$ac_clean_files
53316 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53317 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53318 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53319 cat >$CONFIG_STATUS <<_ACEOF
53321 # Generated by $as_me.
53322 # Run this file to recreate the current configuration.
53323 # Compiler output produced by configure, useful for debugging
53324 # configure, is in config.log if it exists.
53327 ac_cs_recheck=false
53329 SHELL=\${CONFIG_SHELL-$SHELL}
53332 cat >>$CONFIG_STATUS <<\_ACEOF
53333 ## --------------------- ##
53334 ## M4sh Initialization. ##
53335 ## --------------------- ##
53337 # Be more Bourne compatible
53338 DUALCASE=1; export DUALCASE # for MKS sh
53339 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53342 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53343 # is contrary to our usage. Disable this feature.
53344 alias -g '${1+"$@"}'='"$@"'
53345 setopt NO_GLOB_SUBST
53347 case `(set -o) 2>/dev/null` in
53348 *posix*) set -o posix ;;
53357 # Avoid depending upon Character Ranges.
53358 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53361 as_cr_digits='0123456789'
53362 as_cr_alnum=$as_cr_Letters$as_cr_digits
53364 # The user is always right.
53365 if test "${PATH_SEPARATOR+set}" != set; then
53366 echo "#! /bin/sh" >conf$$.sh
53367 echo "exit 0" >>conf$$.sh
53369 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53377 # Support unset when possible.
53378 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53386 # We need space, tab and new line, in precisely that order. Quoting is
53387 # there to prevent editors from complaining about space-tab.
53388 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53389 # splitting by setting IFS to empty value.)
53394 # Find who we are. Look in the path if we contain no directory separator.
53396 *[\\/]* ) as_myself=$0 ;;
53397 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53398 for as_dir in $PATH
53401 test -z "$as_dir" && as_dir=.
53402 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53408 # We did not find ourselves, most probably we were run as `sh COMMAND'
53409 # in which case we are not to be found in the path.
53410 if test "x$as_myself" = x; then
53413 if test ! -f "$as_myself"; then
53414 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53415 { (exit 1); exit 1; }
53418 # Work around bugs in pre-3.0 UWIN ksh.
53419 for as_var in ENV MAIL MAILPATH
53420 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53428 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53429 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53430 LC_TELEPHONE LC_TIME
53432 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53433 eval $as_var=C; export $as_var
53435 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53439 # Required to use basename.
53440 if expr a : '\(a\)' >/dev/null 2>&1 &&
53441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53448 as_basename=basename
53454 # Name of the executable.
53455 as_me=`$as_basename -- "$0" ||
53456 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53457 X"$0" : 'X\(//\)$' \| \
53458 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53460 sed '/^.*\/\([^/][^/]*\)\/*$/{
53479 as_lineno_1=$LINENO
53480 as_lineno_2=$LINENO
53481 test "x$as_lineno_1" != "x$as_lineno_2" &&
53482 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53484 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53485 # uniformly replaced by the line number. The first 'sed' inserts a
53486 # line-number line after each line using $LINENO; the second 'sed'
53487 # does the real work. The second script uses 'N' to pair each
53488 # line-number line with the line containing $LINENO, and appends
53489 # trailing '-' during substitution so that $LINENO is not a special
53490 # case at line end.
53491 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53492 # scripts with optimization help from Paolo Bonzini. Blame Lee
53493 # E. McMahon (1931-1989) for sed's syntax. :-)
53505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53508 ' >$as_me.lineno &&
53509 chmod +x "$as_me.lineno" ||
53510 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53511 { (exit 1); exit 1; }; }
53513 # Don't try to exec as it changes $[0], causing all sort of problems
53514 # (the dirname of $[0] is not the place where we might find the
53515 # original and so on. Autoconf is especially sensitive to this).
53516 . "./$as_me.lineno"
53517 # Exit status is that of the last command.
53522 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53528 ECHO_C= ECHO_N= ECHO_T=
53529 case `echo -n x` in
53531 case `echo 'x\c'` in
53532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53539 if expr a : '\(a\)' >/dev/null 2>&1 &&
53540 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53546 rm -f conf$$ conf$$.exe conf$$.file
53547 if test -d conf$$.dir; then
53548 rm -f conf$$.dir/conf$$.file
53554 if ln -s conf$$.file conf$$ 2>/dev/null; then
53556 # ... but there are two gotchas:
53557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53559 # In both cases, we have to default to `cp -p'.
53560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53562 elif ln conf$$.file conf$$ 2>/dev/null; then
53567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53568 rmdir conf$$.dir 2>/dev/null
53570 if mkdir -p . 2>/dev/null; then
53573 test -d ./-p && rmdir ./-p
53577 if test -x / >/dev/null 2>&1; then
53578 as_test_x='test -x'
53580 if ls -dL / >/dev/null 2>&1; then
53587 if test -d "$1"; then
53593 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53594 ???[sx]*):;;*)false;;esac;fi
53598 as_executable_p=$as_test_x
53600 # Sed expression to map a string onto a valid CPP name.
53601 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53603 # Sed expression to map a string onto a valid variable name.
53604 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53609 # Save the log message, to keep $[0] and so on meaningful, and to
53610 # report actual input values of CONFIG_FILES etc. instead of their
53611 # values after options handling.
53613 This file was extended by wxWidgets $as_me 2.9.3, which was
53614 generated by GNU Autoconf 2.61. Invocation command line was
53616 CONFIG_FILES = $CONFIG_FILES
53617 CONFIG_HEADERS = $CONFIG_HEADERS
53618 CONFIG_LINKS = $CONFIG_LINKS
53619 CONFIG_COMMANDS = $CONFIG_COMMANDS
53622 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53627 cat >>$CONFIG_STATUS <<_ACEOF
53628 # Files that config.status was made for.
53629 config_files="$ac_config_files"
53630 config_headers="$ac_config_headers"
53631 config_commands="$ac_config_commands"
53635 cat >>$CONFIG_STATUS <<\_ACEOF
53637 \`$as_me' instantiates files from templates according to the
53638 current configuration.
53640 Usage: $0 [OPTIONS] [FILE]...
53642 -h, --help print this help, then exit
53643 -V, --version print version number and configuration settings, then exit
53644 -q, --quiet do not print progress messages
53645 -d, --debug don't remove temporary files
53646 --recheck update $as_me by reconfiguring in the same conditions
53647 --file=FILE[:TEMPLATE]
53648 instantiate the configuration file FILE
53649 --header=FILE[:TEMPLATE]
53650 instantiate the configuration header FILE
53652 Configuration files:
53655 Configuration headers:
53658 Configuration commands:
53661 Report bugs to <bug-autoconf@gnu.org>."
53664 cat >>$CONFIG_STATUS <<_ACEOF
53666 wxWidgets config.status 2.9.3
53667 configured by $0, generated by GNU Autoconf 2.61,
53668 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53670 Copyright (C) 2006 Free Software Foundation, Inc.
53671 This config.status script is free software; the Free Software Foundation
53672 gives unlimited permission to copy, distribute and modify it."
53679 cat >>$CONFIG_STATUS <<\_ACEOF
53680 # If no file are specified by the user, then we need to provide default
53681 # value. By we need to know if files were specified by the user.
53687 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53688 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53699 # Handling of the options.
53700 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53702 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53703 echo "$ac_cs_version"; exit ;;
53704 --debug | --debu | --deb | --de | --d | -d )
53706 --file | --fil | --fi | --f )
53708 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53709 ac_need_defaults=false;;
53710 --header | --heade | --head | --hea )
53712 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53713 ac_need_defaults=false;;
53715 # Conflict between --help and --header
53716 { echo "$as_me: error: ambiguous option: $1
53717 Try \`$0 --help' for more information." >&2
53718 { (exit 1); exit 1; }; };;
53719 --help | --hel | -h )
53720 echo "$ac_cs_usage"; exit ;;
53721 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53722 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53725 # This is an error.
53726 -*) { echo "$as_me: error: unrecognized option: $1
53727 Try \`$0 --help' for more information." >&2
53728 { (exit 1); exit 1; }; } ;;
53730 *) ac_config_targets="$ac_config_targets $1"
53731 ac_need_defaults=false ;;
53737 ac_configure_extra_args=
53739 if $ac_cs_silent; then
53741 ac_configure_extra_args="$ac_configure_extra_args --silent"
53745 cat >>$CONFIG_STATUS <<_ACEOF
53746 if \$ac_cs_recheck; then
53747 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53748 CONFIG_SHELL=$SHELL
53749 export CONFIG_SHELL
53750 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53754 cat >>$CONFIG_STATUS <<\_ACEOF
53758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53759 ## Running $as_me. ##
53765 cat >>$CONFIG_STATUS <<_ACEOF
53771 infile="$srcdir/include/wx/msw/genrcdefs.h"
53772 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53775 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53777 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53783 cat >>$CONFIG_STATUS <<\_ACEOF
53785 # Handling of arguments.
53786 for ac_config_target in $ac_config_targets
53788 case $ac_config_target in
53789 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53790 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53791 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53792 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53793 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53794 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53795 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53796 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53797 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53799 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53800 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53801 { (exit 1); exit 1; }; };;
53806 # If the user did not use the arguments to specify the items to instantiate,
53807 # then the envvar interface is used. Set only those that are not.
53808 # We use the long form for the default assignment because of an extremely
53809 # bizarre bug on SunOS 4.1.3.
53810 if $ac_need_defaults; then
53811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53812 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53816 # Have a temporary directory for convenience. Make it in the build tree
53817 # simply because there is no reason against having it here, and in addition,
53818 # creating and moving files from /tmp can sometimes cause problems.
53819 # Hook for its removal unless debugging.
53820 # Note that there is a small window in which the directory will not be cleaned:
53821 # after its creation but before its name has been assigned to `$tmp'.
53825 trap 'exit_status=$?
53826 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53828 trap '{ (exit 1); exit 1; }' 1 2 13 15
53830 # Create a (secure) tmp directory for tmp files.
53833 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53834 test -n "$tmp" && test -d "$tmp"
53837 tmp=./conf$$-$RANDOM
53838 (umask 077 && mkdir "$tmp")
53841 echo "$me: cannot create a temporary directory in ." >&2
53842 { (exit 1); exit 1; }
53846 # Set up the sed scripts for CONFIG_FILES section.
53849 # No need to generate the scripts if there are no CONFIG_FILES.
53850 # This happens for instance when ./config.status config.h
53851 if test -n "$CONFIG_FILES"; then
53858 for ac_last_try in false false false false false :; do
53859 cat >conf$$subs.sed <<_ACEOF
53860 SHELL!$SHELL$ac_delim
53861 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53862 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53863 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53864 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53865 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53866 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53867 exec_prefix!$exec_prefix$ac_delim
53868 prefix!$prefix$ac_delim
53869 program_transform_name!$program_transform_name$ac_delim
53870 bindir!$bindir$ac_delim
53871 sbindir!$sbindir$ac_delim
53872 libexecdir!$libexecdir$ac_delim
53873 datarootdir!$datarootdir$ac_delim
53874 datadir!$datadir$ac_delim
53875 sysconfdir!$sysconfdir$ac_delim
53876 sharedstatedir!$sharedstatedir$ac_delim
53877 localstatedir!$localstatedir$ac_delim
53878 includedir!$includedir$ac_delim
53879 oldincludedir!$oldincludedir$ac_delim
53880 docdir!$docdir$ac_delim
53881 infodir!$infodir$ac_delim
53882 htmldir!$htmldir$ac_delim
53883 dvidir!$dvidir$ac_delim
53884 pdfdir!$pdfdir$ac_delim
53885 psdir!$psdir$ac_delim
53886 libdir!$libdir$ac_delim
53887 localedir!$localedir$ac_delim
53888 mandir!$mandir$ac_delim
53889 DEFS!$DEFS$ac_delim
53890 ECHO_C!$ECHO_C$ac_delim
53891 ECHO_N!$ECHO_N$ac_delim
53892 ECHO_T!$ECHO_T$ac_delim
53893 LIBS!$LIBS$ac_delim
53894 build_alias!$build_alias$ac_delim
53895 host_alias!$host_alias$ac_delim
53896 target_alias!$target_alias$ac_delim
53897 build!$build$ac_delim
53898 build_cpu!$build_cpu$ac_delim
53899 build_vendor!$build_vendor$ac_delim
53900 build_os!$build_os$ac_delim
53901 host!$host$ac_delim
53902 host_cpu!$host_cpu$ac_delim
53903 host_vendor!$host_vendor$ac_delim
53904 host_os!$host_os$ac_delim
53905 wx_top_builddir!$wx_top_builddir$ac_delim
53907 CFLAGS!$CFLAGS$ac_delim
53908 LDFLAGS!$LDFLAGS$ac_delim
53909 CPPFLAGS!$CPPFLAGS$ac_delim
53910 ac_ct_CC!$ac_ct_CC$ac_delim
53911 EXEEXT!$EXEEXT$ac_delim
53912 OBJEXT!$OBJEXT$ac_delim
53914 GREP!$GREP$ac_delim
53915 EGREP!$EGREP$ac_delim
53917 CXXFLAGS!$CXXFLAGS$ac_delim
53918 ac_ct_CXX!$ac_ct_CXX$ac_delim
53920 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53921 CXXCPP!$CXXCPP$ac_delim
53922 subdirs!$subdirs$ac_delim
53923 PKG_CONFIG!$PKG_CONFIG$ac_delim
53924 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53925 GTK_LIBS!$GTK_LIBS$ac_delim
53926 GTK_CONFIG!$GTK_CONFIG$ac_delim
53927 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53928 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53929 XMKMF!$XMKMF$ac_delim
53930 X_CFLAGS!$X_CFLAGS$ac_delim
53931 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53932 X_LIBS!$X_LIBS$ac_delim
53933 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53934 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53935 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53936 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53937 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53938 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53939 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53940 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53941 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53942 LIBICONV!$LIBICONV$ac_delim
53943 GXX_VERSION!$GXX_VERSION$ac_delim
53944 SDL_CONFIG!$SDL_CONFIG$ac_delim
53945 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53946 SDL_LIBS!$SDL_LIBS$ac_delim
53947 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53948 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53949 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53950 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53951 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53952 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53953 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53954 HILDON_LIBS!$HILDON_LIBS$ac_delim
53955 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53956 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53959 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53961 elif $ac_last_try; then
53962 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53963 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53964 { (exit 1); exit 1; }; }
53966 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53970 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53971 if test -n "$ac_eof"; then
53972 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53973 ac_eof=`expr $ac_eof + 1`
53976 cat >>$CONFIG_STATUS <<_ACEOF
53977 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53981 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53982 s/^/s,@/; s/!/@,|#_!!_#|/
53985 s/'"$ac_delim"'$/,g/; t
53987 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53988 ' >>$CONFIG_STATUS <conf$$subs.sed
53989 rm -f conf$$subs.sed
53990 cat >>$CONFIG_STATUS <<_ACEOF
53996 for ac_last_try in false false false false false :; do
53997 cat >conf$$subs.sed <<_ACEOF
53998 PYTHON!$PYTHON$ac_delim
53999 COND_PYTHON!$COND_PYTHON$ac_delim
54000 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54001 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54002 GST_CFLAGS!$GST_CFLAGS$ac_delim
54003 GST_LIBS!$GST_LIBS$ac_delim
54004 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54005 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54006 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54007 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54008 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54009 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54010 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54011 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54012 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54013 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54014 VENDOR!$VENDOR$ac_delim
54015 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54016 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54017 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54018 WXUNIV!$WXUNIV$ac_delim
54019 MONOLITHIC!$MONOLITHIC$ac_delim
54020 USE_PLUGINS!$USE_PLUGINS$ac_delim
54021 CXXWARNINGS!$CXXWARNINGS$ac_delim
54022 EXTRALIBS!$EXTRALIBS$ac_delim
54023 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54024 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54025 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
54026 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54027 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54028 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54029 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
54030 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54031 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54032 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54033 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54034 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54035 UNICODE!$UNICODE$ac_delim
54036 DEBUG_INFO!$DEBUG_INFO$ac_delim
54037 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54038 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54039 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54040 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
54041 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
54042 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54043 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
54044 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54045 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54046 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54047 RANLIB!$RANLIB$ac_delim
54048 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54049 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54050 INSTALL_DATA!$INSTALL_DATA$ac_delim
54051 LN_S!$LN_S$ac_delim
54052 SET_MAKE!$SET_MAKE$ac_delim
54053 MAKE_SET!$MAKE_SET$ac_delim
54054 AROPTIONS!$AROPTIONS$ac_delim
54055 STRIP!$STRIP$ac_delim
54057 INSTALL_DIR!$INSTALL_DIR$ac_delim
54058 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54059 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54060 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54061 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54062 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54063 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54064 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54065 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54066 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54067 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54068 SO_SUFFIX!$SO_SUFFIX$ac_delim
54069 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54070 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54071 LIBPREFIX!$LIBPREFIX$ac_delim
54072 LIBEXT!$LIBEXT$ac_delim
54073 DLLPREFIX!$DLLPREFIX$ac_delim
54074 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54075 dlldir!$dlldir$ac_delim
54076 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54077 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54078 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54079 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54080 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54081 PIC_FLAG!$PIC_FLAG$ac_delim
54082 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54083 USE_SOVERSION!$USE_SOVERSION$ac_delim
54084 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54085 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54086 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54087 USE_MACVERSION!$USE_MACVERSION$ac_delim
54088 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54089 SONAME_FLAG!$SONAME_FLAG$ac_delim
54090 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54091 BK_DEPS!$BK_DEPS$ac_delim
54092 WINDRES!$WINDRES$ac_delim
54094 SETFILE!$SETFILE$ac_delim
54097 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54099 elif $ac_last_try; then
54100 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54101 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54102 { (exit 1); exit 1; }; }
54104 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54108 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54109 if test -n "$ac_eof"; then
54110 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54111 ac_eof=`expr $ac_eof + 1`
54114 cat >>$CONFIG_STATUS <<_ACEOF
54115 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54119 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54120 s/^/s,@/; s/!/@,|#_!!_#|/
54123 s/'"$ac_delim"'$/,g/; t
54125 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54126 ' >>$CONFIG_STATUS <conf$$subs.sed
54127 rm -f conf$$subs.sed
54128 cat >>$CONFIG_STATUS <<_ACEOF
54134 for ac_last_try in false false false false false :; do
54135 cat >conf$$subs.sed <<_ACEOF
54136 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54137 GCC_PCH!$GCC_PCH$ac_delim
54138 ICC_PCH!$ICC_PCH$ac_delim
54139 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54140 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54141 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54142 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54143 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54144 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54145 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54146 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54147 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54148 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54149 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54150 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54151 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54152 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54153 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54154 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54155 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54156 COND_BUILD_release!$COND_BUILD_release$ac_delim
54157 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54158 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54159 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54160 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54161 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54162 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54163 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54164 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54165 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54166 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54167 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54168 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54169 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54170 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54171 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54172 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54173 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54174 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54175 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54176 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54177 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54178 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54179 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54180 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54181 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54182 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54183 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54184 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54185 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54186 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54187 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54188 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54189 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54190 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54191 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54192 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54193 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54194 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54195 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54196 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54197 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54198 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54199 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54200 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54201 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54202 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54203 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54204 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54205 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54206 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54207 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54208 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54209 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54210 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54211 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54212 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54213 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
54214 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54215 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
54216 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54217 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
54218 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54219 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54220 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54221 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54222 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54223 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54224 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54225 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54226 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54227 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54228 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54229 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54230 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54231 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54232 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54235 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54237 elif $ac_last_try; then
54238 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54239 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54240 { (exit 1); exit 1; }; }
54242 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54246 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54247 if test -n "$ac_eof"; then
54248 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54249 ac_eof=`expr $ac_eof + 1`
54252 cat >>$CONFIG_STATUS <<_ACEOF
54253 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54254 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54257 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54258 s/^/s,@/; s/!/@,|#_!!_#|/
54261 s/'"$ac_delim"'$/,g/; t
54263 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54264 ' >>$CONFIG_STATUS <conf$$subs.sed
54265 rm -f conf$$subs.sed
54266 cat >>$CONFIG_STATUS <<_ACEOF
54272 for ac_last_try in false false false false false :; do
54273 cat >conf$$subs.sed <<_ACEOF
54274 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54275 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54276 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54277 COND_SHARED_0!$COND_SHARED_0$ac_delim
54278 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54279 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54280 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54281 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54282 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54283 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54284 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54285 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54286 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54287 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54288 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54289 COND_SHARED_1!$COND_SHARED_1$ac_delim
54290 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54291 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54292 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54293 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54296 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54297 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54300 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54302 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54303 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54304 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54305 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54306 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54307 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54308 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54309 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54310 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54311 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54312 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54313 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54314 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54315 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54316 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54317 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54318 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54319 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54320 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54321 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54322 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54323 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54324 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54325 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54326 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54327 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54328 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54329 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54330 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54331 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54332 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54333 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54334 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54335 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54336 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54337 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54338 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54339 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54340 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54341 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54342 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54343 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54344 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54345 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54346 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54347 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54348 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54349 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54350 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54351 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54352 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54353 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54354 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54355 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54356 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54357 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54358 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54359 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54360 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54361 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54362 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54363 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54364 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54365 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54366 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54367 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54368 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54369 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54370 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54373 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54375 elif $ac_last_try; then
54376 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54377 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54378 { (exit 1); exit 1; }; }
54380 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54384 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54385 if test -n "$ac_eof"; then
54386 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54387 ac_eof=`expr $ac_eof + 1`
54390 cat >>$CONFIG_STATUS <<_ACEOF
54391 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54395 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54396 s/^/s,@/; s/!/@,|#_!!_#|/
54399 s/'"$ac_delim"'$/,g/; t
54401 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54402 ' >>$CONFIG_STATUS <conf$$subs.sed
54403 rm -f conf$$subs.sed
54404 cat >>$CONFIG_STATUS <<_ACEOF
54410 for ac_last_try in false false false false false :; do
54411 cat >conf$$subs.sed <<_ACEOF
54412 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54413 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54414 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54415 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54416 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54417 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54418 DEREZ!$DEREZ$ac_delim
54419 SHARED!$SHARED$ac_delim
54420 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54421 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54422 USE_GUI!$USE_GUI$ac_delim
54423 AFMINSTALL!$AFMINSTALL$ac_delim
54424 WIN32INSTALL!$WIN32INSTALL$ac_delim
54425 TOOLKIT!$TOOLKIT$ac_delim
54426 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54427 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54428 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54429 cross_compiling!$cross_compiling$ac_delim
54430 WIDGET_SET!$WIDGET_SET$ac_delim
54431 WX_RELEASE!$WX_RELEASE$ac_delim
54432 WX_VERSION!$WX_VERSION$ac_delim
54433 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54434 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54435 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54436 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54437 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54438 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54439 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54440 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54441 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54442 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54443 GUIDIST!$GUIDIST$ac_delim
54444 DISTDIR!$DISTDIR$ac_delim
54445 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54446 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54447 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54448 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54449 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54450 RESCOMP!$RESCOMP$ac_delim
54451 RESFLAGS!$RESFLAGS$ac_delim
54452 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54453 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54454 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54455 LIBWXMACRES!$LIBWXMACRES$ac_delim
54456 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54457 MACSETFILE!$MACSETFILE$ac_delim
54459 DLLTOOL!$DLLTOOL$ac_delim
54460 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54461 LIBOBJS!$LIBOBJS$ac_delim
54462 LTLIBOBJS!$LTLIBOBJS$ac_delim
54465 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54467 elif $ac_last_try; then
54468 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54469 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54470 { (exit 1); exit 1; }; }
54472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54476 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54477 if test -n "$ac_eof"; then
54478 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54479 ac_eof=`expr $ac_eof + 1`
54482 cat >>$CONFIG_STATUS <<_ACEOF
54483 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54487 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54488 s/^/s,@/; s/!/@,|#_!!_#|/
54491 s/'"$ac_delim"'$/,g/; t
54493 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54494 ' >>$CONFIG_STATUS <conf$$subs.sed
54495 rm -f conf$$subs.sed
54496 cat >>$CONFIG_STATUS <<_ACEOF
54503 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54504 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54505 # trailing colons and then remove the whole line if VPATH becomes empty
54506 # (actually we leave an empty line to preserve line numbers).
54507 if test "x$srcdir" = x.; then
54508 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54509 s/:*\$(srcdir):*/:/
54510 s/:*\${srcdir}:*/:/
54512 s/^\([^=]*=[ ]*\):*/\1/
54518 cat >>$CONFIG_STATUS <<\_ACEOF
54519 fi # test -n "$CONFIG_FILES"
54522 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54525 :[FHLC]) ac_mode=$ac_tag; continue;;
54527 case $ac_mode$ac_tag in
54529 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54530 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54531 { (exit 1); exit 1; }; };;
54532 :[FH]-) ac_tag=-:-;;
54533 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54550 -) ac_f="$tmp/stdin";;
54551 *) # Look for the file first in the build tree, then in the source tree
54552 # (if the path is not absolute). The absolute path cannot be DOS-style,
54553 # because $ac_f cannot contain `:'.
54557 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54559 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54560 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54561 { (exit 1); exit 1; }; };;
54563 ac_file_inputs="$ac_file_inputs $ac_f"
54566 # Let's still pretend it is `configure' which instantiates (i.e., don't
54567 # use $as_me), people would be surprised to read:
54568 # /* config.h. Generated by config.status. */
54569 configure_input="Generated from "`IFS=:
54570 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54571 if test x"$ac_file" != x-; then
54572 configure_input="$ac_file. $configure_input"
54573 { echo "$as_me:$LINENO: creating $ac_file" >&5
54574 echo "$as_me: creating $ac_file" >&6;}
54578 *:-:* | *:-) cat >"$tmp/stdin";;
54583 ac_dir=`$as_dirname -- "$ac_file" ||
54584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54585 X"$ac_file" : 'X\(//\)[^/]' \| \
54586 X"$ac_file" : 'X\(//\)$' \| \
54587 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54593 /^X\(\/\/\)[^/].*/{
54608 -*) as_dir=./$as_dir;;
54610 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54614 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54615 *) as_qdir=$as_dir;;
54617 as_dirs="'$as_qdir' $as_dirs"
54618 as_dir=`$as_dirname -- "$as_dir" ||
54619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54620 X"$as_dir" : 'X\(//\)[^/]' \| \
54621 X"$as_dir" : 'X\(//\)$' \| \
54622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54628 /^X\(\/\/\)[^/].*/{
54641 test -d "$as_dir" && break
54643 test -z "$as_dirs" || eval "mkdir $as_dirs"
54644 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54645 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54646 { (exit 1); exit 1; }; }; }
54650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54652 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54653 # A ".." for each directory in $ac_dir_suffix.
54654 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54655 case $ac_top_builddir_sub in
54656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54660 ac_abs_top_builddir=$ac_pwd
54661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54662 # for backward compatibility:
54663 ac_top_builddir=$ac_top_build_prefix
54666 .) # We are building in place.
54668 ac_top_srcdir=$ac_top_builddir_sub
54669 ac_abs_top_srcdir=$ac_pwd ;;
54670 [\\/]* | ?:[\\/]* ) # Absolute name.
54671 ac_srcdir=$srcdir$ac_dir_suffix;
54672 ac_top_srcdir=$srcdir
54673 ac_abs_top_srcdir=$srcdir ;;
54674 *) # Relative name.
54675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54676 ac_top_srcdir=$ac_top_build_prefix$srcdir
54677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54689 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54690 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54694 cat >>$CONFIG_STATUS <<\_ACEOF
54695 # If the template does not know about datarootdir, expand it.
54696 # FIXME: This hack should be removed a few years after 2.60.
54697 ac_datarootdir_hack=; ac_datarootdir_seen=
54699 case `sed -n '/datarootdir/ {
54708 ' $ac_file_inputs` in
54709 *datarootdir*) ac_datarootdir_seen=yes;;
54710 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54711 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54712 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54714 cat >>$CONFIG_STATUS <<_ACEOF
54715 ac_datarootdir_hack='
54716 s&@datadir@&$datadir&g
54717 s&@docdir@&$docdir&g
54718 s&@infodir@&$infodir&g
54719 s&@localedir@&$localedir&g
54720 s&@mandir@&$mandir&g
54721 s&\\\${datarootdir}&$datarootdir&g' ;;
54725 # Neutralize VPATH when `$srcdir' = `.'.
54726 # Shell code in configure.ac might set extrasub.
54727 # FIXME: do we really want to maintain this feature?
54728 cat >>$CONFIG_STATUS <<_ACEOF
54732 cat >>$CONFIG_STATUS <<\_ACEOF
54734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54735 s&@configure_input@&$configure_input&;t t
54736 s&@top_builddir@&$ac_top_builddir_sub&;t t
54737 s&@srcdir@&$ac_srcdir&;t t
54738 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54739 s&@top_srcdir@&$ac_top_srcdir&;t t
54740 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54741 s&@builddir@&$ac_builddir&;t t
54742 s&@abs_builddir@&$ac_abs_builddir&;t t
54743 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54744 s&@INSTALL@&$ac_INSTALL&;t t
54745 $ac_datarootdir_hack
54746 " $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
54748 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54749 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54750 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54751 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54752 which seems to be undefined. Please make sure it is defined." >&5
54753 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54754 which seems to be undefined. Please make sure it is defined." >&2;}
54758 -) cat "$tmp/out"; rm -f "$tmp/out";;
54759 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54768 # Transform confdefs.h into a sed script `conftest.defines', that
54769 # substitutes the proper values into config.h.in to produce config.h.
54770 rm -f conftest.defines conftest.tail
54771 # First, append a space to every undef/define line, to ease matching.
54772 echo 's/$/ /' >conftest.defines
54773 # Then, protect against being on the right side of a sed subst, or in
54774 # an unquoted here document, in config.status. If some macros were
54775 # called several times there might be several #defines for the same
54776 # symbol, which is useless. But do not sort them, since the last
54777 # AC_DEFINE must be honored.
54778 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54779 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54780 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54781 # PARAMS is the parameter list in the macro definition--in most cases, it's
54782 # just an empty string.
54783 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54784 ac_dB='\\)[ (].*,\\1define\\2'
54792 s/^[ ]*#[ ]*define[ ][ ]*//
54797 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54798 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54799 ' >>conftest.defines
54801 # Remove the space that was appended to ease matching.
54802 # Then replace #undef with comments. This is necessary, for
54803 # example, in the case of _POSIX_SOURCE, which is predefined and required
54804 # on some systems where configure will not decide to define it.
54805 # (The regexp can be short, since the line contains either #define or #undef.)
54807 s,^[ #]*u.*,/* & */,' >>conftest.defines
54809 # Break up conftest.defines:
54810 ac_max_sed_lines=50
54812 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54813 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54814 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54816 ac_in='$ac_file_inputs'
54817 ac_out='"$tmp/out1"'
54818 ac_nxt='"$tmp/out2"'
54822 # Write a here document:
54823 cat >>$CONFIG_STATUS <<_ACEOF
54824 # First, check the format of the line:
54825 cat >"\$tmp/defines.sed" <<\\CEOF
54826 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54827 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54831 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54833 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54834 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54835 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54836 grep . conftest.tail >/dev/null || break
54837 rm -f conftest.defines
54838 mv conftest.tail conftest.defines
54840 rm -f conftest.defines conftest.tail
54842 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54843 cat >>$CONFIG_STATUS <<\_ACEOF
54844 if test x"$ac_file" != x-; then
54845 echo "/* $configure_input */" >"$tmp/config.h"
54846 cat "$ac_result" >>"$tmp/config.h"
54847 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54848 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54849 echo "$as_me: $ac_file is unchanged" >&6;}
54852 mv "$tmp/config.h" $ac_file
54855 echo "/* $configure_input */"
54861 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54862 echo "$as_me: executing $ac_file commands" >&6;}
54867 case $ac_file$ac_mode in
54869 mkdir -p $outdir &&
54870 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54872 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54873 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54874 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54875 "wx-config":C) rm -f wx-config
54876 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54883 { (exit 0); exit 0; }
54885 chmod +x $CONFIG_STATUS
54886 ac_clean_files=$ac_clean_files_save
54889 # configure is writing to config.log, and then calls config.status.
54890 # config.status does its own redirection, appending to config.log.
54891 # Unfortunately, on DOS this fails, as config.log is still kept open
54892 # by configure, so config.status won't be able to write to it; its
54893 # output is simply discarded. So we exec the FD to /dev/null,
54894 # effectively closing config.log, so it can be properly (re)opened and
54895 # appended to by config.status. When coming back to configure, we
54896 # need to make the FD available again.
54897 if test "$no_create" != yes; then
54899 ac_config_status_args=
54900 test "$silent" = yes &&
54901 ac_config_status_args="$ac_config_status_args --quiet"
54903 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54905 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54906 # would make configure fail if this is the last instruction.
54907 $ac_cs_success || { (exit 1); exit 1; }
54911 # CONFIG_SUBDIRS section.
54913 if test "$no_recursion" != yes; then
54915 # Remove --cache-file and --srcdir arguments so they do not pile up.
54916 ac_sub_configure_args=
54918 eval "set x $ac_configure_args"
54922 if test -n "$ac_prev"; then
54927 -cache-file | --cache-file | --cache-fil | --cache-fi \
54928 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54929 ac_prev=cache_file ;;
54930 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54931 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54934 --config-cache | -C)
54936 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54938 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54946 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54948 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54952 # Always prepend --prefix to ensure using the same prefix
54953 # in subdir configurations.
54954 ac_arg="--prefix=$prefix"
54956 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54958 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54961 if test "$silent" = yes; then
54962 ac_sub_configure_args="--silent $ac_sub_configure_args"
54966 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54968 # Do not complain, so a configure script can configure whichever
54969 # parts of a large source tree are present.
54970 test -d "$srcdir/$ac_dir" || continue
54972 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54973 echo "$as_me:$LINENO: $ac_msg" >&5
54977 -*) as_dir=./$as_dir;;
54979 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54983 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54984 *) as_qdir=$as_dir;;
54986 as_dirs="'$as_qdir' $as_dirs"
54987 as_dir=`$as_dirname -- "$as_dir" ||
54988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54989 X"$as_dir" : 'X\(//\)[^/]' \| \
54990 X"$as_dir" : 'X\(//\)$' \| \
54991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54997 /^X\(\/\/\)[^/].*/{
55010 test -d "$as_dir" && break
55012 test -z "$as_dirs" || eval "mkdir $as_dirs"
55013 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55014 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55015 { (exit 1); exit 1; }; }; }
55019 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55021 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55022 # A ".." for each directory in $ac_dir_suffix.
55023 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55024 case $ac_top_builddir_sub in
55025 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55026 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55029 ac_abs_top_builddir=$ac_pwd
55030 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55031 # for backward compatibility:
55032 ac_top_builddir=$ac_top_build_prefix
55035 .) # We are building in place.
55037 ac_top_srcdir=$ac_top_builddir_sub
55038 ac_abs_top_srcdir=$ac_pwd ;;
55039 [\\/]* | ?:[\\/]* ) # Absolute name.
55040 ac_srcdir=$srcdir$ac_dir_suffix;
55041 ac_top_srcdir=$srcdir
55042 ac_abs_top_srcdir=$srcdir ;;
55043 *) # Relative name.
55044 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55045 ac_top_srcdir=$ac_top_build_prefix$srcdir
55046 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55048 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55053 # Check for guested configure; otherwise get Cygnus style configure.
55054 if test -f "$ac_srcdir/configure.gnu"; then
55055 ac_sub_configure=$ac_srcdir/configure.gnu
55056 elif test -f "$ac_srcdir/configure"; then
55057 ac_sub_configure=$ac_srcdir/configure
55058 elif test -f "$ac_srcdir/configure.in"; then
55059 # This should be Cygnus configure.
55060 ac_sub_configure=$ac_aux_dir/configure
55062 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55063 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55067 # The recursion is here.
55068 if test -n "$ac_sub_configure"; then
55069 # Make the cache file name correct relative to the subdirectory.
55070 case $cache_file in
55071 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55072 *) # Relative name.
55073 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55076 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55077 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55078 # The eval makes quoting arguments work.
55079 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55080 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55081 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55082 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55083 { (exit 1); exit 1; }; }
55092 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55094 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55095 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55096 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55097 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55098 if test "$wxUSE_UNICODE" = "yes"; then
55099 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55100 echo " (using UTF-8)"
55102 echo " (using wchar_t)"
55108 echo " What level of wxWidgets compatibility should be enabled?"
55109 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55110 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55112 echo " Which libraries should wxWidgets use?"
55113 echo " STL ${wxUSE_STL}"
55114 echo " jpeg ${wxUSE_LIBJPEG-none}"
55115 echo " png ${wxUSE_LIBPNG-none}"
55116 echo " regex ${wxUSE_REGEX}"
55117 echo " tiff ${wxUSE_LIBTIFF-none}"
55118 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55119 echo " xpm ${wxUSE_LIBXPM-none}"
55121 echo " zlib ${wxUSE_ZLIB}"
55122 echo " expat ${wxUSE_EXPAT}"
55123 echo " libmspack ${wxUSE_LIBMSPACK}"
55124 echo " sdl ${wxUSE_LIBSDL}"