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-commondlg use all common dialogs
1877 --enable-aboutdlg use wxAboutBox
1878 --enable-choicedlg use wxChoiceDialog
1879 --enable-coldlg use wxColourDialog
1880 --enable-filedlg use wxFileDialog
1881 --enable-finddlg use wxFindReplaceDialog
1882 --enable-fontdlg use wxFontDialog
1883 --enable-dirdlg use wxDirDialog
1884 --enable-msgdlg use wxMessageDialog
1885 --enable-numberdlg use wxNumberEntryDialog
1886 --enable-splash use wxSplashScreen
1887 --enable-textdlg use wxTextDialog
1888 --enable-tipdlg use startup tips
1889 --enable-progressdlg use wxProgressDialog
1890 --enable-wizarddlg use wxWizard
1891 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1892 --enable-miniframe use wxMiniFrame class
1893 --enable-tooltips use wxToolTip class
1894 --enable-splines use spline drawing code
1895 --enable-mousewheel use mousewheel
1896 --enable-validators use wxValidator and derived classes
1897 --enable-busyinfo use wxBusyInfo
1898 --enable-joystick use wxJoystick
1899 --enable-metafiles use wxMetaFile (Win32 only)
1900 --enable-dragimage use wxDragImage
1901 --enable-accessibility enable accessibility support
1902 --enable-uiactionsim use wxUIActionSimulator (experimental)
1903 --enable-dctransform use wxDC::SetTransformMatrix and related
1904 --enable-palette use wxPalette class
1905 --enable-image use wxImage class
1906 --enable-gif use gif images (GIF file format)
1907 --enable-pcx use pcx images (PCX file format)
1908 --enable-tga use tga images (TGA file format)
1909 --enable-iff use iff images (IFF file format)
1910 --enable-pnm use pnm images (PNM file format)
1911 --enable-xpm use xpm images (XPM file format)
1912 --enable-ico_cur use Windows ICO and CUR formats
1913 --enable-dccache cache temporary wxDC objects (Win32 only)
1914 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1915 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1916 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1917 --enable-wxdib use wxDIB class (Win32 only)
1918 --enable-autoidman use automatic ids management
1919 --disable-largefile omit support for large files
1920 --disable-gtktest do not try to compile and run a test GTK+ program
1921 --disable-gtktest Do not try to compile and run a test GTK program
1922 --disable-sdltest Do not try to compile and run a test SDL program
1923 --enable-omf use OMF object format (OS/2)
1924 --disable-dependency-tracking
1925 don't use dependency tracking even if the compiler
1927 --disable-precomp-headers
1928 don't use precompiled headers even if compiler can
1931 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1932 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1933 --without-subdirs don't generate makefiles for samples/demos/...
1934 --with-flavour=NAME specify a name to identify this build
1935 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1936 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1937 --with-motif use Motif/Lesstif
1938 --with-osx_carbon use Mac OS X (Carbon)
1939 --with-osx_cocoa use Mac OS X (Cocoa)
1940 --with-osx_iphone use iPhone OS X port
1941 --with-osx use Mac OS X (default port, currently Carbon)
1942 --with-carbon same as --with-osx_carbon
1943 --with-cocoa same as --with-osx_cocoa
1944 --with-iphone same as --with-osx_iphone
1945 --with-mac same as --with-osx
1946 --with-old_cocoa use old, deprecated, Cocoa port
1947 --with-wine use Wine
1948 --with-msw use MS-Windows
1949 --with-pm use OS/2 Presentation Manager
1950 --with-mgl use SciTech MGL
1951 --with-directfb use DirectFB
1952 --with-microwin use MicroWindows
1954 --with-libpng use libpng (PNG image format)
1955 --with-libjpeg use libjpeg (JPEG file format)
1956 --with-libtiff use libtiff (TIFF file format)
1957 --with-libxpm use libxpm (XPM file format)
1958 --with-libiconv use libiconv (character conversion)
1959 --with-libmspack use libmspack (CHM help files loading)
1960 --without-gtkprint don't use GTK printing support
1961 --without-gnomeprint don't use GNOME printing libraries
1962 --with-gnomevfs use GNOME VFS for associating MIME types
1963 --with-hildon use Hildon framework for Nokia 770/800/810
1964 --with-opengl use OpenGL (or Mesa)
1965 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1966 --with-sdl use SDL for audio on Unix
1967 --with-regex enable support for wxRegEx class
1968 --with-zlib use zlib for LZW compression
1969 --with-expat enable XML support using expat parser
1970 --with-macosx-sdk=PATH use an OS X SDK at PATH
1971 --with-macosx-version-min=VER build binaries which require at least this OS X version
1972 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1973 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1974 --with-x use the X Window System
1975 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1976 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1977 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1978 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1979 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1981 Some influential environment variables:
1982 CC C compiler command
1983 CFLAGS C compiler flags
1984 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1985 nonstandard directory <lib dir>
1986 LIBS libraries to pass to the linker, e.g. -l<library>
1987 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1988 you have headers in a nonstandard directory <include dir>
1990 CXX C++ compiler command
1991 CXXFLAGS C++ compiler flags
1992 CXXCPP C++ preprocessor
1993 PKG_CONFIG path to pkg-config utility
1995 C compiler flags for DIRECTFB, overriding pkg-config
1997 linker flags for DIRECTFB, overriding pkg-config
1998 XMKMF Path to xmkmf, Makefile generator for X Window System
2000 C compiler flags for PANGOX, overriding pkg-config
2001 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2003 C compiler flags for PANGOFT2, overriding pkg-config
2005 linker flags for PANGOFT2, overriding pkg-config
2007 C compiler flags for PANGOXFT, overriding pkg-config
2009 linker flags for PANGOXFT, overriding pkg-config
2011 C compiler flags for GTKPRINT, overriding pkg-config
2013 linker flags for GTKPRINT, overriding pkg-config
2014 LIBGNOMEPRINTUI_CFLAGS
2015 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2016 LIBGNOMEPRINTUI_LIBS
2017 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2019 C compiler flags for GNOMEVFS, overriding pkg-config
2021 linker flags for GNOMEVFS, overriding pkg-config
2023 C compiler flags for HILDON, overriding pkg-config
2024 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2026 C compiler flags for HILDON2, overriding pkg-config
2028 linker flags for HILDON2, overriding pkg-config
2030 C compiler flags for CAIRO, overriding pkg-config
2031 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2032 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2033 GST_LIBS linker flags for GST, overriding pkg-config
2035 Use these variables to override the choices made by `configure' or to help
2036 it to find libraries and programs with nonstandard names/locations.
2038 Report bugs to <wx-dev@lists.wxwidgets.org>.
2043 if test "$ac_init_help" = "recursive"; then
2044 # If there are subdirs, report their specific --help.
2045 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2046 test -d "$ac_dir" || continue
2050 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2052 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2053 # A ".." for each directory in $ac_dir_suffix.
2054 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2055 case $ac_top_builddir_sub in
2056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2060 ac_abs_top_builddir=$ac_pwd
2061 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2062 # for backward compatibility:
2063 ac_top_builddir=$ac_top_build_prefix
2066 .) # We are building in place.
2068 ac_top_srcdir=$ac_top_builddir_sub
2069 ac_abs_top_srcdir=$ac_pwd ;;
2070 [\\/]* | ?:[\\/]* ) # Absolute name.
2071 ac_srcdir=$srcdir$ac_dir_suffix;
2072 ac_top_srcdir=$srcdir
2073 ac_abs_top_srcdir=$srcdir ;;
2075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2076 ac_top_srcdir=$ac_top_build_prefix$srcdir
2077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2079 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2081 cd "$ac_dir" || { ac_status=$?; continue; }
2082 # Check for guested configure.
2083 if test -f "$ac_srcdir/configure.gnu"; then
2085 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2086 elif test -f "$ac_srcdir/configure"; then
2088 $SHELL "$ac_srcdir/configure" --help=recursive
2090 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2092 cd "$ac_pwd" || { ac_status=$?; break; }
2096 test -n "$ac_init_help" && exit $ac_status
2097 if $ac_init_version; then
2099 wxWidgets configure 2.9.3
2100 generated by GNU Autoconf 2.61
2102 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2103 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2104 This configure script is free software; the Free Software Foundation
2105 gives unlimited permission to copy, distribute and modify it.
2109 cat >config.log <<_ACEOF
2110 This file contains any messages produced by compilers while
2111 running configure, to aid debugging if configure makes a mistake.
2113 It was created by wxWidgets $as_me 2.9.3, which was
2114 generated by GNU Autoconf 2.61. Invocation command line was
2126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir=.
2150 echo "PATH: $as_dir"
2166 # Keep a trace of the command line.
2167 # Strip out --no-create and --no-recursion so they do not pile up.
2168 # Strip out --silent because we don't want to record it for future runs.
2169 # Also quote any args containing shell meta-characters.
2170 # Make two passes to allow for proper duplicate-argument suppression.
2174 ac_must_keep_next=false
2180 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182 | -silent | --silent | --silen | --sile | --sil)
2185 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2188 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2190 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2191 if test $ac_must_keep_next = true; then
2192 ac_must_keep_next=false # Got value, back to normal.
2195 *=* | --config-cache | -C | -disable-* | --disable-* \
2196 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2197 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2198 | -with-* | --with-* | -without-* | --without-* | --x)
2199 case "$ac_configure_args0 " in
2200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2203 -* ) ac_must_keep_next=true ;;
2206 ac_configure_args="$ac_configure_args '$ac_arg'"
2211 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2212 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2214 # When interrupted or exit'd, cleanup temporary files, and complete
2215 # config.log. We remove comments because anyway the quotes in there
2216 # would cause problems or look ugly.
2217 # WARNING: Use '\'' to represent an apostrophe within the trap.
2218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2219 trap 'exit_status=$?
2220 # Save into config.log some information that might help in debugging.
2225 ## ---------------- ##
2226 ## Cache variables. ##
2227 ## ---------------- ##
2230 # The following way of writing the cache mishandles newlines in values,
2232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2233 eval ac_val=\$$ac_var
2237 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2238 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2241 _ | IFS | as_nl) ;; #(
2242 *) $as_unset $ac_var ;;
2247 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2248 *${as_nl}ac_space=\ *)
2250 "s/'\''/'\''\\\\'\'''\''/g;
2251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2262 ## ----------------- ##
2263 ## Output variables. ##
2264 ## ----------------- ##
2267 for ac_var in $ac_subst_vars
2269 eval ac_val=\$$ac_var
2271 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 echo "$ac_var='\''$ac_val'\''"
2277 if test -n "$ac_subst_files"; then
2279 ## ------------------- ##
2280 ## File substitutions. ##
2281 ## ------------------- ##
2284 for ac_var in $ac_subst_files
2286 eval ac_val=\$$ac_var
2288 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290 echo "$ac_var='\''$ac_val'\''"
2295 if test -s confdefs.h; then
2305 test "$ac_signal" != 0 &&
2306 echo "$as_me: caught signal $ac_signal"
2307 echo "$as_me: exit $exit_status"
2309 rm -f core *.core core.conftest.* &&
2310 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2313 for ac_signal in 1 2 13 15; do
2314 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2319 rm -f -r conftest* confdefs.h
2321 # Predefined preprocessor variables.
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_NAME "$PACKAGE_NAME"
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_STRING "$PACKAGE_STRING"
2343 cat >>confdefs.h <<_ACEOF
2344 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2348 # Let the site file select an alternate cache file if it wants to.
2349 # Prefer explicitly selected file to automatically selected ones.
2350 if test -n "$CONFIG_SITE"; then
2351 set x "$CONFIG_SITE"
2352 elif test "x$prefix" != xNONE; then
2353 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2355 set x "$ac_default_prefix/share/config.site" \
2356 "$ac_default_prefix/etc/config.site"
2361 if test -r "$ac_site_file"; then
2362 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2363 echo "$as_me: loading site script $ac_site_file" >&6;}
2364 sed 's/^/| /' "$ac_site_file" >&5
2369 if test -r "$cache_file"; then
2370 # Some versions of bash will fail to source /dev/null (special
2371 # files actually), so we avoid doing that.
2372 if test -f "$cache_file"; then
2373 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2374 echo "$as_me: loading cache $cache_file" >&6;}
2376 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2377 *) . "./$cache_file";;
2381 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2382 echo "$as_me: creating cache $cache_file" >&6;}
2386 # Check that the precious variables saved in the cache have kept the same
2388 ac_cache_corrupted=false
2389 for ac_var in $ac_precious_vars; do
2390 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2391 eval ac_new_set=\$ac_env_${ac_var}_set
2392 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2393 eval ac_new_val=\$ac_env_${ac_var}_value
2394 case $ac_old_set,$ac_new_set in
2396 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2397 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2400 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2401 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2402 ac_cache_corrupted=: ;;
2405 if test "x$ac_old_val" != "x$ac_new_val"; then
2406 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2407 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2409 echo "$as_me: former value: $ac_old_val" >&2;}
2410 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2411 echo "$as_me: current value: $ac_new_val" >&2;}
2412 ac_cache_corrupted=:
2415 # Pass precious variables to config.status.
2416 if test "$ac_new_set" = set; then
2418 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2419 *) ac_arg=$ac_var=$ac_new_val ;;
2421 case " $ac_configure_args " in
2422 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2423 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2427 if $ac_cache_corrupted; then
2428 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2429 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2430 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2431 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2432 { (exit 1); exit 1; }; }
2460 ac_cpp='$CPP $CPPFLAGS'
2461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2470 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2471 if test -f "$ac_dir/install-sh"; then
2473 ac_install_sh="$ac_aux_dir/install-sh -c"
2475 elif test -f "$ac_dir/install.sh"; then
2477 ac_install_sh="$ac_aux_dir/install.sh -c"
2479 elif test -f "$ac_dir/shtool"; then
2481 ac_install_sh="$ac_aux_dir/shtool install -c"
2485 if test -z "$ac_aux_dir"; then
2486 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2487 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2488 { (exit 1); exit 1; }; }
2491 # These three variables are undocumented and unsupported,
2492 # and are intended to be withdrawn in a future Autoconf release.
2493 # They can cause serious problems if a builder's source tree is in a directory
2494 # whose full name contains unusual characters.
2495 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2496 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2497 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2500 # Make sure we can run config.sub.
2501 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2502 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2503 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2504 { (exit 1); exit 1; }; }
2506 { echo "$as_me:$LINENO: checking build system type" >&5
2507 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2508 if test "${ac_cv_build+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 ac_build_alias=$build_alias
2512 test "x$ac_build_alias" = x &&
2513 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2514 test "x$ac_build_alias" = x &&
2515 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2516 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2517 { (exit 1); exit 1; }; }
2518 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2519 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2520 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2521 { (exit 1); exit 1; }; }
2524 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2525 echo "${ECHO_T}$ac_cv_build" >&6; }
2526 case $ac_cv_build in
2528 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2529 echo "$as_me: error: invalid value of canonical build" >&2;}
2530 { (exit 1); exit 1; }; };;
2533 ac_save_IFS=$IFS; IFS='-'
2539 # Remember, the first character of IFS is used to create $*,
2540 # except with old shells:
2543 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2546 { echo "$as_me:$LINENO: checking host system type" >&5
2547 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2548 if test "${ac_cv_host+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 if test "x$host_alias" = x; then
2552 ac_cv_host=$ac_cv_build
2554 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2555 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2556 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2557 { (exit 1); exit 1; }; }
2561 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2562 echo "${ECHO_T}$ac_cv_host" >&6; }
2565 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2566 echo "$as_me: error: invalid value of canonical host" >&2;}
2567 { (exit 1); exit 1; }; };;
2570 ac_save_IFS=$IFS; IFS='-'
2576 # Remember, the first character of IFS is used to create $*,
2577 # except with old shells:
2580 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2584 if test "$cross_compiling" != "no"; then
2585 HOST_PREFIX="${host_alias}-"
2586 HOST_SUFFIX="-$host_alias"
2593 wx_major_version_number=2
2594 wx_minor_version_number=9
2596 wx_subrelease_number=0
2598 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2599 WX_VERSION=$WX_RELEASE.$wx_release_number
2600 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2602 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2605 wx_top_builddir="`pwd`"
2618 USE_BSD= USE_DARWIN= USE_FREEBSD=
2624 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2630 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2632 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2634 DEFAULT_wxUSE_OLD_COCOA=0
2636 DEFAULT_wxUSE_OSX_CARBON=0
2637 DEFAULT_wxUSE_OSX_COCOA=0
2638 DEFAULT_wxUSE_OSX_IPHONE=0
2640 DEFAULT_wxUSE_MICROWIN=0
2641 DEFAULT_wxUSE_MOTIF=0
2647 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2648 DEFAULT_DEFAULT_wxUSE_GTK=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2652 DEFAULT_DEFAULT_wxUSE_MGL=0
2653 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2654 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2655 DEFAULT_DEFAULT_wxUSE_MSW=0
2656 DEFAULT_DEFAULT_wxUSE_PM=0
2657 DEFAULT_DEFAULT_wxUSE_X11=0
2658 DEFAULT_DEFAULT_wxUSE_DFB=0
2662 DYLIB_RPATH_INSTALL=
2663 DYLIB_RPATH_POSTLINK=
2665 DEFAULT_STD_FLAG=yes
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2671 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2672 cat >>confdefs.h <<\_ACEOF
2677 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2681 cat >>confdefs.h <<\_ACEOF
2686 if test "x$TMP" = "xalpha"; then
2688 cat >>confdefs.h <<\_ACEOF
2693 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 *-*-gnu* | *-*-k*bsd*-gnu )
2698 if test "x$TMP" = "xalpha"; then
2700 cat >>confdefs.h <<\_ACEOF
2705 DEFAULT_DEFAULT_wxUSE_GTK=1
2707 *-*-irix5* | *-*-irix6* )
2710 cat >>confdefs.h <<\_ACEOF
2714 cat >>confdefs.h <<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2722 cat >>confdefs.h <<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_X11=1
2732 cat >>confdefs.h <<\_ACEOF
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __SOLARIS__ 1
2740 cat >>confdefs.h <<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2751 cat >>confdefs.h <<\_ACEOF
2755 cat >>confdefs.h <<\_ACEOF
2759 cat >>confdefs.h <<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __FREEBSD__ 1
2772 cat >>confdefs.h <<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_GTK=1
2778 *-*-openbsd*|*-*-mirbsd*)
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __OPENBSD__ 1
2785 cat >>confdefs.h <<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_GTK=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __NETBSD__ 1
2798 cat >>confdefs.h <<\_ACEOF
2802 DEFAULT_DEFAULT_wxUSE_GTK=1
2803 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2805 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2810 cat >>confdefs.h <<\_ACEOF
2814 cat >>confdefs.h <<\_ACEOF
2818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2819 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2824 cat >>confdefs.h <<\_ACEOF
2828 cat >>confdefs.h <<\_ACEOF
2832 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2837 cat >>confdefs.h <<\_ACEOF
2841 cat >>confdefs.h <<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2851 cat >>confdefs.h <<\_ACEOF
2855 cat >>confdefs.h <<\_ACEOF
2859 cat >>confdefs.h <<\_ACEOF
2863 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __UNIXWARE__ 1
2876 *-*-cygwin* | *-*-mingw32* )
2878 DEFAULT_DEFAULT_wxUSE_MSW=1
2884 cat >>confdefs.h <<\_ACEOF
2889 DEFAULT_DEFAULT_wxUSE_MGL=1
2892 *-pc-os2_emx | *-pc-os2-emx )
2893 cat >>confdefs.h <<\_ACEOF
2898 cat >>confdefs.h <<\_ACEOF
2903 DEFAULT_DEFAULT_wxUSE_PM=1
2905 LDFLAGS="$LDFLAGS -Zcrtdll"
2906 ac_executable_extensions=".exe"
2907 export ac_executable_extensions
2911 for ac_dir in $PATH; do
2913 if test -z "$ac_TEMP_PATH"; then
2914 ac_TEMP_PATH="$ac_dir"
2916 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2919 export PATH="$ac_TEMP_PATH"
2927 cat >>confdefs.h <<\_ACEOF
2931 cat >>confdefs.h <<\_ACEOF
2932 #define __DARWIN__ 1
2935 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2941 cat >>confdefs.h <<\_ACEOF
2945 cat >>confdefs.h <<\_ACEOF
2946 #define __DARWIN__ 1
2949 cat >>confdefs.h <<\_ACEOF
2950 #define TARGET_CARBON 1
2953 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2958 cat >>confdefs.h <<\_ACEOF
2965 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2966 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2967 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2968 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2970 DEFAULT_DEFAULT_wxUSE_X11=1
2971 DEFAULT_wxUSE_SHARED=no
2976 DEFAULT_wxUSE_ALL_FEATURES=yes
2978 DEFAULT_wxUSE_STD_CONTAINERS=no
2979 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2980 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2982 DEFAULT_wxUSE_DMALLOC=no
2983 DEFAULT_wxUSE_LIBGNOMEVFS=no
2984 DEFAULT_wxUSE_LIBHILDON=no
2985 DEFAULT_wxUSE_LIBHILDON2=no
2986 DEFAULT_wxUSE_LIBMSPACK=no
2987 DEFAULT_wxUSE_LIBSDL=no
2989 DEFAULT_wxUSE_ACCESSIBILITY=no
2990 DEFAULT_wxUSE_IPV6=no
2991 DEFAULT_wxUSE_GSTREAMER8=no
2993 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2994 DEFAULT_wxUSE_UNICODE_UTF8=auto
2995 DEFAULT_wxUSE_OPENGL=auto
2996 DEFAULT_wxUSE_MEDIACTRL=auto
2997 DEFAULT_wxUSE_COMPILER_TLS=auto
2999 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3001 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3002 DEFAULT_wxUSE_MAC_ARCH=no
3004 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3006 DEFAULT_wxUSE_GTK2=yes
3008 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3014 enablestring=disable
3016 if test -z "$defaultval"; then
3017 if test x"$enablestring" = xdisable; then
3024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3025 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3026 # Check whether --enable-gui was given.
3027 if test "${enable_gui+set}" = set; then
3028 enableval=$enable_gui;
3029 if test "$enableval" = yes; then
3030 wx_cv_use_gui='wxUSE_GUI=yes'
3032 wx_cv_use_gui='wxUSE_GUI=no'
3037 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3042 eval "$wx_cv_use_gui"
3044 if test x"$enablestring" = xdisable; then
3045 if test $wxUSE_GUI = no; then
3054 { echo "$as_me:$LINENO: result: $result" >&5
3055 echo "${ECHO_T}$result" >&6; }
3060 if test -z "$defaultval"; then
3061 if test x"$enablestring" = xdisable; then
3068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3069 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3070 # Check whether --enable-monolithic was given.
3071 if test "${enable_monolithic+set}" = set; then
3072 enableval=$enable_monolithic;
3073 if test "$enableval" = yes; then
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3076 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3081 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3086 eval "$wx_cv_use_monolithic"
3088 if test x"$enablestring" = xdisable; then
3089 if test $wxUSE_MONOLITHIC = no; then
3095 result=$wxUSE_MONOLITHIC
3098 { echo "$as_me:$LINENO: result: $result" >&5
3099 echo "${ECHO_T}$result" >&6; }
3104 if test -z "$defaultval"; then
3105 if test x"$enablestring" = xdisable; then
3112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3113 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3114 # Check whether --enable-plugins was given.
3115 if test "${enable_plugins+set}" = set; then
3116 enableval=$enable_plugins;
3117 if test "$enableval" = yes; then
3118 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3120 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3125 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3130 eval "$wx_cv_use_plugins"
3132 if test x"$enablestring" = xdisable; then
3133 if test $wxUSE_PLUGINS = no; then
3139 result=$wxUSE_PLUGINS
3142 { echo "$as_me:$LINENO: result: $result" >&5
3143 echo "${ECHO_T}$result" >&6; }
3147 defaultval=$wxUSE_ALL_FEATURES
3148 if test -z "$defaultval"; then
3149 if test x"$withstring" = xwithout; then
3155 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3156 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3158 # Check whether --with-subdirs was given.
3159 if test "${with_subdirs+set}" = set; then
3160 withval=$with_subdirs;
3161 if test "$withval" = yes; then
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3164 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3169 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3174 eval "$wx_cv_use_subdirs"
3176 if test x"$withstring" = xwithout; then
3177 if test $wxWITH_SUBDIRS = yes; then
3183 result=$wxWITH_SUBDIRS
3186 { echo "$as_me:$LINENO: result: $result" >&5
3187 echo "${ECHO_T}$result" >&6; }
3190 # Check whether --with-flavour was given.
3191 if test "${with_flavour+set}" = set; then
3192 withval=$with_flavour; WX_FLAVOUR="$withval"
3198 if test -z "$defaultval"; then
3199 if test x"$enablestring" = xdisable; then
3206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3208 # Check whether --enable-official_build was given.
3209 if test "${enable_official_build+set}" = set; then
3210 enableval=$enable_official_build;
3211 if test "$enableval" = yes; then
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3219 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3224 eval "$wx_cv_use_official_build"
3226 if test x"$enablestring" = xdisable; then
3227 if test $wxUSE_OFFICIAL_BUILD = no; then
3233 result=$wxUSE_OFFICIAL_BUILD
3236 { echo "$as_me:$LINENO: result: $result" >&5
3237 echo "${ECHO_T}$result" >&6; }
3239 # Check whether --enable-vendor was given.
3240 if test "${enable_vendor+set}" = set; then
3241 enableval=$enable_vendor; VENDOR="$enableval"
3244 if test "x$VENDOR" = "x"; then
3249 enablestring=disable
3251 if test -z "$defaultval"; then
3252 if test x"$enablestring" = xdisable; then
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3261 # Check whether --enable-all-features was given.
3262 if test "${enable_all_features+set}" = set; then
3263 enableval=$enable_all_features;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3267 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3272 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3277 eval "$wx_cv_use_all_features"
3279 if test x"$enablestring" = xdisable; then
3280 if test $wxUSE_ALL_FEATURES = no; then
3286 result=$wxUSE_ALL_FEATURES
3289 { echo "$as_me:$LINENO: result: $result" >&5
3290 echo "${ECHO_T}$result" >&6; }
3293 if test "$wxUSE_ALL_FEATURES" = "no"; then
3294 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3295 DEFAULT_wxUSE_MEDIACTRL=no
3299 if test "$wxUSE_GUI" = "yes"; then
3304 if test -z "$defaultval"; then
3305 if test x"$enablestring" = xdisable; then
3312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3313 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3314 # Check whether --enable-universal was given.
3315 if test "${enable_universal+set}" = set; then
3316 enableval=$enable_universal;
3317 if test "$enableval" = yes; then
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3320 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3325 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3330 eval "$wx_cv_use_universal"
3332 if test x"$enablestring" = xdisable; then
3333 if test $wxUSE_UNIVERSAL = no; then
3339 result=$wxUSE_UNIVERSAL
3342 { echo "$as_me:$LINENO: result: $result" >&5
3343 echo "${ECHO_T}$result" >&6; }
3345 if test "$wxUSE_UNIVERSAL" = "yes"; then
3347 # Check whether --with-themes was given.
3348 if test "${with_themes+set}" = set; then
3349 withval=$with_themes; wxUNIV_THEMES="$withval"
3355 # Check whether --with-gtk was given.
3356 if test "${with_gtk+set}" = set; then
3357 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3361 # Check whether --with-motif was given.
3362 if test "${with_motif+set}" = set; then
3363 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3367 # Check whether --with-osx_carbon was given.
3368 if test "${with_osx_carbon+set}" = set; then
3369 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3373 # Check whether --with-osx_cocoa was given.
3374 if test "${with_osx_cocoa+set}" = set; then
3375 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3379 # Check whether --with-osx_iphone was given.
3380 if test "${with_osx_iphone+set}" = set; then
3381 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3385 # Check whether --with-osx was given.
3386 if test "${with_osx+set}" = set; then
3387 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3391 # Check whether --with-carbon was given.
3392 if test "${with_carbon+set}" = set; then
3393 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3397 # Check whether --with-cocoa was given.
3398 if test "${with_cocoa+set}" = set; then
3399 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3403 # Check whether --with-iphone was given.
3404 if test "${with_iphone+set}" = set; then
3405 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3409 # Check whether --with-mac was given.
3410 if test "${with_mac+set}" = set; then
3411 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3415 # Check whether --with-old_cocoa was given.
3416 if test "${with_old_cocoa+set}" = set; then
3417 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3421 # Check whether --with-wine was given.
3422 if test "${with_wine+set}" = set; then
3423 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3427 # Check whether --with-msw was given.
3428 if test "${with_msw+set}" = set; then
3429 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3433 # Check whether --with-pm was given.
3434 if test "${with_pm+set}" = set; then
3435 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3439 # Check whether --with-mgl was given.
3440 if test "${with_mgl+set}" = set; then
3441 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3445 # Check whether --with-directfb was given.
3446 if test "${with_directfb+set}" = set; then
3447 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3451 # Check whether --with-microwin was given.
3452 if test "${with_microwin+set}" = set; then
3453 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3457 # Check whether --with-x11 was given.
3458 if test "${with_x11+set}" = set; then
3459 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3465 if test -z "$defaultval"; then
3466 if test x"$enablestring" = xdisable; then
3473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3474 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3475 # Check whether --enable-nanox was given.
3476 if test "${enable_nanox+set}" = set; then
3477 enableval=$enable_nanox;
3478 if test "$enableval" = yes; then
3479 wx_cv_use_nanox='wxUSE_NANOX=yes'
3481 wx_cv_use_nanox='wxUSE_NANOX=no'
3486 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3491 eval "$wx_cv_use_nanox"
3493 if test x"$enablestring" = xdisable; then
3494 if test $wxUSE_NANOX = no; then
3503 { echo "$as_me:$LINENO: result: $result" >&5
3504 echo "${ECHO_T}$result" >&6; }
3507 # Check whether --enable-gtk2 was given.
3508 if test "${enable_gtk2+set}" = set; then
3509 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3515 if test -z "$defaultval"; then
3516 if test x"$enablestring" = xdisable; then
3523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3525 # Check whether --enable-gpe was given.
3526 if test "${enable_gpe+set}" = set; then
3527 enableval=$enable_gpe;
3528 if test "$enableval" = yes; then
3529 wx_cv_use_gpe='wxUSE_GPE=yes'
3531 wx_cv_use_gpe='wxUSE_GPE=no'
3536 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3541 eval "$wx_cv_use_gpe"
3543 if test x"$enablestring" = xdisable; then
3544 if test $wxUSE_GPE = no; then
3553 { echo "$as_me:$LINENO: result: $result" >&5
3554 echo "${ECHO_T}$result" >&6; }
3558 { echo "$as_me:$LINENO: checking for toolkit" >&5
3559 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3563 # In Wine, we need to default to MSW, not GTK or MOTIF
3564 if test "$wxUSE_WINE" = "yes"; then
3565 DEFAULT_DEFAULT_wxUSE_GTK=0
3566 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3567 DEFAULT_DEFAULT_wxUSE_MSW=1
3574 if test "$wxUSE_GUI" = "yes"; then
3576 if test "$USE_BEOS" = 1; then
3577 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3578 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3579 { (exit 1); exit 1; }; }
3582 if test "$TOOLKIT_GIVEN" = 1; then
3583 for toolkit in $ALL_TOOLKITS; do
3585 eval "value=\$${var}"
3586 if test "x$value" = "xno"; then
3588 elif test "x$value" != "x"; then
3592 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3593 eval "wx${toolkit}_VERSION=$value"
3597 for toolkit in $ALL_TOOLKITS; do
3598 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3599 eval "wxUSE_$toolkit=\$${var}"
3603 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3604 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3605 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3608 *-pc-os2_emx | *-pc-os2-emx )
3609 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3612 case "$NUM_TOOLKITS" in
3616 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3617 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3618 { (exit 1); exit 1; }; }
3621 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3622 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3623 { (exit 1); exit 1; }; }
3626 # to be removed when --disable-gtk2 isn't needed
3627 if test "x$wxUSE_GTK2" = "xyes"; then
3630 elif test "x$wxUSE_GTK2" = "xno"; then
3635 for toolkit in $ALL_TOOLKITS; do
3637 eval "value=\$${var}"
3638 if test "$value" = 1; then
3639 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3640 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3641 echo "${ECHO_T}$toolkit_echo" >&6; }
3645 if test "x$host_alias" != "x"; then
3646 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3647 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3649 { echo "$as_me:$LINENO: result: base only" >&5
3650 echo "${ECHO_T}base only" >&6; }
3655 if test "$wxUSE_OSX_CARBON" = 1 \
3656 -o "$wxUSE_OSX_COCOA" = 1 \
3657 -o "$wxUSE_OSX_IPHONE" = 1; then
3663 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3664 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3666 # Check whether --with-libpng was given.
3667 if test "${with_libpng+set}" = set; then
3668 withval=$with_libpng;
3669 if test "$withval" = yes; then
3670 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3671 elif test "$withval" = no; then
3672 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3673 elif test "$withval" = sys; then
3674 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3675 elif test "$withval" = builtin; then
3676 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3685 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3690 eval "$wx_cv_use_libpng"
3692 if test "$wxUSE_LIBPNG" = yes; then
3693 { echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6; }
3695 elif test "$wxUSE_LIBPNG" = no; then
3696 { echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6; }
3698 elif test "$wxUSE_LIBPNG" = sys; then
3699 { echo "$as_me:$LINENO: result: system version" >&5
3700 echo "${ECHO_T}system version" >&6; }
3701 elif test "$wxUSE_LIBPNG" = builtin; then
3702 { echo "$as_me:$LINENO: result: builtin version" >&5
3703 echo "${ECHO_T}builtin version" >&6; }
3705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3706 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3711 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3712 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3714 # Check whether --with-libjpeg was given.
3715 if test "${with_libjpeg+set}" = set; then
3716 withval=$with_libjpeg;
3717 if test "$withval" = yes; then
3718 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3719 elif test "$withval" = no; then
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3721 elif test "$withval" = sys; then
3722 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3723 elif test "$withval" = builtin; then
3724 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3727 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3733 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3738 eval "$wx_cv_use_libjpeg"
3740 if test "$wxUSE_LIBJPEG" = yes; then
3741 { echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6; }
3743 elif test "$wxUSE_LIBJPEG" = no; then
3744 { echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6; }
3746 elif test "$wxUSE_LIBJPEG" = sys; then
3747 { echo "$as_me:$LINENO: result: system version" >&5
3748 echo "${ECHO_T}system version" >&6; }
3749 elif test "$wxUSE_LIBJPEG" = builtin; then
3750 { echo "$as_me:$LINENO: result: builtin version" >&5
3751 echo "${ECHO_T}builtin version" >&6; }
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3759 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3760 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3762 # Check whether --with-libtiff was given.
3763 if test "${with_libtiff+set}" = set; then
3764 withval=$with_libtiff;
3765 if test "$withval" = yes; then
3766 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3767 elif test "$withval" = no; then
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3769 elif test "$withval" = sys; then
3770 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3771 elif test "$withval" = builtin; then
3772 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3774 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3775 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3776 { (exit 1); exit 1; }; }
3781 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3786 eval "$wx_cv_use_libtiff"
3788 if test "$wxUSE_LIBTIFF" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBTIFF" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBTIFF" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBTIFF" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3807 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3808 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3810 # Check whether --with-libxpm was given.
3811 if test "${with_libxpm+set}" = set; then
3812 withval=$with_libxpm;
3813 if test "$withval" = yes; then
3814 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3815 elif test "$withval" = no; then
3816 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3817 elif test "$withval" = sys; then
3818 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3819 elif test "$withval" = builtin; then
3820 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3823 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3824 { (exit 1); exit 1; }; }
3829 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3834 eval "$wx_cv_use_libxpm"
3836 if test "$wxUSE_LIBXPM" = yes; then
3837 { echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6; }
3839 elif test "$wxUSE_LIBXPM" = no; then
3840 { echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6; }
3842 elif test "$wxUSE_LIBXPM" = sys; then
3843 { echo "$as_me:$LINENO: result: system version" >&5
3844 echo "${ECHO_T}system version" >&6; }
3845 elif test "$wxUSE_LIBXPM" = builtin; then
3846 { echo "$as_me:$LINENO: result: builtin version" >&5
3847 echo "${ECHO_T}builtin version" >&6; }
3849 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3850 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3851 { (exit 1); exit 1; }; }
3856 defaultval=$wxUSE_ALL_FEATURES
3857 if test -z "$defaultval"; then
3858 if test x"$withstring" = xwithout; then
3864 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3865 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3867 # Check whether --with-libiconv was given.
3868 if test "${with_libiconv+set}" = set; then
3869 withval=$with_libiconv;
3870 if test "$withval" = yes; then
3871 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3873 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3878 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3883 eval "$wx_cv_use_libiconv"
3885 if test x"$withstring" = xwithout; then
3886 if test $wxUSE_LIBICONV = yes; then
3892 result=$wxUSE_LIBICONV
3895 { echo "$as_me:$LINENO: result: $result" >&5
3896 echo "${ECHO_T}$result" >&6; }
3900 defaultval=$wxUSE_ALL_FEATURES
3901 if test -z "$defaultval"; then
3902 if test x"$withstring" = xwithout; then
3908 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3909 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3911 # Check whether --with-libmspack was given.
3912 if test "${with_libmspack+set}" = set; then
3913 withval=$with_libmspack;
3914 if test "$withval" = yes; then
3915 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3917 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3922 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3927 eval "$wx_cv_use_libmspack"
3929 if test x"$withstring" = xwithout; then
3930 if test $wxUSE_LIBMSPACK = yes; then
3936 result=$wxUSE_LIBMSPACK
3939 { echo "$as_me:$LINENO: result: $result" >&5
3940 echo "${ECHO_T}$result" >&6; }
3944 defaultval=$wxUSE_ALL_FEATURES
3945 if test -z "$defaultval"; then
3946 if test x"$withstring" = xwithout; then
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3955 # Check whether --with-gtkprint was given.
3956 if test "${with_gtkprint+set}" = set; then
3957 withval=$with_gtkprint;
3958 if test "$withval" = yes; then
3959 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3961 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3966 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3971 eval "$wx_cv_use_gtkprint"
3973 if test x"$withstring" = xwithout; then
3974 if test $wxUSE_GTKPRINT = yes; then
3980 result=$wxUSE_GTKPRINT
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3988 defaultval=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x"$withstring" = xwithout; then
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3999 # Check whether --with-gnomeprint was given.
4000 if test "${with_gnomeprint+set}" = set; then
4001 withval=$with_gnomeprint;
4002 if test "$withval" = yes; then
4003 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4005 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4010 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4015 eval "$wx_cv_use_gnomeprint"
4017 if test x"$withstring" = xwithout; then
4018 if test $wxUSE_LIBGNOMEPRINT = yes; then
4024 result=$wxUSE_LIBGNOMEPRINT
4027 { echo "$as_me:$LINENO: result: $result" >&5
4028 echo "${ECHO_T}$result" >&6; }
4032 defaultval=$wxUSE_ALL_FEATURES
4033 if test -z "$defaultval"; then
4034 if test x"$withstring" = xwithout; then
4040 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4041 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4043 # Check whether --with-gnomevfs was given.
4044 if test "${with_gnomevfs+set}" = set; then
4045 withval=$with_gnomevfs;
4046 if test "$withval" = yes; then
4047 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4049 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4054 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4059 eval "$wx_cv_use_gnomevfs"
4061 if test x"$withstring" = xwithout; then
4062 if test $wxUSE_LIBGNOMEVFS = yes; then
4068 result=$wxUSE_LIBGNOMEVFS
4071 { echo "$as_me:$LINENO: result: $result" >&5
4072 echo "${ECHO_T}$result" >&6; }
4076 defaultval=$wxUSE_ALL_FEATURES
4077 if test -z "$defaultval"; then
4078 if test x"$withstring" = xwithout; then
4084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4085 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4087 # Check whether --with-hildon was given.
4088 if test "${with_hildon+set}" = set; then
4089 withval=$with_hildon;
4090 if test "$withval" = yes; then
4091 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4093 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4098 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4103 eval "$wx_cv_use_hildon"
4105 if test x"$withstring" = xwithout; then
4106 if test $wxUSE_LIBHILDON = yes; then
4112 result=$wxUSE_LIBHILDON
4115 { echo "$as_me:$LINENO: result: $result" >&5
4116 echo "${ECHO_T}$result" >&6; }
4120 defaultval=$wxUSE_ALL_FEATURES
4121 if test -z "$defaultval"; then
4122 if test x"$withstring" = xwithout; then
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4131 # Check whether --with-opengl was given.
4132 if test "${with_opengl+set}" = set; then
4133 withval=$with_opengl;
4134 if test "$withval" = yes; then
4135 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4137 wx_cv_use_opengl='wxUSE_OPENGL=no'
4142 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4147 eval "$wx_cv_use_opengl"
4149 if test x"$withstring" = xwithout; then
4150 if test $wxUSE_OPENGL = yes; then
4156 result=$wxUSE_OPENGL
4159 { echo "$as_me:$LINENO: result: $result" >&5
4160 echo "${ECHO_T}$result" >&6; }
4167 defaultval=$wxUSE_ALL_FEATURES
4168 if test -z "$defaultval"; then
4169 if test x"$withstring" = xwithout; then
4175 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4176 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4178 # Check whether --with-dmalloc was given.
4179 if test "${with_dmalloc+set}" = set; then
4180 withval=$with_dmalloc;
4181 if test "$withval" = yes; then
4182 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4184 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4189 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4194 eval "$wx_cv_use_dmalloc"
4196 if test x"$withstring" = xwithout; then
4197 if test $wxUSE_DMALLOC = yes; then
4203 result=$wxUSE_DMALLOC
4206 { echo "$as_me:$LINENO: result: $result" >&5
4207 echo "${ECHO_T}$result" >&6; }
4211 defaultval=$wxUSE_ALL_FEATURES
4212 if test -z "$defaultval"; then
4213 if test x"$withstring" = xwithout; then
4219 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4220 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4222 # Check whether --with-sdl was given.
4223 if test "${with_sdl+set}" = set; then
4225 if test "$withval" = yes; then
4226 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4228 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4233 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4238 eval "$wx_cv_use_sdl"
4240 if test x"$withstring" = xwithout; then
4241 if test $wxUSE_LIBSDL = yes; then
4247 result=$wxUSE_LIBSDL
4250 { echo "$as_me:$LINENO: result: $result" >&5
4251 echo "${ECHO_T}$result" >&6; }
4254 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4255 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4257 # Check whether --with-regex was given.
4258 if test "${with_regex+set}" = set; then
4259 withval=$with_regex;
4260 if test "$withval" = yes; then
4261 wx_cv_use_regex='wxUSE_REGEX=yes'
4262 elif test "$withval" = no; then
4263 wx_cv_use_regex='wxUSE_REGEX=no'
4264 elif test "$withval" = sys; then
4265 wx_cv_use_regex='wxUSE_REGEX=sys'
4266 elif test "$withval" = builtin; then
4267 wx_cv_use_regex='wxUSE_REGEX=builtin'
4269 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4270 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4271 { (exit 1); exit 1; }; }
4276 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4281 eval "$wx_cv_use_regex"
4283 if test "$wxUSE_REGEX" = yes; then
4284 { echo "$as_me:$LINENO: result: yes" >&5
4285 echo "${ECHO_T}yes" >&6; }
4286 elif test "$wxUSE_REGEX" = no; then
4287 { echo "$as_me:$LINENO: result: no" >&5
4288 echo "${ECHO_T}no" >&6; }
4289 elif test "$wxUSE_REGEX" = sys; then
4290 { echo "$as_me:$LINENO: result: system version" >&5
4291 echo "${ECHO_T}system version" >&6; }
4292 elif test "$wxUSE_REGEX" = builtin; then
4293 { echo "$as_me:$LINENO: result: builtin version" >&5
4294 echo "${ECHO_T}builtin version" >&6; }
4296 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4297 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4298 { (exit 1); exit 1; }; }
4302 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4303 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4305 # Check whether --with-zlib was given.
4306 if test "${with_zlib+set}" = set; then
4308 if test "$withval" = yes; then
4309 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4310 elif test "$withval" = no; then
4311 wx_cv_use_zlib='wxUSE_ZLIB=no'
4312 elif test "$withval" = sys; then
4313 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4314 elif test "$withval" = builtin; then
4315 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4319 { (exit 1); exit 1; }; }
4324 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4329 eval "$wx_cv_use_zlib"
4331 if test "$wxUSE_ZLIB" = yes; then
4332 { echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6; }
4334 elif test "$wxUSE_ZLIB" = no; then
4335 { echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6; }
4337 elif test "$wxUSE_ZLIB" = sys; then
4338 { echo "$as_me:$LINENO: result: system version" >&5
4339 echo "${ECHO_T}system version" >&6; }
4340 elif test "$wxUSE_ZLIB" = builtin; then
4341 { echo "$as_me:$LINENO: result: builtin version" >&5
4342 echo "${ECHO_T}builtin version" >&6; }
4344 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4345 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4346 { (exit 1); exit 1; }; }
4350 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4351 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4353 # Check whether --with-expat was given.
4354 if test "${with_expat+set}" = set; then
4355 withval=$with_expat;
4356 if test "$withval" = yes; then
4357 wx_cv_use_expat='wxUSE_EXPAT=yes'
4358 elif test "$withval" = no; then
4359 wx_cv_use_expat='wxUSE_EXPAT=no'
4360 elif test "$withval" = sys; then
4361 wx_cv_use_expat='wxUSE_EXPAT=sys'
4362 elif test "$withval" = builtin; then
4363 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4372 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4377 eval "$wx_cv_use_expat"
4379 if test "$wxUSE_EXPAT" = yes; then
4380 { echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6; }
4382 elif test "$wxUSE_EXPAT" = no; then
4383 { echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6; }
4385 elif test "$wxUSE_EXPAT" = sys; then
4386 { echo "$as_me:$LINENO: result: system version" >&5
4387 echo "${ECHO_T}system version" >&6; }
4388 elif test "$wxUSE_EXPAT" = builtin; then
4389 { echo "$as_me:$LINENO: result: builtin version" >&5
4390 echo "${ECHO_T}builtin version" >&6; }
4392 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4393 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4394 { (exit 1); exit 1; }; }
4398 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4399 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4401 # Check whether --with-macosx-sdk was given.
4402 if test "${with_macosx_sdk+set}" = set; then
4403 withval=$with_macosx_sdk;
4404 wxUSE_MACOSX_SDK=$withval
4405 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4409 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4410 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4412 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4413 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4415 # Check whether --with-macosx-version-min was given.
4416 if test "${with_macosx_version_min+set}" = set; then
4417 withval=$with_macosx_version_min;
4418 wxUSE_MACOSX_VERSION_MIN=$withval
4419 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4423 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4424 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4427 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4428 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4429 # Check whether --enable-debug was given.
4430 if test "${enable_debug+set}" = set; then
4431 enableval=$enable_debug;
4432 if test "$enableval" = yes; then
4434 elif test "$enableval" = no; then
4436 elif test "$enableval" = max; then
4438 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4440 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4441 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4442 { (exit 1); exit 1; }; }
4451 case "$wxUSE_DEBUG" in
4453 DEFAULT_wxUSE_DEBUG_FLAG=yes
4454 DEFAULT_wxUSE_DEBUG_INFO=yes
4456 DEFAULT_wxUSE_OPTIMISE=no
4460 DEFAULT_wxUSE_DEBUG_FLAG=no
4461 DEFAULT_wxUSE_DEBUG_INFO=no
4465 DEFAULT_wxUSE_DEBUG_FLAG=yes
4466 DEFAULT_wxUSE_DEBUG_INFO=no
4471 enablestring=disable
4473 if test -z "$defaultval"; then
4474 if test x"$enablestring" = xdisable; then
4481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4482 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4483 # Check whether --enable-debug_flag was given.
4484 if test "${enable_debug_flag+set}" = set; then
4485 enableval=$enable_debug_flag;
4486 if test "$enableval" = yes; then
4487 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4489 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4494 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4499 eval "$wx_cv_use_debug_flag"
4501 if test x"$enablestring" = xdisable; then
4502 if test $wxUSE_DEBUG_FLAG = no; then
4508 result=$wxUSE_DEBUG_FLAG
4511 { echo "$as_me:$LINENO: result: $result" >&5
4512 echo "${ECHO_T}$result" >&6; }
4517 if test -z "$defaultval"; then
4518 if test x"$enablestring" = xdisable; then
4525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4527 # Check whether --enable-debug_info was given.
4528 if test "${enable_debug_info+set}" = set; then
4529 enableval=$enable_debug_info;
4530 if test "$enableval" = yes; then
4531 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4533 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4538 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4543 eval "$wx_cv_use_debug_info"
4545 if test x"$enablestring" = xdisable; then
4546 if test $wxUSE_DEBUG_INFO = no; then
4552 result=$wxUSE_DEBUG_INFO
4555 { echo "$as_me:$LINENO: result: $result" >&5
4556 echo "${ECHO_T}$result" >&6; }
4563 if test -z "$defaultval"; then
4564 if test x"$enablestring" = xdisable; then
4571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4573 # Check whether --enable-debug_gdb was given.
4574 if test "${enable_debug_gdb+set}" = set; then
4575 enableval=$enable_debug_gdb;
4576 if test "$enableval" = yes; then
4577 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4579 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4584 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4589 eval "$wx_cv_use_debug_gdb"
4591 if test x"$enablestring" = xdisable; then
4592 if test $wxUSE_DEBUG_GDB = no; then
4598 result=$wxUSE_DEBUG_GDB
4601 { echo "$as_me:$LINENO: result: $result" >&5
4602 echo "${ECHO_T}$result" >&6; }
4607 if test -z "$defaultval"; then
4608 if test x"$enablestring" = xdisable; then
4615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4617 # Check whether --enable-debug_cntxt was given.
4618 if test "${enable_debug_cntxt+set}" = set; then
4619 enableval=$enable_debug_cntxt;
4620 if test "$enableval" = yes; then
4621 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4623 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4628 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4633 eval "$wx_cv_use_debug_cntxt"
4635 if test x"$enablestring" = xdisable; then
4636 if test $wxUSE_DEBUG_CONTEXT = no; then
4642 result=$wxUSE_DEBUG_CONTEXT
4645 { echo "$as_me:$LINENO: result: $result" >&5
4646 echo "${ECHO_T}$result" >&6; }
4651 if test -z "$defaultval"; then
4652 if test x"$enablestring" = xdisable; then
4659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4660 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4661 # Check whether --enable-mem_tracing was given.
4662 if test "${enable_mem_tracing+set}" = set; then
4663 enableval=$enable_mem_tracing;
4664 if test "$enableval" = yes; then
4665 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4667 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4672 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4677 eval "$wx_cv_use_mem_tracing"
4679 if test x"$enablestring" = xdisable; then
4680 if test $wxUSE_MEM_TRACING = no; then
4686 result=$wxUSE_MEM_TRACING
4689 { echo "$as_me:$LINENO: result: $result" >&5
4690 echo "${ECHO_T}$result" >&6; }
4695 enablestring=disable
4697 if test -z "$defaultval"; then
4698 if test x"$enablestring" = xdisable; then
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4707 # Check whether --enable-shared was given.
4708 if test "${enable_shared+set}" = set; then
4709 enableval=$enable_shared;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_shared='wxUSE_SHARED=yes'
4713 wx_cv_use_shared='wxUSE_SHARED=no'
4718 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4723 eval "$wx_cv_use_shared"
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_SHARED = no; then
4732 result=$wxUSE_SHARED
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4741 if test -z "$defaultval"; then
4742 if test x"$enablestring" = xdisable; then
4749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4751 # Check whether --enable-stl was given.
4752 if test "${enable_stl+set}" = set; then
4753 enableval=$enable_stl;
4754 if test "$enableval" = yes; then
4755 wx_cv_use_stl='wxUSE_STL=yes'
4757 wx_cv_use_stl='wxUSE_STL=no'
4762 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4767 eval "$wx_cv_use_stl"
4769 if test x"$enablestring" = xdisable; then
4770 if test $wxUSE_STL = no; then
4779 { echo "$as_me:$LINENO: result: $result" >&5
4780 echo "${ECHO_T}$result" >&6; }
4782 if test "$wxUSE_STL" = "yes"; then
4783 DEFAULT_wxUSE_STD_CONTAINERS=yes
4784 DEFAULT_wxUSE_STD_IOSTREAM=yes
4785 DEFAULT_wxUSE_STD_STRING=yes
4790 if test -z "$defaultval"; then
4791 if test x"$enablestring" = xdisable; then
4798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4799 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4800 # Check whether --enable-std_containers was given.
4801 if test "${enable_std_containers+set}" = set; then
4802 enableval=$enable_std_containers;
4803 if test "$enableval" = yes; then
4804 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4806 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4811 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4816 eval "$wx_cv_use_std_containers"
4818 if test x"$enablestring" = xdisable; then
4819 if test $wxUSE_STD_CONTAINERS = no; then
4825 result=$wxUSE_STD_CONTAINERS
4828 { echo "$as_me:$LINENO: result: $result" >&5
4829 echo "${ECHO_T}$result" >&6; }
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4844 # Check whether --enable-std_iostreams was given.
4845 if test "${enable_std_iostreams+set}" = set; then
4846 enableval=$enable_std_iostreams;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4850 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4855 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4860 eval "$wx_cv_use_std_iostreams"
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_STD_IOSTREAM = no; then
4869 result=$wxUSE_STD_IOSTREAM
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4878 if test -z "$defaultval"; then
4879 if test x"$enablestring" = xdisable; then
4886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4888 # Check whether --enable-std_string was given.
4889 if test "${enable_std_string+set}" = set; then
4890 enableval=$enable_std_string;
4891 if test "$enableval" = yes; then
4892 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4894 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4899 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4904 eval "$wx_cv_use_std_string"
4906 if test x"$enablestring" = xdisable; then
4907 if test $wxUSE_STD_STRING = no; then
4913 result=$wxUSE_STD_STRING
4916 { echo "$as_me:$LINENO: result: $result" >&5
4917 echo "${ECHO_T}$result" >&6; }
4922 if test -z "$defaultval"; then
4923 if test x"$enablestring" = xdisable; then
4930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4931 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4932 # Check whether --enable-std_string_conv_in_wxstring was given.
4933 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4934 enableval=$enable_std_string_conv_in_wxstring;
4935 if test "$enableval" = yes; then
4936 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4938 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4943 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4948 eval "$wx_cv_use_std_string_conv_in_wxstring"
4950 if test x"$enablestring" = xdisable; then
4951 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4957 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4960 { echo "$as_me:$LINENO: result: $result" >&5
4961 echo "${ECHO_T}$result" >&6; }
4964 enablestring=disable
4966 if test -z "$defaultval"; then
4967 if test x"$enablestring" = xdisable; then
4974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4975 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4976 # Check whether --enable-unicode was given.
4977 if test "${enable_unicode+set}" = set; then
4978 enableval=$enable_unicode;
4979 if test "$enableval" = yes; then
4980 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4982 wx_cv_use_unicode='wxUSE_UNICODE=no'
4987 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4992 eval "$wx_cv_use_unicode"
4994 if test x"$enablestring" = xdisable; then
4995 if test $wxUSE_UNICODE = no; then
5001 result=$wxUSE_UNICODE
5004 { echo "$as_me:$LINENO: result: $result" >&5
5005 echo "${ECHO_T}$result" >&6; }
5010 if test -z "$defaultval"; then
5011 if test x"$enablestring" = xdisable; then
5018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5020 # Check whether --enable-mslu was given.
5021 if test "${enable_mslu+set}" = set; then
5022 enableval=$enable_mslu;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5026 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5031 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5036 eval "$wx_cv_use_mslu"
5038 if test x"$enablestring" = xdisable; then
5039 if test $wxUSE_UNICODE_MSLU = no; then
5045 result=$wxUSE_UNICODE_MSLU
5048 { echo "$as_me:$LINENO: result: $result" >&5
5049 echo "${ECHO_T}$result" >&6; }
5053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5054 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5055 # Check whether --enable-utf8 was given.
5056 if test "${enable_utf8+set}" = set; then
5057 enableval=$enable_utf8;
5058 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5062 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5067 eval "$wx_cv_use_utf8"
5069 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5070 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5075 if test -z "$defaultval"; then
5076 if test x"$enablestring" = xdisable; then
5083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5085 # Check whether --enable-utf8only was given.
5086 if test "${enable_utf8only+set}" = set; then
5087 enableval=$enable_utf8only;
5088 if test "$enableval" = yes; then
5089 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5091 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5096 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5101 eval "$wx_cv_use_utf8only"
5103 if test x"$enablestring" = xdisable; then
5104 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5110 result=$wxUSE_UNICODE_UTF8_LOCALE
5113 { echo "$as_me:$LINENO: result: $result" >&5
5114 echo "${ECHO_T}$result" >&6; }
5119 if test -z "$defaultval"; then
5120 if test x"$enablestring" = xdisable; then
5127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5129 # Check whether --enable-extended_rtti was given.
5130 if test "${enable_extended_rtti+set}" = set; then
5131 enableval=$enable_extended_rtti;
5132 if test "$enableval" = yes; then
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5135 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5140 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5145 eval "$wx_cv_use_extended_rtti"
5147 if test x"$enablestring" = xdisable; then
5148 if test $wxUSE_EXTENDED_RTTI = no; then
5154 result=$wxUSE_EXTENDED_RTTI
5157 { echo "$as_me:$LINENO: result: $result" >&5
5158 echo "${ECHO_T}$result" >&6; }
5160 if test "$USE_OS2" = 1; then
5161 DEFAULT_wxUSE_OMF=no
5165 if test -z "$defaultval"; then
5166 if test x"$enablestring" = xdisable; then
5173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5175 # Check whether --enable-omf was given.
5176 if test "${enable_omf+set}" = set; then
5177 enableval=$enable_omf;
5178 if test "$enableval" = yes; then
5179 wx_cv_use_omf='wxUSE_OMF=yes'
5181 wx_cv_use_omf='wxUSE_OMF=no'
5186 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5191 eval "$wx_cv_use_omf"
5193 if test x"$enablestring" = xdisable; then
5194 if test $wxUSE_OMF = no; then
5203 { echo "$as_me:$LINENO: result: $result" >&5
5204 echo "${ECHO_T}$result" >&6; }
5209 enablestring=disable
5211 if test -z "$defaultval"; then
5212 if test x"$enablestring" = xdisable; then
5219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5221 # Check whether --enable-optimise was given.
5222 if test "${enable_optimise+set}" = set; then
5223 enableval=$enable_optimise;
5224 if test "$enableval" = yes; then
5225 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5227 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5232 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5237 eval "$wx_cv_use_optimise"
5239 if test x"$enablestring" = xdisable; then
5240 if test $wxUSE_OPTIMISE = no; then
5246 result=$wxUSE_OPTIMISE
5249 { echo "$as_me:$LINENO: result: $result" >&5
5250 echo "${ECHO_T}$result" >&6; }
5256 if test -z "$defaultval"; then
5257 if test x"$enablestring" = xdisable; then
5264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5265 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5266 # Check whether --enable-profile was given.
5267 if test "${enable_profile+set}" = set; then
5268 enableval=$enable_profile;
5269 if test "$enableval" = yes; then
5270 wx_cv_use_profile='wxUSE_PROFILE=yes'
5272 wx_cv_use_profile='wxUSE_PROFILE=no'
5277 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5282 eval "$wx_cv_use_profile"
5284 if test x"$enablestring" = xdisable; then
5285 if test $wxUSE_PROFILE = no; then
5291 result=$wxUSE_PROFILE
5294 { echo "$as_me:$LINENO: result: $result" >&5
5295 echo "${ECHO_T}$result" >&6; }
5300 if test -z "$defaultval"; then
5301 if test x"$enablestring" = xdisable; then
5308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5309 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5310 # Check whether --enable-no_rtti was given.
5311 if test "${enable_no_rtti+set}" = set; then
5312 enableval=$enable_no_rtti;
5313 if test "$enableval" = yes; then
5314 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5316 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5321 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5326 eval "$wx_cv_use_no_rtti"
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_NO_RTTI = no; then
5335 result=$wxUSE_NO_RTTI
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5354 # Check whether --enable-no_exceptions was given.
5355 if test "${enable_no_exceptions+set}" = set; then
5356 enableval=$enable_no_exceptions;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5360 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5365 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5370 eval "$wx_cv_use_no_exceptions"
5372 if test x"$enablestring" = xdisable; then
5373 if test $wxUSE_NO_EXCEPTIONS = no; then
5379 result=$wxUSE_NO_EXCEPTIONS
5382 { echo "$as_me:$LINENO: result: $result" >&5
5383 echo "${ECHO_T}$result" >&6; }
5388 if test -z "$defaultval"; then
5389 if test x"$enablestring" = xdisable; then
5396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5398 # Check whether --enable-permissive was given.
5399 if test "${enable_permissive+set}" = set; then
5400 enableval=$enable_permissive;
5401 if test "$enableval" = yes; then
5402 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5404 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5409 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5414 eval "$wx_cv_use_permissive"
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_PERMISSIVE = no; then
5423 result=$wxUSE_PERMISSIVE
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5432 if test -z "$defaultval"; then
5433 if test x"$enablestring" = xdisable; then
5440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5442 # Check whether --enable-no_deps was given.
5443 if test "${enable_no_deps+set}" = set; then
5444 enableval=$enable_no_deps;
5445 if test "$enableval" = yes; then
5446 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5448 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5453 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5458 eval "$wx_cv_use_no_deps"
5460 if test x"$enablestring" = xdisable; then
5461 if test $wxUSE_NO_DEPS = no; then
5467 result=$wxUSE_NO_DEPS
5470 { echo "$as_me:$LINENO: result: $result" >&5
5471 echo "${ECHO_T}$result" >&6; }
5474 enablestring=disable
5476 if test -z "$defaultval"; then
5477 if test x"$enablestring" = xdisable; then
5484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5486 # Check whether --enable-vararg_macros was given.
5487 if test "${enable_vararg_macros+set}" = set; then
5488 enableval=$enable_vararg_macros;
5489 if test "$enableval" = yes; then
5490 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5492 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5497 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5502 eval "$wx_cv_use_vararg_macros"
5504 if test x"$enablestring" = xdisable; then
5505 if test $wxUSE_VARARG_MACROS = no; then
5511 result=$wxUSE_VARARG_MACROS
5514 { echo "$as_me:$LINENO: result: $result" >&5
5515 echo "${ECHO_T}$result" >&6; }
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5522 # Check whether --enable-universal_binary was given.
5523 if test "${enable_universal_binary+set}" = set; then
5524 enableval=$enable_universal_binary;
5525 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5529 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5534 eval "$wx_cv_use_universal_binary"
5536 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5537 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5543 # Check whether --enable-macosx_arch was given.
5544 if test "${enable_macosx_arch+set}" = set; then
5545 enableval=$enable_macosx_arch;
5546 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5550 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5555 eval "$wx_cv_use_macosx_arch"
5557 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5558 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5564 if test -z "$defaultval"; then
5565 if test x"$enablestring" = xdisable; then
5572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5574 # Check whether --enable-compat26 was given.
5575 if test "${enable_compat26+set}" = set; then
5576 enableval=$enable_compat26;
5577 if test "$enableval" = yes; then
5578 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5580 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5585 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5590 eval "$wx_cv_use_compat26"
5592 if test x"$enablestring" = xdisable; then
5593 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5599 result=$WXWIN_COMPATIBILITY_2_6
5602 { echo "$as_me:$LINENO: result: $result" >&5
5603 echo "${ECHO_T}$result" >&6; }
5606 enablestring=disable
5608 if test -z "$defaultval"; then
5609 if test x"$enablestring" = xdisable; then
5616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5618 # Check whether --enable-compat28 was given.
5619 if test "${enable_compat28+set}" = set; then
5620 enableval=$enable_compat28;
5621 if test "$enableval" = yes; then
5622 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5624 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5629 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5634 eval "$wx_cv_use_compat28"
5636 if test x"$enablestring" = xdisable; then
5637 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5643 result=$WXWIN_COMPATIBILITY_2_8
5646 { echo "$as_me:$LINENO: result: $result" >&5
5647 echo "${ECHO_T}$result" >&6; }
5651 enablestring=disable
5653 if test -z "$defaultval"; then
5654 if test x"$enablestring" = xdisable; then
5661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5662 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5663 # Check whether --enable-rpath was given.
5664 if test "${enable_rpath+set}" = set; then
5665 enableval=$enable_rpath;
5666 if test "$enableval" = yes; then
5667 wx_cv_use_rpath='wxUSE_RPATH=yes'
5669 wx_cv_use_rpath='wxUSE_RPATH=no'
5674 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5679 eval "$wx_cv_use_rpath"
5681 if test x"$enablestring" = xdisable; then
5682 if test $wxUSE_RPATH = no; then
5691 { echo "$as_me:$LINENO: result: $result" >&5
5692 echo "${ECHO_T}$result" >&6; }
5698 if test -z "$defaultval"; then
5699 if test x"$enablestring" = xdisable; then
5706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5708 # Check whether --enable-objc_uniquifying was given.
5709 if test "${enable_objc_uniquifying+set}" = set; then
5710 enableval=$enable_objc_uniquifying;
5711 if test "$enableval" = yes; then
5712 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5714 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5719 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5724 eval "$wx_cv_use_objc_uniquifying"
5726 if test x"$enablestring" = xdisable; then
5727 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5733 result=$wxUSE_OBJC_UNIQUIFYING
5736 { echo "$as_me:$LINENO: result: $result" >&5
5737 echo "${ECHO_T}$result" >&6; }
5741 enablestring=disable
5743 if test -z "$defaultval"; then
5744 if test x"$enablestring" = xdisable; then
5751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5752 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5753 # Check whether --enable-visibility was given.
5754 if test "${enable_visibility+set}" = set; then
5755 enableval=$enable_visibility;
5756 if test "$enableval" = yes; then
5757 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5759 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5764 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5769 eval "$wx_cv_use_visibility"
5771 if test x"$enablestring" = xdisable; then
5772 if test $wxUSE_VISIBILITY = no; then
5778 result=$wxUSE_VISIBILITY
5781 { echo "$as_me:$LINENO: result: $result" >&5
5782 echo "${ECHO_T}$result" >&6; }
5785 enablestring=disable
5787 if test -z "$defaultval"; then
5788 if test x"$enablestring" = xdisable; then
5795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5796 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5797 # Check whether --enable-tls was given.
5798 if test "${enable_tls+set}" = set; then
5799 enableval=$enable_tls;
5800 if test "$enableval" = yes; then
5801 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5803 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5808 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5813 eval "$wx_cv_use_tls"
5815 if test x"$enablestring" = xdisable; then
5816 if test $wxUSE_COMPILER_TLS = no; then
5822 result=$wxUSE_COMPILER_TLS
5825 { echo "$as_me:$LINENO: result: $result" >&5
5826 echo "${ECHO_T}$result" >&6; }
5832 defaultval=$wxUSE_ALL_FEATURES
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5843 # Check whether --enable-intl was given.
5844 if test "${enable_intl+set}" = set; then
5845 enableval=$enable_intl;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_intl='wxUSE_INTL=yes'
5849 wx_cv_use_intl='wxUSE_INTL=no'
5854 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5859 eval "$wx_cv_use_intl"
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_INTL = no; then
5871 { echo "$as_me:$LINENO: result: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5876 defaultval=$wxUSE_ALL_FEATURES
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5887 # Check whether --enable-xlocale was given.
5888 if test "${enable_xlocale+set}" = set; then
5889 enableval=$enable_xlocale;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5893 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5898 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5903 eval "$wx_cv_use_xlocale"
5905 if test x"$enablestring" = xdisable; then
5906 if test $wxUSE_XLOCALE = no; then
5912 result=$wxUSE_XLOCALE
5915 { echo "$as_me:$LINENO: result: $result" >&5
5916 echo "${ECHO_T}$result" >&6; }
5920 defaultval=$wxUSE_ALL_FEATURES
5921 if test -z "$defaultval"; then
5922 if test x"$enablestring" = xdisable; then
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5931 # Check whether --enable-config was given.
5932 if test "${enable_config+set}" = set; then
5933 enableval=$enable_config;
5934 if test "$enableval" = yes; then
5935 wx_cv_use_config='wxUSE_CONFIG=yes'
5937 wx_cv_use_config='wxUSE_CONFIG=no'
5942 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5947 eval "$wx_cv_use_config"
5949 if test x"$enablestring" = xdisable; then
5950 if test $wxUSE_CONFIG = no; then
5956 result=$wxUSE_CONFIG
5959 { echo "$as_me:$LINENO: result: $result" >&5
5960 echo "${ECHO_T}$result" >&6; }
5965 defaultval=$wxUSE_ALL_FEATURES
5966 if test -z "$defaultval"; then
5967 if test x"$enablestring" = xdisable; then
5974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5976 # Check whether --enable-protocols was given.
5977 if test "${enable_protocols+set}" = set; then
5978 enableval=$enable_protocols;
5979 if test "$enableval" = yes; then
5980 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5982 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5987 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5992 eval "$wx_cv_use_protocols"
5994 if test x"$enablestring" = xdisable; then
5995 if test $wxUSE_PROTOCOL = no; then
6001 result=$wxUSE_PROTOCOL
6004 { echo "$as_me:$LINENO: result: $result" >&5
6005 echo "${ECHO_T}$result" >&6; }
6009 defaultval=$wxUSE_ALL_FEATURES
6010 if test -z "$defaultval"; then
6011 if test x"$enablestring" = xdisable; then
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6020 # Check whether --enable-ftp was given.
6021 if test "${enable_ftp+set}" = set; then
6022 enableval=$enable_ftp;
6023 if test "$enableval" = yes; then
6024 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6026 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6031 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6036 eval "$wx_cv_use_ftp"
6038 if test x"$enablestring" = xdisable; then
6039 if test $wxUSE_PROTOCOL_FTP = no; then
6045 result=$wxUSE_PROTOCOL_FTP
6048 { echo "$as_me:$LINENO: result: $result" >&5
6049 echo "${ECHO_T}$result" >&6; }
6053 defaultval=$wxUSE_ALL_FEATURES
6054 if test -z "$defaultval"; then
6055 if test x"$enablestring" = xdisable; then
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6064 # Check whether --enable-http was given.
6065 if test "${enable_http+set}" = set; then
6066 enableval=$enable_http;
6067 if test "$enableval" = yes; then
6068 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6070 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6075 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6080 eval "$wx_cv_use_http"
6082 if test x"$enablestring" = xdisable; then
6083 if test $wxUSE_PROTOCOL_HTTP = no; then
6089 result=$wxUSE_PROTOCOL_HTTP
6092 { echo "$as_me:$LINENO: result: $result" >&5
6093 echo "${ECHO_T}$result" >&6; }
6097 defaultval=$wxUSE_ALL_FEATURES
6098 if test -z "$defaultval"; then
6099 if test x"$enablestring" = xdisable; then
6106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6108 # Check whether --enable-fileproto was given.
6109 if test "${enable_fileproto+set}" = set; then
6110 enableval=$enable_fileproto;
6111 if test "$enableval" = yes; then
6112 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6114 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6119 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6124 eval "$wx_cv_use_fileproto"
6126 if test x"$enablestring" = xdisable; then
6127 if test $wxUSE_PROTOCOL_FILE = no; then
6133 result=$wxUSE_PROTOCOL_FILE
6136 { echo "$as_me:$LINENO: result: $result" >&5
6137 echo "${ECHO_T}$result" >&6; }
6141 defaultval=$wxUSE_ALL_FEATURES
6142 if test -z "$defaultval"; then
6143 if test x"$enablestring" = xdisable; then
6150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6151 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6152 # Check whether --enable-sockets was given.
6153 if test "${enable_sockets+set}" = set; then
6154 enableval=$enable_sockets;
6155 if test "$enableval" = yes; then
6156 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6158 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6163 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6168 eval "$wx_cv_use_sockets"
6170 if test x"$enablestring" = xdisable; then
6171 if test $wxUSE_SOCKETS = no; then
6177 result=$wxUSE_SOCKETS
6180 { echo "$as_me:$LINENO: result: $result" >&5
6181 echo "${ECHO_T}$result" >&6; }
6185 defaultval=$wxUSE_ALL_FEATURES
6186 if test -z "$defaultval"; then
6187 if test x"$enablestring" = xdisable; then
6194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6196 # Check whether --enable-ipv6 was given.
6197 if test "${enable_ipv6+set}" = set; then
6198 enableval=$enable_ipv6;
6199 if test "$enableval" = yes; then
6200 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6202 wx_cv_use_ipv6='wxUSE_IPV6=no'
6207 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6212 eval "$wx_cv_use_ipv6"
6214 if test x"$enablestring" = xdisable; then
6215 if test $wxUSE_IPV6 = no; then
6224 { echo "$as_me:$LINENO: result: $result" >&5
6225 echo "${ECHO_T}$result" >&6; }
6229 defaultval=$wxUSE_ALL_FEATURES
6230 if test -z "$defaultval"; then
6231 if test x"$enablestring" = xdisable; then
6238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6239 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6240 # Check whether --enable-ole was given.
6241 if test "${enable_ole+set}" = set; then
6242 enableval=$enable_ole;
6243 if test "$enableval" = yes; then
6244 wx_cv_use_ole='wxUSE_OLE=yes'
6246 wx_cv_use_ole='wxUSE_OLE=no'
6251 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6256 eval "$wx_cv_use_ole"
6258 if test x"$enablestring" = xdisable; then
6259 if test $wxUSE_OLE = no; then
6268 { echo "$as_me:$LINENO: result: $result" >&5
6269 echo "${ECHO_T}$result" >&6; }
6273 defaultval=$wxUSE_ALL_FEATURES
6274 if test -z "$defaultval"; then
6275 if test x"$enablestring" = xdisable; then
6282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6284 # Check whether --enable-dataobj was given.
6285 if test "${enable_dataobj+set}" = set; then
6286 enableval=$enable_dataobj;
6287 if test "$enableval" = yes; then
6288 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6290 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6295 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6300 eval "$wx_cv_use_dataobj"
6302 if test x"$enablestring" = xdisable; then
6303 if test $wxUSE_DATAOBJ = no; then
6309 result=$wxUSE_DATAOBJ
6312 { echo "$as_me:$LINENO: result: $result" >&5
6313 echo "${ECHO_T}$result" >&6; }
6318 defaultval=$wxUSE_ALL_FEATURES
6319 if test -z "$defaultval"; then
6320 if test x"$enablestring" = xdisable; then
6327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6329 # Check whether --enable-ipc was given.
6330 if test "${enable_ipc+set}" = set; then
6331 enableval=$enable_ipc;
6332 if test "$enableval" = yes; then
6333 wx_cv_use_ipc='wxUSE_IPC=yes'
6335 wx_cv_use_ipc='wxUSE_IPC=no'
6340 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6345 eval "$wx_cv_use_ipc"
6347 if test x"$enablestring" = xdisable; then
6348 if test $wxUSE_IPC = no; then
6357 { echo "$as_me:$LINENO: result: $result" >&5
6358 echo "${ECHO_T}$result" >&6; }
6363 defaultval=$wxUSE_ALL_FEATURES
6364 if test -z "$defaultval"; then
6365 if test x"$enablestring" = xdisable; then
6372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6374 # Check whether --enable-baseevtloop was given.
6375 if test "${enable_baseevtloop+set}" = set; then
6376 enableval=$enable_baseevtloop;
6377 if test "$enableval" = yes; then
6378 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6380 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6385 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6390 eval "$wx_cv_use_baseevtloop"
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6399 result=$wxUSE_CONSOLE_EVENTLOOP
6402 { echo "$as_me:$LINENO: result: $result" >&5
6403 echo "${ECHO_T}$result" >&6; }
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6418 # Check whether --enable-epollloop was given.
6419 if test "${enable_epollloop+set}" = set; then
6420 enableval=$enable_epollloop;
6421 if test "$enableval" = yes; then
6422 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6424 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6429 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6434 eval "$wx_cv_use_epollloop"
6436 if test x"$enablestring" = xdisable; then
6437 if test $wxUSE_EPOLL_DISPATCHER = no; then
6443 result=$wxUSE_EPOLL_DISPATCHER
6446 { echo "$as_me:$LINENO: result: $result" >&5
6447 echo "${ECHO_T}$result" >&6; }
6451 defaultval=$wxUSE_ALL_FEATURES
6452 if test -z "$defaultval"; then
6453 if test x"$enablestring" = xdisable; then
6460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6462 # Check whether --enable-selectloop was given.
6463 if test "${enable_selectloop+set}" = set; then
6464 enableval=$enable_selectloop;
6465 if test "$enableval" = yes; then
6466 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6468 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6473 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6478 eval "$wx_cv_use_selectloop"
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_SELECT_DISPATCHER = no; then
6487 result=$wxUSE_SELECT_DISPATCHER
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6496 defaultval=$wxUSE_ALL_FEATURES
6497 if test -z "$defaultval"; then
6498 if test x"$enablestring" = xdisable; then
6505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6506 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6507 # Check whether --enable-any was given.
6508 if test "${enable_any+set}" = set; then
6509 enableval=$enable_any;
6510 if test "$enableval" = yes; then
6511 wx_cv_use_any='wxUSE_ANY=yes'
6513 wx_cv_use_any='wxUSE_ANY=no'
6518 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6523 eval "$wx_cv_use_any"
6525 if test x"$enablestring" = xdisable; then
6526 if test $wxUSE_ANY = no; then
6535 { echo "$as_me:$LINENO: result: $result" >&5
6536 echo "${ECHO_T}$result" >&6; }
6540 defaultval=$wxUSE_ALL_FEATURES
6541 if test -z "$defaultval"; then
6542 if test x"$enablestring" = xdisable; then
6549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6551 # Check whether --enable-apple_ieee was given.
6552 if test "${enable_apple_ieee+set}" = set; then
6553 enableval=$enable_apple_ieee;
6554 if test "$enableval" = yes; then
6555 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6557 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6562 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6567 eval "$wx_cv_use_apple_ieee"
6569 if test x"$enablestring" = xdisable; then
6570 if test $wxUSE_APPLE_IEEE = no; then
6576 result=$wxUSE_APPLE_IEEE
6579 { echo "$as_me:$LINENO: result: $result" >&5
6580 echo "${ECHO_T}$result" >&6; }
6584 defaultval=$wxUSE_ALL_FEATURES
6585 if test -z "$defaultval"; then
6586 if test x"$enablestring" = xdisable; then
6593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6595 # Check whether --enable-arcstream was given.
6596 if test "${enable_arcstream+set}" = set; then
6597 enableval=$enable_arcstream;
6598 if test "$enableval" = yes; then
6599 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6601 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6606 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6611 eval "$wx_cv_use_arcstream"
6613 if test x"$enablestring" = xdisable; then
6614 if test $wxUSE_ARCHIVE_STREAMS = no; then
6620 result=$wxUSE_ARCHIVE_STREAMS
6623 { echo "$as_me:$LINENO: result: $result" >&5
6624 echo "${ECHO_T}$result" >&6; }
6628 defaultval=$wxUSE_ALL_FEATURES
6629 if test -z "$defaultval"; then
6630 if test x"$enablestring" = xdisable; then
6637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6639 # Check whether --enable-base64 was given.
6640 if test "${enable_base64+set}" = set; then
6641 enableval=$enable_base64;
6642 if test "$enableval" = yes; then
6643 wx_cv_use_base64='wxUSE_BASE64=yes'
6645 wx_cv_use_base64='wxUSE_BASE64=no'
6650 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6655 eval "$wx_cv_use_base64"
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_BASE64 = no; then
6664 result=$wxUSE_BASE64
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6672 defaultval=$wxUSE_ALL_FEATURES
6673 if test -z "$defaultval"; then
6674 if test x"$enablestring" = xdisable; then
6681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6683 # Check whether --enable-backtrace was given.
6684 if test "${enable_backtrace+set}" = set; then
6685 enableval=$enable_backtrace;
6686 if test "$enableval" = yes; then
6687 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6689 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6694 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6699 eval "$wx_cv_use_backtrace"
6701 if test x"$enablestring" = xdisable; then
6702 if test $wxUSE_STACKWALKER = no; then
6708 result=$wxUSE_STACKWALKER
6711 { echo "$as_me:$LINENO: result: $result" >&5
6712 echo "${ECHO_T}$result" >&6; }
6716 defaultval=$wxUSE_ALL_FEATURES
6717 if test -z "$defaultval"; then
6718 if test x"$enablestring" = xdisable; then
6725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6727 # Check whether --enable-catch_segvs was given.
6728 if test "${enable_catch_segvs+set}" = set; then
6729 enableval=$enable_catch_segvs;
6730 if test "$enableval" = yes; then
6731 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6733 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6738 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6743 eval "$wx_cv_use_catch_segvs"
6745 if test x"$enablestring" = xdisable; then
6746 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6752 result=$wxUSE_ON_FATAL_EXCEPTION
6755 { echo "$as_me:$LINENO: result: $result" >&5
6756 echo "${ECHO_T}$result" >&6; }
6760 defaultval=$wxUSE_ALL_FEATURES
6761 if test -z "$defaultval"; then
6762 if test x"$enablestring" = xdisable; then
6769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6771 # Check whether --enable-cmdline was given.
6772 if test "${enable_cmdline+set}" = set; then
6773 enableval=$enable_cmdline;
6774 if test "$enableval" = yes; then
6775 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6777 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6782 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6787 eval "$wx_cv_use_cmdline"
6789 if test x"$enablestring" = xdisable; then
6790 if test $wxUSE_CMDLINE_PARSER = no; then
6796 result=$wxUSE_CMDLINE_PARSER
6799 { echo "$as_me:$LINENO: result: $result" >&5
6800 echo "${ECHO_T}$result" >&6; }
6804 defaultval=$wxUSE_ALL_FEATURES
6805 if test -z "$defaultval"; then
6806 if test x"$enablestring" = xdisable; then
6813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6815 # Check whether --enable-datetime was given.
6816 if test "${enable_datetime+set}" = set; then
6817 enableval=$enable_datetime;
6818 if test "$enableval" = yes; then
6819 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6821 wx_cv_use_datetime='wxUSE_DATETIME=no'
6826 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6831 eval "$wx_cv_use_datetime"
6833 if test x"$enablestring" = xdisable; then
6834 if test $wxUSE_DATETIME = no; then
6840 result=$wxUSE_DATETIME
6843 { echo "$as_me:$LINENO: result: $result" >&5
6844 echo "${ECHO_T}$result" >&6; }
6848 defaultval=$wxUSE_ALL_FEATURES
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6859 # Check whether --enable-debugreport was given.
6860 if test "${enable_debugreport+set}" = set; then
6861 enableval=$enable_debugreport;
6862 if test "$enableval" = yes; then
6863 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6865 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6870 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6875 eval "$wx_cv_use_debugreport"
6877 if test x"$enablestring" = xdisable; then
6878 if test $wxUSE_DEBUGREPORT = no; then
6884 result=$wxUSE_DEBUGREPORT
6887 { echo "$as_me:$LINENO: result: $result" >&5
6888 echo "${ECHO_T}$result" >&6; }
6892 defaultval=$wxUSE_ALL_FEATURES
6893 if test -z "$defaultval"; then
6894 if test x"$enablestring" = xdisable; then
6901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6903 # Check whether --enable-dialupman was given.
6904 if test "${enable_dialupman+set}" = set; then
6905 enableval=$enable_dialupman;
6906 if test "$enableval" = yes; then
6907 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6909 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6914 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6919 eval "$wx_cv_use_dialupman"
6921 if test x"$enablestring" = xdisable; then
6922 if test $wxUSE_DIALUP_MANAGER = no; then
6928 result=$wxUSE_DIALUP_MANAGER
6931 { echo "$as_me:$LINENO: result: $result" >&5
6932 echo "${ECHO_T}$result" >&6; }
6936 defaultval=$wxUSE_ALL_FEATURES
6937 if test -z "$defaultval"; then
6938 if test x"$enablestring" = xdisable; then
6945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6947 # Check whether --enable-dynlib was given.
6948 if test "${enable_dynlib+set}" = set; then
6949 enableval=$enable_dynlib;
6950 if test "$enableval" = yes; then
6951 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6953 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6958 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6963 eval "$wx_cv_use_dynlib"
6965 if test x"$enablestring" = xdisable; then
6966 if test $wxUSE_DYNLIB_CLASS = no; then
6972 result=$wxUSE_DYNLIB_CLASS
6975 { echo "$as_me:$LINENO: result: $result" >&5
6976 echo "${ECHO_T}$result" >&6; }
6980 defaultval=$wxUSE_ALL_FEATURES
6981 if test -z "$defaultval"; then
6982 if test x"$enablestring" = xdisable; then
6989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6990 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6991 # Check whether --enable-dynamicloader was given.
6992 if test "${enable_dynamicloader+set}" = set; then
6993 enableval=$enable_dynamicloader;
6994 if test "$enableval" = yes; then
6995 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6997 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7002 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7007 eval "$wx_cv_use_dynamicloader"
7009 if test x"$enablestring" = xdisable; then
7010 if test $wxUSE_DYNAMIC_LOADER = no; then
7016 result=$wxUSE_DYNAMIC_LOADER
7019 { echo "$as_me:$LINENO: result: $result" >&5
7020 echo "${ECHO_T}$result" >&6; }
7024 defaultval=$wxUSE_ALL_FEATURES
7025 if test -z "$defaultval"; then
7026 if test x"$enablestring" = xdisable; then
7033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7034 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7035 # Check whether --enable-exceptions was given.
7036 if test "${enable_exceptions+set}" = set; then
7037 enableval=$enable_exceptions;
7038 if test "$enableval" = yes; then
7039 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7041 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7046 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7051 eval "$wx_cv_use_exceptions"
7053 if test x"$enablestring" = xdisable; then
7054 if test $wxUSE_EXCEPTIONS = no; then
7060 result=$wxUSE_EXCEPTIONS
7063 { echo "$as_me:$LINENO: result: $result" >&5
7064 echo "${ECHO_T}$result" >&6; }
7068 defaultval=$wxUSE_ALL_FEATURES
7069 if test -z "$defaultval"; then
7070 if test x"$enablestring" = xdisable; then
7077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7078 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7079 # Check whether --enable-ffile was given.
7080 if test "${enable_ffile+set}" = set; then
7081 enableval=$enable_ffile;
7082 if test "$enableval" = yes; then
7083 wx_cv_use_ffile='wxUSE_FFILE=yes'
7085 wx_cv_use_ffile='wxUSE_FFILE=no'
7090 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7095 eval "$wx_cv_use_ffile"
7097 if test x"$enablestring" = xdisable; then
7098 if test $wxUSE_FFILE = no; then
7107 { echo "$as_me:$LINENO: result: $result" >&5
7108 echo "${ECHO_T}$result" >&6; }
7112 defaultval=$wxUSE_ALL_FEATURES
7113 if test -z "$defaultval"; then
7114 if test x"$enablestring" = xdisable; then
7121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7123 # Check whether --enable-file was given.
7124 if test "${enable_file+set}" = set; then
7125 enableval=$enable_file;
7126 if test "$enableval" = yes; then
7127 wx_cv_use_file='wxUSE_FILE=yes'
7129 wx_cv_use_file='wxUSE_FILE=no'
7134 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7139 eval "$wx_cv_use_file"
7141 if test x"$enablestring" = xdisable; then
7142 if test $wxUSE_FILE = no; then
7151 { echo "$as_me:$LINENO: result: $result" >&5
7152 echo "${ECHO_T}$result" >&6; }
7156 defaultval=$wxUSE_ALL_FEATURES
7157 if test -z "$defaultval"; then
7158 if test x"$enablestring" = xdisable; then
7165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7167 # Check whether --enable-filehistory was given.
7168 if test "${enable_filehistory+set}" = set; then
7169 enableval=$enable_filehistory;
7170 if test "$enableval" = yes; then
7171 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7173 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7178 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7183 eval "$wx_cv_use_filehistory"
7185 if test x"$enablestring" = xdisable; then
7186 if test $wxUSE_FILE_HISTORY = no; then
7192 result=$wxUSE_FILE_HISTORY
7195 { echo "$as_me:$LINENO: result: $result" >&5
7196 echo "${ECHO_T}$result" >&6; }
7200 defaultval=$wxUSE_ALL_FEATURES
7201 if test -z "$defaultval"; then
7202 if test x"$enablestring" = xdisable; then
7209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7211 # Check whether --enable-filesystem was given.
7212 if test "${enable_filesystem+set}" = set; then
7213 enableval=$enable_filesystem;
7214 if test "$enableval" = yes; then
7215 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7217 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7222 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7227 eval "$wx_cv_use_filesystem"
7229 if test x"$enablestring" = xdisable; then
7230 if test $wxUSE_FILESYSTEM = no; then
7236 result=$wxUSE_FILESYSTEM
7239 { echo "$as_me:$LINENO: result: $result" >&5
7240 echo "${ECHO_T}$result" >&6; }
7244 defaultval=$wxUSE_ALL_FEATURES
7245 if test -z "$defaultval"; then
7246 if test x"$enablestring" = xdisable; then
7253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7255 # Check whether --enable-fontenum was given.
7256 if test "${enable_fontenum+set}" = set; then
7257 enableval=$enable_fontenum;
7258 if test "$enableval" = yes; then
7259 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7261 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7266 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7271 eval "$wx_cv_use_fontenum"
7273 if test x"$enablestring" = xdisable; then
7274 if test $wxUSE_FONTENUM = no; then
7280 result=$wxUSE_FONTENUM
7283 { echo "$as_me:$LINENO: result: $result" >&5
7284 echo "${ECHO_T}$result" >&6; }
7288 defaultval=$wxUSE_ALL_FEATURES
7289 if test -z "$defaultval"; then
7290 if test x"$enablestring" = xdisable; then
7297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7299 # Check whether --enable-fontmap was given.
7300 if test "${enable_fontmap+set}" = set; then
7301 enableval=$enable_fontmap;
7302 if test "$enableval" = yes; then
7303 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7305 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7310 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7315 eval "$wx_cv_use_fontmap"
7317 if test x"$enablestring" = xdisable; then
7318 if test $wxUSE_FONTMAP = no; then
7324 result=$wxUSE_FONTMAP
7327 { echo "$as_me:$LINENO: result: $result" >&5
7328 echo "${ECHO_T}$result" >&6; }
7332 defaultval=$wxUSE_ALL_FEATURES
7333 if test -z "$defaultval"; then
7334 if test x"$enablestring" = xdisable; then
7341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7343 # Check whether --enable-fs_archive was given.
7344 if test "${enable_fs_archive+set}" = set; then
7345 enableval=$enable_fs_archive;
7346 if test "$enableval" = yes; then
7347 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7349 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7354 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7359 eval "$wx_cv_use_fs_archive"
7361 if test x"$enablestring" = xdisable; then
7362 if test $wxUSE_FS_ARCHIVE = no; then
7368 result=$wxUSE_FS_ARCHIVE
7371 { echo "$as_me:$LINENO: result: $result" >&5
7372 echo "${ECHO_T}$result" >&6; }
7376 defaultval=$wxUSE_ALL_FEATURES
7377 if test -z "$defaultval"; then
7378 if test x"$enablestring" = xdisable; then
7385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7386 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7387 # Check whether --enable-fs_inet was given.
7388 if test "${enable_fs_inet+set}" = set; then
7389 enableval=$enable_fs_inet;
7390 if test "$enableval" = yes; then
7391 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7393 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7398 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7403 eval "$wx_cv_use_fs_inet"
7405 if test x"$enablestring" = xdisable; then
7406 if test $wxUSE_FS_INET = no; then
7412 result=$wxUSE_FS_INET
7415 { echo "$as_me:$LINENO: result: $result" >&5
7416 echo "${ECHO_T}$result" >&6; }
7420 defaultval=$wxUSE_ALL_FEATURES
7421 if test -z "$defaultval"; then
7422 if test x"$enablestring" = xdisable; then
7429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7431 # Check whether --enable-fs_zip was given.
7432 if test "${enable_fs_zip+set}" = set; then
7433 enableval=$enable_fs_zip;
7434 if test "$enableval" = yes; then
7435 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7437 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7442 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7447 eval "$wx_cv_use_fs_zip"
7449 if test x"$enablestring" = xdisable; then
7450 if test $wxUSE_FS_ZIP = no; then
7456 result=$wxUSE_FS_ZIP
7459 { echo "$as_me:$LINENO: result: $result" >&5
7460 echo "${ECHO_T}$result" >&6; }
7464 defaultval=$wxUSE_ALL_FEATURES
7465 if test -z "$defaultval"; then
7466 if test x"$enablestring" = xdisable; then
7473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7475 # Check whether --enable-fswatcher was given.
7476 if test "${enable_fswatcher+set}" = set; then
7477 enableval=$enable_fswatcher;
7478 if test "$enableval" = yes; then
7479 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7481 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7486 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7491 eval "$wx_cv_use_fswatcher"
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_FSWATCHER = no; then
7500 result=$wxUSE_FSWATCHER
7503 { echo "$as_me:$LINENO: result: $result" >&5
7504 echo "${ECHO_T}$result" >&6; }
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7518 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7519 # Check whether --enable-geometry was given.
7520 if test "${enable_geometry+set}" = set; then
7521 enableval=$enable_geometry;
7522 if test "$enableval" = yes; then
7523 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7525 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7530 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7535 eval "$wx_cv_use_geometry"
7537 if test x"$enablestring" = xdisable; then
7538 if test $wxUSE_GEOMETRY = no; then
7544 result=$wxUSE_GEOMETRY
7547 { echo "$as_me:$LINENO: result: $result" >&5
7548 echo "${ECHO_T}$result" >&6; }
7552 defaultval=$wxUSE_ALL_FEATURES
7553 if test -z "$defaultval"; then
7554 if test x"$enablestring" = xdisable; then
7561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7563 # Check whether --enable-log was given.
7564 if test "${enable_log+set}" = set; then
7565 enableval=$enable_log;
7566 if test "$enableval" = yes; then
7567 wx_cv_use_log='wxUSE_LOG=yes'
7569 wx_cv_use_log='wxUSE_LOG=no'
7574 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7579 eval "$wx_cv_use_log"
7581 if test x"$enablestring" = xdisable; then
7582 if test $wxUSE_LOG = no; then
7591 { echo "$as_me:$LINENO: result: $result" >&5
7592 echo "${ECHO_T}$result" >&6; }
7596 defaultval=$wxUSE_ALL_FEATURES
7597 if test -z "$defaultval"; then
7598 if test x"$enablestring" = xdisable; then
7605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7607 # Check whether --enable-longlong was given.
7608 if test "${enable_longlong+set}" = set; then
7609 enableval=$enable_longlong;
7610 if test "$enableval" = yes; then
7611 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7613 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7618 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7623 eval "$wx_cv_use_longlong"
7625 if test x"$enablestring" = xdisable; then
7626 if test $wxUSE_LONGLONG = no; then
7632 result=$wxUSE_LONGLONG
7635 { echo "$as_me:$LINENO: result: $result" >&5
7636 echo "${ECHO_T}$result" >&6; }
7640 defaultval=$wxUSE_ALL_FEATURES
7641 if test -z "$defaultval"; then
7642 if test x"$enablestring" = xdisable; then
7649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7651 # Check whether --enable-mimetype was given.
7652 if test "${enable_mimetype+set}" = set; then
7653 enableval=$enable_mimetype;
7654 if test "$enableval" = yes; then
7655 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7657 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7662 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7667 eval "$wx_cv_use_mimetype"
7669 if test x"$enablestring" = xdisable; then
7670 if test $wxUSE_MIMETYPE = no; then
7676 result=$wxUSE_MIMETYPE
7679 { echo "$as_me:$LINENO: result: $result" >&5
7680 echo "${ECHO_T}$result" >&6; }
7684 defaultval=$wxUSE_ALL_FEATURES
7685 if test -z "$defaultval"; then
7686 if test x"$enablestring" = xdisable; then
7693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7695 # Check whether --enable-printfposparam was given.
7696 if test "${enable_printfposparam+set}" = set; then
7697 enableval=$enable_printfposparam;
7698 if test "$enableval" = yes; then
7699 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7701 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7706 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7711 eval "$wx_cv_use_printfposparam"
7713 if test x"$enablestring" = xdisable; then
7714 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7720 result=$wxUSE_PRINTF_POS_PARAMS
7723 { echo "$as_me:$LINENO: result: $result" >&5
7724 echo "${ECHO_T}$result" >&6; }
7728 defaultval=$wxUSE_ALL_FEATURES
7729 if test -z "$defaultval"; then
7730 if test x"$enablestring" = xdisable; then
7737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7738 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7739 # Check whether --enable-snglinst was given.
7740 if test "${enable_snglinst+set}" = set; then
7741 enableval=$enable_snglinst;
7742 if test "$enableval" = yes; then
7743 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7745 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7750 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7755 eval "$wx_cv_use_snglinst"
7757 if test x"$enablestring" = xdisable; then
7758 if test $wxUSE_SNGLINST_CHECKER = no; then
7764 result=$wxUSE_SNGLINST_CHECKER
7767 { echo "$as_me:$LINENO: result: $result" >&5
7768 echo "${ECHO_T}$result" >&6; }
7772 defaultval=$wxUSE_ALL_FEATURES
7773 if test -z "$defaultval"; then
7774 if test x"$enablestring" = xdisable; then
7781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7782 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7783 # Check whether --enable-sound was given.
7784 if test "${enable_sound+set}" = set; then
7785 enableval=$enable_sound;
7786 if test "$enableval" = yes; then
7787 wx_cv_use_sound='wxUSE_SOUND=yes'
7789 wx_cv_use_sound='wxUSE_SOUND=no'
7794 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7799 eval "$wx_cv_use_sound"
7801 if test x"$enablestring" = xdisable; then
7802 if test $wxUSE_SOUND = no; then
7811 { echo "$as_me:$LINENO: result: $result" >&5
7812 echo "${ECHO_T}$result" >&6; }
7816 defaultval=$wxUSE_ALL_FEATURES
7817 if test -z "$defaultval"; then
7818 if test x"$enablestring" = xdisable; then
7825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7827 # Check whether --enable-stdpaths was given.
7828 if test "${enable_stdpaths+set}" = set; then
7829 enableval=$enable_stdpaths;
7830 if test "$enableval" = yes; then
7831 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7833 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7838 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7843 eval "$wx_cv_use_stdpaths"
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_STDPATHS = no; then
7852 result=$wxUSE_STDPATHS
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7871 # Check whether --enable-stopwatch was given.
7872 if test "${enable_stopwatch+set}" = set; then
7873 enableval=$enable_stopwatch;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7877 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7882 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7887 eval "$wx_cv_use_stopwatch"
7889 if test x"$enablestring" = xdisable; then
7890 if test $wxUSE_STOPWATCH = no; then
7896 result=$wxUSE_STOPWATCH
7899 { echo "$as_me:$LINENO: result: $result" >&5
7900 echo "${ECHO_T}$result" >&6; }
7904 defaultval=$wxUSE_ALL_FEATURES
7905 if test -z "$defaultval"; then
7906 if test x"$enablestring" = xdisable; then
7913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7915 # Check whether --enable-streams was given.
7916 if test "${enable_streams+set}" = set; then
7917 enableval=$enable_streams;
7918 if test "$enableval" = yes; then
7919 wx_cv_use_streams='wxUSE_STREAMS=yes'
7921 wx_cv_use_streams='wxUSE_STREAMS=no'
7926 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7931 eval "$wx_cv_use_streams"
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_STREAMS = no; then
7940 result=$wxUSE_STREAMS
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7959 # Check whether --enable-sysoptions was given.
7960 if test "${enable_sysoptions+set}" = set; then
7961 enableval=$enable_sysoptions;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7965 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7970 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7975 eval "$wx_cv_use_sysoptions"
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_SYSTEM_OPTIONS = no; then
7984 result=$wxUSE_SYSTEM_OPTIONS
7987 { echo "$as_me:$LINENO: result: $result" >&5
7988 echo "${ECHO_T}$result" >&6; }
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z "$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
8001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8003 # Check whether --enable-tarstream was given.
8004 if test "${enable_tarstream+set}" = set; then
8005 enableval=$enable_tarstream;
8006 if test "$enableval" = yes; then
8007 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8009 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8014 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8019 eval "$wx_cv_use_tarstream"
8021 if test x"$enablestring" = xdisable; then
8022 if test $wxUSE_TARSTREAM = no; then
8028 result=$wxUSE_TARSTREAM
8031 { echo "$as_me:$LINENO: result: $result" >&5
8032 echo "${ECHO_T}$result" >&6; }
8036 defaultval=$wxUSE_ALL_FEATURES
8037 if test -z "$defaultval"; then
8038 if test x"$enablestring" = xdisable; then
8045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8047 # Check whether --enable-textbuf was given.
8048 if test "${enable_textbuf+set}" = set; then
8049 enableval=$enable_textbuf;
8050 if test "$enableval" = yes; then
8051 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8053 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8058 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8063 eval "$wx_cv_use_textbuf"
8065 if test x"$enablestring" = xdisable; then
8066 if test $wxUSE_TEXTBUFFER = no; then
8072 result=$wxUSE_TEXTBUFFER
8075 { echo "$as_me:$LINENO: result: $result" >&5
8076 echo "${ECHO_T}$result" >&6; }
8080 defaultval=$wxUSE_ALL_FEATURES
8081 if test -z "$defaultval"; then
8082 if test x"$enablestring" = xdisable; then
8089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8091 # Check whether --enable-textfile was given.
8092 if test "${enable_textfile+set}" = set; then
8093 enableval=$enable_textfile;
8094 if test "$enableval" = yes; then
8095 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8097 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8102 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8107 eval "$wx_cv_use_textfile"
8109 if test x"$enablestring" = xdisable; then
8110 if test $wxUSE_TEXTFILE = no; then
8116 result=$wxUSE_TEXTFILE
8119 { echo "$as_me:$LINENO: result: $result" >&5
8120 echo "${ECHO_T}$result" >&6; }
8124 defaultval=$wxUSE_ALL_FEATURES
8125 if test -z "$defaultval"; then
8126 if test x"$enablestring" = xdisable; then
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8135 # Check whether --enable-timer was given.
8136 if test "${enable_timer+set}" = set; then
8137 enableval=$enable_timer;
8138 if test "$enableval" = yes; then
8139 wx_cv_use_timer='wxUSE_TIMER=yes'
8141 wx_cv_use_timer='wxUSE_TIMER=no'
8146 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8151 eval "$wx_cv_use_timer"
8153 if test x"$enablestring" = xdisable; then
8154 if test $wxUSE_TIMER = no; then
8163 { echo "$as_me:$LINENO: result: $result" >&5
8164 echo "${ECHO_T}$result" >&6; }
8168 defaultval=$wxUSE_ALL_FEATURES
8169 if test -z "$defaultval"; then
8170 if test x"$enablestring" = xdisable; then
8177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8179 # Check whether --enable-variant was given.
8180 if test "${enable_variant+set}" = set; then
8181 enableval=$enable_variant;
8182 if test "$enableval" = yes; then
8183 wx_cv_use_variant='wxUSE_VARIANT=yes'
8185 wx_cv_use_variant='wxUSE_VARIANT=no'
8190 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8195 eval "$wx_cv_use_variant"
8197 if test x"$enablestring" = xdisable; then
8198 if test $wxUSE_VARIANT = no; then
8204 result=$wxUSE_VARIANT
8207 { echo "$as_me:$LINENO: result: $result" >&5
8208 echo "${ECHO_T}$result" >&6; }
8212 defaultval=$wxUSE_ALL_FEATURES
8213 if test -z "$defaultval"; then
8214 if test x"$enablestring" = xdisable; then
8221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8223 # Check whether --enable-zipstream was given.
8224 if test "${enable_zipstream+set}" = set; then
8225 enableval=$enable_zipstream;
8226 if test "$enableval" = yes; then
8227 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8229 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8234 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8239 eval "$wx_cv_use_zipstream"
8241 if test x"$enablestring" = xdisable; then
8242 if test $wxUSE_ZIPSTREAM = no; then
8248 result=$wxUSE_ZIPSTREAM
8251 { echo "$as_me:$LINENO: result: $result" >&5
8252 echo "${ECHO_T}$result" >&6; }
8257 defaultval=$wxUSE_ALL_FEATURES
8258 if test -z "$defaultval"; then
8259 if test x"$enablestring" = xdisable; then
8266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8268 # Check whether --enable-url was given.
8269 if test "${enable_url+set}" = set; then
8270 enableval=$enable_url;
8271 if test "$enableval" = yes; then
8272 wx_cv_use_url='wxUSE_URL=yes'
8274 wx_cv_use_url='wxUSE_URL=no'
8279 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8284 eval "$wx_cv_use_url"
8286 if test x"$enablestring" = xdisable; then
8287 if test $wxUSE_URL = no; then
8296 { echo "$as_me:$LINENO: result: $result" >&5
8297 echo "${ECHO_T}$result" >&6; }
8301 defaultval=$wxUSE_ALL_FEATURES
8302 if test -z "$defaultval"; then
8303 if test x"$enablestring" = xdisable; then
8310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8312 # Check whether --enable-protocol was given.
8313 if test "${enable_protocol+set}" = set; then
8314 enableval=$enable_protocol;
8315 if test "$enableval" = yes; then
8316 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8318 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8323 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8328 eval "$wx_cv_use_protocol"
8330 if test x"$enablestring" = xdisable; then
8331 if test $wxUSE_PROTOCOL = no; then
8337 result=$wxUSE_PROTOCOL
8340 { echo "$as_me:$LINENO: result: $result" >&5
8341 echo "${ECHO_T}$result" >&6; }
8345 defaultval=$wxUSE_ALL_FEATURES
8346 if test -z "$defaultval"; then
8347 if test x"$enablestring" = xdisable; then
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8356 # Check whether --enable-protocol_http was given.
8357 if test "${enable_protocol_http+set}" = set; then
8358 enableval=$enable_protocol_http;
8359 if test "$enableval" = yes; then
8360 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8362 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8367 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8372 eval "$wx_cv_use_protocol_http"
8374 if test x"$enablestring" = xdisable; then
8375 if test $wxUSE_PROTOCOL_HTTP = no; then
8381 result=$wxUSE_PROTOCOL_HTTP
8384 { echo "$as_me:$LINENO: result: $result" >&5
8385 echo "${ECHO_T}$result" >&6; }
8389 defaultval=$wxUSE_ALL_FEATURES
8390 if test -z "$defaultval"; then
8391 if test x"$enablestring" = xdisable; then
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8400 # Check whether --enable-protocol_ftp was given.
8401 if test "${enable_protocol_ftp+set}" = set; then
8402 enableval=$enable_protocol_ftp;
8403 if test "$enableval" = yes; then
8404 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8406 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8411 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8416 eval "$wx_cv_use_protocol_ftp"
8418 if test x"$enablestring" = xdisable; then
8419 if test $wxUSE_PROTOCOL_FTP = no; then
8425 result=$wxUSE_PROTOCOL_FTP
8428 { echo "$as_me:$LINENO: result: $result" >&5
8429 echo "${ECHO_T}$result" >&6; }
8433 defaultval=$wxUSE_ALL_FEATURES
8434 if test -z "$defaultval"; then
8435 if test x"$enablestring" = xdisable; then
8442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8444 # Check whether --enable-protocol_file was given.
8445 if test "${enable_protocol_file+set}" = set; then
8446 enableval=$enable_protocol_file;
8447 if test "$enableval" = yes; then
8448 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8450 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8455 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8460 eval "$wx_cv_use_protocol_file"
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_PROTOCOL_FILE = no; then
8469 result=$wxUSE_PROTOCOL_FILE
8472 { echo "$as_me:$LINENO: result: $result" >&5
8473 echo "${ECHO_T}$result" >&6; }
8478 defaultval=$wxUSE_ALL_FEATURES
8479 if test -z "$defaultval"; then
8480 if test x"$enablestring" = xdisable; then
8487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8489 # Check whether --enable-threads was given.
8490 if test "${enable_threads+set}" = set; then
8491 enableval=$enable_threads;
8492 if test "$enableval" = yes; then
8493 wx_cv_use_threads='wxUSE_THREADS=yes'
8495 wx_cv_use_threads='wxUSE_THREADS=no'
8500 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8505 eval "$wx_cv_use_threads"
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_THREADS = no; then
8514 result=$wxUSE_THREADS
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8524 if test -z "$defaultval"; then
8525 if test x"$enablestring" = xdisable; then
8532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8534 # Check whether --enable-iniconf was given.
8535 if test "${enable_iniconf+set}" = set; then
8536 enableval=$enable_iniconf;
8537 if test "$enableval" = yes; then
8538 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8540 wx_cv_use_iniconf='wxUSE_INICONF=no'
8545 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8550 eval "$wx_cv_use_iniconf"
8552 if test x"$enablestring" = xdisable; then
8553 if test $wxUSE_INICONF = no; then
8559 result=$wxUSE_INICONF
8562 { echo "$as_me:$LINENO: result: $result" >&5
8563 echo "${ECHO_T}$result" >&6; }
8567 defaultval=$wxUSE_ALL_FEATURES
8568 if test -z "$defaultval"; then
8569 if test x"$enablestring" = xdisable; then
8576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8577 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8578 # Check whether --enable-regkey was given.
8579 if test "${enable_regkey+set}" = set; then
8580 enableval=$enable_regkey;
8581 if test "$enableval" = yes; then
8582 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8584 wx_cv_use_regkey='wxUSE_REGKEY=no'
8589 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8594 eval "$wx_cv_use_regkey"
8596 if test x"$enablestring" = xdisable; then
8597 if test $wxUSE_REGKEY = no; then
8603 result=$wxUSE_REGKEY
8606 { echo "$as_me:$LINENO: result: $result" >&5
8607 echo "${ECHO_T}$result" >&6; }
8610 if test "$wxUSE_GUI" = "yes"; then
8615 defaultval=$wxUSE_ALL_FEATURES
8616 if test -z "$defaultval"; then
8617 if test x"$enablestring" = xdisable; then
8624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8625 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8626 # Check whether --enable-docview was given.
8627 if test "${enable_docview+set}" = set; then
8628 enableval=$enable_docview;
8629 if test "$enableval" = yes; then
8630 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8632 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8637 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8642 eval "$wx_cv_use_docview"
8644 if test x"$enablestring" = xdisable; then
8645 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8651 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8654 { echo "$as_me:$LINENO: result: $result" >&5
8655 echo "${ECHO_T}$result" >&6; }
8659 defaultval=$wxUSE_ALL_FEATURES
8660 if test -z "$defaultval"; then
8661 if test x"$enablestring" = xdisable; then
8668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8669 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8670 # Check whether --enable-help was given.
8671 if test "${enable_help+set}" = set; then
8672 enableval=$enable_help;
8673 if test "$enableval" = yes; then
8674 wx_cv_use_help='wxUSE_HELP=yes'
8676 wx_cv_use_help='wxUSE_HELP=no'
8681 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8686 eval "$wx_cv_use_help"
8688 if test x"$enablestring" = xdisable; then
8689 if test $wxUSE_HELP = no; then
8698 { echo "$as_me:$LINENO: result: $result" >&5
8699 echo "${ECHO_T}$result" >&6; }
8703 defaultval=$wxUSE_ALL_FEATURES
8704 if test -z "$defaultval"; then
8705 if test x"$enablestring" = xdisable; then
8712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8714 # Check whether --enable-mshtmlhelp was given.
8715 if test "${enable_mshtmlhelp+set}" = set; then
8716 enableval=$enable_mshtmlhelp;
8717 if test "$enableval" = yes; then
8718 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8720 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8725 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8730 eval "$wx_cv_use_mshtmlhelp"
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_MS_HTML_HELP = no; then
8739 result=$wxUSE_MS_HTML_HELP
8742 { echo "$as_me:$LINENO: result: $result" >&5
8743 echo "${ECHO_T}$result" >&6; }
8747 defaultval=$wxUSE_ALL_FEATURES
8748 if test -z "$defaultval"; then
8749 if test x"$enablestring" = xdisable; then
8756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8758 # Check whether --enable-html was given.
8759 if test "${enable_html+set}" = set; then
8760 enableval=$enable_html;
8761 if test "$enableval" = yes; then
8762 wx_cv_use_html='wxUSE_HTML=yes'
8764 wx_cv_use_html='wxUSE_HTML=no'
8769 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8774 eval "$wx_cv_use_html"
8776 if test x"$enablestring" = xdisable; then
8777 if test $wxUSE_HTML = no; then
8786 { echo "$as_me:$LINENO: result: $result" >&5
8787 echo "${ECHO_T}$result" >&6; }
8791 defaultval=$wxUSE_ALL_FEATURES
8792 if test -z "$defaultval"; then
8793 if test x"$enablestring" = xdisable; then
8800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8801 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8802 # Check whether --enable-htmlhelp was given.
8803 if test "${enable_htmlhelp+set}" = set; then
8804 enableval=$enable_htmlhelp;
8805 if test "$enableval" = yes; then
8806 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8808 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8813 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8818 eval "$wx_cv_use_htmlhelp"
8820 if test x"$enablestring" = xdisable; then
8821 if test $wxUSE_WXHTML_HELP = no; then
8827 result=$wxUSE_WXHTML_HELP
8830 { echo "$as_me:$LINENO: result: $result" >&5
8831 echo "${ECHO_T}$result" >&6; }
8835 defaultval=$wxUSE_ALL_FEATURES
8836 if test -z "$defaultval"; then
8837 if test x"$enablestring" = xdisable; then
8844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8845 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8846 # Check whether --enable-xrc was given.
8847 if test "${enable_xrc+set}" = set; then
8848 enableval=$enable_xrc;
8849 if test "$enableval" = yes; then
8850 wx_cv_use_xrc='wxUSE_XRC=yes'
8852 wx_cv_use_xrc='wxUSE_XRC=no'
8857 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8862 eval "$wx_cv_use_xrc"
8864 if test x"$enablestring" = xdisable; then
8865 if test $wxUSE_XRC = no; then
8874 { echo "$as_me:$LINENO: result: $result" >&5
8875 echo "${ECHO_T}$result" >&6; }
8879 defaultval=$wxUSE_ALL_FEATURES
8880 if test -z "$defaultval"; then
8881 if test x"$enablestring" = xdisable; then
8888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8889 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8890 # Check whether --enable-aui was given.
8891 if test "${enable_aui+set}" = set; then
8892 enableval=$enable_aui;
8893 if test "$enableval" = yes; then
8894 wx_cv_use_aui='wxUSE_AUI=yes'
8896 wx_cv_use_aui='wxUSE_AUI=no'
8901 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8906 eval "$wx_cv_use_aui"
8908 if test x"$enablestring" = xdisable; then
8909 if test $wxUSE_AUI = no; then
8918 { echo "$as_me:$LINENO: result: $result" >&5
8919 echo "${ECHO_T}$result" >&6; }
8923 defaultval=$wxUSE_ALL_FEATURES
8924 if test -z "$defaultval"; then
8925 if test x"$enablestring" = xdisable; then
8932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8934 # Check whether --enable-propgrid was given.
8935 if test "${enable_propgrid+set}" = set; then
8936 enableval=$enable_propgrid;
8937 if test "$enableval" = yes; then
8938 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8940 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8945 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8950 eval "$wx_cv_use_propgrid"
8952 if test x"$enablestring" = xdisable; then
8953 if test $wxUSE_PROPGRID = no; then
8959 result=$wxUSE_PROPGRID
8962 { echo "$as_me:$LINENO: result: $result" >&5
8963 echo "${ECHO_T}$result" >&6; }
8967 defaultval=$wxUSE_ALL_FEATURES
8968 if test -z "$defaultval"; then
8969 if test x"$enablestring" = xdisable; then
8976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8978 # Check whether --enable-ribbon was given.
8979 if test "${enable_ribbon+set}" = set; then
8980 enableval=$enable_ribbon;
8981 if test "$enableval" = yes; then
8982 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8984 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8989 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8994 eval "$wx_cv_use_ribbon"
8996 if test x"$enablestring" = xdisable; then
8997 if test $wxUSE_RIBBON = no; then
9003 result=$wxUSE_RIBBON
9006 { echo "$as_me:$LINENO: result: $result" >&5
9007 echo "${ECHO_T}$result" >&6; }
9011 defaultval=$wxUSE_ALL_FEATURES
9012 if test -z "$defaultval"; then
9013 if test x"$enablestring" = xdisable; then
9020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9022 # Check whether --enable-stc was given.
9023 if test "${enable_stc+set}" = set; then
9024 enableval=$enable_stc;
9025 if test "$enableval" = yes; then
9026 wx_cv_use_stc='wxUSE_STC=yes'
9028 wx_cv_use_stc='wxUSE_STC=no'
9033 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9038 eval "$wx_cv_use_stc"
9040 if test x"$enablestring" = xdisable; then
9041 if test $wxUSE_STC = no; then
9050 { echo "$as_me:$LINENO: result: $result" >&5
9051 echo "${ECHO_T}$result" >&6; }
9055 defaultval=$wxUSE_ALL_FEATURES
9056 if test -z "$defaultval"; then
9057 if test x"$enablestring" = xdisable; then
9064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9065 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9066 # Check whether --enable-constraints was given.
9067 if test "${enable_constraints+set}" = set; then
9068 enableval=$enable_constraints;
9069 if test "$enableval" = yes; then
9070 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9072 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9077 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9082 eval "$wx_cv_use_constraints"
9084 if test x"$enablestring" = xdisable; then
9085 if test $wxUSE_CONSTRAINTS = no; then
9091 result=$wxUSE_CONSTRAINTS
9094 { echo "$as_me:$LINENO: result: $result" >&5
9095 echo "${ECHO_T}$result" >&6; }
9099 defaultval=$wxUSE_ALL_FEATURES
9100 if test -z "$defaultval"; then
9101 if test x"$enablestring" = xdisable; then
9108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9109 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9110 # Check whether --enable-loggui was given.
9111 if test "${enable_loggui+set}" = set; then
9112 enableval=$enable_loggui;
9113 if test "$enableval" = yes; then
9114 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9116 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9121 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9126 eval "$wx_cv_use_loggui"
9128 if test x"$enablestring" = xdisable; then
9129 if test $wxUSE_LOGGUI = no; then
9135 result=$wxUSE_LOGGUI
9138 { echo "$as_me:$LINENO: result: $result" >&5
9139 echo "${ECHO_T}$result" >&6; }
9143 defaultval=$wxUSE_ALL_FEATURES
9144 if test -z "$defaultval"; then
9145 if test x"$enablestring" = xdisable; then
9152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9153 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9154 # Check whether --enable-logwin was given.
9155 if test "${enable_logwin+set}" = set; then
9156 enableval=$enable_logwin;
9157 if test "$enableval" = yes; then
9158 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9160 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9165 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9170 eval "$wx_cv_use_logwin"
9172 if test x"$enablestring" = xdisable; then
9173 if test $wxUSE_LOGWINDOW = no; then
9179 result=$wxUSE_LOGWINDOW
9182 { echo "$as_me:$LINENO: result: $result" >&5
9183 echo "${ECHO_T}$result" >&6; }
9187 defaultval=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x"$enablestring" = xdisable; then
9196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9198 # Check whether --enable-logdialog was given.
9199 if test "${enable_logdialog+set}" = set; then
9200 enableval=$enable_logdialog;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9204 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9209 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9214 eval "$wx_cv_use_logdialog"
9216 if test x"$enablestring" = xdisable; then
9217 if test $wxUSE_LOGDIALOG = no; then
9223 result=$wxUSE_LOGDIALOG
9226 { echo "$as_me:$LINENO: result: $result" >&5
9227 echo "${ECHO_T}$result" >&6; }
9231 defaultval=$wxUSE_ALL_FEATURES
9232 if test -z "$defaultval"; then
9233 if test x"$enablestring" = xdisable; then
9240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9241 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9242 # Check whether --enable-mdi was given.
9243 if test "${enable_mdi+set}" = set; then
9244 enableval=$enable_mdi;
9245 if test "$enableval" = yes; then
9246 wx_cv_use_mdi='wxUSE_MDI=yes'
9248 wx_cv_use_mdi='wxUSE_MDI=no'
9253 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9258 eval "$wx_cv_use_mdi"
9260 if test x"$enablestring" = xdisable; then
9261 if test $wxUSE_MDI = no; then
9270 { echo "$as_me:$LINENO: result: $result" >&5
9271 echo "${ECHO_T}$result" >&6; }
9275 defaultval=$wxUSE_ALL_FEATURES
9276 if test -z "$defaultval"; then
9277 if test x"$enablestring" = xdisable; then
9284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9286 # Check whether --enable-mdidoc was given.
9287 if test "${enable_mdidoc+set}" = set; then
9288 enableval=$enable_mdidoc;
9289 if test "$enableval" = yes; then
9290 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9292 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9297 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9302 eval "$wx_cv_use_mdidoc"
9304 if test x"$enablestring" = xdisable; then
9305 if test $wxUSE_MDI_ARCHITECTURE = no; then
9311 result=$wxUSE_MDI_ARCHITECTURE
9314 { echo "$as_me:$LINENO: result: $result" >&5
9315 echo "${ECHO_T}$result" >&6; }
9319 defaultval=$wxUSE_ALL_FEATURES
9320 if test -z "$defaultval"; then
9321 if test x"$enablestring" = xdisable; then
9328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9329 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9330 # Check whether --enable-mediactrl was given.
9331 if test "${enable_mediactrl+set}" = set; then
9332 enableval=$enable_mediactrl;
9333 if test "$enableval" = yes; then
9334 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9336 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9341 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9346 eval "$wx_cv_use_mediactrl"
9348 if test x"$enablestring" = xdisable; then
9349 if test $wxUSE_MEDIACTRL = no; then
9355 result=$wxUSE_MEDIACTRL
9358 { echo "$as_me:$LINENO: result: $result" >&5
9359 echo "${ECHO_T}$result" >&6; }
9363 defaultval=$wxUSE_ALL_FEATURES
9364 if test -z "$defaultval"; then
9365 if test x"$enablestring" = xdisable; then
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9374 # Check whether --enable-gstreamer8 was given.
9375 if test "${enable_gstreamer8+set}" = set; then
9376 enableval=$enable_gstreamer8;
9377 if test "$enableval" = yes; then
9378 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9380 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9385 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9390 eval "$wx_cv_use_gstreamer8"
9392 if test x"$enablestring" = xdisable; then
9393 if test $wxUSE_GSTREAMER8 = no; then
9399 result=$wxUSE_GSTREAMER8
9402 { echo "$as_me:$LINENO: result: $result" >&5
9403 echo "${ECHO_T}$result" >&6; }
9407 defaultval=$wxUSE_ALL_FEATURES
9408 if test -z "$defaultval"; then
9409 if test x"$enablestring" = xdisable; then
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9418 # Check whether --enable-webkit was given.
9419 if test "${enable_webkit+set}" = set; then
9420 enableval=$enable_webkit;
9421 if test "$enableval" = yes; then
9422 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9424 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9429 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9434 eval "$wx_cv_use_webkit"
9436 if test x"$enablestring" = xdisable; then
9437 if test $wxUSE_WEBKIT = no; then
9443 result=$wxUSE_WEBKIT
9446 { echo "$as_me:$LINENO: result: $result" >&5
9447 echo "${ECHO_T}$result" >&6; }
9451 defaultval=$wxUSE_ALL_FEATURES
9452 if test -z "$defaultval"; then
9453 if test x"$enablestring" = xdisable; then
9460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9461 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9462 # Check whether --enable-richtext was given.
9463 if test "${enable_richtext+set}" = set; then
9464 enableval=$enable_richtext;
9465 if test "$enableval" = yes; then
9466 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9468 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9473 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9478 eval "$wx_cv_use_richtext"
9480 if test x"$enablestring" = xdisable; then
9481 if test $wxUSE_RICHTEXT = no; then
9487 result=$wxUSE_RICHTEXT
9490 { echo "$as_me:$LINENO: result: $result" >&5
9491 echo "${ECHO_T}$result" >&6; }
9495 defaultval=$wxUSE_ALL_FEATURES
9496 if test -z "$defaultval"; then
9497 if test x"$enablestring" = xdisable; then
9504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9505 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9506 # Check whether --enable-postscript was given.
9507 if test "${enable_postscript+set}" = set; then
9508 enableval=$enable_postscript;
9509 if test "$enableval" = yes; then
9510 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9512 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9517 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9522 eval "$wx_cv_use_postscript"
9524 if test x"$enablestring" = xdisable; then
9525 if test $wxUSE_POSTSCRIPT = no; then
9531 result=$wxUSE_POSTSCRIPT
9534 { echo "$as_me:$LINENO: result: $result" >&5
9535 echo "${ECHO_T}$result" >&6; }
9539 defaultval=$wxUSE_ALL_FEATURES
9540 if test -z "$defaultval"; then
9541 if test x"$enablestring" = xdisable; then
9548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9549 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9550 # Check whether --enable-printarch was given.
9551 if test "${enable_printarch+set}" = set; then
9552 enableval=$enable_printarch;
9553 if test "$enableval" = yes; then
9554 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9556 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9561 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9566 eval "$wx_cv_use_printarch"
9568 if test x"$enablestring" = xdisable; then
9569 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9575 result=$wxUSE_PRINTING_ARCHITECTURE
9578 { echo "$as_me:$LINENO: result: $result" >&5
9579 echo "${ECHO_T}$result" >&6; }
9583 defaultval=$wxUSE_ALL_FEATURES
9584 if test -z "$defaultval"; then
9585 if test x"$enablestring" = xdisable; then
9592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9594 # Check whether --enable-svg was given.
9595 if test "${enable_svg+set}" = set; then
9596 enableval=$enable_svg;
9597 if test "$enableval" = yes; then
9598 wx_cv_use_svg='wxUSE_SVG=yes'
9600 wx_cv_use_svg='wxUSE_SVG=no'
9605 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9610 eval "$wx_cv_use_svg"
9612 if test x"$enablestring" = xdisable; then
9613 if test $wxUSE_SVG = no; then
9622 { echo "$as_me:$LINENO: result: $result" >&5
9623 echo "${ECHO_T}$result" >&6; }
9626 if test "$wxUSE_MAC" != 1; then
9629 defaultval=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x"$enablestring" = xdisable; then
9638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9640 # Check whether --enable-graphics_ctx was given.
9641 if test "${enable_graphics_ctx+set}" = set; then
9642 enableval=$enable_graphics_ctx;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9646 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9651 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9656 eval "$wx_cv_use_graphics_ctx"
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9665 result=$wxUSE_GRAPHICS_CONTEXT
9668 { echo "$as_me:$LINENO: result: $result" >&5
9669 echo "${ECHO_T}$result" >&6; }
9676 defaultval=$wxUSE_ALL_FEATURES
9677 if test -z "$defaultval"; then
9678 if test x"$enablestring" = xdisable; then
9685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9686 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9687 # Check whether --enable-clipboard was given.
9688 if test "${enable_clipboard+set}" = set; then
9689 enableval=$enable_clipboard;
9690 if test "$enableval" = yes; then
9691 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9693 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9698 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9703 eval "$wx_cv_use_clipboard"
9705 if test x"$enablestring" = xdisable; then
9706 if test $wxUSE_CLIPBOARD = no; then
9712 result=$wxUSE_CLIPBOARD
9715 { echo "$as_me:$LINENO: result: $result" >&5
9716 echo "${ECHO_T}$result" >&6; }
9720 defaultval=$wxUSE_ALL_FEATURES
9721 if test -z "$defaultval"; then
9722 if test x"$enablestring" = xdisable; then
9729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9730 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9731 # Check whether --enable-dnd was given.
9732 if test "${enable_dnd+set}" = set; then
9733 enableval=$enable_dnd;
9734 if test "$enableval" = yes; then
9735 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9737 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9742 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9747 eval "$wx_cv_use_dnd"
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_DRAG_AND_DROP = no; then
9756 result=$wxUSE_DRAG_AND_DROP
9759 { echo "$as_me:$LINENO: result: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9764 defaultval=$wxUSE_ALL_FEATURES
9765 if test -z "$defaultval"; then
9766 if test x"$enablestring" = xdisable; then
9773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9775 # Check whether --enable-metafile was given.
9776 if test "${enable_metafile+set}" = set; then
9777 enableval=$enable_metafile;
9778 if test "$enableval" = yes; then
9779 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9781 wx_cv_use_metafile='wxUSE_METAFILE=no'
9786 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9791 eval "$wx_cv_use_metafile"
9793 if test x"$enablestring" = xdisable; then
9794 if test $wxUSE_METAFILE = no; then
9800 result=$wxUSE_METAFILE
9803 { echo "$as_me:$LINENO: result: $result" >&5
9804 echo "${ECHO_T}$result" >&6; }
9808 DEFAULT_wxUSE_CONTROLS=none
9810 enablestring=disable
9812 if test -z "$defaultval"; then
9813 if test x"$enablestring" = xdisable; then
9820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9822 # Check whether --enable-controls was given.
9823 if test "${enable_controls+set}" = set; then
9824 enableval=$enable_controls;
9825 if test "$enableval" = yes; then
9826 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9828 wx_cv_use_controls='wxUSE_CONTROLS=no'
9833 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9838 eval "$wx_cv_use_controls"
9840 if test x"$enablestring" = xdisable; then
9841 if test $wxUSE_CONTROLS = no; then
9847 result=$wxUSE_CONTROLS
9850 { echo "$as_me:$LINENO: result: $result" >&5
9851 echo "${ECHO_T}$result" >&6; }
9854 if test "$wxUSE_CONTROLS" = "no"; then
9855 DEFAULT_wxUSE_ACCEL=no
9856 DEFAULT_wxUSE_ANIMATIONCTRL=no
9857 DEFAULT_wxUSE_BANNERWINDOW=no
9858 DEFAULT_wxUSE_BMPBUTTON=no
9859 DEFAULT_wxUSE_BUTTON=no
9860 DEFAULT_wxUSE_CALCTRL=no
9861 DEFAULT_wxUSE_CARET=no
9862 DEFAULT_wxUSE_CHECKBOX=no
9863 DEFAULT_wxUSE_CHECKLISTBOX=no
9864 DEFAULT_wxUSE_CHOICE=no
9865 DEFAULT_wxUSE_CHOICEBOOK=no
9866 DEFAULT_wxUSE_COLLPANE=no
9867 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9868 DEFAULT_wxUSE_COMBOBOX=no
9869 DEFAULT_wxUSE_COMBOBOX=no
9870 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9871 DEFAULT_wxUSE_DATAVIEWCTRL=no
9872 DEFAULT_wxUSE_DATEPICKCTRL=no
9873 DEFAULT_wxUSE_DETECT_SM=no
9874 DEFAULT_wxUSE_DIRPICKERCTRL=no
9875 DEFAULT_wxUSE_DISPLAY=no
9876 DEFAULT_wxUSE_FILECTRL=no
9877 DEFAULT_wxUSE_FILEPICKERCTRL=no
9878 DEFAULT_wxUSE_FONTPICKERCTRL=no
9879 DEFAULT_wxUSE_GAUGE=no
9880 DEFAULT_wxUSE_GRID=no
9881 DEFAULT_wxUSE_HEADERCTRL=no
9882 DEFAULT_wxUSE_HYPERLINKCTRL=no
9883 DEFAULT_wxUSE_IMAGLIST=no
9884 DEFAULT_wxUSE_LISTBOOK=no
9885 DEFAULT_wxUSE_LISTBOX=no
9886 DEFAULT_wxUSE_LISTCTRL=no
9887 DEFAULT_wxUSE_MARKUP=no
9888 DEFAULT_wxUSE_NOTEBOOK=no
9889 DEFAULT_wxUSE_POPUPWIN=no
9890 DEFAULT_wxUSE_RADIOBOX=no
9891 DEFAULT_wxUSE_RADIOBTN=no
9892 DEFAULT_wxUSE_RICHMSGDLG=no
9893 DEFAULT_wxUSE_REARRANGECTRL=no
9894 DEFAULT_wxUSE_SASH=no
9895 DEFAULT_wxUSE_SCROLLBAR=no
9896 DEFAULT_wxUSE_SEARCHCTRL=no
9897 DEFAULT_wxUSE_SLIDER=no
9898 DEFAULT_wxUSE_SPINBTN=no
9899 DEFAULT_wxUSE_SPINCTRL=no
9900 DEFAULT_wxUSE_SPLITTER=no
9901 DEFAULT_wxUSE_STATBMP=no
9902 DEFAULT_wxUSE_STATBOX=no
9903 DEFAULT_wxUSE_STATLINE=no
9904 DEFAULT_wxUSE_STATUSBAR=no
9905 DEFAULT_wxUSE_TIPWINDOW=no
9906 DEFAULT_wxUSE_TOGGLEBTN=no
9907 DEFAULT_wxUSE_TOOLBAR=no
9908 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9909 DEFAULT_wxUSE_TOOLBOOK=no
9910 DEFAULT_wxUSE_TOOLTIPS=no
9911 DEFAULT_wxUSE_TREEBOOK=no
9912 DEFAULT_wxUSE_TREECTRL=no
9917 defaultval=$wxUSE_ALL_FEATURES
9918 if test -z "$defaultval"; then
9919 if test x"$enablestring" = xdisable; then
9926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9928 # Check whether --enable-markup was given.
9929 if test "${enable_markup+set}" = set; then
9930 enableval=$enable_markup;
9931 if test "$enableval" = yes; then
9932 wx_cv_use_markup='wxUSE_MARKUP=yes'
9934 wx_cv_use_markup='wxUSE_MARKUP=no'
9939 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9944 eval "$wx_cv_use_markup"
9946 if test x"$enablestring" = xdisable; then
9947 if test $wxUSE_MARKUP = no; then
9953 result=$wxUSE_MARKUP
9956 { echo "$as_me:$LINENO: result: $result" >&5
9957 echo "${ECHO_T}$result" >&6; }
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9973 # Check whether --enable-accel was given.
9974 if test "${enable_accel+set}" = set; then
9975 enableval=$enable_accel;
9976 if test "$enableval" = yes; then
9977 wx_cv_use_accel='wxUSE_ACCEL=yes'
9979 wx_cv_use_accel='wxUSE_ACCEL=no'
9984 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9989 eval "$wx_cv_use_accel"
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_ACCEL = no; then
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10017 # Check whether --enable-animatectrl was given.
10018 if test "${enable_animatectrl+set}" = set; then
10019 enableval=$enable_animatectrl;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10023 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10028 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10033 eval "$wx_cv_use_animatectrl"
10035 if test x"$enablestring" = xdisable; then
10036 if test $wxUSE_ANIMATIONCTRL = no; then
10042 result=$wxUSE_ANIMATIONCTRL
10045 { echo "$as_me:$LINENO: result: $result" >&5
10046 echo "${ECHO_T}$result" >&6; }
10050 defaultval=$wxUSE_ALL_FEATURES
10051 if test -z "$defaultval"; then
10052 if test x"$enablestring" = xdisable; then
10059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10060 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10061 # Check whether --enable-bannerwindow was given.
10062 if test "${enable_bannerwindow+set}" = set; then
10063 enableval=$enable_bannerwindow;
10064 if test "$enableval" = yes; then
10065 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10067 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10072 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10077 eval "$wx_cv_use_bannerwindow"
10079 if test x"$enablestring" = xdisable; then
10080 if test $wxUSE_BANNERWINDOW = no; then
10086 result=$wxUSE_BANNERWINDOW
10089 { echo "$as_me:$LINENO: result: $result" >&5
10090 echo "${ECHO_T}$result" >&6; }
10094 defaultval=$wxUSE_ALL_FEATURES
10095 if test -z "$defaultval"; then
10096 if test x"$enablestring" = xdisable; then
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10105 # Check whether --enable-artstd was given.
10106 if test "${enable_artstd+set}" = set; then
10107 enableval=$enable_artstd;
10108 if test "$enableval" = yes; then
10109 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10111 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10116 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10121 eval "$wx_cv_use_artstd"
10123 if test x"$enablestring" = xdisable; then
10124 if test $wxUSE_ARTPROVIDER_STD = no; then
10130 result=$wxUSE_ARTPROVIDER_STD
10133 { echo "$as_me:$LINENO: result: $result" >&5
10134 echo "${ECHO_T}$result" >&6; }
10138 defaultval=$wxUSE_ALL_FEATURES
10139 if test -z "$defaultval"; then
10140 if test x"$enablestring" = xdisable; then
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10149 # Check whether --enable-arttango was given.
10150 if test "${enable_arttango+set}" = set; then
10151 enableval=$enable_arttango;
10152 if test "$enableval" = yes; then
10153 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10155 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10160 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10165 eval "$wx_cv_use_arttango"
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10174 result=$wxUSE_ARTPROVIDER_TANGO
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10193 # Check whether --enable-bmpbutton was given.
10194 if test "${enable_bmpbutton+set}" = set; then
10195 enableval=$enable_bmpbutton;
10196 if test "$enableval" = yes; then
10197 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10199 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10204 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10209 eval "$wx_cv_use_bmpbutton"
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_BMPBUTTON = no; then
10218 result=$wxUSE_BMPBUTTON
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10237 # Check whether --enable-bmpcombobox was given.
10238 if test "${enable_bmpcombobox+set}" = set; then
10239 enableval=$enable_bmpcombobox;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10243 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10248 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10253 eval "$wx_cv_use_bmpcombobox"
10255 if test x"$enablestring" = xdisable; then
10256 if test $wxUSE_BITMAPCOMBOBOX = no; then
10262 result=$wxUSE_BITMAPCOMBOBOX
10265 { echo "$as_me:$LINENO: result: $result" >&5
10266 echo "${ECHO_T}$result" >&6; }
10270 defaultval=$wxUSE_ALL_FEATURES
10271 if test -z "$defaultval"; then
10272 if test x"$enablestring" = xdisable; then
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10281 # Check whether --enable-button was given.
10282 if test "${enable_button+set}" = set; then
10283 enableval=$enable_button;
10284 if test "$enableval" = yes; then
10285 wx_cv_use_button='wxUSE_BUTTON=yes'
10287 wx_cv_use_button='wxUSE_BUTTON=no'
10292 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10297 eval "$wx_cv_use_button"
10299 if test x"$enablestring" = xdisable; then
10300 if test $wxUSE_BUTTON = no; then
10306 result=$wxUSE_BUTTON
10309 { echo "$as_me:$LINENO: result: $result" >&5
10310 echo "${ECHO_T}$result" >&6; }
10314 defaultval=$wxUSE_ALL_FEATURES
10315 if test -z "$defaultval"; then
10316 if test x"$enablestring" = xdisable; then
10323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10325 # Check whether --enable-calendar was given.
10326 if test "${enable_calendar+set}" = set; then
10327 enableval=$enable_calendar;
10328 if test "$enableval" = yes; then
10329 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10331 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10336 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10341 eval "$wx_cv_use_calendar"
10343 if test x"$enablestring" = xdisable; then
10344 if test $wxUSE_CALCTRL = no; then
10350 result=$wxUSE_CALCTRL
10353 { echo "$as_me:$LINENO: result: $result" >&5
10354 echo "${ECHO_T}$result" >&6; }
10358 defaultval=$wxUSE_ALL_FEATURES
10359 if test -z "$defaultval"; then
10360 if test x"$enablestring" = xdisable; then
10367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10368 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10369 # Check whether --enable-caret was given.
10370 if test "${enable_caret+set}" = set; then
10371 enableval=$enable_caret;
10372 if test "$enableval" = yes; then
10373 wx_cv_use_caret='wxUSE_CARET=yes'
10375 wx_cv_use_caret='wxUSE_CARET=no'
10380 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10385 eval "$wx_cv_use_caret"
10387 if test x"$enablestring" = xdisable; then
10388 if test $wxUSE_CARET = no; then
10394 result=$wxUSE_CARET
10397 { echo "$as_me:$LINENO: result: $result" >&5
10398 echo "${ECHO_T}$result" >&6; }
10402 defaultval=$wxUSE_ALL_FEATURES
10403 if test -z "$defaultval"; then
10404 if test x"$enablestring" = xdisable; then
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10413 # Check whether --enable-checkbox was given.
10414 if test "${enable_checkbox+set}" = set; then
10415 enableval=$enable_checkbox;
10416 if test "$enableval" = yes; then
10417 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10419 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10424 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10429 eval "$wx_cv_use_checkbox"
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_CHECKBOX = no; then
10438 result=$wxUSE_CHECKBOX
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10446 defaultval=$wxUSE_ALL_FEATURES
10447 if test -z "$defaultval"; then
10448 if test x"$enablestring" = xdisable; then
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10457 # Check whether --enable-checklst was given.
10458 if test "${enable_checklst+set}" = set; then
10459 enableval=$enable_checklst;
10460 if test "$enableval" = yes; then
10461 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10463 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10468 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10473 eval "$wx_cv_use_checklst"
10475 if test x"$enablestring" = xdisable; then
10476 if test $wxUSE_CHECKLST = no; then
10482 result=$wxUSE_CHECKLST
10485 { echo "$as_me:$LINENO: result: $result" >&5
10486 echo "${ECHO_T}$result" >&6; }
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10501 # Check whether --enable-choice was given.
10502 if test "${enable_choice+set}" = set; then
10503 enableval=$enable_choice;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_choice='wxUSE_CHOICE=yes'
10507 wx_cv_use_choice='wxUSE_CHOICE=no'
10512 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10517 eval "$wx_cv_use_choice"
10519 if test x"$enablestring" = xdisable; then
10520 if test $wxUSE_CHOICE = no; then
10526 result=$wxUSE_CHOICE
10529 { echo "$as_me:$LINENO: result: $result" >&5
10530 echo "${ECHO_T}$result" >&6; }
10534 defaultval=$wxUSE_ALL_FEATURES
10535 if test -z "$defaultval"; then
10536 if test x"$enablestring" = xdisable; then
10543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10545 # Check whether --enable-choicebook was given.
10546 if test "${enable_choicebook+set}" = set; then
10547 enableval=$enable_choicebook;
10548 if test "$enableval" = yes; then
10549 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10551 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10556 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10561 eval "$wx_cv_use_choicebook"
10563 if test x"$enablestring" = xdisable; then
10564 if test $wxUSE_CHOICEBOOK = no; then
10570 result=$wxUSE_CHOICEBOOK
10573 { echo "$as_me:$LINENO: result: $result" >&5
10574 echo "${ECHO_T}$result" >&6; }
10578 defaultval=$wxUSE_ALL_FEATURES
10579 if test -z "$defaultval"; then
10580 if test x"$enablestring" = xdisable; then
10587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10589 # Check whether --enable-collpane was given.
10590 if test "${enable_collpane+set}" = set; then
10591 enableval=$enable_collpane;
10592 if test "$enableval" = yes; then
10593 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10595 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10600 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10605 eval "$wx_cv_use_collpane"
10607 if test x"$enablestring" = xdisable; then
10608 if test $wxUSE_COLLPANE = no; then
10614 result=$wxUSE_COLLPANE
10617 { echo "$as_me:$LINENO: result: $result" >&5
10618 echo "${ECHO_T}$result" >&6; }
10622 defaultval=$wxUSE_ALL_FEATURES
10623 if test -z "$defaultval"; then
10624 if test x"$enablestring" = xdisable; then
10631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10632 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10633 # Check whether --enable-colourpicker was given.
10634 if test "${enable_colourpicker+set}" = set; then
10635 enableval=$enable_colourpicker;
10636 if test "$enableval" = yes; then
10637 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10639 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10644 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10649 eval "$wx_cv_use_colourpicker"
10651 if test x"$enablestring" = xdisable; then
10652 if test $wxUSE_COLOURPICKERCTRL = no; then
10658 result=$wxUSE_COLOURPICKERCTRL
10661 { echo "$as_me:$LINENO: result: $result" >&5
10662 echo "${ECHO_T}$result" >&6; }
10666 defaultval=$wxUSE_ALL_FEATURES
10667 if test -z "$defaultval"; then
10668 if test x"$enablestring" = xdisable; then
10675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10676 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10677 # Check whether --enable-combobox was given.
10678 if test "${enable_combobox+set}" = set; then
10679 enableval=$enable_combobox;
10680 if test "$enableval" = yes; then
10681 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10683 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10688 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10693 eval "$wx_cv_use_combobox"
10695 if test x"$enablestring" = xdisable; then
10696 if test $wxUSE_COMBOBOX = no; then
10702 result=$wxUSE_COMBOBOX
10705 { echo "$as_me:$LINENO: result: $result" >&5
10706 echo "${ECHO_T}$result" >&6; }
10710 defaultval=$wxUSE_ALL_FEATURES
10711 if test -z "$defaultval"; then
10712 if test x"$enablestring" = xdisable; then
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10721 # Check whether --enable-comboctrl was given.
10722 if test "${enable_comboctrl+set}" = set; then
10723 enableval=$enable_comboctrl;
10724 if test "$enableval" = yes; then
10725 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10727 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10732 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10737 eval "$wx_cv_use_comboctrl"
10739 if test x"$enablestring" = xdisable; then
10740 if test $wxUSE_COMBOCTRL = no; then
10746 result=$wxUSE_COMBOCTRL
10749 { echo "$as_me:$LINENO: result: $result" >&5
10750 echo "${ECHO_T}$result" >&6; }
10754 defaultval=$wxUSE_ALL_FEATURES
10755 if test -z "$defaultval"; then
10756 if test x"$enablestring" = xdisable; then
10763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10764 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10765 # Check whether --enable-commandlinkbutton was given.
10766 if test "${enable_commandlinkbutton+set}" = set; then
10767 enableval=$enable_commandlinkbutton;
10768 if test "$enableval" = yes; then
10769 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10771 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10776 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10781 eval "$wx_cv_use_commandlinkbutton"
10783 if test x"$enablestring" = xdisable; then
10784 if test $wxUSE_COMMANDLINKBUTTON = no; then
10790 result=$wxUSE_COMMANDLINKBUTTON
10793 { echo "$as_me:$LINENO: result: $result" >&5
10794 echo "${ECHO_T}$result" >&6; }
10798 defaultval=$wxUSE_ALL_FEATURES
10799 if test -z "$defaultval"; then
10800 if test x"$enablestring" = xdisable; then
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10809 # Check whether --enable-dataviewctrl was given.
10810 if test "${enable_dataviewctrl+set}" = set; then
10811 enableval=$enable_dataviewctrl;
10812 if test "$enableval" = yes; then
10813 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10815 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10820 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10825 eval "$wx_cv_use_dataviewctrl"
10827 if test x"$enablestring" = xdisable; then
10828 if test $wxUSE_DATAVIEWCTRL = no; then
10834 result=$wxUSE_DATAVIEWCTRL
10837 { echo "$as_me:$LINENO: result: $result" >&5
10838 echo "${ECHO_T}$result" >&6; }
10842 defaultval=$wxUSE_ALL_FEATURES
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10853 # Check whether --enable-datepick was given.
10854 if test "${enable_datepick+set}" = set; then
10855 enableval=$enable_datepick;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10859 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10864 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10869 eval "$wx_cv_use_datepick"
10871 if test x"$enablestring" = xdisable; then
10872 if test $wxUSE_DATEPICKCTRL = no; then
10878 result=$wxUSE_DATEPICKCTRL
10881 { echo "$as_me:$LINENO: result: $result" >&5
10882 echo "${ECHO_T}$result" >&6; }
10886 defaultval=$wxUSE_ALL_FEATURES
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10896 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10897 # Check whether --enable-detect_sm was given.
10898 if test "${enable_detect_sm+set}" = set; then
10899 enableval=$enable_detect_sm;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10903 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10908 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10913 eval "$wx_cv_use_detect_sm"
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_DETECT_SM = no; then
10922 result=$wxUSE_DETECT_SM
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10941 # Check whether --enable-dirpicker was given.
10942 if test "${enable_dirpicker+set}" = set; then
10943 enableval=$enable_dirpicker;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10947 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10952 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10957 eval "$wx_cv_use_dirpicker"
10959 if test x"$enablestring" = xdisable; then
10960 if test $wxUSE_DIRPICKERCTRL = no; then
10966 result=$wxUSE_DIRPICKERCTRL
10969 { echo "$as_me:$LINENO: result: $result" >&5
10970 echo "${ECHO_T}$result" >&6; }
10974 defaultval=$wxUSE_ALL_FEATURES
10975 if test -z "$defaultval"; then
10976 if test x"$enablestring" = xdisable; then
10983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10985 # Check whether --enable-display was given.
10986 if test "${enable_display+set}" = set; then
10987 enableval=$enable_display;
10988 if test "$enableval" = yes; then
10989 wx_cv_use_display='wxUSE_DISPLAY=yes'
10991 wx_cv_use_display='wxUSE_DISPLAY=no'
10996 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11001 eval "$wx_cv_use_display"
11003 if test x"$enablestring" = xdisable; then
11004 if test $wxUSE_DISPLAY = no; then
11010 result=$wxUSE_DISPLAY
11013 { echo "$as_me:$LINENO: result: $result" >&5
11014 echo "${ECHO_T}$result" >&6; }
11018 defaultval=$wxUSE_ALL_FEATURES
11019 if test -z "$defaultval"; then
11020 if test x"$enablestring" = xdisable; then
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11029 # Check whether --enable-editablebox was given.
11030 if test "${enable_editablebox+set}" = set; then
11031 enableval=$enable_editablebox;
11032 if test "$enableval" = yes; then
11033 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11035 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11040 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11045 eval "$wx_cv_use_editablebox"
11047 if test x"$enablestring" = xdisable; then
11048 if test $wxUSE_EDITABLELISTBOX = no; then
11054 result=$wxUSE_EDITABLELISTBOX
11057 { echo "$as_me:$LINENO: result: $result" >&5
11058 echo "${ECHO_T}$result" >&6; }
11062 defaultval=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x"$enablestring" = xdisable; then
11071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11073 # Check whether --enable-filectrl was given.
11074 if test "${enable_filectrl+set}" = set; then
11075 enableval=$enable_filectrl;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11079 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11084 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11089 eval "$wx_cv_use_filectrl"
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_FILECTRL = no; then
11098 result=$wxUSE_FILECTRL
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11117 # Check whether --enable-filepicker was given.
11118 if test "${enable_filepicker+set}" = set; then
11119 enableval=$enable_filepicker;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11123 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11128 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11133 eval "$wx_cv_use_filepicker"
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_FILEPICKERCTRL = no; then
11142 result=$wxUSE_FILEPICKERCTRL
11145 { echo "$as_me:$LINENO: result: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11161 # Check whether --enable-fontpicker was given.
11162 if test "${enable_fontpicker+set}" = set; then
11163 enableval=$enable_fontpicker;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11167 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11172 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11177 eval "$wx_cv_use_fontpicker"
11179 if test x"$enablestring" = xdisable; then
11180 if test $wxUSE_FONTPICKERCTRL = no; then
11186 result=$wxUSE_FONTPICKERCTRL
11189 { echo "$as_me:$LINENO: result: $result" >&5
11190 echo "${ECHO_T}$result" >&6; }
11194 defaultval=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x"$enablestring" = xdisable; then
11203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11205 # Check whether --enable-gauge was given.
11206 if test "${enable_gauge+set}" = set; then
11207 enableval=$enable_gauge;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11211 wx_cv_use_gauge='wxUSE_GAUGE=no'
11216 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11221 eval "$wx_cv_use_gauge"
11223 if test x"$enablestring" = xdisable; then
11224 if test $wxUSE_GAUGE = no; then
11230 result=$wxUSE_GAUGE
11233 { echo "$as_me:$LINENO: result: $result" >&5
11234 echo "${ECHO_T}$result" >&6; }
11238 defaultval=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x"$enablestring" = xdisable; then
11247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11249 # Check whether --enable-grid was given.
11250 if test "${enable_grid+set}" = set; then
11251 enableval=$enable_grid;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_grid='wxUSE_GRID=yes'
11255 wx_cv_use_grid='wxUSE_GRID=no'
11260 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11265 eval "$wx_cv_use_grid"
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_GRID = no; then
11277 { echo "$as_me:$LINENO: result: $result" >&5
11278 echo "${ECHO_T}$result" >&6; }
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11292 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11293 # Check whether --enable-headerctrl was given.
11294 if test "${enable_headerctrl+set}" = set; then
11295 enableval=$enable_headerctrl;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11299 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11304 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11309 eval "$wx_cv_use_headerctrl"
11311 if test x"$enablestring" = xdisable; then
11312 if test $wxUSE_HEADERCTRL = no; then
11318 result=$wxUSE_HEADERCTRL
11321 { echo "$as_me:$LINENO: result: $result" >&5
11322 echo "${ECHO_T}$result" >&6; }
11326 defaultval=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x"$enablestring" = xdisable; then
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11337 # Check whether --enable-hyperlink was given.
11338 if test "${enable_hyperlink+set}" = set; then
11339 enableval=$enable_hyperlink;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11343 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11348 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11353 eval "$wx_cv_use_hyperlink"
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_HYPERLINKCTRL = no; then
11362 result=$wxUSE_HYPERLINKCTRL
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11381 # Check whether --enable-imaglist was given.
11382 if test "${enable_imaglist+set}" = set; then
11383 enableval=$enable_imaglist;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11387 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11392 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11397 eval "$wx_cv_use_imaglist"
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_IMAGLIST = no; then
11406 result=$wxUSE_IMAGLIST
11409 { echo "$as_me:$LINENO: result: $result" >&5
11410 echo "${ECHO_T}$result" >&6; }
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11424 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11425 # Check whether --enable-infobar was given.
11426 if test "${enable_infobar+set}" = set; then
11427 enableval=$enable_infobar;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11431 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11436 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11441 eval "$wx_cv_use_infobar"
11443 if test x"$enablestring" = xdisable; then
11444 if test $wxUSE_INFOBAR = no; then
11450 result=$wxUSE_INFOBAR
11453 { echo "$as_me:$LINENO: result: $result" >&5
11454 echo "${ECHO_T}$result" >&6; }
11458 defaultval=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x"$enablestring" = xdisable; then
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11469 # Check whether --enable-listbook was given.
11470 if test "${enable_listbook+set}" = set; then
11471 enableval=$enable_listbook;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11475 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11480 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11485 eval "$wx_cv_use_listbook"
11487 if test x"$enablestring" = xdisable; then
11488 if test $wxUSE_LISTBOOK = no; then
11494 result=$wxUSE_LISTBOOK
11497 { echo "$as_me:$LINENO: result: $result" >&5
11498 echo "${ECHO_T}$result" >&6; }
11502 defaultval=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x"$enablestring" = xdisable; then
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11513 # Check whether --enable-listbox was given.
11514 if test "${enable_listbox+set}" = set; then
11515 enableval=$enable_listbox;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11519 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11524 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11529 eval "$wx_cv_use_listbox"
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_LISTBOX = no; then
11538 result=$wxUSE_LISTBOX
11541 { echo "$as_me:$LINENO: result: $result" >&5
11542 echo "${ECHO_T}$result" >&6; }
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11557 # Check whether --enable-listctrl was given.
11558 if test "${enable_listctrl+set}" = set; then
11559 enableval=$enable_listctrl;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11563 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11568 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11573 eval "$wx_cv_use_listctrl"
11575 if test x"$enablestring" = xdisable; then
11576 if test $wxUSE_LISTCTRL = no; then
11582 result=$wxUSE_LISTCTRL
11585 { echo "$as_me:$LINENO: result: $result" >&5
11586 echo "${ECHO_T}$result" >&6; }
11590 defaultval=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x"$enablestring" = xdisable; then
11599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11601 # Check whether --enable-notebook was given.
11602 if test "${enable_notebook+set}" = set; then
11603 enableval=$enable_notebook;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11607 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11612 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11617 eval "$wx_cv_use_notebook"
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_NOTEBOOK = no; then
11626 result=$wxUSE_NOTEBOOK
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11645 # Check whether --enable-notifmsg was given.
11646 if test "${enable_notifmsg+set}" = set; then
11647 enableval=$enable_notifmsg;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11651 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11656 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11661 eval "$wx_cv_use_notifmsg"
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11670 result=$wxUSE_NOTIFICATION_MESSAGE
11673 { echo "$as_me:$LINENO: result: $result" >&5
11674 echo "${ECHO_T}$result" >&6; }
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11688 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11689 # Check whether --enable-odcombobox was given.
11690 if test "${enable_odcombobox+set}" = set; then
11691 enableval=$enable_odcombobox;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11695 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11700 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11705 eval "$wx_cv_use_odcombobox"
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_ODCOMBOBOX = no; then
11714 result=$wxUSE_ODCOMBOBOX
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11733 # Check whether --enable-popupwin was given.
11734 if test "${enable_popupwin+set}" = set; then
11735 enableval=$enable_popupwin;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11739 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11744 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11749 eval "$wx_cv_use_popupwin"
11751 if test x"$enablestring" = xdisable; then
11752 if test $wxUSE_POPUPWIN = no; then
11758 result=$wxUSE_POPUPWIN
11761 { echo "$as_me:$LINENO: result: $result" >&5
11762 echo "${ECHO_T}$result" >&6; }
11766 defaultval=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x"$enablestring" = xdisable; then
11775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11776 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11777 # Check whether --enable-radiobox was given.
11778 if test "${enable_radiobox+set}" = set; then
11779 enableval=$enable_radiobox;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11783 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11788 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11793 eval "$wx_cv_use_radiobox"
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_RADIOBOX = no; then
11802 result=$wxUSE_RADIOBOX
11805 { echo "$as_me:$LINENO: result: $result" >&5
11806 echo "${ECHO_T}$result" >&6; }
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11821 # Check whether --enable-radiobtn was given.
11822 if test "${enable_radiobtn+set}" = set; then
11823 enableval=$enable_radiobtn;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11827 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11832 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11837 eval "$wx_cv_use_radiobtn"
11839 if test x"$enablestring" = xdisable; then
11840 if test $wxUSE_RADIOBTN = no; then
11846 result=$wxUSE_RADIOBTN
11849 { echo "$as_me:$LINENO: result: $result" >&5
11850 echo "${ECHO_T}$result" >&6; }
11854 defaultval=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x"$enablestring" = xdisable; then
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11865 # Check whether --enable-richmsgdlg was given.
11866 if test "${enable_richmsgdlg+set}" = set; then
11867 enableval=$enable_richmsgdlg;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11871 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11876 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11881 eval "$wx_cv_use_richmsgdlg"
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_RICHMSGDLG = no; then
11890 result=$wxUSE_RICHMSGDLG
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11909 # Check whether --enable-rearrangectrl was given.
11910 if test "${enable_rearrangectrl+set}" = set; then
11911 enableval=$enable_rearrangectrl;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11915 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11920 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11925 eval "$wx_cv_use_rearrangectrl"
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_REARRANGECTRL = no; then
11934 result=$wxUSE_REARRANGECTRL
11937 { echo "$as_me:$LINENO: result: $result" >&5
11938 echo "${ECHO_T}$result" >&6; }
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11952 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11953 # Check whether --enable-sash was given.
11954 if test "${enable_sash+set}" = set; then
11955 enableval=$enable_sash;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_sash='wxUSE_SASH=yes'
11959 wx_cv_use_sash='wxUSE_SASH=no'
11964 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11969 eval "$wx_cv_use_sash"
11971 if test x"$enablestring" = xdisable; then
11972 if test $wxUSE_SASH = no; then
11981 { echo "$as_me:$LINENO: result: $result" >&5
11982 echo "${ECHO_T}$result" >&6; }
11986 defaultval=$wxUSE_ALL_FEATURES
11987 if test -z "$defaultval"; then
11988 if test x"$enablestring" = xdisable; then
11995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11996 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11997 # Check whether --enable-scrollbar was given.
11998 if test "${enable_scrollbar+set}" = set; then
11999 enableval=$enable_scrollbar;
12000 if test "$enableval" = yes; then
12001 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12003 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12008 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12013 eval "$wx_cv_use_scrollbar"
12015 if test x"$enablestring" = xdisable; then
12016 if test $wxUSE_SCROLLBAR = no; then
12022 result=$wxUSE_SCROLLBAR
12025 { echo "$as_me:$LINENO: result: $result" >&5
12026 echo "${ECHO_T}$result" >&6; }
12030 defaultval=$wxUSE_ALL_FEATURES
12031 if test -z "$defaultval"; then
12032 if test x"$enablestring" = xdisable; then
12039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12040 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12041 # Check whether --enable-searchctrl was given.
12042 if test "${enable_searchctrl+set}" = set; then
12043 enableval=$enable_searchctrl;
12044 if test "$enableval" = yes; then
12045 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12047 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12052 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12057 eval "$wx_cv_use_searchctrl"
12059 if test x"$enablestring" = xdisable; then
12060 if test $wxUSE_SEARCHCTRL = no; then
12066 result=$wxUSE_SEARCHCTRL
12069 { echo "$as_me:$LINENO: result: $result" >&5
12070 echo "${ECHO_T}$result" >&6; }
12074 defaultval=$wxUSE_ALL_FEATURES
12075 if test -z "$defaultval"; then
12076 if test x"$enablestring" = xdisable; then
12083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12084 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12085 # Check whether --enable-slider was given.
12086 if test "${enable_slider+set}" = set; then
12087 enableval=$enable_slider;
12088 if test "$enableval" = yes; then
12089 wx_cv_use_slider='wxUSE_SLIDER=yes'
12091 wx_cv_use_slider='wxUSE_SLIDER=no'
12096 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12101 eval "$wx_cv_use_slider"
12103 if test x"$enablestring" = xdisable; then
12104 if test $wxUSE_SLIDER = no; then
12110 result=$wxUSE_SLIDER
12113 { echo "$as_me:$LINENO: result: $result" >&5
12114 echo "${ECHO_T}$result" >&6; }
12118 defaultval=$wxUSE_ALL_FEATURES
12119 if test -z "$defaultval"; then
12120 if test x"$enablestring" = xdisable; then
12127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12128 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12129 # Check whether --enable-spinbtn was given.
12130 if test "${enable_spinbtn+set}" = set; then
12131 enableval=$enable_spinbtn;
12132 if test "$enableval" = yes; then
12133 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12135 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12140 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12145 eval "$wx_cv_use_spinbtn"
12147 if test x"$enablestring" = xdisable; then
12148 if test $wxUSE_SPINBTN = no; then
12154 result=$wxUSE_SPINBTN
12157 { echo "$as_me:$LINENO: result: $result" >&5
12158 echo "${ECHO_T}$result" >&6; }
12162 defaultval=$wxUSE_ALL_FEATURES
12163 if test -z "$defaultval"; then
12164 if test x"$enablestring" = xdisable; then
12171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12172 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12173 # Check whether --enable-spinctrl was given.
12174 if test "${enable_spinctrl+set}" = set; then
12175 enableval=$enable_spinctrl;
12176 if test "$enableval" = yes; then
12177 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12179 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12184 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12189 eval "$wx_cv_use_spinctrl"
12191 if test x"$enablestring" = xdisable; then
12192 if test $wxUSE_SPINCTRL = no; then
12198 result=$wxUSE_SPINCTRL
12201 { echo "$as_me:$LINENO: result: $result" >&5
12202 echo "${ECHO_T}$result" >&6; }
12206 defaultval=$wxUSE_ALL_FEATURES
12207 if test -z "$defaultval"; then
12208 if test x"$enablestring" = xdisable; then
12215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12216 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12217 # Check whether --enable-splitter was given.
12218 if test "${enable_splitter+set}" = set; then
12219 enableval=$enable_splitter;
12220 if test "$enableval" = yes; then
12221 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12223 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12228 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12233 eval "$wx_cv_use_splitter"
12235 if test x"$enablestring" = xdisable; then
12236 if test $wxUSE_SPLITTER = no; then
12242 result=$wxUSE_SPLITTER
12245 { echo "$as_me:$LINENO: result: $result" >&5
12246 echo "${ECHO_T}$result" >&6; }
12250 defaultval=$wxUSE_ALL_FEATURES
12251 if test -z "$defaultval"; then
12252 if test x"$enablestring" = xdisable; then
12259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12260 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12261 # Check whether --enable-statbmp was given.
12262 if test "${enable_statbmp+set}" = set; then
12263 enableval=$enable_statbmp;
12264 if test "$enableval" = yes; then
12265 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12267 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12272 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12277 eval "$wx_cv_use_statbmp"
12279 if test x"$enablestring" = xdisable; then
12280 if test $wxUSE_STATBMP = no; then
12286 result=$wxUSE_STATBMP
12289 { echo "$as_me:$LINENO: result: $result" >&5
12290 echo "${ECHO_T}$result" >&6; }
12294 defaultval=$wxUSE_ALL_FEATURES
12295 if test -z "$defaultval"; then
12296 if test x"$enablestring" = xdisable; then
12303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12304 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12305 # Check whether --enable-statbox was given.
12306 if test "${enable_statbox+set}" = set; then
12307 enableval=$enable_statbox;
12308 if test "$enableval" = yes; then
12309 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12311 wx_cv_use_statbox='wxUSE_STATBOX=no'
12316 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12321 eval "$wx_cv_use_statbox"
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_STATBOX = no; then
12330 result=$wxUSE_STATBOX
12333 { echo "$as_me:$LINENO: result: $result" >&5
12334 echo "${ECHO_T}$result" >&6; }
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12349 # Check whether --enable-statline was given.
12350 if test "${enable_statline+set}" = set; then
12351 enableval=$enable_statline;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_statline='wxUSE_STATLINE=yes'
12355 wx_cv_use_statline='wxUSE_STATLINE=no'
12360 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12365 eval "$wx_cv_use_statline"
12367 if test x"$enablestring" = xdisable; then
12368 if test $wxUSE_STATLINE = no; then
12374 result=$wxUSE_STATLINE
12377 { echo "$as_me:$LINENO: result: $result" >&5
12378 echo "${ECHO_T}$result" >&6; }
12382 defaultval=$wxUSE_ALL_FEATURES
12383 if test -z "$defaultval"; then
12384 if test x"$enablestring" = xdisable; then
12391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12392 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12393 # Check whether --enable-stattext was given.
12394 if test "${enable_stattext+set}" = set; then
12395 enableval=$enable_stattext;
12396 if test "$enableval" = yes; then
12397 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12399 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12404 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12409 eval "$wx_cv_use_stattext"
12411 if test x"$enablestring" = xdisable; then
12412 if test $wxUSE_STATTEXT = no; then
12418 result=$wxUSE_STATTEXT
12421 { echo "$as_me:$LINENO: result: $result" >&5
12422 echo "${ECHO_T}$result" >&6; }
12426 defaultval=$wxUSE_ALL_FEATURES
12427 if test -z "$defaultval"; then
12428 if test x"$enablestring" = xdisable; then
12435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12436 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12437 # Check whether --enable-statusbar was given.
12438 if test "${enable_statusbar+set}" = set; then
12439 enableval=$enable_statusbar;
12440 if test "$enableval" = yes; then
12441 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12443 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12448 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12453 eval "$wx_cv_use_statusbar"
12455 if test x"$enablestring" = xdisable; then
12456 if test $wxUSE_STATUSBAR = no; then
12462 result=$wxUSE_STATUSBAR
12465 { echo "$as_me:$LINENO: result: $result" >&5
12466 echo "${ECHO_T}$result" >&6; }
12470 defaultval=$wxUSE_ALL_FEATURES
12471 if test -z "$defaultval"; then
12472 if test x"$enablestring" = xdisable; then
12479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12480 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12481 # Check whether --enable-taskbaricon was given.
12482 if test "${enable_taskbaricon+set}" = set; then
12483 enableval=$enable_taskbaricon;
12484 if test "$enableval" = yes; then
12485 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12487 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12492 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12497 eval "$wx_cv_use_taskbaricon"
12499 if test x"$enablestring" = xdisable; then
12500 if test $wxUSE_TASKBARICON = no; then
12506 result=$wxUSE_TASKBARICON
12509 { echo "$as_me:$LINENO: result: $result" >&5
12510 echo "${ECHO_T}$result" >&6; }
12514 defaultval=$wxUSE_ALL_FEATURES
12515 if test -z "$defaultval"; then
12516 if test x"$enablestring" = xdisable; then
12523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12524 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12525 # Check whether --enable-tbarnative was given.
12526 if test "${enable_tbarnative+set}" = set; then
12527 enableval=$enable_tbarnative;
12528 if test "$enableval" = yes; then
12529 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12531 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12536 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12541 eval "$wx_cv_use_tbarnative"
12543 if test x"$enablestring" = xdisable; then
12544 if test $wxUSE_TOOLBAR_NATIVE = no; then
12550 result=$wxUSE_TOOLBAR_NATIVE
12553 { echo "$as_me:$LINENO: result: $result" >&5
12554 echo "${ECHO_T}$result" >&6; }
12558 defaultval=$wxUSE_ALL_FEATURES
12559 if test -z "$defaultval"; then
12560 if test x"$enablestring" = xdisable; then
12567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12568 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12569 # Check whether --enable-textctrl was given.
12570 if test "${enable_textctrl+set}" = set; then
12571 enableval=$enable_textctrl;
12572 if test "$enableval" = yes; then
12573 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12575 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12580 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12585 eval "$wx_cv_use_textctrl"
12587 if test x"$enablestring" = xdisable; then
12588 if test $wxUSE_TEXTCTRL = no; then
12594 result=$wxUSE_TEXTCTRL
12597 { echo "$as_me:$LINENO: result: $result" >&5
12598 echo "${ECHO_T}$result" >&6; }
12602 defaultval=$wxUSE_ALL_FEATURES
12603 if test -z "$defaultval"; then
12604 if test x"$enablestring" = xdisable; then
12611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12612 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12613 # Check whether --enable-tipwindow was given.
12614 if test "${enable_tipwindow+set}" = set; then
12615 enableval=$enable_tipwindow;
12616 if test "$enableval" = yes; then
12617 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12619 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12624 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12629 eval "$wx_cv_use_tipwindow"
12631 if test x"$enablestring" = xdisable; then
12632 if test $wxUSE_TIPWINDOW = no; then
12638 result=$wxUSE_TIPWINDOW
12641 { echo "$as_me:$LINENO: result: $result" >&5
12642 echo "${ECHO_T}$result" >&6; }
12646 defaultval=$wxUSE_ALL_FEATURES
12647 if test -z "$defaultval"; then
12648 if test x"$enablestring" = xdisable; then
12655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12656 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12657 # Check whether --enable-togglebtn was given.
12658 if test "${enable_togglebtn+set}" = set; then
12659 enableval=$enable_togglebtn;
12660 if test "$enableval" = yes; then
12661 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12663 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12668 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12673 eval "$wx_cv_use_togglebtn"
12675 if test x"$enablestring" = xdisable; then
12676 if test $wxUSE_TOGGLEBTN = no; then
12682 result=$wxUSE_TOGGLEBTN
12685 { echo "$as_me:$LINENO: result: $result" >&5
12686 echo "${ECHO_T}$result" >&6; }
12690 defaultval=$wxUSE_ALL_FEATURES
12691 if test -z "$defaultval"; then
12692 if test x"$enablestring" = xdisable; then
12699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12700 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12701 # Check whether --enable-toolbar was given.
12702 if test "${enable_toolbar+set}" = set; then
12703 enableval=$enable_toolbar;
12704 if test "$enableval" = yes; then
12705 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12707 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12712 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12717 eval "$wx_cv_use_toolbar"
12719 if test x"$enablestring" = xdisable; then
12720 if test $wxUSE_TOOLBAR = no; then
12726 result=$wxUSE_TOOLBAR
12729 { echo "$as_me:$LINENO: result: $result" >&5
12730 echo "${ECHO_T}$result" >&6; }
12734 defaultval=$wxUSE_ALL_FEATURES
12735 if test -z "$defaultval"; then
12736 if test x"$enablestring" = xdisable; then
12743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12744 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12745 # Check whether --enable-toolbook was given.
12746 if test "${enable_toolbook+set}" = set; then
12747 enableval=$enable_toolbook;
12748 if test "$enableval" = yes; then
12749 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12751 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12756 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12761 eval "$wx_cv_use_toolbook"
12763 if test x"$enablestring" = xdisable; then
12764 if test $wxUSE_TOOLBOOK = no; then
12770 result=$wxUSE_TOOLBOOK
12773 { echo "$as_me:$LINENO: result: $result" >&5
12774 echo "${ECHO_T}$result" >&6; }
12778 defaultval=$wxUSE_ALL_FEATURES
12779 if test -z "$defaultval"; then
12780 if test x"$enablestring" = xdisable; then
12787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12788 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12789 # Check whether --enable-treebook was given.
12790 if test "${enable_treebook+set}" = set; then
12791 enableval=$enable_treebook;
12792 if test "$enableval" = yes; then
12793 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12795 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12800 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12805 eval "$wx_cv_use_treebook"
12807 if test x"$enablestring" = xdisable; then
12808 if test $wxUSE_TREEBOOK = no; then
12814 result=$wxUSE_TREEBOOK
12817 { echo "$as_me:$LINENO: result: $result" >&5
12818 echo "${ECHO_T}$result" >&6; }
12822 defaultval=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x"$enablestring" = xdisable; then
12831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12832 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12833 # Check whether --enable-treectrl was given.
12834 if test "${enable_treectrl+set}" = set; then
12835 enableval=$enable_treectrl;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12839 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12844 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12849 eval "$wx_cv_use_treectrl"
12851 if test x"$enablestring" = xdisable; then
12852 if test $wxUSE_TREECTRL = no; then
12858 result=$wxUSE_TREECTRL
12861 { echo "$as_me:$LINENO: result: $result" >&5
12862 echo "${ECHO_T}$result" >&6; }
12868 defaultval=$wxUSE_ALL_FEATURES
12869 if test -z "$defaultval"; then
12870 if test x"$enablestring" = xdisable; then
12877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12878 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12879 # Check whether --enable-commondlg was given.
12880 if test "${enable_commondlg+set}" = set; then
12881 enableval=$enable_commondlg;
12882 if test "$enableval" = yes; then
12883 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12885 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12890 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12895 eval "$wx_cv_use_commondlg"
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_COMMONDLGS = no; then
12904 result=$wxUSE_COMMONDLGS
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12923 # Check whether --enable-aboutdlg was given.
12924 if test "${enable_aboutdlg+set}" = set; then
12925 enableval=$enable_aboutdlg;
12926 if test "$enableval" = yes; then
12927 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12929 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12934 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12939 eval "$wx_cv_use_aboutdlg"
12941 if test x"$enablestring" = xdisable; then
12942 if test $wxUSE_ABOUTDLG = no; then
12948 result=$wxUSE_ABOUTDLG
12951 { echo "$as_me:$LINENO: result: $result" >&5
12952 echo "${ECHO_T}$result" >&6; }
12956 defaultval=$wxUSE_ALL_FEATURES
12957 if test -z "$defaultval"; then
12958 if test x"$enablestring" = xdisable; then
12965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12966 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12967 # Check whether --enable-choicedlg was given.
12968 if test "${enable_choicedlg+set}" = set; then
12969 enableval=$enable_choicedlg;
12970 if test "$enableval" = yes; then
12971 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12973 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12978 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12983 eval "$wx_cv_use_choicedlg"
12985 if test x"$enablestring" = xdisable; then
12986 if test $wxUSE_CHOICEDLG = no; then
12992 result=$wxUSE_CHOICEDLG
12995 { echo "$as_me:$LINENO: result: $result" >&5
12996 echo "${ECHO_T}$result" >&6; }
13000 defaultval=$wxUSE_ALL_FEATURES
13001 if test -z "$defaultval"; then
13002 if test x"$enablestring" = xdisable; then
13009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13010 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13011 # Check whether --enable-coldlg was given.
13012 if test "${enable_coldlg+set}" = set; then
13013 enableval=$enable_coldlg;
13014 if test "$enableval" = yes; then
13015 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13017 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13022 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13027 eval "$wx_cv_use_coldlg"
13029 if test x"$enablestring" = xdisable; then
13030 if test $wxUSE_COLOURDLG = no; then
13036 result=$wxUSE_COLOURDLG
13039 { echo "$as_me:$LINENO: result: $result" >&5
13040 echo "${ECHO_T}$result" >&6; }
13044 defaultval=$wxUSE_ALL_FEATURES
13045 if test -z "$defaultval"; then
13046 if test x"$enablestring" = xdisable; then
13053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13054 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13055 # Check whether --enable-filedlg was given.
13056 if test "${enable_filedlg+set}" = set; then
13057 enableval=$enable_filedlg;
13058 if test "$enableval" = yes; then
13059 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13061 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13066 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13071 eval "$wx_cv_use_filedlg"
13073 if test x"$enablestring" = xdisable; then
13074 if test $wxUSE_FILEDLG = no; then
13080 result=$wxUSE_FILEDLG
13083 { echo "$as_me:$LINENO: result: $result" >&5
13084 echo "${ECHO_T}$result" >&6; }
13088 defaultval=$wxUSE_ALL_FEATURES
13089 if test -z "$defaultval"; then
13090 if test x"$enablestring" = xdisable; then
13097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13098 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13099 # Check whether --enable-finddlg was given.
13100 if test "${enable_finddlg+set}" = set; then
13101 enableval=$enable_finddlg;
13102 if test "$enableval" = yes; then
13103 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13105 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13110 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13115 eval "$wx_cv_use_finddlg"
13117 if test x"$enablestring" = xdisable; then
13118 if test $wxUSE_FINDREPLDLG = no; then
13124 result=$wxUSE_FINDREPLDLG
13127 { echo "$as_me:$LINENO: result: $result" >&5
13128 echo "${ECHO_T}$result" >&6; }
13132 defaultval=$wxUSE_ALL_FEATURES
13133 if test -z "$defaultval"; then
13134 if test x"$enablestring" = xdisable; then
13141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13142 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13143 # Check whether --enable-fontdlg was given.
13144 if test "${enable_fontdlg+set}" = set; then
13145 enableval=$enable_fontdlg;
13146 if test "$enableval" = yes; then
13147 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13149 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13154 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13159 eval "$wx_cv_use_fontdlg"
13161 if test x"$enablestring" = xdisable; then
13162 if test $wxUSE_FONTDLG = no; then
13168 result=$wxUSE_FONTDLG
13171 { echo "$as_me:$LINENO: result: $result" >&5
13172 echo "${ECHO_T}$result" >&6; }
13176 defaultval=$wxUSE_ALL_FEATURES
13177 if test -z "$defaultval"; then
13178 if test x"$enablestring" = xdisable; then
13185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13186 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13187 # Check whether --enable-dirdlg was given.
13188 if test "${enable_dirdlg+set}" = set; then
13189 enableval=$enable_dirdlg;
13190 if test "$enableval" = yes; then
13191 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13193 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13198 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13203 eval "$wx_cv_use_dirdlg"
13205 if test x"$enablestring" = xdisable; then
13206 if test $wxUSE_DIRDLG = no; then
13212 result=$wxUSE_DIRDLG
13215 { echo "$as_me:$LINENO: result: $result" >&5
13216 echo "${ECHO_T}$result" >&6; }
13220 defaultval=$wxUSE_ALL_FEATURES
13221 if test -z "$defaultval"; then
13222 if test x"$enablestring" = xdisable; then
13229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13230 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13231 # Check whether --enable-msgdlg was given.
13232 if test "${enable_msgdlg+set}" = set; then
13233 enableval=$enable_msgdlg;
13234 if test "$enableval" = yes; then
13235 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13237 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13242 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13247 eval "$wx_cv_use_msgdlg"
13249 if test x"$enablestring" = xdisable; then
13250 if test $wxUSE_MSGDLG = no; then
13256 result=$wxUSE_MSGDLG
13259 { echo "$as_me:$LINENO: result: $result" >&5
13260 echo "${ECHO_T}$result" >&6; }
13264 defaultval=$wxUSE_ALL_FEATURES
13265 if test -z "$defaultval"; then
13266 if test x"$enablestring" = xdisable; then
13273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13274 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13275 # Check whether --enable-numberdlg was given.
13276 if test "${enable_numberdlg+set}" = set; then
13277 enableval=$enable_numberdlg;
13278 if test "$enableval" = yes; then
13279 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13281 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13286 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13291 eval "$wx_cv_use_numberdlg"
13293 if test x"$enablestring" = xdisable; then
13294 if test $wxUSE_NUMBERDLG = no; then
13300 result=$wxUSE_NUMBERDLG
13303 { echo "$as_me:$LINENO: result: $result" >&5
13304 echo "${ECHO_T}$result" >&6; }
13308 defaultval=$wxUSE_ALL_FEATURES
13309 if test -z "$defaultval"; then
13310 if test x"$enablestring" = xdisable; then
13317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13318 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13319 # Check whether --enable-splash was given.
13320 if test "${enable_splash+set}" = set; then
13321 enableval=$enable_splash;
13322 if test "$enableval" = yes; then
13323 wx_cv_use_splash='wxUSE_SPLASH=yes'
13325 wx_cv_use_splash='wxUSE_SPLASH=no'
13330 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13335 eval "$wx_cv_use_splash"
13337 if test x"$enablestring" = xdisable; then
13338 if test $wxUSE_SPLASH = no; then
13344 result=$wxUSE_SPLASH
13347 { echo "$as_me:$LINENO: result: $result" >&5
13348 echo "${ECHO_T}$result" >&6; }
13352 defaultval=$wxUSE_ALL_FEATURES
13353 if test -z "$defaultval"; then
13354 if test x"$enablestring" = xdisable; then
13361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13362 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13363 # Check whether --enable-textdlg was given.
13364 if test "${enable_textdlg+set}" = set; then
13365 enableval=$enable_textdlg;
13366 if test "$enableval" = yes; then
13367 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13369 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13374 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13379 eval "$wx_cv_use_textdlg"
13381 if test x"$enablestring" = xdisable; then
13382 if test $wxUSE_TEXTDLG = no; then
13388 result=$wxUSE_TEXTDLG
13391 { echo "$as_me:$LINENO: result: $result" >&5
13392 echo "${ECHO_T}$result" >&6; }
13396 defaultval=$wxUSE_ALL_FEATURES
13397 if test -z "$defaultval"; then
13398 if test x"$enablestring" = xdisable; then
13405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13406 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13407 # Check whether --enable-tipdlg was given.
13408 if test "${enable_tipdlg+set}" = set; then
13409 enableval=$enable_tipdlg;
13410 if test "$enableval" = yes; then
13411 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13413 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13418 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13423 eval "$wx_cv_use_tipdlg"
13425 if test x"$enablestring" = xdisable; then
13426 if test $wxUSE_STARTUP_TIPS = no; then
13432 result=$wxUSE_STARTUP_TIPS
13435 { echo "$as_me:$LINENO: result: $result" >&5
13436 echo "${ECHO_T}$result" >&6; }
13440 defaultval=$wxUSE_ALL_FEATURES
13441 if test -z "$defaultval"; then
13442 if test x"$enablestring" = xdisable; then
13449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13450 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13451 # Check whether --enable-progressdlg was given.
13452 if test "${enable_progressdlg+set}" = set; then
13453 enableval=$enable_progressdlg;
13454 if test "$enableval" = yes; then
13455 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13457 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13462 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13467 eval "$wx_cv_use_progressdlg"
13469 if test x"$enablestring" = xdisable; then
13470 if test $wxUSE_PROGRESSDLG = no; then
13476 result=$wxUSE_PROGRESSDLG
13479 { echo "$as_me:$LINENO: result: $result" >&5
13480 echo "${ECHO_T}$result" >&6; }
13484 defaultval=$wxUSE_ALL_FEATURES
13485 if test -z "$defaultval"; then
13486 if test x"$enablestring" = xdisable; then
13493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13494 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13495 # Check whether --enable-wizarddlg was given.
13496 if test "${enable_wizarddlg+set}" = set; then
13497 enableval=$enable_wizarddlg;
13498 if test "$enableval" = yes; then
13499 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13501 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13506 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13511 eval "$wx_cv_use_wizarddlg"
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_WIZARDDLG = no; then
13520 result=$wxUSE_WIZARDDLG
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13540 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13541 # Check whether --enable-menus was given.
13542 if test "${enable_menus+set}" = set; then
13543 enableval=$enable_menus;
13544 if test "$enableval" = yes; then
13545 wx_cv_use_menus='wxUSE_MENUS=yes'
13547 wx_cv_use_menus='wxUSE_MENUS=no'
13552 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13557 eval "$wx_cv_use_menus"
13559 if test x"$enablestring" = xdisable; then
13560 if test $wxUSE_MENUS = no; then
13566 result=$wxUSE_MENUS
13569 { echo "$as_me:$LINENO: result: $result" >&5
13570 echo "${ECHO_T}$result" >&6; }
13574 defaultval=$wxUSE_ALL_FEATURES
13575 if test -z "$defaultval"; then
13576 if test x"$enablestring" = xdisable; then
13583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13584 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13585 # Check whether --enable-miniframe was given.
13586 if test "${enable_miniframe+set}" = set; then
13587 enableval=$enable_miniframe;
13588 if test "$enableval" = yes; then
13589 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13591 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13596 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13601 eval "$wx_cv_use_miniframe"
13603 if test x"$enablestring" = xdisable; then
13604 if test $wxUSE_MINIFRAME = no; then
13610 result=$wxUSE_MINIFRAME
13613 { echo "$as_me:$LINENO: result: $result" >&5
13614 echo "${ECHO_T}$result" >&6; }
13618 defaultval=$wxUSE_ALL_FEATURES
13619 if test -z "$defaultval"; then
13620 if test x"$enablestring" = xdisable; then
13627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13628 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13629 # Check whether --enable-tooltips was given.
13630 if test "${enable_tooltips+set}" = set; then
13631 enableval=$enable_tooltips;
13632 if test "$enableval" = yes; then
13633 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13635 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13640 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13645 eval "$wx_cv_use_tooltips"
13647 if test x"$enablestring" = xdisable; then
13648 if test $wxUSE_TOOLTIPS = no; then
13654 result=$wxUSE_TOOLTIPS
13657 { echo "$as_me:$LINENO: result: $result" >&5
13658 echo "${ECHO_T}$result" >&6; }
13662 defaultval=$wxUSE_ALL_FEATURES
13663 if test -z "$defaultval"; then
13664 if test x"$enablestring" = xdisable; then
13671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13672 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13673 # Check whether --enable-splines was given.
13674 if test "${enable_splines+set}" = set; then
13675 enableval=$enable_splines;
13676 if test "$enableval" = yes; then
13677 wx_cv_use_splines='wxUSE_SPLINES=yes'
13679 wx_cv_use_splines='wxUSE_SPLINES=no'
13684 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13689 eval "$wx_cv_use_splines"
13691 if test x"$enablestring" = xdisable; then
13692 if test $wxUSE_SPLINES = no; then
13698 result=$wxUSE_SPLINES
13701 { echo "$as_me:$LINENO: result: $result" >&5
13702 echo "${ECHO_T}$result" >&6; }
13706 defaultval=$wxUSE_ALL_FEATURES
13707 if test -z "$defaultval"; then
13708 if test x"$enablestring" = xdisable; then
13715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13716 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13717 # Check whether --enable-mousewheel was given.
13718 if test "${enable_mousewheel+set}" = set; then
13719 enableval=$enable_mousewheel;
13720 if test "$enableval" = yes; then
13721 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13723 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13728 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13733 eval "$wx_cv_use_mousewheel"
13735 if test x"$enablestring" = xdisable; then
13736 if test $wxUSE_MOUSEWHEEL = no; then
13742 result=$wxUSE_MOUSEWHEEL
13745 { echo "$as_me:$LINENO: result: $result" >&5
13746 echo "${ECHO_T}$result" >&6; }
13750 defaultval=$wxUSE_ALL_FEATURES
13751 if test -z "$defaultval"; then
13752 if test x"$enablestring" = xdisable; then
13759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13760 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13761 # Check whether --enable-validators was given.
13762 if test "${enable_validators+set}" = set; then
13763 enableval=$enable_validators;
13764 if test "$enableval" = yes; then
13765 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13767 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13772 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13777 eval "$wx_cv_use_validators"
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_VALIDATORS = no; then
13786 result=$wxUSE_VALIDATORS
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13805 # Check whether --enable-busyinfo was given.
13806 if test "${enable_busyinfo+set}" = set; then
13807 enableval=$enable_busyinfo;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13811 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13816 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13821 eval "$wx_cv_use_busyinfo"
13823 if test x"$enablestring" = xdisable; then
13824 if test $wxUSE_BUSYINFO = no; then
13830 result=$wxUSE_BUSYINFO
13833 { echo "$as_me:$LINENO: result: $result" >&5
13834 echo "${ECHO_T}$result" >&6; }
13838 defaultval=$wxUSE_ALL_FEATURES
13839 if test -z "$defaultval"; then
13840 if test x"$enablestring" = xdisable; then
13847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13848 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13849 # Check whether --enable-joystick was given.
13850 if test "${enable_joystick+set}" = set; then
13851 enableval=$enable_joystick;
13852 if test "$enableval" = yes; then
13853 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13855 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13860 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13865 eval "$wx_cv_use_joystick"
13867 if test x"$enablestring" = xdisable; then
13868 if test $wxUSE_JOYSTICK = no; then
13874 result=$wxUSE_JOYSTICK
13877 { echo "$as_me:$LINENO: result: $result" >&5
13878 echo "${ECHO_T}$result" >&6; }
13882 defaultval=$wxUSE_ALL_FEATURES
13883 if test -z "$defaultval"; then
13884 if test x"$enablestring" = xdisable; then
13891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13892 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13893 # Check whether --enable-metafile was given.
13894 if test "${enable_metafile+set}" = set; then
13895 enableval=$enable_metafile;
13896 if test "$enableval" = yes; then
13897 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13899 wx_cv_use_metafile='wxUSE_METAFILE=no'
13904 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13909 eval "$wx_cv_use_metafile"
13911 if test x"$enablestring" = xdisable; then
13912 if test $wxUSE_METAFILE = no; then
13918 result=$wxUSE_METAFILE
13921 { echo "$as_me:$LINENO: result: $result" >&5
13922 echo "${ECHO_T}$result" >&6; }
13926 defaultval=$wxUSE_ALL_FEATURES
13927 if test -z "$defaultval"; then
13928 if test x"$enablestring" = xdisable; then
13935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13936 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13937 # Check whether --enable-dragimage was given.
13938 if test "${enable_dragimage+set}" = set; then
13939 enableval=$enable_dragimage;
13940 if test "$enableval" = yes; then
13941 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13943 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13948 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13953 eval "$wx_cv_use_dragimage"
13955 if test x"$enablestring" = xdisable; then
13956 if test $wxUSE_DRAGIMAGE = no; then
13962 result=$wxUSE_DRAGIMAGE
13965 { echo "$as_me:$LINENO: result: $result" >&5
13966 echo "${ECHO_T}$result" >&6; }
13970 defaultval=$wxUSE_ALL_FEATURES
13971 if test -z "$defaultval"; then
13972 if test x"$enablestring" = xdisable; then
13979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13980 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13981 # Check whether --enable-accessibility was given.
13982 if test "${enable_accessibility+set}" = set; then
13983 enableval=$enable_accessibility;
13984 if test "$enableval" = yes; then
13985 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13987 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13992 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13997 eval "$wx_cv_use_accessibility"
13999 if test x"$enablestring" = xdisable; then
14000 if test $wxUSE_ACCESSIBILITY = no; then
14006 result=$wxUSE_ACCESSIBILITY
14009 { echo "$as_me:$LINENO: result: $result" >&5
14010 echo "${ECHO_T}$result" >&6; }
14014 defaultval=$wxUSE_ALL_FEATURES
14015 if test -z "$defaultval"; then
14016 if test x"$enablestring" = xdisable; then
14023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14024 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14025 # Check whether --enable-uiactionsim was given.
14026 if test "${enable_uiactionsim+set}" = set; then
14027 enableval=$enable_uiactionsim;
14028 if test "$enableval" = yes; then
14029 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14031 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14036 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14041 eval "$wx_cv_use_uiactionsim"
14043 if test x"$enablestring" = xdisable; then
14044 if test $wxUSE_UIACTIONSIMULATOR = no; then
14050 result=$wxUSE_UIACTIONSIMULATOR
14053 { echo "$as_me:$LINENO: result: $result" >&5
14054 echo "${ECHO_T}$result" >&6; }
14058 defaultval=$wxUSE_ALL_FEATURES
14059 if test -z "$defaultval"; then
14060 if test x"$enablestring" = xdisable; then
14067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14068 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14069 # Check whether --enable-dctransform was given.
14070 if test "${enable_dctransform+set}" = set; then
14071 enableval=$enable_dctransform;
14072 if test "$enableval" = yes; then
14073 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14075 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14080 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14085 eval "$wx_cv_use_dctransform"
14087 if test x"$enablestring" = xdisable; then
14088 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14094 result=$wxUSE_DC_TRANSFORM_MATRIX
14097 { echo "$as_me:$LINENO: result: $result" >&5
14098 echo "${ECHO_T}$result" >&6; }
14104 defaultval=$wxUSE_ALL_FEATURES
14105 if test -z "$defaultval"; then
14106 if test x"$enablestring" = xdisable; then
14113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14114 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14115 # Check whether --enable-palette was given.
14116 if test "${enable_palette+set}" = set; then
14117 enableval=$enable_palette;
14118 if test "$enableval" = yes; then
14119 wx_cv_use_palette='wxUSE_PALETTE=yes'
14121 wx_cv_use_palette='wxUSE_PALETTE=no'
14126 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14131 eval "$wx_cv_use_palette"
14133 if test x"$enablestring" = xdisable; then
14134 if test $wxUSE_PALETTE = no; then
14140 result=$wxUSE_PALETTE
14143 { echo "$as_me:$LINENO: result: $result" >&5
14144 echo "${ECHO_T}$result" >&6; }
14148 defaultval=$wxUSE_ALL_FEATURES
14149 if test -z "$defaultval"; then
14150 if test x"$enablestring" = xdisable; then
14157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14158 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14159 # Check whether --enable-image was given.
14160 if test "${enable_image+set}" = set; then
14161 enableval=$enable_image;
14162 if test "$enableval" = yes; then
14163 wx_cv_use_image='wxUSE_IMAGE=yes'
14165 wx_cv_use_image='wxUSE_IMAGE=no'
14170 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14175 eval "$wx_cv_use_image"
14177 if test x"$enablestring" = xdisable; then
14178 if test $wxUSE_IMAGE = no; then
14184 result=$wxUSE_IMAGE
14187 { echo "$as_me:$LINENO: result: $result" >&5
14188 echo "${ECHO_T}$result" >&6; }
14192 defaultval=$wxUSE_ALL_FEATURES
14193 if test -z "$defaultval"; then
14194 if test x"$enablestring" = xdisable; then
14201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14202 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14203 # Check whether --enable-gif was given.
14204 if test "${enable_gif+set}" = set; then
14205 enableval=$enable_gif;
14206 if test "$enableval" = yes; then
14207 wx_cv_use_gif='wxUSE_GIF=yes'
14209 wx_cv_use_gif='wxUSE_GIF=no'
14214 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14219 eval "$wx_cv_use_gif"
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_GIF = no; then
14231 { echo "$as_me:$LINENO: result: $result" >&5
14232 echo "${ECHO_T}$result" >&6; }
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14246 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14247 # Check whether --enable-pcx was given.
14248 if test "${enable_pcx+set}" = set; then
14249 enableval=$enable_pcx;
14250 if test "$enableval" = yes; then
14251 wx_cv_use_pcx='wxUSE_PCX=yes'
14253 wx_cv_use_pcx='wxUSE_PCX=no'
14258 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14263 eval "$wx_cv_use_pcx"
14265 if test x"$enablestring" = xdisable; then
14266 if test $wxUSE_PCX = no; then
14275 { echo "$as_me:$LINENO: result: $result" >&5
14276 echo "${ECHO_T}$result" >&6; }
14280 defaultval=$wxUSE_ALL_FEATURES
14281 if test -z "$defaultval"; then
14282 if test x"$enablestring" = xdisable; then
14289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14290 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14291 # Check whether --enable-tga was given.
14292 if test "${enable_tga+set}" = set; then
14293 enableval=$enable_tga;
14294 if test "$enableval" = yes; then
14295 wx_cv_use_tga='wxUSE_TGA=yes'
14297 wx_cv_use_tga='wxUSE_TGA=no'
14302 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14307 eval "$wx_cv_use_tga"
14309 if test x"$enablestring" = xdisable; then
14310 if test $wxUSE_TGA = no; then
14319 { echo "$as_me:$LINENO: result: $result" >&5
14320 echo "${ECHO_T}$result" >&6; }
14324 defaultval=$wxUSE_ALL_FEATURES
14325 if test -z "$defaultval"; then
14326 if test x"$enablestring" = xdisable; then
14333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14334 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14335 # Check whether --enable-iff was given.
14336 if test "${enable_iff+set}" = set; then
14337 enableval=$enable_iff;
14338 if test "$enableval" = yes; then
14339 wx_cv_use_iff='wxUSE_IFF=yes'
14341 wx_cv_use_iff='wxUSE_IFF=no'
14346 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14351 eval "$wx_cv_use_iff"
14353 if test x"$enablestring" = xdisable; then
14354 if test $wxUSE_IFF = no; then
14363 { echo "$as_me:$LINENO: result: $result" >&5
14364 echo "${ECHO_T}$result" >&6; }
14368 defaultval=$wxUSE_ALL_FEATURES
14369 if test -z "$defaultval"; then
14370 if test x"$enablestring" = xdisable; then
14377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14378 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14379 # Check whether --enable-pnm was given.
14380 if test "${enable_pnm+set}" = set; then
14381 enableval=$enable_pnm;
14382 if test "$enableval" = yes; then
14383 wx_cv_use_pnm='wxUSE_PNM=yes'
14385 wx_cv_use_pnm='wxUSE_PNM=no'
14390 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14395 eval "$wx_cv_use_pnm"
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_PNM = no; then
14407 { echo "$as_me:$LINENO: result: $result" >&5
14408 echo "${ECHO_T}$result" >&6; }
14412 defaultval=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x"$enablestring" = xdisable; then
14421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14422 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14423 # Check whether --enable-xpm was given.
14424 if test "${enable_xpm+set}" = set; then
14425 enableval=$enable_xpm;
14426 if test "$enableval" = yes; then
14427 wx_cv_use_xpm='wxUSE_XPM=yes'
14429 wx_cv_use_xpm='wxUSE_XPM=no'
14434 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14439 eval "$wx_cv_use_xpm"
14441 if test x"$enablestring" = xdisable; then
14442 if test $wxUSE_XPM = no; then
14451 { echo "$as_me:$LINENO: result: $result" >&5
14452 echo "${ECHO_T}$result" >&6; }
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14466 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14467 # Check whether --enable-ico_cur was given.
14468 if test "${enable_ico_cur+set}" = set; then
14469 enableval=$enable_ico_cur;
14470 if test "$enableval" = yes; then
14471 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14473 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14478 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14483 eval "$wx_cv_use_ico_cur"
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_ICO_CUR = no; then
14492 result=$wxUSE_ICO_CUR
14495 { echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6; }
14502 defaultval=$wxUSE_ALL_FEATURES
14503 if test -z "$defaultval"; then
14504 if test x"$enablestring" = xdisable; then
14511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14512 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14513 # Check whether --enable-dccache was given.
14514 if test "${enable_dccache+set}" = set; then
14515 enableval=$enable_dccache;
14516 if test "$enableval" = yes; then
14517 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14519 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14524 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14529 eval "$wx_cv_use_dccache"
14531 if test x"$enablestring" = xdisable; then
14532 if test $wxUSE_DC_CACHEING = no; then
14538 result=$wxUSE_DC_CACHEING
14541 { echo "$as_me:$LINENO: result: $result" >&5
14542 echo "${ECHO_T}$result" >&6; }
14546 defaultval=$wxUSE_ALL_FEATURES
14547 if test -z "$defaultval"; then
14548 if test x"$enablestring" = xdisable; then
14555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14556 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14557 # Check whether --enable-ps-in-msw was given.
14558 if test "${enable_ps_in_msw+set}" = set; then
14559 enableval=$enable_ps_in_msw;
14560 if test "$enableval" = yes; then
14561 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14563 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14568 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14573 eval "$wx_cv_use_ps_in_msw"
14575 if test x"$enablestring" = xdisable; then
14576 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14582 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14585 { echo "$as_me:$LINENO: result: $result" >&5
14586 echo "${ECHO_T}$result" >&6; }
14590 defaultval=$wxUSE_ALL_FEATURES
14591 if test -z "$defaultval"; then
14592 if test x"$enablestring" = xdisable; then
14599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14600 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14601 # Check whether --enable-ownerdrawn was given.
14602 if test "${enable_ownerdrawn+set}" = set; then
14603 enableval=$enable_ownerdrawn;
14604 if test "$enableval" = yes; then
14605 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14607 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14612 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14617 eval "$wx_cv_use_ownerdrawn"
14619 if test x"$enablestring" = xdisable; then
14620 if test $wxUSE_OWNER_DRAWN = no; then
14626 result=$wxUSE_OWNER_DRAWN
14629 { echo "$as_me:$LINENO: result: $result" >&5
14630 echo "${ECHO_T}$result" >&6; }
14634 defaultval=$wxUSE_ALL_FEATURES
14635 if test -z "$defaultval"; then
14636 if test x"$enablestring" = xdisable; then
14643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14644 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14645 # Check whether --enable-uxtheme was given.
14646 if test "${enable_uxtheme+set}" = set; then
14647 enableval=$enable_uxtheme;
14648 if test "$enableval" = yes; then
14649 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14651 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14656 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14661 eval "$wx_cv_use_uxtheme"
14663 if test x"$enablestring" = xdisable; then
14664 if test $wxUSE_UXTHEME = no; then
14670 result=$wxUSE_UXTHEME
14673 { echo "$as_me:$LINENO: result: $result" >&5
14674 echo "${ECHO_T}$result" >&6; }
14678 defaultval=$wxUSE_ALL_FEATURES
14679 if test -z "$defaultval"; then
14680 if test x"$enablestring" = xdisable; then
14687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14688 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14689 # Check whether --enable-wxdib was given.
14690 if test "${enable_wxdib+set}" = set; then
14691 enableval=$enable_wxdib;
14692 if test "$enableval" = yes; then
14693 wx_cv_use_wxdib='wxUSE_DIB=yes'
14695 wx_cv_use_wxdib='wxUSE_DIB=no'
14700 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14705 eval "$wx_cv_use_wxdib"
14707 if test x"$enablestring" = xdisable; then
14708 if test $wxUSE_DIB = no; then
14717 { echo "$as_me:$LINENO: result: $result" >&5
14718 echo "${ECHO_T}$result" >&6; }
14721 if test "$wxUSE_MSW" != 1; then
14722 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14727 defaultval=$wxUSE_ALL_FEATURES
14728 if test -z "$defaultval"; then
14729 if test x"$enablestring" = xdisable; then
14736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14737 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14738 # Check whether --enable-autoidman was given.
14739 if test "${enable_autoidman+set}" = set; then
14740 enableval=$enable_autoidman;
14741 if test "$enableval" = yes; then
14742 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14744 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14749 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14754 eval "$wx_cv_use_autoidman"
14756 if test x"$enablestring" = xdisable; then
14757 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14763 result=$wxUSE_AUTOID_MANAGEMENT
14766 { echo "$as_me:$LINENO: result: $result" >&5
14767 echo "${ECHO_T}$result" >&6; }
14773 cat >confcache <<\_ACEOF
14774 # This file is a shell script that caches the results of configure
14775 # tests run on this system so they can be shared between configure
14776 # scripts and configure runs, see configure's option --config-cache.
14777 # It is not useful on other systems. If it contains results you don't
14778 # want to keep, you may remove or edit it.
14780 # config.status only pays attention to the cache file if you give it
14781 # the --recheck option to rerun configure.
14783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14785 # following values.
14789 # The following way of writing the cache mishandles newlines in values,
14790 # but we know of no workaround that is simple, portable, and efficient.
14791 # So, we kill variables containing newlines.
14792 # Ultrix sh set writes to stderr and can't be redirected directly,
14793 # and sets the high bit in the cache file unless we assign to the vars.
14795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14796 eval ac_val=\$$ac_var
14800 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14801 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14804 _ | IFS | as_nl) ;; #(
14805 *) $as_unset $ac_var ;;
14811 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14812 *${as_nl}ac_space=\ *)
14813 # `set' does not quote correctly, so add quotes (double-quote
14814 # substitution turns \\\\ into \\, and sed turns \\ into \).
14817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14820 # `set' quotes correctly as required by POSIX, so do not add quotes.
14821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14832 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14834 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14835 if test -w "$cache_file"; then
14836 test "x$cache_file" != "x/dev/null" &&
14837 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14838 echo "$as_me: updating cache $cache_file" >&6;}
14839 cat confcache >$cache_file
14841 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14842 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14853 if test -n "$ac_tool_prefix"; then
14854 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14855 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14858 if test "${ac_cv_prog_CC+set}" = set; then
14859 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 if test -n "$CC"; then
14862 ac_cv_prog_CC="$CC" # Let the user override the test.
14864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14865 for as_dir in $PATH
14868 test -z "$as_dir" && as_dir=.
14869 for ac_exec_ext in '' $ac_executable_extensions; do
14870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14871 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14882 if test -n "$CC"; then
14883 { echo "$as_me:$LINENO: result: $CC" >&5
14884 echo "${ECHO_T}$CC" >&6; }
14886 { echo "$as_me:$LINENO: result: no" >&5
14887 echo "${ECHO_T}no" >&6; }
14892 if test -z "$ac_cv_prog_CC"; then
14894 # Extract the first word of "gcc", so it can be a program name with args.
14895 set dummy gcc; ac_word=$2
14896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14898 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 if test -n "$ac_ct_CC"; then
14902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14905 for as_dir in $PATH
14908 test -z "$as_dir" && as_dir=.
14909 for ac_exec_ext in '' $ac_executable_extensions; do
14910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14911 ac_cv_prog_ac_ct_CC="gcc"
14912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14922 if test -n "$ac_ct_CC"; then
14923 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14924 echo "${ECHO_T}$ac_ct_CC" >&6; }
14926 { echo "$as_me:$LINENO: result: no" >&5
14927 echo "${ECHO_T}no" >&6; }
14930 if test "x$ac_ct_CC" = x; then
14933 case $cross_compiling:$ac_tool_warned in
14935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14936 whose name does not start with the host triplet. If you think this
14937 configuration is useful to you, please write to autoconf@gnu.org." >&5
14938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14939 whose name does not start with the host triplet. If you think this
14940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14941 ac_tool_warned=yes ;;
14946 CC="$ac_cv_prog_CC"
14949 if test -z "$CC"; then
14950 if test -n "$ac_tool_prefix"; then
14951 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14952 set dummy ${ac_tool_prefix}cc; ac_word=$2
14953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14955 if test "${ac_cv_prog_CC+set}" = set; then
14956 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 if test -n "$CC"; then
14959 ac_cv_prog_CC="$CC" # Let the user override the test.
14961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14962 for as_dir in $PATH
14965 test -z "$as_dir" && as_dir=.
14966 for ac_exec_ext in '' $ac_executable_extensions; do
14967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14968 ac_cv_prog_CC="${ac_tool_prefix}cc"
14969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14979 if test -n "$CC"; then
14980 { echo "$as_me:$LINENO: result: $CC" >&5
14981 echo "${ECHO_T}$CC" >&6; }
14983 { echo "$as_me:$LINENO: result: no" >&5
14984 echo "${ECHO_T}no" >&6; }
14990 if test -z "$CC"; then
14991 # Extract the first word of "cc", so it can be a program name with args.
14992 set dummy cc; ac_word=$2
14993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14995 if test "${ac_cv_prog_CC+set}" = set; then
14996 echo $ECHO_N "(cached) $ECHO_C" >&6
14998 if test -n "$CC"; then
14999 ac_cv_prog_CC="$CC" # Let the user override the test.
15001 ac_prog_rejected=no
15002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15003 for as_dir in $PATH
15006 test -z "$as_dir" && as_dir=.
15007 for ac_exec_ext in '' $ac_executable_extensions; do
15008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15009 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15010 ac_prog_rejected=yes
15014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15021 if test $ac_prog_rejected = yes; then
15022 # We found a bogon in the path, so make sure we never use it.
15023 set dummy $ac_cv_prog_CC
15025 if test $# != 0; then
15026 # We chose a different compiler from the bogus one.
15027 # However, it has the same basename, so the bogon will be chosen
15028 # first if we set CC to just the basename; use the full file name.
15030 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15036 if test -n "$CC"; then
15037 { echo "$as_me:$LINENO: result: $CC" >&5
15038 echo "${ECHO_T}$CC" >&6; }
15040 { echo "$as_me:$LINENO: result: no" >&5
15041 echo "${ECHO_T}no" >&6; }
15046 if test -z "$CC"; then
15047 if test -n "$ac_tool_prefix"; then
15048 for ac_prog in cl.exe
15050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15054 if test "${ac_cv_prog_CC+set}" = set; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 if test -n "$CC"; then
15058 ac_cv_prog_CC="$CC" # Let the user override the test.
15060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15061 for as_dir in $PATH
15064 test -z "$as_dir" && as_dir=.
15065 for ac_exec_ext in '' $ac_executable_extensions; do
15066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15067 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15078 if test -n "$CC"; then
15079 { echo "$as_me:$LINENO: result: $CC" >&5
15080 echo "${ECHO_T}$CC" >&6; }
15082 { echo "$as_me:$LINENO: result: no" >&5
15083 echo "${ECHO_T}no" >&6; }
15087 test -n "$CC" && break
15090 if test -z "$CC"; then
15092 for ac_prog in cl.exe
15094 # Extract the first word of "$ac_prog", so it can be a program name with args.
15095 set dummy $ac_prog; ac_word=$2
15096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 if test -n "$ac_ct_CC"; then
15102 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15105 for as_dir in $PATH
15108 test -z "$as_dir" && as_dir=.
15109 for ac_exec_ext in '' $ac_executable_extensions; do
15110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15111 ac_cv_prog_ac_ct_CC="$ac_prog"
15112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15122 if test -n "$ac_ct_CC"; then
15123 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15124 echo "${ECHO_T}$ac_ct_CC" >&6; }
15126 { echo "$as_me:$LINENO: result: no" >&5
15127 echo "${ECHO_T}no" >&6; }
15131 test -n "$ac_ct_CC" && break
15134 if test "x$ac_ct_CC" = x; then
15137 case $cross_compiling:$ac_tool_warned in
15139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15140 whose name does not start with the host triplet. If you think this
15141 configuration is useful to you, please write to autoconf@gnu.org." >&5
15142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15143 whose name does not start with the host triplet. If you think this
15144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15145 ac_tool_warned=yes ;;
15154 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15155 See \`config.log' for more details." >&5
15156 echo "$as_me: error: no acceptable C compiler found in \$PATH
15157 See \`config.log' for more details." >&2;}
15158 { (exit 1); exit 1; }; }
15160 # Provide some information about the compiler.
15161 echo "$as_me:$LINENO: checking for C compiler version" >&5
15162 ac_compiler=`set X $ac_compile; echo $2`
15163 { (ac_try="$ac_compiler --version >&5"
15164 case "(($ac_try" in
15165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15166 *) ac_try_echo=$ac_try;;
15168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15169 (eval "$ac_compiler --version >&5") 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }
15173 { (ac_try="$ac_compiler -v >&5"
15174 case "(($ac_try" in
15175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15176 *) ac_try_echo=$ac_try;;
15178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15179 (eval "$ac_compiler -v >&5") 2>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }
15183 { (ac_try="$ac_compiler -V >&5"
15184 case "(($ac_try" in
15185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15186 *) ac_try_echo=$ac_try;;
15188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15189 (eval "$ac_compiler -V >&5") 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }
15194 cat >conftest.$ac_ext <<_ACEOF
15197 cat confdefs.h >>conftest.$ac_ext
15198 cat >>conftest.$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15209 ac_clean_files_save=$ac_clean_files
15210 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15211 # Try to create an executable without -o first, disregard a.out.
15212 # It will help us diagnose broken compilers, and finding out an intuition
15214 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15215 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15216 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15218 # List of possible output files, starting from the most likely.
15219 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15220 # only as a last resort. b.out is created by i960 compilers.
15221 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15223 # The IRIX 6 linker writes into existing files which may not be
15224 # executable, retaining their permissions. Remove them first so a
15225 # subsequent execution test works.
15227 for ac_file in $ac_files
15230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15231 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15236 if { (ac_try="$ac_link_default"
15237 case "(($ac_try" in
15238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15239 *) ac_try_echo=$ac_try;;
15241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15242 (eval "$ac_link_default") 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; then
15246 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15247 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15248 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15249 # so that the user can short-circuit this test for compilers unknown to
15251 for ac_file in $ac_files ''
15253 test -f "$ac_file" || continue
15255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15258 # We found the default executable, but exeext='' is most
15262 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15264 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15266 # We set ac_cv_exeext here because the later test for it is not
15267 # safe: cross compilers may not add the suffix if given an `-o'
15268 # argument, so we may need to know it at that point already.
15269 # Even if this section looks crufty: it has the advantage of
15270 # actually working.
15276 test "$ac_cv_exeext" = no && ac_cv_exeext=
15282 { echo "$as_me:$LINENO: result: $ac_file" >&5
15283 echo "${ECHO_T}$ac_file" >&6; }
15284 if test -z "$ac_file"; then
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15288 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15289 See \`config.log' for more details." >&5
15290 echo "$as_me: error: C compiler cannot create executables
15291 See \`config.log' for more details." >&2;}
15292 { (exit 77); exit 77; }; }
15295 ac_exeext=$ac_cv_exeext
15297 # Check that the compiler produces executables we can run. If not, either
15298 # the compiler is broken, or we cross compile.
15299 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15300 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15301 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15302 # If not cross compiling, check that we can run a simple program.
15303 if test "$cross_compiling" != yes; then
15304 if { ac_try='./$ac_file'
15305 { (case "(($ac_try" in
15306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15307 *) ac_try_echo=$ac_try;;
15309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15310 (eval "$ac_try") 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; }; then
15316 if test "$cross_compiling" = maybe; then
15317 cross_compiling=yes
15319 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15320 If you meant to cross compile, use \`--host'.
15321 See \`config.log' for more details." >&5
15322 echo "$as_me: error: cannot run C compiled programs.
15323 If you meant to cross compile, use \`--host'.
15324 See \`config.log' for more details." >&2;}
15325 { (exit 1); exit 1; }; }
15329 { echo "$as_me:$LINENO: result: yes" >&5
15330 echo "${ECHO_T}yes" >&6; }
15332 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15333 ac_clean_files=$ac_clean_files_save
15334 # Check that the compiler produces executables we can run. If not, either
15335 # the compiler is broken, or we cross compile.
15336 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15337 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15338 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15339 echo "${ECHO_T}$cross_compiling" >&6; }
15341 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15342 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15343 if { (ac_try="$ac_link"
15344 case "(($ac_try" in
15345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15346 *) ac_try_echo=$ac_try;;
15348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15349 (eval "$ac_link") 2>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; then
15353 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15354 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15355 # work properly (i.e., refer to `conftest.exe'), while it won't with
15357 for ac_file in conftest.exe conftest conftest.*; do
15358 test -f "$ac_file" || continue
15360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15361 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15367 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15368 See \`config.log' for more details." >&5
15369 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15370 See \`config.log' for more details." >&2;}
15371 { (exit 1); exit 1; }; }
15374 rm -f conftest$ac_cv_exeext
15375 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15376 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15378 rm -f conftest.$ac_ext
15379 EXEEXT=$ac_cv_exeext
15381 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15382 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15383 if test "${ac_cv_objext+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 cat >conftest.$ac_ext <<_ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15401 rm -f conftest.o conftest.obj
15402 if { (ac_try="$ac_compile"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_compile") 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; then
15412 for ac_file in conftest.o conftest.obj conftest.*; do
15413 test -f "$ac_file" || continue;
15415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15416 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15425 See \`config.log' for more details." >&5
15426 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15427 See \`config.log' for more details." >&2;}
15428 { (exit 1); exit 1; }; }
15431 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15433 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15434 echo "${ECHO_T}$ac_cv_objext" >&6; }
15435 OBJEXT=$ac_cv_objext
15437 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15438 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15439 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15440 echo $ECHO_N "(cached) $ECHO_C" >&6
15442 cat >conftest.$ac_ext <<_ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15460 rm -f conftest.$ac_objext
15461 if { (ac_try="$ac_compile"
15462 case "(($ac_try" in
15463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15464 *) ac_try_echo=$ac_try;;
15466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15467 (eval "$ac_compile") 2>conftest.er1
15469 grep -v '^ *+' conftest.er1 >conftest.err
15471 cat conftest.err >&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); } && {
15474 test -z "$ac_c_werror_flag" ||
15475 test ! -s conftest.err
15476 } && test -s conftest.$ac_objext; then
15477 ac_compiler_gnu=yes
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15486 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15489 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15490 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15491 GCC=`test $ac_compiler_gnu = yes && echo yes`
15492 ac_test_CFLAGS=${CFLAGS+set}
15493 ac_save_CFLAGS=$CFLAGS
15494 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15495 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15496 if test "${ac_cv_prog_cc_g+set}" = set; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 ac_save_c_werror_flag=$ac_c_werror_flag
15500 ac_c_werror_flag=yes
15503 cat >conftest.$ac_ext <<_ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15518 rm -f conftest.$ac_objext
15519 if { (ac_try="$ac_compile"
15520 case "(($ac_try" in
15521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522 *) ac_try_echo=$ac_try;;
15524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15525 (eval "$ac_compile") 2>conftest.er1
15527 grep -v '^ *+' conftest.er1 >conftest.err
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } && {
15532 test -z "$ac_c_werror_flag" ||
15533 test ! -s conftest.err
15534 } && test -s conftest.$ac_objext; then
15535 ac_cv_prog_cc_g=yes
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15541 cat >conftest.$ac_ext <<_ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15556 rm -f conftest.$ac_objext
15557 if { (ac_try="$ac_compile"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_compile") 2>conftest.er1
15565 grep -v '^ *+' conftest.er1 >conftest.err
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest.$ac_objext; then
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15578 ac_c_werror_flag=$ac_save_c_werror_flag
15580 cat >conftest.$ac_ext <<_ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15595 rm -f conftest.$ac_objext
15596 if { (ac_try="$ac_compile"
15597 case "(($ac_try" in
15598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15599 *) ac_try_echo=$ac_try;;
15601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15602 (eval "$ac_compile") 2>conftest.er1
15604 grep -v '^ *+' conftest.er1 >conftest.err
15606 cat conftest.err >&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } && {
15609 test -z "$ac_c_werror_flag" ||
15610 test ! -s conftest.err
15611 } && test -s conftest.$ac_objext; then
15612 ac_cv_prog_cc_g=yes
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15627 ac_c_werror_flag=$ac_save_c_werror_flag
15629 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15630 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15631 if test "$ac_test_CFLAGS" = set; then
15632 CFLAGS=$ac_save_CFLAGS
15633 elif test $ac_cv_prog_cc_g = yes; then
15634 if test "$GCC" = yes; then
15640 if test "$GCC" = yes; then
15646 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15647 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15648 if test "${ac_cv_prog_cc_c89+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 ac_cv_prog_cc_c89=no
15653 cat >conftest.$ac_ext <<_ACEOF
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 #include <stdarg.h>
15661 #include <sys/types.h>
15662 #include <sys/stat.h>
15663 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15664 struct buf { int x; };
15665 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15666 static char *e (p, i)
15672 static char *f (char * (*g) (char **, int), char **p, ...)
15677 s = g (p, va_arg (v,int));
15682 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15683 function prototypes and stuff, but not '\xHH' hex character constants.
15684 These don't provoke an error unfortunately, instead are silently treated
15685 as 'x'. The following induces an error, until -std is added to get
15686 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15687 array size at least. It's necessary to write '\x00'==0 to get something
15688 that's true only with -std. */
15689 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15691 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15692 inside strings and character constants. */
15694 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15696 int test (int i, double x);
15697 struct s1 {int (*f) (int a);};
15698 struct s2 {int (*f) (double a);};
15699 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15705 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15710 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15711 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15713 CC="$ac_save_CC $ac_arg"
15714 rm -f conftest.$ac_objext
15715 if { (ac_try="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15723 grep -v '^ *+' conftest.er1 >conftest.err
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 ac_cv_prog_cc_c89=$ac_arg
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15739 rm -f core conftest.err conftest.$ac_objext
15740 test "x$ac_cv_prog_cc_c89" != "xno" && break
15742 rm -f conftest.$ac_ext
15747 case "x$ac_cv_prog_cc_c89" in
15749 { echo "$as_me:$LINENO: result: none needed" >&5
15750 echo "${ECHO_T}none needed" >&6; } ;;
15752 { echo "$as_me:$LINENO: result: unsupported" >&5
15753 echo "${ECHO_T}unsupported" >&6; } ;;
15755 CC="$CC $ac_cv_prog_cc_c89"
15756 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15757 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15762 ac_cpp='$CPP $CPPFLAGS'
15763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15780 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15781 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15782 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15783 echo $ECHO_N "(cached) $ECHO_C" >&6
15785 cat >conftest.$ac_ext <<_ACEOF
15788 cat confdefs.h >>conftest.$ac_ext
15789 cat >>conftest.$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15796 #ifndef __INTEL_COMPILER
15804 rm -f conftest.$ac_objext
15805 if { (ac_try="$ac_compile"
15806 case "(($ac_try" in
15807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808 *) ac_try_echo=$ac_try;;
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_compile") 2>conftest.er1
15813 grep -v '^ *+' conftest.er1 >conftest.err
15815 cat conftest.err >&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } && {
15818 test -z "$ac_c_werror_flag" ||
15819 test ! -s conftest.err
15820 } && test -s conftest.$ac_objext; then
15821 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.$ac_ext >&5
15826 bakefile_cv_c_compiler___INTEL_COMPILER=no
15830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15834 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15835 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15836 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15842 ac_cpp='$CPP $CPPFLAGS'
15843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15850 if test "$INTELCC" = "yes"; then
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
15859 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15860 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15861 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 cat >conftest.$ac_ext <<_ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15875 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15883 rm -f conftest.$ac_objext
15884 if { (ac_try="$ac_compile"
15885 case "(($ac_try" in
15886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15887 *) ac_try_echo=$ac_try;;
15889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15890 (eval "$ac_compile") 2>conftest.er1
15892 grep -v '^ *+' conftest.er1 >conftest.err
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && {
15897 test -z "$ac_c_werror_flag" ||
15898 test ! -s conftest.err
15899 } && test -s conftest.$ac_objext; then
15900 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15905 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15914 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15915 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15921 ac_cpp='$CPP $CPPFLAGS'
15922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15937 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15938 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15941 cat >conftest.$ac_ext <<_ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15952 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15960 rm -f conftest.$ac_objext
15961 if { (ac_try="$ac_compile"
15962 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15967 (eval "$ac_compile") 2>conftest.er1
15969 grep -v '^ *+' conftest.er1 >conftest.err
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && {
15974 test -z "$ac_c_werror_flag" ||
15975 test ! -s conftest.err
15976 } && test -s conftest.$ac_objext; then
15977 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15982 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15991 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15992 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16007 if test "x$GCC" != "xyes"; then
16008 if test "xCC" = "xC"; then
16009 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16010 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16011 if test "${bakefile_cv_c_exto+set}" = set; then
16012 echo $ECHO_N "(cached) $ECHO_C" >&6
16014 cat >conftest.$ac_ext <<_ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16029 rm -f conftest.$ac_objext conftest.$ac_ext.o
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; then
16035 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16037 conftest.$ac_ext.o)
16038 bakefile_cv_c_exto="-ext o"
16045 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16046 See \`config.log' for more details." >&5
16047 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16048 See \`config.log' for more details." >&2;}
16049 { (exit 1); exit 1; }; }
16053 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16056 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16057 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16058 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16059 if test "c" = "c"; then
16060 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16062 if test "c" = "cxx"; then
16063 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16067 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16068 unset ac_cv_prog_cc_g
16069 ac_test_CFLAGS=${CFLAGS+set}
16070 ac_save_CFLAGS=$CFLAGS
16071 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16072 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16073 if test "${ac_cv_prog_cc_g+set}" = set; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 ac_save_c_werror_flag=$ac_c_werror_flag
16077 ac_c_werror_flag=yes
16080 cat >conftest.$ac_ext <<_ACEOF
16083 cat confdefs.h >>conftest.$ac_ext
16084 cat >>conftest.$ac_ext <<_ACEOF
16085 /* end confdefs.h. */
16095 rm -f conftest.$ac_objext
16096 if { (ac_try="$ac_compile"
16097 case "(($ac_try" in
16098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16099 *) ac_try_echo=$ac_try;;
16101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16102 (eval "$ac_compile") 2>conftest.er1
16104 grep -v '^ *+' conftest.er1 >conftest.err
16106 cat conftest.err >&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); } && {
16109 test -z "$ac_c_werror_flag" ||
16110 test ! -s conftest.err
16111 } && test -s conftest.$ac_objext; then
16112 ac_cv_prog_cc_g=yes
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16118 cat >conftest.$ac_ext <<_ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16133 rm -f conftest.$ac_objext
16134 if { (ac_try="$ac_compile"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_compile") 2>conftest.er1
16142 grep -v '^ *+' conftest.er1 >conftest.err
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && {
16147 test -z "$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 } && test -s conftest.$ac_objext; then
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16155 ac_c_werror_flag=$ac_save_c_werror_flag
16157 cat >conftest.$ac_ext <<_ACEOF
16160 cat confdefs.h >>conftest.$ac_ext
16161 cat >>conftest.$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16172 rm -f conftest.$ac_objext
16173 if { (ac_try="$ac_compile"
16174 case "(($ac_try" in
16175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16176 *) ac_try_echo=$ac_try;;
16178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16179 (eval "$ac_compile") 2>conftest.er1
16181 grep -v '^ *+' conftest.er1 >conftest.err
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } && {
16186 test -z "$ac_c_werror_flag" ||
16187 test ! -s conftest.err
16188 } && test -s conftest.$ac_objext; then
16189 ac_cv_prog_cc_g=yes
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16204 ac_c_werror_flag=$ac_save_c_werror_flag
16206 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16207 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16208 if test "$ac_test_CFLAGS" = set; then
16209 CFLAGS=$ac_save_CFLAGS
16210 elif test $ac_cv_prog_cc_g = yes; then
16211 if test "$GCC" = yes; then
16217 if test "$GCC" = yes; then
16231 ac_cpp='$CPP $CPPFLAGS'
16232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16236 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16237 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16238 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 cat >conftest.$ac_ext <<_ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16260 rm -f conftest.$ac_objext
16261 if { (ac_try="$ac_compile"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compile") 2>conftest.er1
16269 grep -v '^ *+' conftest.er1 >conftest.err
16271 cat conftest.err >&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } && {
16274 test -z "$ac_c_werror_flag" ||
16275 test ! -s conftest.err
16276 } && test -s conftest.$ac_objext; then
16277 bakefile_cv_c_compiler___xlC__=yes
16279 echo "$as_me: failed program was:" >&5
16280 sed 's/^/| /' conftest.$ac_ext >&5
16282 bakefile_cv_c_compiler___xlC__=no
16286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16290 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16291 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16292 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16298 ac_cpp='$CPP $CPPFLAGS'
16299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16311 ac_cpp='$CPP $CPPFLAGS'
16312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16316 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16317 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16318 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16321 cat >conftest.$ac_ext <<_ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16340 rm -f conftest.$ac_objext
16341 if { (ac_try="$ac_compile"
16342 case "(($ac_try" in
16343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16344 *) ac_try_echo=$ac_try;;
16346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16347 (eval "$ac_compile") 2>conftest.er1
16349 grep -v '^ *+' conftest.er1 >conftest.err
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } && {
16354 test -z "$ac_c_werror_flag" ||
16355 test ! -s conftest.err
16356 } && test -s conftest.$ac_objext; then
16357 bakefile_cv_c_compiler___MWERKS__=yes
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16362 bakefile_cv_c_compiler___MWERKS__=no
16366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16370 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16371 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16372 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16378 ac_cpp='$CPP $CPPFLAGS'
16379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16385 if test "$MWCC" != "yes"; then
16389 ac_cpp='$CPP $CPPFLAGS'
16390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16394 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16395 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16396 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16399 cat >conftest.$ac_ext <<_ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16418 rm -f conftest.$ac_objext
16419 if { (ac_try="$ac_compile"
16420 case "(($ac_try" in
16421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16422 *) ac_try_echo=$ac_try;;
16424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16425 (eval "$ac_compile") 2>conftest.er1
16427 grep -v '^ *+' conftest.er1 >conftest.err
16429 cat conftest.err >&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } && {
16432 test -z "$ac_c_werror_flag" ||
16433 test ! -s conftest.err
16434 } && test -s conftest.$ac_objext; then
16435 bakefile_cv_c_compiler___xlC__=yes
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16440 bakefile_cv_c_compiler___xlC__=no
16444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16448 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16449 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16450 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16456 ac_cpp='$CPP $CPPFLAGS'
16457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
16475 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16476 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16477 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16480 cat >conftest.$ac_ext <<_ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16491 #ifndef _SGI_COMPILER_VERSION
16499 rm -f conftest.$ac_objext
16500 if { (ac_try="$ac_compile"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compile") 2>conftest.er1
16508 grep -v '^ *+' conftest.er1 >conftest.err
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest.$ac_objext; then
16516 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16521 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16529 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16530 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16531 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16537 ac_cpp='$CPP $CPPFLAGS'
16538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16547 if test "$INTELCC" != "yes"; then
16551 ac_cpp='$CPP $CPPFLAGS'
16552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16556 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16557 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16558 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 cat >conftest.$ac_ext <<_ACEOF
16564 cat confdefs.h >>conftest.$ac_ext
16565 cat >>conftest.$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16580 rm -f conftest.$ac_objext
16581 if { (ac_try="$ac_compile"
16582 case "(($ac_try" in
16583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16584 *) ac_try_echo=$ac_try;;
16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16587 (eval "$ac_compile") 2>conftest.er1
16589 grep -v '^ *+' conftest.er1 >conftest.err
16591 cat conftest.err >&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); } && {
16594 test -z "$ac_c_werror_flag" ||
16595 test ! -s conftest.err
16596 } && test -s conftest.$ac_objext; then
16597 bakefile_cv_c_compiler___SUNPRO_C=yes
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.$ac_ext >&5
16602 bakefile_cv_c_compiler___SUNPRO_C=no
16606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16610 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16611 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16612 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16618 ac_cpp='$CPP $CPPFLAGS'
16619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16632 ac_cpp='$CPP $CPPFLAGS'
16633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16637 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16638 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16639 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 cat >conftest.$ac_ext <<_ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16670 grep -v '^ *+' conftest.er1 >conftest.err
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 bakefile_cv_c_compiler___HP_cc=yes
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16683 bakefile_cv_c_compiler___HP_cc=no
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16691 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16692 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16693 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16699 ac_cpp='$CPP $CPPFLAGS'
16700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16712 ac_cpp='$CPP $CPPFLAGS'
16713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16717 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16718 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16719 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16720 echo $ECHO_N "(cached) $ECHO_C" >&6
16722 cat >conftest.$ac_ext <<_ACEOF
16725 cat confdefs.h >>conftest.$ac_ext
16726 cat >>conftest.$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16750 grep -v '^ *+' conftest.er1 >conftest.err
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 bakefile_cv_c_compiler___DECC=yes
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16763 bakefile_cv_c_compiler___DECC=no
16767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16771 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16772 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16773 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16779 ac_cpp='$CPP $CPPFLAGS'
16780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16792 ac_cpp='$CPP $CPPFLAGS'
16793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16797 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16798 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16799 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 cat >conftest.$ac_ext <<_ACEOF
16805 cat confdefs.h >>conftest.$ac_ext
16806 cat >>conftest.$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16821 rm -f conftest.$ac_objext
16822 if { (ac_try="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_compile") 2>conftest.er1
16830 grep -v '^ *+' conftest.er1 >conftest.err
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest.$ac_objext; then
16838 bakefile_cv_c_compiler___SUNPRO_C=yes
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16843 bakefile_cv_c_compiler___SUNPRO_C=no
16847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16851 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16852 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16853 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16859 ac_cpp='$CPP $CPPFLAGS'
16860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16873 ac_cpp='$CPP $CPPFLAGS'
16874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16877 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16878 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16879 # On Suns, sometimes $CPP names a directory.
16880 if test -n "$CPP" && test -d "$CPP"; then
16883 if test -z "$CPP"; then
16884 if test "${ac_cv_prog_CPP+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 # Double quotes because CPP needs to be expanded
16888 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16890 ac_preproc_ok=false
16891 for ac_c_preproc_warn_flag in '' yes
16893 # Use a header file that comes with gcc, so configuring glibc
16894 # with a fresh cross-compiler works.
16895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16896 # <limits.h> exists even on freestanding compilers.
16897 # On the NeXT, cc -E runs the code through the compiler's parser,
16898 # not just through cpp. "Syntax error" is here to catch this case.
16899 cat >conftest.$ac_ext <<_ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16906 # include <limits.h>
16908 # include <assert.h>
16912 if { (ac_try="$ac_cpp conftest.$ac_ext"
16913 case "(($ac_try" in
16914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16920 grep -v '^ *+' conftest.er1 >conftest.err
16922 cat conftest.err >&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } >/dev/null && {
16925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16926 test ! -s conftest.err
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16933 # Broken: fails on valid input.
16937 rm -f conftest.err conftest.$ac_ext
16939 # OK, works on sane cases. Now check whether nonexistent headers
16940 # can be detected and how.
16941 cat >conftest.$ac_ext <<_ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 #include <ac_nonexistent.h>
16949 if { (ac_try="$ac_cpp conftest.$ac_ext"
16950 case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16957 grep -v '^ *+' conftest.er1 >conftest.err
16959 cat conftest.err >&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } >/dev/null && {
16962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16963 test ! -s conftest.err
16965 # Broken: success on invalid input.
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.$ac_ext >&5
16971 # Passes both tests.
16976 rm -f conftest.err conftest.$ac_ext
16979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16980 rm -f conftest.err conftest.$ac_ext
16981 if $ac_preproc_ok; then
16986 ac_cv_prog_CPP=$CPP
16989 CPP=$ac_cv_prog_CPP
16991 ac_cv_prog_CPP=$CPP
16993 { echo "$as_me:$LINENO: result: $CPP" >&5
16994 echo "${ECHO_T}$CPP" >&6; }
16995 ac_preproc_ok=false
16996 for ac_c_preproc_warn_flag in '' yes
16998 # Use a header file that comes with gcc, so configuring glibc
16999 # with a fresh cross-compiler works.
17000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17001 # <limits.h> exists even on freestanding compilers.
17002 # On the NeXT, cc -E runs the code through the compiler's parser,
17003 # not just through cpp. "Syntax error" is here to catch this case.
17004 cat >conftest.$ac_ext <<_ACEOF
17007 cat confdefs.h >>conftest.$ac_ext
17008 cat >>conftest.$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17011 # include <limits.h>
17013 # include <assert.h>
17017 if { (ac_try="$ac_cpp conftest.$ac_ext"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17025 grep -v '^ *+' conftest.er1 >conftest.err
17027 cat conftest.err >&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } >/dev/null && {
17030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17031 test ! -s conftest.err
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17038 # Broken: fails on valid input.
17042 rm -f conftest.err conftest.$ac_ext
17044 # OK, works on sane cases. Now check whether nonexistent headers
17045 # can be detected and how.
17046 cat >conftest.$ac_ext <<_ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 #include <ac_nonexistent.h>
17054 if { (ac_try="$ac_cpp conftest.$ac_ext"
17055 case "(($ac_try" in
17056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17057 *) ac_try_echo=$ac_try;;
17059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17062 grep -v '^ *+' conftest.er1 >conftest.err
17064 cat conftest.err >&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } >/dev/null && {
17067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17068 test ! -s conftest.err
17070 # Broken: success on invalid input.
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.$ac_ext >&5
17076 # Passes both tests.
17081 rm -f conftest.err conftest.$ac_ext
17084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17085 rm -f conftest.err conftest.$ac_ext
17086 if $ac_preproc_ok; then
17089 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17090 See \`config.log' for more details." >&5
17091 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17092 See \`config.log' for more details." >&2;}
17093 { (exit 1); exit 1; }; }
17097 ac_cpp='$CPP $CPPFLAGS'
17098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17103 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17104 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17105 if test "${ac_cv_path_GREP+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 # Extract the first word of "grep ggrep" to use in msg output
17109 if test -z "$GREP"; then
17110 set dummy grep ggrep; ac_prog_name=$2
17111 if test "${ac_cv_path_GREP+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 ac_path_GREP_found=false
17115 # Loop through the user's path and test for each of PROGNAME-LIST
17116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17120 test -z "$as_dir" && as_dir=.
17121 for ac_prog in grep ggrep; do
17122 for ac_exec_ext in '' $ac_executable_extensions; do
17123 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17124 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17125 # Check for GNU ac_path_GREP and select it if it is found.
17126 # Check for GNU $ac_path_GREP
17127 case `"$ac_path_GREP" --version 2>&1` in
17129 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17132 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17135 cat "conftest.in" "conftest.in" >"conftest.tmp"
17136 mv "conftest.tmp" "conftest.in"
17137 cp "conftest.in" "conftest.nl"
17138 echo 'GREP' >> "conftest.nl"
17139 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17141 ac_count=`expr $ac_count + 1`
17142 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17143 # Best one so far, save it but keep looking for a better one
17144 ac_cv_path_GREP="$ac_path_GREP"
17145 ac_path_GREP_max=$ac_count
17147 # 10*(2^10) chars as input seems more than enough
17148 test $ac_count -gt 10 && break
17150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17154 $ac_path_GREP_found && break 3
17164 GREP="$ac_cv_path_GREP"
17165 if test -z "$GREP"; then
17166 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17167 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17168 { (exit 1); exit 1; }; }
17172 ac_cv_path_GREP=$GREP
17177 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17178 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17179 GREP="$ac_cv_path_GREP"
17182 { echo "$as_me:$LINENO: checking for egrep" >&5
17183 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17184 if test "${ac_cv_path_EGREP+set}" = set; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17188 then ac_cv_path_EGREP="$GREP -E"
17190 # Extract the first word of "egrep" to use in msg output
17191 if test -z "$EGREP"; then
17192 set dummy egrep; ac_prog_name=$2
17193 if test "${ac_cv_path_EGREP+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 ac_path_EGREP_found=false
17197 # Loop through the user's path and test for each of PROGNAME-LIST
17198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17199 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17202 test -z "$as_dir" && as_dir=.
17203 for ac_prog in egrep; do
17204 for ac_exec_ext in '' $ac_executable_extensions; do
17205 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17206 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17207 # Check for GNU ac_path_EGREP and select it if it is found.
17208 # Check for GNU $ac_path_EGREP
17209 case `"$ac_path_EGREP" --version 2>&1` in
17211 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17214 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17217 cat "conftest.in" "conftest.in" >"conftest.tmp"
17218 mv "conftest.tmp" "conftest.in"
17219 cp "conftest.in" "conftest.nl"
17220 echo 'EGREP' >> "conftest.nl"
17221 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17222 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17223 ac_count=`expr $ac_count + 1`
17224 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17225 # Best one so far, save it but keep looking for a better one
17226 ac_cv_path_EGREP="$ac_path_EGREP"
17227 ac_path_EGREP_max=$ac_count
17229 # 10*(2^10) chars as input seems more than enough
17230 test $ac_count -gt 10 && break
17232 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17236 $ac_path_EGREP_found && break 3
17246 EGREP="$ac_cv_path_EGREP"
17247 if test -z "$EGREP"; then
17248 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17249 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17250 { (exit 1); exit 1; }; }
17254 ac_cv_path_EGREP=$EGREP
17260 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17261 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17262 EGREP="$ac_cv_path_EGREP"
17265 if test $ac_cv_c_compiler_gnu = yes; then
17266 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17267 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17268 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 ac_pattern="Autoconf.*'x'"
17272 cat >conftest.$ac_ext <<_ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17282 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17283 ac_cv_prog_gcc_traditional=yes
17285 ac_cv_prog_gcc_traditional=no
17290 if test $ac_cv_prog_gcc_traditional = no; then
17291 cat >conftest.$ac_ext <<_ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 #include <termio.h>
17300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17301 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17302 ac_cv_prog_gcc_traditional=yes
17308 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17309 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17310 if test $ac_cv_prog_gcc_traditional = yes; then
17311 CC="$CC -traditional"
17316 CXXFLAGS=${CXXFLAGS:=}
17318 ac_cpp='$CXXCPP $CPPFLAGS'
17319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17322 if test -z "$CXX"; then
17323 if test -n "$CCC"; then
17326 if test -n "$ac_tool_prefix"; then
17327 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17333 if test "${ac_cv_prog_CXX+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 if test -n "$CXX"; then
17337 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17340 for as_dir in $PATH
17343 test -z "$as_dir" && as_dir=.
17344 for ac_exec_ext in '' $ac_executable_extensions; do
17345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17346 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17356 CXX=$ac_cv_prog_CXX
17357 if test -n "$CXX"; then
17358 { echo "$as_me:$LINENO: result: $CXX" >&5
17359 echo "${ECHO_T}$CXX" >&6; }
17361 { echo "$as_me:$LINENO: result: no" >&5
17362 echo "${ECHO_T}no" >&6; }
17366 test -n "$CXX" && break
17369 if test -z "$CXX"; then
17371 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17373 # Extract the first word of "$ac_prog", so it can be a program name with args.
17374 set dummy $ac_prog; ac_word=$2
17375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17380 if test -n "$ac_ct_CXX"; then
17381 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17384 for as_dir in $PATH
17387 test -z "$as_dir" && as_dir=.
17388 for ac_exec_ext in '' $ac_executable_extensions; do
17389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17390 ac_cv_prog_ac_ct_CXX="$ac_prog"
17391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17400 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17401 if test -n "$ac_ct_CXX"; then
17402 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17403 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17405 { echo "$as_me:$LINENO: result: no" >&5
17406 echo "${ECHO_T}no" >&6; }
17410 test -n "$ac_ct_CXX" && break
17413 if test "x$ac_ct_CXX" = x; then
17416 case $cross_compiling:$ac_tool_warned in
17418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17419 whose name does not start with the host triplet. If you think this
17420 configuration is useful to you, please write to autoconf@gnu.org." >&5
17421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17422 whose name does not start with the host triplet. If you think this
17423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17424 ac_tool_warned=yes ;;
17432 # Provide some information about the compiler.
17433 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17434 ac_compiler=`set X $ac_compile; echo $2`
17435 { (ac_try="$ac_compiler --version >&5"
17436 case "(($ac_try" in
17437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17438 *) ac_try_echo=$ac_try;;
17440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17441 (eval "$ac_compiler --version >&5") 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }
17445 { (ac_try="$ac_compiler -v >&5"
17446 case "(($ac_try" in
17447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17448 *) ac_try_echo=$ac_try;;
17450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17451 (eval "$ac_compiler -v >&5") 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }
17455 { (ac_try="$ac_compiler -V >&5"
17456 case "(($ac_try" in
17457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17458 *) ac_try_echo=$ac_try;;
17460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_compiler -V >&5") 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }
17466 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17467 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17468 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 cat >conftest.$ac_ext <<_ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17489 rm -f conftest.$ac_objext
17490 if { (ac_try="$ac_compile"
17491 case "(($ac_try" in
17492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_compile") 2>conftest.er1
17498 grep -v '^ *+' conftest.er1 >conftest.err
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } && {
17503 test -z "$ac_cxx_werror_flag" ||
17504 test ! -s conftest.err
17505 } && test -s conftest.$ac_objext; then
17506 ac_compiler_gnu=yes
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17515 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17518 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17519 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17520 GXX=`test $ac_compiler_gnu = yes && echo yes`
17521 ac_test_CXXFLAGS=${CXXFLAGS+set}
17522 ac_save_CXXFLAGS=$CXXFLAGS
17523 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17524 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17525 if test "${ac_cv_prog_cxx_g+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17529 ac_cxx_werror_flag=yes
17530 ac_cv_prog_cxx_g=no
17532 cat >conftest.$ac_ext <<_ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17547 rm -f conftest.$ac_objext
17548 if { (ac_try="$ac_compile"
17549 case "(($ac_try" in
17550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_compile") 2>conftest.er1
17556 grep -v '^ *+' conftest.er1 >conftest.err
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && {
17561 test -z "$ac_cxx_werror_flag" ||
17562 test ! -s conftest.err
17563 } && test -s conftest.$ac_objext; then
17564 ac_cv_prog_cxx_g=yes
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17570 cat >conftest.$ac_ext <<_ACEOF
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17585 rm -f conftest.$ac_objext
17586 if { (ac_try="$ac_compile"
17587 case "(($ac_try" in
17588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17589 *) ac_try_echo=$ac_try;;
17591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17592 (eval "$ac_compile") 2>conftest.er1
17594 grep -v '^ *+' conftest.er1 >conftest.err
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } && {
17599 test -z "$ac_cxx_werror_flag" ||
17600 test ! -s conftest.err
17601 } && test -s conftest.$ac_objext; then
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17607 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17609 cat >conftest.$ac_ext <<_ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17624 rm -f conftest.$ac_objext
17625 if { (ac_try="$ac_compile"
17626 case "(($ac_try" in
17627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17628 *) ac_try_echo=$ac_try;;
17630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17631 (eval "$ac_compile") 2>conftest.er1
17633 grep -v '^ *+' conftest.er1 >conftest.err
17635 cat conftest.err >&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } && {
17638 test -z "$ac_cxx_werror_flag" ||
17639 test ! -s conftest.err
17640 } && test -s conftest.$ac_objext; then
17641 ac_cv_prog_cxx_g=yes
17643 echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.$ac_ext >&5
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17660 if test "$ac_test_CXXFLAGS" = set; then
17661 CXXFLAGS=$ac_save_CXXFLAGS
17662 elif test $ac_cv_prog_cxx_g = yes; then
17663 if test "$GXX" = yes; then
17669 if test "$GXX" = yes; then
17676 ac_cpp='$CPP $CPPFLAGS'
17677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17689 ac_cpp='$CXXCPP $CPPFLAGS'
17690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17694 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17695 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17696 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 cat >conftest.$ac_ext <<_ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17710 #ifndef __INTEL_COMPILER
17718 rm -f conftest.$ac_objext
17719 if { (ac_try="$ac_compile"
17720 case "(($ac_try" in
17721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17722 *) ac_try_echo=$ac_try;;
17724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17725 (eval "$ac_compile") 2>conftest.er1
17727 grep -v '^ *+' conftest.er1 >conftest.err
17729 cat conftest.err >&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); } && {
17732 test -z "$ac_cxx_werror_flag" ||
17733 test ! -s conftest.err
17734 } && test -s conftest.$ac_objext; then
17735 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17737 echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.$ac_ext >&5
17740 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17749 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17750 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764 if test "$INTELCXX" = "yes"; then
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17773 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17774 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17775 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17778 cat >conftest.$ac_ext <<_ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17789 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17797 rm -f conftest.$ac_objext
17798 if { (ac_try="$ac_compile"
17799 case "(($ac_try" in
17800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17801 *) ac_try_echo=$ac_try;;
17803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17804 (eval "$ac_compile") 2>conftest.er1
17806 grep -v '^ *+' conftest.er1 >conftest.err
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } && {
17811 test -z "$ac_cxx_werror_flag" ||
17812 test ! -s conftest.err
17813 } && test -s conftest.$ac_objext; then
17814 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.$ac_ext >&5
17819 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17828 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17829 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17835 ac_cpp='$CPP $CPPFLAGS'
17836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17845 ac_cpp='$CXXCPP $CPPFLAGS'
17846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17850 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17851 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17852 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17853 echo $ECHO_N "(cached) $ECHO_C" >&6
17855 cat >conftest.$ac_ext <<_ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17866 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17874 rm -f conftest.$ac_objext
17875 if { (ac_try="$ac_compile"
17876 case "(($ac_try" in
17877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17878 *) ac_try_echo=$ac_try;;
17880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17881 (eval "$ac_compile") 2>conftest.er1
17883 grep -v '^ *+' conftest.er1 >conftest.err
17885 cat conftest.err >&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } && {
17888 test -z "$ac_cxx_werror_flag" ||
17889 test ! -s conftest.err
17890 } && test -s conftest.$ac_objext; then
17891 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.$ac_ext >&5
17896 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17904 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17905 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17906 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17912 ac_cpp='$CPP $CPPFLAGS'
17913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17921 if test "x$GCXX" != "xyes"; then
17922 if test "xCXX" = "xC"; then
17923 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17924 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17925 if test "${bakefile_cv_c_exto+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 cat >conftest.$ac_ext <<_ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17943 rm -f conftest.$ac_objext conftest.$ac_ext.o
17944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17945 (eval $ac_compile) 2>&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; then
17949 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17951 conftest.$ac_ext.o)
17952 bakefile_cv_c_exto="-ext o"
17959 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17960 See \`config.log' for more details." >&5
17961 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17962 See \`config.log' for more details." >&2;}
17963 { (exit 1); exit 1; }; }
17967 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17970 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17971 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17972 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17973 if test "c" = "c"; then
17974 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17976 if test "c" = "cxx"; then
17977 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17981 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17982 unset ac_cv_prog_cc_g
17983 ac_test_CFLAGS=${CFLAGS+set}
17984 ac_save_CFLAGS=$CFLAGS
17985 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17986 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17987 if test "${ac_cv_prog_cc_g+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 ac_save_c_werror_flag=$ac_c_werror_flag
17991 ac_c_werror_flag=yes
17994 cat >conftest.$ac_ext <<_ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18018 grep -v '^ *+' conftest.er1 >conftest.err
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.$ac_objext; then
18026 ac_cv_prog_cc_g=yes
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18032 cat >conftest.$ac_ext <<_ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18047 rm -f conftest.$ac_objext
18048 if { (ac_try="$ac_compile"
18049 case "(($ac_try" in
18050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18051 *) ac_try_echo=$ac_try;;
18053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18054 (eval "$ac_compile") 2>conftest.er1
18056 grep -v '^ *+' conftest.er1 >conftest.err
18058 cat conftest.err >&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); } && {
18061 test -z "$ac_c_werror_flag" ||
18062 test ! -s conftest.err
18063 } && test -s conftest.$ac_objext; then
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.$ac_ext >&5
18069 ac_c_werror_flag=$ac_save_c_werror_flag
18071 cat >conftest.$ac_ext <<_ACEOF
18074 cat confdefs.h >>conftest.$ac_ext
18075 cat >>conftest.$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18086 rm -f conftest.$ac_objext
18087 if { (ac_try="$ac_compile"
18088 case "(($ac_try" in
18089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18090 *) ac_try_echo=$ac_try;;
18092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18093 (eval "$ac_compile") 2>conftest.er1
18095 grep -v '^ *+' conftest.er1 >conftest.err
18097 cat conftest.err >&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } && {
18100 test -z "$ac_c_werror_flag" ||
18101 test ! -s conftest.err
18102 } && test -s conftest.$ac_objext; then
18103 ac_cv_prog_cc_g=yes
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18118 ac_c_werror_flag=$ac_save_c_werror_flag
18120 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18121 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18122 if test "$ac_test_CFLAGS" = set; then
18123 CFLAGS=$ac_save_CFLAGS
18124 elif test $ac_cv_prog_cc_g = yes; then
18125 if test "$GCC" = yes; then
18131 if test "$GCC" = yes; then
18145 ac_cpp='$CXXCPP $CPPFLAGS'
18146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18150 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18151 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18152 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 cat >conftest.$ac_ext <<_ACEOF
18158 cat confdefs.h >>conftest.$ac_ext
18159 cat >>conftest.$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18174 rm -f conftest.$ac_objext
18175 if { (ac_try="$ac_compile"
18176 case "(($ac_try" in
18177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18178 *) ac_try_echo=$ac_try;;
18180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18181 (eval "$ac_compile") 2>conftest.er1
18183 grep -v '^ *+' conftest.er1 >conftest.err
18185 cat conftest.err >&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } && {
18188 test -z "$ac_cxx_werror_flag" ||
18189 test ! -s conftest.err
18190 } && test -s conftest.$ac_objext; then
18191 bakefile_cv_cxx_compiler___xlC__=yes
18193 echo "$as_me: failed program was:" >&5
18194 sed 's/^/| /' conftest.$ac_ext >&5
18196 bakefile_cv_cxx_compiler___xlC__=no
18200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18204 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18205 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18206 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18212 ac_cpp='$CPP $CPPFLAGS'
18213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18225 ac_cpp='$CXXCPP $CPPFLAGS'
18226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18230 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18231 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18232 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 cat >conftest.$ac_ext <<_ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18254 rm -f conftest.$ac_objext
18255 if { (ac_try="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18263 grep -v '^ *+' conftest.er1 >conftest.err
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_cxx_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.$ac_objext; then
18271 bakefile_cv_cxx_compiler___MWERKS__=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18276 bakefile_cv_cxx_compiler___MWERKS__=no
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18284 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18285 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18286 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18292 ac_cpp='$CPP $CPPFLAGS'
18293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18299 if test "$MWCXX" != "yes"; then
18303 ac_cpp='$CXXCPP $CPPFLAGS'
18304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18308 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18309 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18310 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18311 echo $ECHO_N "(cached) $ECHO_C" >&6
18313 cat >conftest.$ac_ext <<_ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18332 rm -f conftest.$ac_objext
18333 if { (ac_try="$ac_compile"
18334 case "(($ac_try" in
18335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18336 *) ac_try_echo=$ac_try;;
18338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18339 (eval "$ac_compile") 2>conftest.er1
18341 grep -v '^ *+' conftest.er1 >conftest.err
18343 cat conftest.err >&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } && {
18346 test -z "$ac_cxx_werror_flag" ||
18347 test ! -s conftest.err
18348 } && test -s conftest.$ac_objext; then
18349 bakefile_cv_cxx_compiler___xlC__=yes
18351 echo "$as_me: failed program was:" >&5
18352 sed 's/^/| /' conftest.$ac_ext >&5
18354 bakefile_cv_cxx_compiler___xlC__=no
18358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18362 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18363 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18364 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18370 ac_cpp='$CPP $CPPFLAGS'
18371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18384 ac_cpp='$CXXCPP $CPPFLAGS'
18385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18389 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18390 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18391 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18405 #ifndef _SGI_COMPILER_VERSION
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18422 grep -v '^ *+' conftest.er1 >conftest.err
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_cxx_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18435 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18444 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18445 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18461 if test "$INTELCXX" != "yes"; then
18465 ac_cpp='$CXXCPP $CPPFLAGS'
18466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18470 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18471 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18472 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 cat >conftest.$ac_ext <<_ACEOF
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18486 #ifndef __SUNPRO_CC
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18503 grep -v '^ *+' conftest.er1 >conftest.err
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_cxx_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.$ac_objext; then
18511 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18524 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18525 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18526 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18532 ac_cpp='$CPP $CPPFLAGS'
18533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18551 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18552 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18553 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 cat >conftest.$ac_ext <<_ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18575 rm -f conftest.$ac_objext
18576 if { (ac_try="$ac_compile"
18577 case "(($ac_try" in
18578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18579 *) ac_try_echo=$ac_try;;
18581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18582 (eval "$ac_compile") 2>conftest.er1
18584 grep -v '^ *+' conftest.er1 >conftest.err
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } && {
18589 test -z "$ac_cxx_werror_flag" ||
18590 test ! -s conftest.err
18591 } && test -s conftest.$ac_objext; then
18592 bakefile_cv_cxx_compiler___HP_aCC=yes
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.$ac_ext >&5
18597 bakefile_cv_cxx_compiler___HP_aCC=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18605 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18606 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18626 ac_cpp='$CXXCPP $CPPFLAGS'
18627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18631 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18632 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18633 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18636 cat >conftest.$ac_ext <<_ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18664 grep -v '^ *+' conftest.er1 >conftest.err
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_cxx_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 bakefile_cv_cxx_compiler___DECCXX=yes
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18677 bakefile_cv_cxx_compiler___DECCXX=no
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18686 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18687 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18693 ac_cpp='$CPP $CPPFLAGS'
18694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18706 ac_cpp='$CXXCPP $CPPFLAGS'
18707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18711 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18712 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18713 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18714 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 cat >conftest.$ac_ext <<_ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18727 #ifndef __SUNPRO_CC
18735 rm -f conftest.$ac_objext
18736 if { (ac_try="$ac_compile"
18737 case "(($ac_try" in
18738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18739 *) ac_try_echo=$ac_try;;
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_compile") 2>conftest.er1
18744 grep -v '^ *+' conftest.er1 >conftest.err
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } && {
18749 test -z "$ac_cxx_werror_flag" ||
18750 test ! -s conftest.err
18751 } && test -s conftest.$ac_objext; then
18752 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18757 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18765 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18766 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18767 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18773 ac_cpp='$CPP $CPPFLAGS'
18774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18786 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18787 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18788 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18789 { (exit 1); exit 1; }; }
18792 if test "x$SUNCXX" != xyes; then
18793 if test -n "$ac_tool_prefix"; then
18794 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18795 set dummy ${ac_tool_prefix}ar; ac_word=$2
18796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18798 if test "${ac_cv_prog_AR+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 if test -n "$AR"; then
18802 ac_cv_prog_AR="$AR" # Let the user override the test.
18804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18805 for as_dir in $PATH
18808 test -z "$as_dir" && as_dir=.
18809 for ac_exec_ext in '' $ac_executable_extensions; do
18810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18811 ac_cv_prog_AR="${ac_tool_prefix}ar"
18812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18822 if test -n "$AR"; then
18823 { echo "$as_me:$LINENO: result: $AR" >&5
18824 echo "${ECHO_T}$AR" >&6; }
18826 { echo "$as_me:$LINENO: result: no" >&5
18827 echo "${ECHO_T}no" >&6; }
18832 if test -z "$ac_cv_prog_AR"; then
18834 # Extract the first word of "ar", so it can be a program name with args.
18835 set dummy ar; ac_word=$2
18836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18838 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 if test -n "$ac_ct_AR"; then
18842 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18845 for as_dir in $PATH
18848 test -z "$as_dir" && as_dir=.
18849 for ac_exec_ext in '' $ac_executable_extensions; do
18850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18851 ac_cv_prog_ac_ct_AR="ar"
18852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18861 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18862 if test -n "$ac_ct_AR"; then
18863 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18864 echo "${ECHO_T}$ac_ct_AR" >&6; }
18866 { echo "$as_me:$LINENO: result: no" >&5
18867 echo "${ECHO_T}no" >&6; }
18870 if test "x$ac_ct_AR" = x; then
18873 case $cross_compiling:$ac_tool_warned in
18875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18876 whose name does not start with the host triplet. If you think this
18877 configuration is useful to you, please write to autoconf@gnu.org." >&5
18878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18879 whose name does not start with the host triplet. If you think this
18880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18881 ac_tool_warned=yes ;;
18886 AR="$ac_cv_prog_AR"
18889 if test "x$AR" = "x" ; then
18890 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18891 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18892 { (exit 1); exit 1; }; }
18897 if test "$wxUSE_MAC" = 1; then
18899 retest_macosx_linking=no
18902 if test "x$wxUSE_MAC_ARCH" != xno; then
18903 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18906 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18907 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18908 # Implicitly turn on the new --with-macosx-sdk using the default
18909 # SDK which provides the behaviour this option has always had.
18910 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18911 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18912 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18913 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18914 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18915 wxUSE_MACOSX_SDK=yes
18918 # Complain to user if he specified an argument to --enable-universal_binary
18919 # and also 1) specified --with-macosx-sdk using the default (yes) or
18920 # 2) specified --with-macosx-sdk using a path or 3) specified
18921 # --without-macosx-sdk (no).
18922 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18923 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18924 See \`config.log' for more details." >&5
18925 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18926 See \`config.log' for more details." >&2;}
18927 { (exit 1); exit 1; }; }
18929 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18930 # special-case the empty string because the below test simply
18931 # converts "no" to the empty string anyway.
18932 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18933 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18934 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18937 OSX_ARCH_OPTS="-arch ppc -arch i386"
18938 if test "$wxUSE_OSX_COCOA" = 1; then
18939 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18941 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18942 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18943 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18944 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18946 retest_macosx_linking=yes
18948 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18949 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18953 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18954 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18955 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18956 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18957 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18959 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18961 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18962 # TODO: Search for most recent SDK and use it.
18963 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18967 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18968 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18969 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18970 if ! test -d "$wxUSE_MACOSX_SDK"; then
18971 { { echo "$as_me:$LINENO: error: not found
18972 See \`config.log' for more details." >&5
18973 echo "$as_me: error: not found
18974 See \`config.log' for more details." >&2;}
18975 { (exit 1); exit 1; }; }
18977 { echo "$as_me:$LINENO: result: exists" >&5
18978 echo "${ECHO_T}exists" >&6; }
18980 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18981 retest_macosx_linking=yes
18984 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18985 wxUSE_MACOSX_VERSION_MIN=
18986 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18987 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18988 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18989 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18991 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/'`
18993 # If that failed, try again with the new key
18994 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18996 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/'`
19000 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19001 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19002 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19003 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19005 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19006 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19007 wxUSE_MACOSX_VERSION_MIN=
19010 wxUSE_MACOSX_VERSION_MIN=
19012 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19013 for ac_prog in sw_vers
19015 # Extract the first word of "$ac_prog", so it can be a program name with args.
19016 set dummy $ac_prog; ac_word=$2
19017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19019 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19020 echo $ECHO_N "(cached) $ECHO_C" >&6
19022 if test -n "$OSX_SW_VERS"; then
19023 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19026 for as_dir in $PATH
19029 test -z "$as_dir" && as_dir=.
19030 for ac_exec_ext in '' $ac_executable_extensions; do
19031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19032 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19042 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19043 if test -n "$OSX_SW_VERS"; then
19044 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19045 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19047 { echo "$as_me:$LINENO: result: no" >&5
19048 echo "${ECHO_T}no" >&6; }
19052 test -n "$OSX_SW_VERS" && break
19055 if test "$OSX_SW_VERS" != ""; then
19056 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19058 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19059 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19063 case "$OSX_VERSION" in
19065 wxUSE_MACOSX_VERSION_MIN=10.4
19069 if test "$wxUSE_OSX_CARBON" = 1; then
19070 # otherwise configure stops on leopard for universal_binary
19071 wxUSE_MACOSX_VERSION_MIN=10.4
19073 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19074 wxUSE_MACOSX_VERSION_MIN=10.5
19081 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19085 if test "$wxUSE_OSX_CARBON" = 1; then
19089 if test "x$NEEDS_GCC40" == "xyes"; then
19090 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19091 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19092 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19093 if test "x$CC" = "xgcc"; then
19094 CCVERSION=`$CC --version | grep 4.[2-9].`
19095 if test "x$CCVERSION" != "x"; then
19096 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19101 if test "x$CXX" = "xg++"; then
19102 CCVERSION=`$CXX --version | grep 4.[2-9].`
19103 if test "x$CCVERSION" != "x"; then
19109 if test "x$MACOSX_SDK_OPTS" != "x"; then
19110 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19111 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19112 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19115 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19116 if test "$wxUSE_OSX_IPHONE" = 1; then
19117 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19119 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19121 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19122 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19123 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19124 retest_macosx_linking=yes
19127 if test "x$retest_macosx_linking" = "xyes"; then
19129 ac_cpp='$CPP $CPPFLAGS'
19130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19134 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19135 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19136 cat >conftest.$ac_ext <<_ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19151 rm -f conftest.$ac_objext conftest$ac_exeext
19152 if { (ac_try="$ac_link"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155 *) ac_try_echo=$ac_try;;
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_link") 2>conftest.er1
19160 grep -v '^ *+' conftest.er1 >conftest.err
19162 cat conftest.err >&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_c_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest$ac_exeext &&
19168 $as_test_x conftest$ac_exeext; then
19169 { echo "$as_me:$LINENO: result: yes" >&5
19170 echo "${ECHO_T}yes" >&6; }
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19175 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19176 See \`config.log' for more details." >&5
19177 echo "$as_me: error: no. Try a different SDK
19178 See \`config.log' for more details." >&2;}
19179 { (exit 1); exit 1; }; }; exit 1
19182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19183 conftest$ac_exeext conftest.$ac_ext
19185 ac_cpp='$CPP $CPPFLAGS'
19186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19192 ac_cpp='$CXXCPP $CPPFLAGS'
19193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19197 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19198 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19199 cat >conftest.$ac_ext <<_ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19214 rm -f conftest.$ac_objext conftest$ac_exeext
19215 if { (ac_try="$ac_link"
19216 case "(($ac_try" in
19217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19218 *) ac_try_echo=$ac_try;;
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_link") 2>conftest.er1
19223 grep -v '^ *+' conftest.er1 >conftest.err
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && {
19228 test -z "$ac_cxx_werror_flag" ||
19229 test ! -s conftest.err
19230 } && test -s conftest$ac_exeext &&
19231 $as_test_x conftest$ac_exeext; then
19232 { echo "$as_me:$LINENO: result: yes" >&5
19233 echo "${ECHO_T}yes" >&6; }
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19238 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19239 See \`config.log' for more details." >&5
19240 echo "$as_me: error: no. Try a different SDK
19241 See \`config.log' for more details." >&2;}
19242 { (exit 1); exit 1; }; }; exit 1
19245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19246 conftest$ac_exeext conftest.$ac_ext
19248 ac_cpp='$CPP $CPPFLAGS'
19249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19259 INSTALL_PROGRAM="cp -fp"
19260 INSTALL_DATA="cp -fp"
19267 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19268 CXXFLAGS="-qunique $CXXFLAGS"
19272 powerpc-*-darwin* )
19273 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19274 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19275 cat >conftest.$ac_ext <<_ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19285 #ifndef __POWERPC__
19286 choke me for lack of PowerPC
19293 rm -f conftest.$ac_objext
19294 if { (ac_try="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19302 grep -v '^ *+' conftest.er1 >conftest.err
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.$ac_objext; then
19310 { echo "$as_me:$LINENO: result: yes" >&5
19311 echo "${ECHO_T}yes" >&6; }
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19316 { echo "$as_me:$LINENO: result: no" >&5
19317 echo "${ECHO_T}no" >&6; }
19318 cat >>confdefs.h <<\_ACEOF
19319 #define __POWERPC__ 1
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19332 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19333 cat >conftest.$ac_ext <<_ACEOF
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 #include <CoreFoundation/CFBase.h>
19349 rm -f conftest.$ac_objext
19350 if { (ac_try="$ac_compile"
19351 case "(($ac_try" in
19352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19353 *) ac_try_echo=$ac_try;;
19355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19356 (eval "$ac_compile") 2>conftest.er1
19358 grep -v '^ *+' conftest.er1 >conftest.err
19360 cat conftest.err >&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } && {
19363 test -z "$ac_c_werror_flag" ||
19364 test ! -s conftest.err
19365 } && test -s conftest.$ac_objext; then
19366 { echo "$as_me:$LINENO: result: yes" >&5
19367 echo "${ECHO_T}yes" >&6; }
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.$ac_ext >&5
19372 { echo "$as_me:$LINENO: result: no" >&5
19373 echo "${ECHO_T}no" >&6; }
19374 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19375 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19376 cat >conftest.$ac_ext <<_ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #define __CF_USE_FRAMEWORK_INCLUDES__
19383 #include <CoreFoundation/CFBase.h>
19393 rm -f conftest.$ac_objext
19394 if { (ac_try="$ac_compile"
19395 case "(($ac_try" in
19396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19397 *) ac_try_echo=$ac_try;;
19399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19400 (eval "$ac_compile") 2>conftest.er1
19402 grep -v '^ *+' conftest.er1 >conftest.err
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } && {
19407 test -z "$ac_c_werror_flag" ||
19408 test ! -s conftest.err
19409 } && test -s conftest.$ac_objext; then
19410 { echo "$as_me:$LINENO: result: yes" >&5
19411 echo "${ECHO_T}yes" >&6; }
19412 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19418 See \`config.log' for more details." >&5
19419 echo "$as_me: error: no. CoreFoundation not available.
19420 See \`config.log' for more details." >&2;}
19421 { (exit 1); exit 1; }; }
19425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19435 doesnt_want_win32=0
19438 if test "$wxUSE_MSW" = 1 ; then
19441 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19442 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19443 if test "${wx_cv_nocygwin+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19447 cat >conftest.$ac_ext <<_ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19475 grep -v '^ *+' conftest.er1 >conftest.err
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && {
19480 test -z "$ac_c_werror_flag" ||
19481 test ! -s conftest.err
19482 } && test -s conftest.$ac_objext; then
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.$ac_ext >&5
19492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19497 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19499 if test "$wx_cv_nocygwin" = "yes"; then
19502 doesnt_want_win32=1
19505 if test "$wants_win32" = 1 ; then
19506 BAKEFILE_FORCE_PLATFORM=win32
19514 if test "$wxUSE_WINE" = "yes"; then
19516 LDFLAGS_GUI="-mwindows"
19519 if test "$wants_win32" = 1 ; then
19522 cat >>confdefs.h <<\_ACEOF
19523 #define __WIN32__ 1
19526 cat >>confdefs.h <<\_ACEOF
19527 #define __WIN95__ 1
19530 cat >>confdefs.h <<\_ACEOF
19531 #define __WINDOWS__ 1
19534 cat >>confdefs.h <<\_ACEOF
19535 #define __GNUWIN32__ 1
19538 cat >>confdefs.h <<\_ACEOF
19543 if test "$doesnt_want_win32" = 1 ; then
19548 if test "$USE_UNIX" = 1 ; then
19550 cat >>confdefs.h <<\_ACEOF
19557 *-pc-os2_emx | *-pc-os2-emx )
19558 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19559 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19560 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19561 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19564 ac_check_lib_save_LIBS=$LIBS
19565 LIBS="-lcExt $LIBS"
19566 cat >conftest.$ac_ext <<_ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19573 /* Override any GCC internal prototype to avoid an error.
19574 Use char because int might match the return type of a GCC
19575 builtin and then its argument prototype would still apply. */
19588 rm -f conftest.$ac_objext conftest$ac_exeext
19589 if { (ac_try="$ac_link"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_link") 2>conftest.er1
19597 grep -v '^ *+' conftest.er1 >conftest.err
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest$ac_exeext &&
19605 $as_test_x conftest$ac_exeext; then
19606 ac_cv_lib_cExt_drand48=yes
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19611 ac_cv_lib_cExt_drand48=no
19614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19615 conftest$ac_exeext conftest.$ac_ext
19616 LIBS=$ac_check_lib_save_LIBS
19618 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19619 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19620 if test $ac_cv_lib_cExt_drand48 = yes; then
19621 LIBS="$LIBS -lcExt"
19625 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19627 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19628 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19629 if test "${wx_cv_gccversion+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19633 if test "$cross_compiling" = yes; then
19634 wx_cv_gccversion="EMX2"
19637 cat >conftest.$ac_ext <<_ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19648 FILE *f=fopen("conftestval", "w");
19653 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19655 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19665 rm -f conftest$ac_exeext
19666 if { (ac_try="$ac_link"
19667 case "(($ac_try" in
19668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;;
19671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_link") 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19676 { (case "(($ac_try" in
19677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19678 *) ac_try_echo=$ac_try;;
19680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19681 (eval "$ac_try") 2>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; }; then
19685 wx_cv_gccversion=`cat conftestval`
19687 echo "$as_me: program exited with status $ac_status" >&5
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.$ac_ext >&5
19691 ( exit $ac_status )
19692 wx_cv_gccversion="EMX2"
19694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19700 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19701 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19702 if test "$wx_cv_gccversion" = "EMX2"; then
19703 LIBS="$LIBS -lstdcpp"
19704 LDFLAGS="$LDFLAGS -Zsysv-signals"
19706 if test "$wx_cv_gccversion" = "EMX3"; then
19707 LIBS="$LIBS -lstdcxx -lgcc"
19708 LDFLAGS="$LDFLAGS -Zsysv-signals"
19710 LIBS="$LIBS -lstdc++"
19713 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19714 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19715 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19722 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19723 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19724 if test "${ac_cv_string_strcasecmp+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 cat >conftest.$ac_ext <<_ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19735 #include <string.h>
19741 strcasecmp("foo", "bar");
19747 rm -f conftest.$ac_objext conftest$ac_exeext
19748 if { (ac_try="$ac_link"
19749 case "(($ac_try" in
19750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19751 *) ac_try_echo=$ac_try;;
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_link") 2>conftest.er1
19756 grep -v '^ *+' conftest.er1 >conftest.err
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } && {
19761 test -z "$ac_c_werror_flag" ||
19762 test ! -s conftest.err
19763 } && test -s conftest$ac_exeext &&
19764 $as_test_x conftest$ac_exeext; then
19765 ac_cv_string_strcasecmp=yes
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19770 ac_cv_string_strcasecmp=no
19774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19775 conftest$ac_exeext conftest.$ac_ext
19778 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19779 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19781 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19782 cat >>confdefs.h <<\_ACEOF
19783 #define HAVE_STRCASECMP_IN_STRING_H 1
19787 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19788 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19789 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19800 #include <strings.h>
19806 strcasecmp("foo", "bar");
19812 rm -f conftest.$ac_objext conftest$ac_exeext
19813 if { (ac_try="$ac_link"
19814 case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_link") 2>conftest.er1
19821 grep -v '^ *+' conftest.er1 >conftest.err
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest$ac_exeext &&
19829 $as_test_x conftest$ac_exeext; then
19830 ac_cv_strings_strcasecmp=yes
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 ac_cv_strings_strcasecmp=no
19839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19840 conftest$ac_exeext conftest.$ac_ext
19843 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19844 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19846 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19847 cat >>confdefs.h <<\_ACEOF
19848 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19852 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19853 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19854 { (exit 1); exit 1; }; }
19862 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19863 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19864 if test "${ac_cv_header_stdc+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19867 cat >conftest.$ac_ext <<_ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 #include <stdlib.h>
19874 #include <stdarg.h>
19875 #include <string.h>
19886 rm -f conftest.$ac_objext
19887 if { (ac_try="$ac_compile"
19888 case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_compile") 2>conftest.er1
19895 grep -v '^ *+' conftest.er1 >conftest.err
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err
19902 } && test -s conftest.$ac_objext; then
19903 ac_cv_header_stdc=yes
19905 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5
19908 ac_cv_header_stdc=no
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19913 if test $ac_cv_header_stdc = yes; then
19914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19915 cat >conftest.$ac_ext <<_ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #include <string.h>
19924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19925 $EGREP "memchr" >/dev/null 2>&1; then
19928 ac_cv_header_stdc=no
19934 if test $ac_cv_header_stdc = yes; then
19935 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19936 cat >conftest.$ac_ext <<_ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19942 #include <stdlib.h>
19945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19946 $EGREP "free" >/dev/null 2>&1; then
19949 ac_cv_header_stdc=no
19955 if test $ac_cv_header_stdc = yes; then
19956 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19957 if test "$cross_compiling" = yes; then
19960 cat >conftest.$ac_ext <<_ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19967 #include <stdlib.h>
19968 #if ((' ' & 0x0FF) == 0x020)
19969 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19970 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19972 # define ISLOWER(c) \
19973 (('a' <= (c) && (c) <= 'i') \
19974 || ('j' <= (c) && (c) <= 'r') \
19975 || ('s' <= (c) && (c) <= 'z'))
19976 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19979 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19984 for (i = 0; i < 256; i++)
19985 if (XOR (islower (i), ISLOWER (i))
19986 || toupper (i) != TOUPPER (i))
19991 rm -f conftest$ac_exeext
19992 if { (ac_try="$ac_link"
19993 case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_link") 2>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20002 { (case "(($ac_try" in
20003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20004 *) ac_try_echo=$ac_try;;
20006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20007 (eval "$ac_try") 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20013 echo "$as_me: program exited with status $ac_status" >&5
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20017 ( exit $ac_status )
20018 ac_cv_header_stdc=no
20020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20026 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20027 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20028 if test $ac_cv_header_stdc = yes; then
20030 cat >>confdefs.h <<\_ACEOF
20031 #define STDC_HEADERS 1
20036 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20046 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20047 inttypes.h stdint.h unistd.h
20049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20055 cat >conftest.$ac_ext <<_ACEOF
20058 cat confdefs.h >>conftest.$ac_ext
20059 cat >>conftest.$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20061 $ac_includes_default
20063 #include <$ac_header>
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20074 grep -v '^ *+' conftest.er1 >conftest.err
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 eval "$as_ac_Header=yes"
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20087 eval "$as_ac_Header=no"
20090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20092 ac_res=`eval echo '${'$as_ac_Header'}'`
20093 { echo "$as_me:$LINENO: result: $ac_res" >&5
20094 echo "${ECHO_T}$ac_res" >&6; }
20095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20096 cat >>confdefs.h <<_ACEOF
20097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20107 for ac_header in langinfo.h wchar.h
20109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20113 echo $ECHO_N "(cached) $ECHO_C" >&6
20115 cat >conftest.$ac_ext <<_ACEOF
20118 cat confdefs.h >>conftest.$ac_ext
20119 cat >>conftest.$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 $ac_includes_default
20123 #include <$ac_header>
20125 rm -f conftest.$ac_objext
20126 if { (ac_try="$ac_compile"
20127 case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20132 (eval "$ac_compile") 2>conftest.er1
20134 grep -v '^ *+' conftest.er1 >conftest.err
20136 cat conftest.err >&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } && {
20139 test -z "$ac_c_werror_flag" ||
20140 test ! -s conftest.err
20141 } && test -s conftest.$ac_objext; then
20142 eval "$as_ac_Header=yes"
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20147 eval "$as_ac_Header=no"
20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20152 ac_res=`eval echo '${'$as_ac_Header'}'`
20153 { echo "$as_me:$LINENO: result: $ac_res" >&5
20154 echo "${ECHO_T}$ac_res" >&6; }
20155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20156 cat >>confdefs.h <<_ACEOF
20157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20165 if test "$ac_cv_header_wchar_h" != "yes"; then
20167 for ac_header in wcstr.h
20169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20173 echo $ECHO_N "(cached) $ECHO_C" >&6
20175 cat >conftest.$ac_ext <<_ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 $ac_includes_default
20183 #include <$ac_header>
20185 rm -f conftest.$ac_objext
20186 if { (ac_try="$ac_compile"
20187 case "(($ac_try" in
20188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20189 *) ac_try_echo=$ac_try;;
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20192 (eval "$ac_compile") 2>conftest.er1
20194 grep -v '^ *+' conftest.er1 >conftest.err
20196 cat conftest.err >&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && {
20199 test -z "$ac_c_werror_flag" ||
20200 test ! -s conftest.err
20201 } && test -s conftest.$ac_objext; then
20202 eval "$as_ac_Header=yes"
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20207 eval "$as_ac_Header=no"
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 ac_res=`eval echo '${'$as_ac_Header'}'`
20213 { echo "$as_me:$LINENO: result: $ac_res" >&5
20214 echo "${ECHO_T}$ac_res" >&6; }
20215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20216 cat >>confdefs.h <<_ACEOF
20217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20227 *-pc-os2_emx | *-pc-os2-emx )
20228 if test $ac_cv_header_langinfo_h = "yes" \
20229 -a \( "$wx_cv_gccversion" = "EMX2" \
20230 -o "$wx_cv_gccversion" = "EMX3" \
20231 -o "$wx_cv_gccversion" = "Innotek5" \); then
20232 LIBS="$LIBS -lintl"
20237 if test "$USE_UNIX" = 1 ; then
20239 for ac_header in sys/select.h
20241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20255 #include <$ac_header>
20257 rm -f conftest.$ac_objext
20258 if { (ac_try="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20266 grep -v '^ *+' conftest.er1 >conftest.err
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20274 eval "$as_ac_Header=yes"
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20279 eval "$as_ac_Header=no"
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284 ac_res=`eval echo '${'$as_ac_Header'}'`
20285 { echo "$as_me:$LINENO: result: $ac_res" >&5
20286 echo "${ECHO_T}$ac_res" >&6; }
20287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20288 cat >>confdefs.h <<_ACEOF
20289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20299 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20300 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20301 if test "${ac_cv_c_const+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20304 cat >conftest.$ac_ext <<_ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20314 /* FIXME: Include the comments suggested by Paul. */
20315 #ifndef __cplusplus
20316 /* Ultrix mips cc rejects this. */
20317 typedef int charset[2];
20319 /* SunOS 4.1.1 cc rejects this. */
20320 char const *const *pcpcc;
20322 /* NEC SVR4.0.2 mips cc rejects this. */
20323 struct point {int x, y;};
20324 static struct point const zero = {0,0};
20325 /* AIX XL C 1.02.0.0 rejects this.
20326 It does not let you subtract one const X* pointer from another in
20327 an arm of an if-expression whose if-part is not a constant
20329 const char *g = "string";
20330 pcpcc = &g + (g ? g-g : 0);
20331 /* HPUX 7.0 cc rejects these. */
20333 ppc = (char**) pcpcc;
20334 pcpcc = (char const *const *) ppc;
20335 { /* SCO 3.2v4 cc rejects this. */
20337 char const *s = 0 ? (char *) 0 : (char const *) 0;
20342 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20343 int x[] = {25, 17};
20344 const int *foo = &x[0];
20347 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20348 typedef const int *iptr;
20352 { /* AIX XL C 1.02.0.0 rejects this saying
20353 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20354 struct s { int j; const int *ap[3]; };
20355 struct s *b; b->j = 5;
20357 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20358 const int foo = 10;
20359 if (!foo) return 0;
20361 return !cs[0] && !zero.x;
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20377 grep -v '^ *+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20395 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20396 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20397 if test $ac_cv_c_const = no; then
20399 cat >>confdefs.h <<\_ACEOF
20405 { echo "$as_me:$LINENO: checking for inline" >&5
20406 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20407 if test "${ac_cv_c_inline+set}" = set; then
20408 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 for ac_kw in inline __inline__ __inline; do
20412 cat >conftest.$ac_ext <<_ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 #ifndef __cplusplus
20420 static $ac_kw foo_t static_foo () {return 0; }
20421 $ac_kw foo_t foo () {return 0; }
20425 rm -f conftest.$ac_objext
20426 if { (ac_try="$ac_compile"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_compile") 2>conftest.er1
20434 grep -v '^ *+' conftest.er1 >conftest.err
20436 cat conftest.err >&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } && {
20439 test -z "$ac_c_werror_flag" ||
20440 test ! -s conftest.err
20441 } && test -s conftest.$ac_objext; then
20442 ac_cv_c_inline=$ac_kw
20444 echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.$ac_ext >&5
20450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20451 test "$ac_cv_c_inline" != no && break
20455 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20456 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20459 case $ac_cv_c_inline in
20462 case $ac_cv_c_inline in
20464 *) ac_val=$ac_cv_c_inline;;
20466 cat >>confdefs.h <<_ACEOF
20467 #ifndef __cplusplus
20468 #define inline $ac_val
20475 { echo "$as_me:$LINENO: checking for short" >&5
20476 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20477 if test "${ac_cv_type_short+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 cat >conftest.$ac_ext <<_ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef short ac__type_new_;
20491 if ((ac__type_new_ *) 0)
20493 if (sizeof (ac__type_new_))
20499 rm -f conftest.$ac_objext
20500 if { (ac_try="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20508 grep -v '^ *+' conftest.er1 >conftest.err
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_type_short=yes
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20521 ac_cv_type_short=no
20524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20526 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20527 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20529 # The cast to long int works around a bug in the HP C Compiler
20530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20532 # This bug is HP SR number 8606223364.
20533 { echo "$as_me:$LINENO: checking size of short" >&5
20534 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20535 if test "${ac_cv_sizeof_short+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 if test "$cross_compiling" = yes; then
20539 # Depending upon the size, compute the lo and hi bounds.
20540 cat >conftest.$ac_ext <<_ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 typedef short ac__type_sizeof_;
20551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20558 rm -f conftest.$ac_objext
20559 if { (ac_try="$ac_compile"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_compile") 2>conftest.er1
20567 grep -v '^ *+' conftest.er1 >conftest.err
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_c_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest.$ac_objext; then
20577 cat >conftest.$ac_ext <<_ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef short ac__type_sizeof_;
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20604 grep -v '^ *+' conftest.er1 >conftest.err
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20612 ac_hi=$ac_mid; break
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20617 ac_lo=`expr $ac_mid + 1`
20618 if test $ac_lo -le $ac_mid; then
20622 ac_mid=`expr 2 '*' $ac_mid + 1`
20625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20631 cat >conftest.$ac_ext <<_ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef short ac__type_sizeof_;
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20658 grep -v '^ *+' conftest.er1 >conftest.err
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef short ac__type_sizeof_;
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20695 grep -v '^ *+' conftest.er1 >conftest.err
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.$ac_objext; then
20703 ac_lo=$ac_mid; break
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20708 ac_hi=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20713 ac_mid=`expr 2 '*' $ac_mid`
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 # Binary search between lo and hi bounds.
20730 while test "x$ac_lo" != "x$ac_hi"; do
20731 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20732 cat >conftest.$ac_ext <<_ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 $ac_includes_default
20739 typedef short ac__type_sizeof_;
20743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20750 rm -f conftest.$ac_objext
20751 if { (ac_try="$ac_compile"
20752 case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_compile") 2>conftest.er1
20759 grep -v '^ *+' conftest.er1 >conftest.err
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err
20766 } && test -s conftest.$ac_objext; then
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20772 ac_lo=`expr '(' $ac_mid ')' + 1`
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20778 ?*) ac_cv_sizeof_short=$ac_lo;;
20779 '') if test "$ac_cv_type_short" = yes; then
20780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20781 See \`config.log' for more details." >&5
20782 echo "$as_me: error: cannot compute sizeof (short)
20783 See \`config.log' for more details." >&2;}
20784 { (exit 77); exit 77; }; }
20786 ac_cv_sizeof_short=0
20790 cat >conftest.$ac_ext <<_ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef short ac__type_sizeof_;
20798 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20799 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20801 #include <stdlib.h>
20806 FILE *f = fopen ("conftest.val", "w");
20809 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20811 long int i = longval ();
20812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20814 fprintf (f, "%ld\n", i);
20818 unsigned long int i = ulongval ();
20819 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20821 fprintf (f, "%lu\n", i);
20823 return ferror (f) || fclose (f) != 0;
20829 rm -f conftest$ac_exeext
20830 if { (ac_try="$ac_link"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_link") 2>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20840 { (case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_try") 2>&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_sizeof_short=`cat conftest.val`
20851 echo "$as_me: program exited with status $ac_status" >&5
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 ( exit $ac_status )
20856 if test "$ac_cv_type_short" = yes; then
20857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20858 See \`config.log' for more details." >&5
20859 echo "$as_me: error: cannot compute sizeof (short)
20860 See \`config.log' for more details." >&2;}
20861 { (exit 77); exit 77; }; }
20863 ac_cv_sizeof_short=0
20866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20870 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20871 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20875 cat >>confdefs.h <<_ACEOF
20876 #define SIZEOF_SHORT $ac_cv_sizeof_short
20880 { echo "$as_me:$LINENO: checking for void *" >&5
20881 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20882 if test "${ac_cv_type_void_p+set}" = set; then
20883 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 cat >conftest.$ac_ext <<_ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 $ac_includes_default
20892 typedef void * ac__type_new_;
20896 if ((ac__type_new_ *) 0)
20898 if (sizeof (ac__type_new_))
20904 rm -f conftest.$ac_objext
20905 if { (ac_try="$ac_compile"
20906 case "(($ac_try" in
20907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20908 *) ac_try_echo=$ac_try;;
20910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20911 (eval "$ac_compile") 2>conftest.er1
20913 grep -v '^ *+' conftest.er1 >conftest.err
20915 cat conftest.err >&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); } && {
20918 test -z "$ac_c_werror_flag" ||
20919 test ! -s conftest.err
20920 } && test -s conftest.$ac_objext; then
20921 ac_cv_type_void_p=yes
20923 echo "$as_me: failed program was:" >&5
20924 sed 's/^/| /' conftest.$ac_ext >&5
20926 ac_cv_type_void_p=no
20929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20932 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20934 # The cast to long int works around a bug in the HP C Compiler
20935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20937 # This bug is HP SR number 8606223364.
20938 { echo "$as_me:$LINENO: checking size of void *" >&5
20939 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20940 if test "${ac_cv_sizeof_void_p+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 if test "$cross_compiling" = yes; then
20944 # Depending upon the size, compute the lo and hi bounds.
20945 cat >conftest.$ac_ext <<_ACEOF
20948 cat confdefs.h >>conftest.$ac_ext
20949 cat >>conftest.$ac_ext <<_ACEOF
20950 /* end confdefs.h. */
20951 $ac_includes_default
20952 typedef void * ac__type_sizeof_;
20956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20963 rm -f conftest.$ac_objext
20964 if { (ac_try="$ac_compile"
20965 case "(($ac_try" in
20966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_compile") 2>conftest.er1
20972 grep -v '^ *+' conftest.er1 >conftest.err
20974 cat conftest.err >&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } && {
20977 test -z "$ac_c_werror_flag" ||
20978 test ! -s conftest.err
20979 } && test -s conftest.$ac_objext; then
20982 cat >conftest.$ac_ext <<_ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20989 typedef void * ac__type_sizeof_;
20993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21009 grep -v '^ *+' conftest.er1 >conftest.err
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21017 ac_hi=$ac_mid; break
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21022 ac_lo=`expr $ac_mid + 1`
21023 if test $ac_lo -le $ac_mid; then
21027 ac_mid=`expr 2 '*' $ac_mid + 1`
21030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21036 cat >conftest.$ac_ext <<_ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 $ac_includes_default
21043 typedef void * ac__type_sizeof_;
21047 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21063 grep -v '^ *+' conftest.er1 >conftest.err
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21073 cat >conftest.$ac_ext <<_ACEOF
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 $ac_includes_default
21080 typedef void * ac__type_sizeof_;
21084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21091 rm -f conftest.$ac_objext
21092 if { (ac_try="$ac_compile"
21093 case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_compile") 2>conftest.er1
21100 grep -v '^ *+' conftest.er1 >conftest.err
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } && {
21105 test -z "$ac_c_werror_flag" ||
21106 test ! -s conftest.err
21107 } && test -s conftest.$ac_objext; then
21108 ac_lo=$ac_mid; break
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21113 ac_hi=`expr '(' $ac_mid ')' - 1`
21114 if test $ac_mid -le $ac_hi; then
21118 ac_mid=`expr 2 '*' $ac_mid`
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.$ac_ext >&5
21130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134 # Binary search between lo and hi bounds.
21135 while test "x$ac_lo" != "x$ac_hi"; do
21136 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21137 cat >conftest.$ac_ext <<_ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef void * ac__type_sizeof_;
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21164 grep -v '^ *+' conftest.er1 >conftest.err
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.$ac_objext; then
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21177 ac_lo=`expr '(' $ac_mid ')' + 1`
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21183 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21184 '') if test "$ac_cv_type_void_p" = yes; then
21185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21186 See \`config.log' for more details." >&5
21187 echo "$as_me: error: cannot compute sizeof (void *)
21188 See \`config.log' for more details." >&2;}
21189 { (exit 77); exit 77; }; }
21191 ac_cv_sizeof_void_p=0
21195 cat >conftest.$ac_ext <<_ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 typedef void * ac__type_sizeof_;
21203 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21204 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21206 #include <stdlib.h>
21211 FILE *f = fopen ("conftest.val", "w");
21214 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21216 long int i = longval ();
21217 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21219 fprintf (f, "%ld\n", i);
21223 unsigned long int i = ulongval ();
21224 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21226 fprintf (f, "%lu\n", i);
21228 return ferror (f) || fclose (f) != 0;
21234 rm -f conftest$ac_exeext
21235 if { (ac_try="$ac_link"
21236 case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;;
21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21241 (eval "$ac_link") 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21245 { (case "(($ac_try" in
21246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21247 *) ac_try_echo=$ac_try;;
21249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21250 (eval "$ac_try") 2>&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_cv_sizeof_void_p=`cat conftest.val`
21256 echo "$as_me: program exited with status $ac_status" >&5
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21260 ( exit $ac_status )
21261 if test "$ac_cv_type_void_p" = yes; then
21262 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21263 See \`config.log' for more details." >&5
21264 echo "$as_me: error: cannot compute sizeof (void *)
21265 See \`config.log' for more details." >&2;}
21266 { (exit 77); exit 77; }; }
21268 ac_cv_sizeof_void_p=0
21271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21275 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21276 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21280 cat >>confdefs.h <<_ACEOF
21281 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21285 { echo "$as_me:$LINENO: checking for int" >&5
21286 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21287 if test "${ac_cv_type_int+set}" = set; then
21288 echo $ECHO_N "(cached) $ECHO_C" >&6
21290 cat >conftest.$ac_ext <<_ACEOF
21293 cat confdefs.h >>conftest.$ac_ext
21294 cat >>conftest.$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 $ac_includes_default
21297 typedef int ac__type_new_;
21301 if ((ac__type_new_ *) 0)
21303 if (sizeof (ac__type_new_))
21309 rm -f conftest.$ac_objext
21310 if { (ac_try="$ac_compile"
21311 case "(($ac_try" in
21312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21313 *) ac_try_echo=$ac_try;;
21315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21316 (eval "$ac_compile") 2>conftest.er1
21318 grep -v '^ *+' conftest.er1 >conftest.err
21320 cat conftest.err >&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } && {
21323 test -z "$ac_c_werror_flag" ||
21324 test ! -s conftest.err
21325 } && test -s conftest.$ac_objext; then
21328 echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.$ac_ext >&5
21334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21336 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21337 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21339 # The cast to long int works around a bug in the HP C Compiler
21340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21342 # This bug is HP SR number 8606223364.
21343 { echo "$as_me:$LINENO: checking size of int" >&5
21344 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21345 if test "${ac_cv_sizeof_int+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21348 if test "$cross_compiling" = yes; then
21349 # Depending upon the size, compute the lo and hi bounds.
21350 cat >conftest.$ac_ext <<_ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef int ac__type_sizeof_;
21361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21368 rm -f conftest.$ac_objext
21369 if { (ac_try="$ac_compile"
21370 case "(($ac_try" in
21371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21372 *) ac_try_echo=$ac_try;;
21374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21375 (eval "$ac_compile") 2>conftest.er1
21377 grep -v '^ *+' conftest.er1 >conftest.err
21379 cat conftest.err >&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); } && {
21382 test -z "$ac_c_werror_flag" ||
21383 test ! -s conftest.err
21384 } && test -s conftest.$ac_objext; then
21387 cat >conftest.$ac_ext <<_ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 $ac_includes_default
21394 typedef int ac__type_sizeof_;
21398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21405 rm -f conftest.$ac_objext
21406 if { (ac_try="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21414 grep -v '^ *+' conftest.er1 >conftest.err
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21422 ac_hi=$ac_mid; break
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.$ac_ext >&5
21427 ac_lo=`expr $ac_mid + 1`
21428 if test $ac_lo -le $ac_mid; then
21432 ac_mid=`expr 2 '*' $ac_mid + 1`
21435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21441 cat >conftest.$ac_ext <<_ACEOF
21444 cat confdefs.h >>conftest.$ac_ext
21445 cat >>conftest.$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 $ac_includes_default
21448 typedef int ac__type_sizeof_;
21452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21459 rm -f conftest.$ac_objext
21460 if { (ac_try="$ac_compile"
21461 case "(($ac_try" in
21462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21463 *) ac_try_echo=$ac_try;;
21465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21466 (eval "$ac_compile") 2>conftest.er1
21468 grep -v '^ *+' conftest.er1 >conftest.err
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } && {
21473 test -z "$ac_c_werror_flag" ||
21474 test ! -s conftest.err
21475 } && test -s conftest.$ac_objext; then
21478 cat >conftest.$ac_ext <<_ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21484 $ac_includes_default
21485 typedef int ac__type_sizeof_;
21489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21496 rm -f conftest.$ac_objext
21497 if { (ac_try="$ac_compile"
21498 case "(($ac_try" in
21499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21500 *) ac_try_echo=$ac_try;;
21502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21503 (eval "$ac_compile") 2>conftest.er1
21505 grep -v '^ *+' conftest.er1 >conftest.err
21507 cat conftest.err >&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } && {
21510 test -z "$ac_c_werror_flag" ||
21511 test ! -s conftest.err
21512 } && test -s conftest.$ac_objext; then
21513 ac_lo=$ac_mid; break
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21518 ac_hi=`expr '(' $ac_mid ')' - 1`
21519 if test $ac_mid -le $ac_hi; then
21523 ac_mid=`expr 2 '*' $ac_mid`
21526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.$ac_ext >&5
21535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 # Binary search between lo and hi bounds.
21540 while test "x$ac_lo" != "x$ac_hi"; do
21541 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21542 cat >conftest.$ac_ext <<_ACEOF
21545 cat confdefs.h >>conftest.$ac_ext
21546 cat >>conftest.$ac_ext <<_ACEOF
21547 /* end confdefs.h. */
21548 $ac_includes_default
21549 typedef int ac__type_sizeof_;
21553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21560 rm -f conftest.$ac_objext
21561 if { (ac_try="$ac_compile"
21562 case "(($ac_try" in
21563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21564 *) ac_try_echo=$ac_try;;
21566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21567 (eval "$ac_compile") 2>conftest.er1
21569 grep -v '^ *+' conftest.er1 >conftest.err
21571 cat conftest.err >&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); } && {
21574 test -z "$ac_c_werror_flag" ||
21575 test ! -s conftest.err
21576 } && test -s conftest.$ac_objext; then
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.$ac_ext >&5
21582 ac_lo=`expr '(' $ac_mid ')' + 1`
21585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21588 ?*) ac_cv_sizeof_int=$ac_lo;;
21589 '') if test "$ac_cv_type_int" = yes; then
21590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21591 See \`config.log' for more details." >&5
21592 echo "$as_me: error: cannot compute sizeof (int)
21593 See \`config.log' for more details." >&2;}
21594 { (exit 77); exit 77; }; }
21600 cat >conftest.$ac_ext <<_ACEOF
21603 cat confdefs.h >>conftest.$ac_ext
21604 cat >>conftest.$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21606 $ac_includes_default
21607 typedef int ac__type_sizeof_;
21608 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21609 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21611 #include <stdlib.h>
21616 FILE *f = fopen ("conftest.val", "w");
21619 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21621 long int i = longval ();
21622 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21624 fprintf (f, "%ld\n", i);
21628 unsigned long int i = ulongval ();
21629 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21631 fprintf (f, "%lu\n", i);
21633 return ferror (f) || fclose (f) != 0;
21639 rm -f conftest$ac_exeext
21640 if { (ac_try="$ac_link"
21641 case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21643 *) ac_try_echo=$ac_try;;
21645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_link") 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21650 { (case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_try") 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_sizeof_int=`cat conftest.val`
21661 echo "$as_me: program exited with status $ac_status" >&5
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21665 ( exit $ac_status )
21666 if test "$ac_cv_type_int" = yes; then
21667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21668 See \`config.log' for more details." >&5
21669 echo "$as_me: error: cannot compute sizeof (int)
21670 See \`config.log' for more details." >&2;}
21671 { (exit 77); exit 77; }; }
21676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21680 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21681 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21685 cat >>confdefs.h <<_ACEOF
21686 #define SIZEOF_INT $ac_cv_sizeof_int
21690 { echo "$as_me:$LINENO: checking for long" >&5
21691 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21692 if test "${ac_cv_type_long+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21695 cat >conftest.$ac_ext <<_ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701 $ac_includes_default
21702 typedef long ac__type_new_;
21706 if ((ac__type_new_ *) 0)
21708 if (sizeof (ac__type_new_))
21714 rm -f conftest.$ac_objext
21715 if { (ac_try="$ac_compile"
21716 case "(($ac_try" in
21717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;;
21720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21721 (eval "$ac_compile") 2>conftest.er1
21723 grep -v '^ *+' conftest.er1 >conftest.err
21725 cat conftest.err >&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } && {
21728 test -z "$ac_c_werror_flag" ||
21729 test ! -s conftest.err
21730 } && test -s conftest.$ac_objext; then
21731 ac_cv_type_long=yes
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.$ac_ext >&5
21739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21741 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21742 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21744 # The cast to long int works around a bug in the HP C Compiler
21745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21747 # This bug is HP SR number 8606223364.
21748 { echo "$as_me:$LINENO: checking size of long" >&5
21749 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21750 if test "${ac_cv_sizeof_long+set}" = set; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 if test "$cross_compiling" = yes; then
21754 # Depending upon the size, compute the lo and hi bounds.
21755 cat >conftest.$ac_ext <<_ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 $ac_includes_default
21762 typedef long ac__type_sizeof_;
21766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21773 rm -f conftest.$ac_objext
21774 if { (ac_try="$ac_compile"
21775 case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_compile") 2>conftest.er1
21782 grep -v '^ *+' conftest.er1 >conftest.err
21784 cat conftest.err >&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } && {
21787 test -z "$ac_c_werror_flag" ||
21788 test ! -s conftest.err
21789 } && test -s conftest.$ac_objext; then
21792 cat >conftest.$ac_ext <<_ACEOF
21795 cat confdefs.h >>conftest.$ac_ext
21796 cat >>conftest.$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21798 $ac_includes_default
21799 typedef long ac__type_sizeof_;
21803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21810 rm -f conftest.$ac_objext
21811 if { (ac_try="$ac_compile"
21812 case "(($ac_try" in
21813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21814 *) ac_try_echo=$ac_try;;
21816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21817 (eval "$ac_compile") 2>conftest.er1
21819 grep -v '^ *+' conftest.er1 >conftest.err
21821 cat conftest.err >&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } && {
21824 test -z "$ac_c_werror_flag" ||
21825 test ! -s conftest.err
21826 } && test -s conftest.$ac_objext; then
21827 ac_hi=$ac_mid; break
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21832 ac_lo=`expr $ac_mid + 1`
21833 if test $ac_lo -le $ac_mid; then
21837 ac_mid=`expr 2 '*' $ac_mid + 1`
21840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21846 cat >conftest.$ac_ext <<_ACEOF
21849 cat confdefs.h >>conftest.$ac_ext
21850 cat >>conftest.$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 $ac_includes_default
21853 typedef long ac__type_sizeof_;
21857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21864 rm -f conftest.$ac_objext
21865 if { (ac_try="$ac_compile"
21866 case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_compile") 2>conftest.er1
21873 grep -v '^ *+' conftest.er1 >conftest.err
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } && {
21878 test -z "$ac_c_werror_flag" ||
21879 test ! -s conftest.err
21880 } && test -s conftest.$ac_objext; then
21883 cat >conftest.$ac_ext <<_ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 $ac_includes_default
21890 typedef long ac__type_sizeof_;
21894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21901 rm -f conftest.$ac_objext
21902 if { (ac_try="$ac_compile"
21903 case "(($ac_try" in
21904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_compile") 2>conftest.er1
21910 grep -v '^ *+' conftest.er1 >conftest.err
21912 cat conftest.err >&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } && {
21915 test -z "$ac_c_werror_flag" ||
21916 test ! -s conftest.err
21917 } && test -s conftest.$ac_objext; then
21918 ac_lo=$ac_mid; break
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.$ac_ext >&5
21923 ac_hi=`expr '(' $ac_mid ')' - 1`
21924 if test $ac_mid -le $ac_hi; then
21928 ac_mid=`expr 2 '*' $ac_mid`
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.$ac_ext >&5
21940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 # Binary search between lo and hi bounds.
21945 while test "x$ac_lo" != "x$ac_hi"; do
21946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21947 cat >conftest.$ac_ext <<_ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 $ac_includes_default
21954 typedef long ac__type_sizeof_;
21958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21965 rm -f conftest.$ac_objext
21966 if { (ac_try="$ac_compile"
21967 case "(($ac_try" in
21968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21969 *) ac_try_echo=$ac_try;;
21971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_compile") 2>conftest.er1
21974 grep -v '^ *+' conftest.er1 >conftest.err
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } && {
21979 test -z "$ac_c_werror_flag" ||
21980 test ! -s conftest.err
21981 } && test -s conftest.$ac_objext; then
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21987 ac_lo=`expr '(' $ac_mid ')' + 1`
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21993 ?*) ac_cv_sizeof_long=$ac_lo;;
21994 '') if test "$ac_cv_type_long" = yes; then
21995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21996 See \`config.log' for more details." >&5
21997 echo "$as_me: error: cannot compute sizeof (long)
21998 See \`config.log' for more details." >&2;}
21999 { (exit 77); exit 77; }; }
22001 ac_cv_sizeof_long=0
22005 cat >conftest.$ac_ext <<_ACEOF
22008 cat confdefs.h >>conftest.$ac_ext
22009 cat >>conftest.$ac_ext <<_ACEOF
22010 /* end confdefs.h. */
22011 $ac_includes_default
22012 typedef long ac__type_sizeof_;
22013 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22014 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22016 #include <stdlib.h>
22021 FILE *f = fopen ("conftest.val", "w");
22024 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22026 long int i = longval ();
22027 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22029 fprintf (f, "%ld\n", i);
22033 unsigned long int i = ulongval ();
22034 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22036 fprintf (f, "%lu\n", i);
22038 return ferror (f) || fclose (f) != 0;
22044 rm -f conftest$ac_exeext
22045 if { (ac_try="$ac_link"
22046 case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_link") 2>&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22055 { (case "(($ac_try" in
22056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22057 *) ac_try_echo=$ac_try;;
22059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22060 (eval "$ac_try") 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22064 ac_cv_sizeof_long=`cat conftest.val`
22066 echo "$as_me: program exited with status $ac_status" >&5
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22070 ( exit $ac_status )
22071 if test "$ac_cv_type_long" = yes; then
22072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22073 See \`config.log' for more details." >&5
22074 echo "$as_me: error: cannot compute sizeof (long)
22075 See \`config.log' for more details." >&2;}
22076 { (exit 77); exit 77; }; }
22078 ac_cv_sizeof_long=0
22081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22085 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22086 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22090 cat >>confdefs.h <<_ACEOF
22091 #define SIZEOF_LONG $ac_cv_sizeof_long
22095 { echo "$as_me:$LINENO: checking for size_t" >&5
22096 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22097 if test "${ac_cv_type_size_t+set}" = set; then
22098 echo $ECHO_N "(cached) $ECHO_C" >&6
22100 cat >conftest.$ac_ext <<_ACEOF
22103 cat confdefs.h >>conftest.$ac_ext
22104 cat >>conftest.$ac_ext <<_ACEOF
22105 /* end confdefs.h. */
22106 $ac_includes_default
22107 typedef size_t ac__type_new_;
22111 if ((ac__type_new_ *) 0)
22113 if (sizeof (ac__type_new_))
22119 rm -f conftest.$ac_objext
22120 if { (ac_try="$ac_compile"
22121 case "(($ac_try" in
22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22123 *) ac_try_echo=$ac_try;;
22125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126 (eval "$ac_compile") 2>conftest.er1
22128 grep -v '^ *+' conftest.er1 >conftest.err
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } && {
22133 test -z "$ac_c_werror_flag" ||
22134 test ! -s conftest.err
22135 } && test -s conftest.$ac_objext; then
22136 ac_cv_type_size_t=yes
22138 echo "$as_me: failed program was:" >&5
22139 sed 's/^/| /' conftest.$ac_ext >&5
22141 ac_cv_type_size_t=no
22144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22146 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22147 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22149 # The cast to long int works around a bug in the HP C Compiler
22150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22152 # This bug is HP SR number 8606223364.
22153 { echo "$as_me:$LINENO: checking size of size_t" >&5
22154 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22155 if test "${ac_cv_sizeof_size_t+set}" = set; then
22156 echo $ECHO_N "(cached) $ECHO_C" >&6
22158 if test "$cross_compiling" = yes; then
22159 # Depending upon the size, compute the lo and hi bounds.
22160 cat >conftest.$ac_ext <<_ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 $ac_includes_default
22167 typedef size_t ac__type_sizeof_;
22171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22178 rm -f conftest.$ac_objext
22179 if { (ac_try="$ac_compile"
22180 case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_compile") 2>conftest.er1
22187 grep -v '^ *+' conftest.er1 >conftest.err
22189 cat conftest.err >&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } && {
22192 test -z "$ac_c_werror_flag" ||
22193 test ! -s conftest.err
22194 } && test -s conftest.$ac_objext; then
22197 cat >conftest.$ac_ext <<_ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 $ac_includes_default
22204 typedef size_t ac__type_sizeof_;
22208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22215 rm -f conftest.$ac_objext
22216 if { (ac_try="$ac_compile"
22217 case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_compile") 2>conftest.er1
22224 grep -v '^ *+' conftest.er1 >conftest.err
22226 cat conftest.err >&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); } && {
22229 test -z "$ac_c_werror_flag" ||
22230 test ! -s conftest.err
22231 } && test -s conftest.$ac_objext; then
22232 ac_hi=$ac_mid; break
22234 echo "$as_me: failed program was:" >&5
22235 sed 's/^/| /' conftest.$ac_ext >&5
22237 ac_lo=`expr $ac_mid + 1`
22238 if test $ac_lo -le $ac_mid; then
22242 ac_mid=`expr 2 '*' $ac_mid + 1`
22245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22251 cat >conftest.$ac_ext <<_ACEOF
22254 cat confdefs.h >>conftest.$ac_ext
22255 cat >>conftest.$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22257 $ac_includes_default
22258 typedef size_t ac__type_sizeof_;
22262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22269 rm -f conftest.$ac_objext
22270 if { (ac_try="$ac_compile"
22271 case "(($ac_try" in
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22276 (eval "$ac_compile") 2>conftest.er1
22278 grep -v '^ *+' conftest.er1 >conftest.err
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } && {
22283 test -z "$ac_c_werror_flag" ||
22284 test ! -s conftest.err
22285 } && test -s conftest.$ac_objext; then
22288 cat >conftest.$ac_ext <<_ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 $ac_includes_default
22295 typedef size_t ac__type_sizeof_;
22299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22306 rm -f conftest.$ac_objext
22307 if { (ac_try="$ac_compile"
22308 case "(($ac_try" in
22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_compile") 2>conftest.er1
22315 grep -v '^ *+' conftest.er1 >conftest.err
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_c_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest.$ac_objext; then
22323 ac_lo=$ac_mid; break
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22328 ac_hi=`expr '(' $ac_mid ')' - 1`
22329 if test $ac_mid -le $ac_hi; then
22333 ac_mid=`expr 2 '*' $ac_mid`
22336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22339 echo "$as_me: failed program was:" >&5
22340 sed 's/^/| /' conftest.$ac_ext >&5
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22349 # Binary search between lo and hi bounds.
22350 while test "x$ac_lo" != "x$ac_hi"; do
22351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22352 cat >conftest.$ac_ext <<_ACEOF
22355 cat confdefs.h >>conftest.$ac_ext
22356 cat >>conftest.$ac_ext <<_ACEOF
22357 /* end confdefs.h. */
22358 $ac_includes_default
22359 typedef size_t ac__type_sizeof_;
22363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22370 rm -f conftest.$ac_objext
22371 if { (ac_try="$ac_compile"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_compile") 2>conftest.er1
22379 grep -v '^ *+' conftest.er1 >conftest.err
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } && {
22384 test -z "$ac_c_werror_flag" ||
22385 test ! -s conftest.err
22386 } && test -s conftest.$ac_objext; then
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22392 ac_lo=`expr '(' $ac_mid ')' + 1`
22395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22398 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22399 '') if test "$ac_cv_type_size_t" = yes; then
22400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22401 See \`config.log' for more details." >&5
22402 echo "$as_me: error: cannot compute sizeof (size_t)
22403 See \`config.log' for more details." >&2;}
22404 { (exit 77); exit 77; }; }
22406 ac_cv_sizeof_size_t=0
22410 cat >conftest.$ac_ext <<_ACEOF
22413 cat confdefs.h >>conftest.$ac_ext
22414 cat >>conftest.$ac_ext <<_ACEOF
22415 /* end confdefs.h. */
22416 $ac_includes_default
22417 typedef size_t ac__type_sizeof_;
22418 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22419 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22421 #include <stdlib.h>
22426 FILE *f = fopen ("conftest.val", "w");
22429 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22431 long int i = longval ();
22432 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22434 fprintf (f, "%ld\n", i);
22438 unsigned long int i = ulongval ();
22439 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22441 fprintf (f, "%lu\n", i);
22443 return ferror (f) || fclose (f) != 0;
22449 rm -f conftest$ac_exeext
22450 if { (ac_try="$ac_link"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_link") 2>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22460 { (case "(($ac_try" in
22461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22462 *) ac_try_echo=$ac_try;;
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_try") 2>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; }; then
22469 ac_cv_sizeof_size_t=`cat conftest.val`
22471 echo "$as_me: program exited with status $ac_status" >&5
22472 echo "$as_me: failed program was:" >&5
22473 sed 's/^/| /' conftest.$ac_ext >&5
22475 ( exit $ac_status )
22476 if test "$ac_cv_type_size_t" = yes; then
22477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22478 See \`config.log' for more details." >&5
22479 echo "$as_me: error: cannot compute sizeof (size_t)
22480 See \`config.log' for more details." >&2;}
22481 { (exit 77); exit 77; }; }
22483 ac_cv_sizeof_size_t=0
22486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22490 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22491 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22495 cat >>confdefs.h <<_ACEOF
22496 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22503 { echo "$as_me:$LINENO: checking for long long" >&5
22504 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22505 if test "${ac_cv_type_long_long+set}" = set; then
22506 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 cat >conftest.$ac_ext <<_ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 $ac_includes_default
22515 typedef long long ac__type_new_;
22519 if ((ac__type_new_ *) 0)
22521 if (sizeof (ac__type_new_))
22527 rm -f conftest.$ac_objext
22528 if { (ac_try="$ac_compile"
22529 case "(($ac_try" in
22530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22531 *) ac_try_echo=$ac_try;;
22533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22534 (eval "$ac_compile") 2>conftest.er1
22536 grep -v '^ *+' conftest.er1 >conftest.err
22538 cat conftest.err >&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); } && {
22541 test -z "$ac_c_werror_flag" ||
22542 test ! -s conftest.err
22543 } && test -s conftest.$ac_objext; then
22544 ac_cv_type_long_long=yes
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5
22549 ac_cv_type_long_long=no
22552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22554 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22555 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22557 # The cast to long int works around a bug in the HP C Compiler
22558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22560 # This bug is HP SR number 8606223364.
22561 { echo "$as_me:$LINENO: checking size of long long" >&5
22562 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22563 if test "${ac_cv_sizeof_long_long+set}" = set; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 if test "$cross_compiling" = yes; then
22567 # Depending upon the size, compute the lo and hi bounds.
22568 cat >conftest.$ac_ext <<_ACEOF
22571 cat confdefs.h >>conftest.$ac_ext
22572 cat >>conftest.$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22574 $ac_includes_default
22575 typedef long long ac__type_sizeof_;
22579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22586 rm -f conftest.$ac_objext
22587 if { (ac_try="$ac_compile"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22590 *) ac_try_echo=$ac_try;;
22592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22593 (eval "$ac_compile") 2>conftest.er1
22595 grep -v '^ *+' conftest.er1 >conftest.err
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } && {
22600 test -z "$ac_c_werror_flag" ||
22601 test ! -s conftest.err
22602 } && test -s conftest.$ac_objext; then
22605 cat >conftest.$ac_ext <<_ACEOF
22608 cat confdefs.h >>conftest.$ac_ext
22609 cat >>conftest.$ac_ext <<_ACEOF
22610 /* end confdefs.h. */
22611 $ac_includes_default
22612 typedef long long ac__type_sizeof_;
22616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22623 rm -f conftest.$ac_objext
22624 if { (ac_try="$ac_compile"
22625 case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_compile") 2>conftest.er1
22632 grep -v '^ *+' conftest.er1 >conftest.err
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } && {
22637 test -z "$ac_c_werror_flag" ||
22638 test ! -s conftest.err
22639 } && test -s conftest.$ac_objext; then
22640 ac_hi=$ac_mid; break
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.$ac_ext >&5
22645 ac_lo=`expr $ac_mid + 1`
22646 if test $ac_lo -le $ac_mid; then
22650 ac_mid=`expr 2 '*' $ac_mid + 1`
22653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22659 cat >conftest.$ac_ext <<_ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 $ac_includes_default
22666 typedef long long ac__type_sizeof_;
22670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22677 rm -f conftest.$ac_objext
22678 if { (ac_try="$ac_compile"
22679 case "(($ac_try" in
22680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22681 *) ac_try_echo=$ac_try;;
22683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22684 (eval "$ac_compile") 2>conftest.er1
22686 grep -v '^ *+' conftest.er1 >conftest.err
22688 cat conftest.err >&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); } && {
22691 test -z "$ac_c_werror_flag" ||
22692 test ! -s conftest.err
22693 } && test -s conftest.$ac_objext; then
22696 cat >conftest.$ac_ext <<_ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 $ac_includes_default
22703 typedef long long ac__type_sizeof_;
22707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22714 rm -f conftest.$ac_objext
22715 if { (ac_try="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22723 grep -v '^ *+' conftest.er1 >conftest.err
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && {
22728 test -z "$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22730 } && test -s conftest.$ac_objext; then
22731 ac_lo=$ac_mid; break
22733 echo "$as_me: failed program was:" >&5
22734 sed 's/^/| /' conftest.$ac_ext >&5
22736 ac_hi=`expr '(' $ac_mid ')' - 1`
22737 if test $ac_mid -le $ac_hi; then
22741 ac_mid=`expr 2 '*' $ac_mid`
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 echo "$as_me: failed program was:" >&5
22748 sed 's/^/| /' conftest.$ac_ext >&5
22753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22757 # Binary search between lo and hi bounds.
22758 while test "x$ac_lo" != "x$ac_hi"; do
22759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22760 cat >conftest.$ac_ext <<_ACEOF
22763 cat confdefs.h >>conftest.$ac_ext
22764 cat >>conftest.$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22766 $ac_includes_default
22767 typedef long long ac__type_sizeof_;
22771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22778 rm -f conftest.$ac_objext
22779 if { (ac_try="$ac_compile"
22780 case "(($ac_try" in
22781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22782 *) ac_try_echo=$ac_try;;
22784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22785 (eval "$ac_compile") 2>conftest.er1
22787 grep -v '^ *+' conftest.er1 >conftest.err
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } && {
22792 test -z "$ac_c_werror_flag" ||
22793 test ! -s conftest.err
22794 } && test -s conftest.$ac_objext; then
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.$ac_ext >&5
22800 ac_lo=`expr '(' $ac_mid ')' + 1`
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22807 '') if test "$ac_cv_type_long_long" = yes; then
22808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22809 See \`config.log' for more details." >&5
22810 echo "$as_me: error: cannot compute sizeof (long long)
22811 See \`config.log' for more details." >&2;}
22812 { (exit 77); exit 77; }; }
22814 ac_cv_sizeof_long_long=0
22818 cat >conftest.$ac_ext <<_ACEOF
22821 cat confdefs.h >>conftest.$ac_ext
22822 cat >>conftest.$ac_ext <<_ACEOF
22823 /* end confdefs.h. */
22824 $ac_includes_default
22825 typedef long long ac__type_sizeof_;
22826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22829 #include <stdlib.h>
22834 FILE *f = fopen ("conftest.val", "w");
22837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22839 long int i = longval ();
22840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22842 fprintf (f, "%ld\n", i);
22846 unsigned long int i = ulongval ();
22847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22849 fprintf (f, "%lu\n", i);
22851 return ferror (f) || fclose (f) != 0;
22857 rm -f conftest$ac_exeext
22858 if { (ac_try="$ac_link"
22859 case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_link") 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22868 { (case "(($ac_try" in
22869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22870 *) ac_try_echo=$ac_try;;
22872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22873 (eval "$ac_try") 2>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; }; then
22877 ac_cv_sizeof_long_long=`cat conftest.val`
22879 echo "$as_me: program exited with status $ac_status" >&5
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22883 ( exit $ac_status )
22884 if test "$ac_cv_type_long_long" = yes; then
22885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22886 See \`config.log' for more details." >&5
22887 echo "$as_me: error: cannot compute sizeof (long long)
22888 See \`config.log' for more details." >&2;}
22889 { (exit 77); exit 77; }; }
22891 ac_cv_sizeof_long_long=0
22894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22898 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22899 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22903 cat >>confdefs.h <<_ACEOF
22904 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22910 { echo "$as_me:$LINENO: checking for long long" >&5
22911 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22912 if test "${ac_cv_type_long_long+set}" = set; then
22913 echo $ECHO_N "(cached) $ECHO_C" >&6
22915 cat >conftest.$ac_ext <<_ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 $ac_includes_default
22922 typedef long long ac__type_new_;
22926 if ((ac__type_new_ *) 0)
22928 if (sizeof (ac__type_new_))
22934 rm -f conftest.$ac_objext
22935 if { (ac_try="$ac_compile"
22936 case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22943 grep -v '^ *+' conftest.er1 >conftest.err
22945 cat conftest.err >&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.$ac_objext; then
22951 ac_cv_type_long_long=yes
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22956 ac_cv_type_long_long=no
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22962 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22964 # The cast to long int works around a bug in the HP C Compiler
22965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22967 # This bug is HP SR number 8606223364.
22968 { echo "$as_me:$LINENO: checking size of long long" >&5
22969 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22970 if test "${ac_cv_sizeof_long_long+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22973 if test "$cross_compiling" = yes; then
22974 # Depending upon the size, compute the lo and hi bounds.
22975 cat >conftest.$ac_ext <<_ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 $ac_includes_default
22982 typedef long long ac__type_sizeof_;
22986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22993 rm -f conftest.$ac_objext
22994 if { (ac_try="$ac_compile"
22995 case "(($ac_try" in
22996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22997 *) ac_try_echo=$ac_try;;
22999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23000 (eval "$ac_compile") 2>conftest.er1
23002 grep -v '^ *+' conftest.er1 >conftest.err
23004 cat conftest.err >&5
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); } && {
23007 test -z "$ac_c_werror_flag" ||
23008 test ! -s conftest.err
23009 } && test -s conftest.$ac_objext; then
23012 cat >conftest.$ac_ext <<_ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 $ac_includes_default
23019 typedef long long ac__type_sizeof_;
23023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23030 rm -f conftest.$ac_objext
23031 if { (ac_try="$ac_compile"
23032 case "(($ac_try" in
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_compile") 2>conftest.er1
23039 grep -v '^ *+' conftest.er1 >conftest.err
23041 cat conftest.err >&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } && {
23044 test -z "$ac_c_werror_flag" ||
23045 test ! -s conftest.err
23046 } && test -s conftest.$ac_objext; then
23047 ac_hi=$ac_mid; break
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23052 ac_lo=`expr $ac_mid + 1`
23053 if test $ac_lo -le $ac_mid; then
23057 ac_mid=`expr 2 '*' $ac_mid + 1`
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23066 cat >conftest.$ac_ext <<_ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23072 $ac_includes_default
23073 typedef long long ac__type_sizeof_;
23077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23084 rm -f conftest.$ac_objext
23085 if { (ac_try="$ac_compile"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_compile") 2>conftest.er1
23093 grep -v '^ *+' conftest.er1 >conftest.err
23095 cat conftest.err >&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } && {
23098 test -z "$ac_c_werror_flag" ||
23099 test ! -s conftest.err
23100 } && test -s conftest.$ac_objext; then
23103 cat >conftest.$ac_ext <<_ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef long long ac__type_sizeof_;
23114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23121 rm -f conftest.$ac_objext
23122 if { (ac_try="$ac_compile"
23123 case "(($ac_try" in
23124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23125 *) ac_try_echo=$ac_try;;
23127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23128 (eval "$ac_compile") 2>conftest.er1
23130 grep -v '^ *+' conftest.er1 >conftest.err
23132 cat conftest.err >&5
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); } && {
23135 test -z "$ac_c_werror_flag" ||
23136 test ! -s conftest.err
23137 } && test -s conftest.$ac_objext; then
23138 ac_lo=$ac_mid; break
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.$ac_ext >&5
23143 ac_hi=`expr '(' $ac_mid ')' - 1`
23144 if test $ac_mid -le $ac_hi; then
23148 ac_mid=`expr 2 '*' $ac_mid`
23151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23154 echo "$as_me: failed program was:" >&5
23155 sed 's/^/| /' conftest.$ac_ext >&5
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23164 # Binary search between lo and hi bounds.
23165 while test "x$ac_lo" != "x$ac_hi"; do
23166 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23167 cat >conftest.$ac_ext <<_ACEOF
23170 cat confdefs.h >>conftest.$ac_ext
23171 cat >>conftest.$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23173 $ac_includes_default
23174 typedef long long ac__type_sizeof_;
23178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23185 rm -f conftest.$ac_objext
23186 if { (ac_try="$ac_compile"
23187 case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_compile") 2>conftest.er1
23194 grep -v '^ *+' conftest.er1 >conftest.err
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } && {
23199 test -z "$ac_c_werror_flag" ||
23200 test ! -s conftest.err
23201 } && test -s conftest.$ac_objext; then
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23207 ac_lo=`expr '(' $ac_mid ')' + 1`
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23213 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23214 '') if test "$ac_cv_type_long_long" = yes; then
23215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23216 See \`config.log' for more details." >&5
23217 echo "$as_me: error: cannot compute sizeof (long long)
23218 See \`config.log' for more details." >&2;}
23219 { (exit 77); exit 77; }; }
23221 ac_cv_sizeof_long_long=0
23225 cat >conftest.$ac_ext <<_ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 $ac_includes_default
23232 typedef long long ac__type_sizeof_;
23233 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23234 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23236 #include <stdlib.h>
23241 FILE *f = fopen ("conftest.val", "w");
23244 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23246 long int i = longval ();
23247 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23249 fprintf (f, "%ld\n", i);
23253 unsigned long int i = ulongval ();
23254 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23256 fprintf (f, "%lu\n", i);
23258 return ferror (f) || fclose (f) != 0;
23264 rm -f conftest$ac_exeext
23265 if { (ac_try="$ac_link"
23266 case "(($ac_try" in
23267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23268 *) ac_try_echo=$ac_try;;
23270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23271 (eval "$ac_link") 2>&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23275 { (case "(($ac_try" in
23276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_try") 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 ac_cv_sizeof_long_long=`cat conftest.val`
23286 echo "$as_me: program exited with status $ac_status" >&5
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.$ac_ext >&5
23290 ( exit $ac_status )
23291 if test "$ac_cv_type_long_long" = yes; then
23292 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23293 See \`config.log' for more details." >&5
23294 echo "$as_me: error: cannot compute sizeof (long long)
23295 See \`config.log' for more details." >&2;}
23296 { (exit 77); exit 77; }; }
23298 ac_cv_sizeof_long_long=0
23301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23305 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23306 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23310 cat >>confdefs.h <<_ACEOF
23311 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23315 if test "$ac_cv_sizeof_long_long" != 0; then
23316 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23320 { echo "$as_me:$LINENO: checking for long long" >&5
23321 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23322 if test "${ac_cv_type_long_long+set}" = set; then
23323 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 cat >conftest.$ac_ext <<_ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 $ac_includes_default
23332 typedef long long ac__type_new_;
23336 if ((ac__type_new_ *) 0)
23338 if (sizeof (ac__type_new_))
23344 rm -f conftest.$ac_objext
23345 if { (ac_try="$ac_compile"
23346 case "(($ac_try" in
23347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23348 *) ac_try_echo=$ac_try;;
23350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23351 (eval "$ac_compile") 2>conftest.er1
23353 grep -v '^ *+' conftest.er1 >conftest.err
23355 cat conftest.err >&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); } && {
23358 test -z "$ac_c_werror_flag" ||
23359 test ! -s conftest.err
23360 } && test -s conftest.$ac_objext; then
23361 ac_cv_type_long_long=yes
23363 echo "$as_me: failed program was:" >&5
23364 sed 's/^/| /' conftest.$ac_ext >&5
23366 ac_cv_type_long_long=no
23369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23372 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23374 # The cast to long int works around a bug in the HP C Compiler
23375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23377 # This bug is HP SR number 8606223364.
23378 { echo "$as_me:$LINENO: checking size of long long" >&5
23379 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23380 if test "${ac_cv_sizeof_long_long+set}" = set; then
23381 echo $ECHO_N "(cached) $ECHO_C" >&6
23383 if test "$cross_compiling" = yes; then
23384 # Depending upon the size, compute the lo and hi bounds.
23385 cat >conftest.$ac_ext <<_ACEOF
23388 cat confdefs.h >>conftest.$ac_ext
23389 cat >>conftest.$ac_ext <<_ACEOF
23390 /* end confdefs.h. */
23391 $ac_includes_default
23392 typedef long long ac__type_sizeof_;
23396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23403 rm -f conftest.$ac_objext
23404 if { (ac_try="$ac_compile"
23405 case "(($ac_try" in
23406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23407 *) ac_try_echo=$ac_try;;
23409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23410 (eval "$ac_compile") 2>conftest.er1
23412 grep -v '^ *+' conftest.er1 >conftest.err
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } && {
23417 test -z "$ac_c_werror_flag" ||
23418 test ! -s conftest.err
23419 } && test -s conftest.$ac_objext; then
23422 cat >conftest.$ac_ext <<_ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 $ac_includes_default
23429 typedef long long ac__type_sizeof_;
23433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23440 rm -f conftest.$ac_objext
23441 if { (ac_try="$ac_compile"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23444 *) ac_try_echo=$ac_try;;
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_compile") 2>conftest.er1
23449 grep -v '^ *+' conftest.er1 >conftest.err
23451 cat conftest.err >&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest.$ac_objext; then
23457 ac_hi=$ac_mid; break
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23462 ac_lo=`expr $ac_mid + 1`
23463 if test $ac_lo -le $ac_mid; then
23467 ac_mid=`expr 2 '*' $ac_mid + 1`
23470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23476 cat >conftest.$ac_ext <<_ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482 $ac_includes_default
23483 typedef long long ac__type_sizeof_;
23487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23494 rm -f conftest.$ac_objext
23495 if { (ac_try="$ac_compile"
23496 case "(($ac_try" in
23497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23498 *) ac_try_echo=$ac_try;;
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_compile") 2>conftest.er1
23503 grep -v '^ *+' conftest.er1 >conftest.err
23505 cat conftest.err >&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); } && {
23508 test -z "$ac_c_werror_flag" ||
23509 test ! -s conftest.err
23510 } && test -s conftest.$ac_objext; then
23513 cat >conftest.$ac_ext <<_ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 $ac_includes_default
23520 typedef long long ac__type_sizeof_;
23524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23531 rm -f conftest.$ac_objext
23532 if { (ac_try="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23540 grep -v '^ *+' conftest.er1 >conftest.err
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_lo=$ac_mid; break
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23553 ac_hi=`expr '(' $ac_mid ')' - 1`
23554 if test $ac_mid -le $ac_hi; then
23558 ac_mid=`expr 2 '*' $ac_mid`
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.$ac_ext >&5
23570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 # Binary search between lo and hi bounds.
23575 while test "x$ac_lo" != "x$ac_hi"; do
23576 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23577 cat >conftest.$ac_ext <<_ACEOF
23580 cat confdefs.h >>conftest.$ac_ext
23581 cat >>conftest.$ac_ext <<_ACEOF
23582 /* end confdefs.h. */
23583 $ac_includes_default
23584 typedef long long ac__type_sizeof_;
23588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23595 rm -f conftest.$ac_objext
23596 if { (ac_try="$ac_compile"
23597 case "(($ac_try" in
23598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23599 *) ac_try_echo=$ac_try;;
23601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23602 (eval "$ac_compile") 2>conftest.er1
23604 grep -v '^ *+' conftest.er1 >conftest.err
23606 cat conftest.err >&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); } && {
23609 test -z "$ac_c_werror_flag" ||
23610 test ! -s conftest.err
23611 } && test -s conftest.$ac_objext; then
23614 echo "$as_me: failed program was:" >&5
23615 sed 's/^/| /' conftest.$ac_ext >&5
23617 ac_lo=`expr '(' $ac_mid ')' + 1`
23620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23623 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23624 '') if test "$ac_cv_type_long_long" = yes; then
23625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23626 See \`config.log' for more details." >&5
23627 echo "$as_me: error: cannot compute sizeof (long long)
23628 See \`config.log' for more details." >&2;}
23629 { (exit 77); exit 77; }; }
23631 ac_cv_sizeof_long_long=0
23635 cat >conftest.$ac_ext <<_ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23641 $ac_includes_default
23642 typedef long long ac__type_sizeof_;
23643 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23644 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23646 #include <stdlib.h>
23651 FILE *f = fopen ("conftest.val", "w");
23654 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23656 long int i = longval ();
23657 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23659 fprintf (f, "%ld\n", i);
23663 unsigned long int i = ulongval ();
23664 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23666 fprintf (f, "%lu\n", i);
23668 return ferror (f) || fclose (f) != 0;
23674 rm -f conftest$ac_exeext
23675 if { (ac_try="$ac_link"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_link") 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23685 { (case "(($ac_try" in
23686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23687 *) ac_try_echo=$ac_try;;
23689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23690 (eval "$ac_try") 2>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 ac_cv_sizeof_long_long=`cat conftest.val`
23696 echo "$as_me: program exited with status $ac_status" >&5
23697 echo "$as_me: failed program was:" >&5
23698 sed 's/^/| /' conftest.$ac_ext >&5
23700 ( exit $ac_status )
23701 if test "$ac_cv_type_long_long" = yes; then
23702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23703 See \`config.log' for more details." >&5
23704 echo "$as_me: error: cannot compute sizeof (long long)
23705 See \`config.log' for more details." >&2;}
23706 { (exit 77); exit 77; }; }
23708 ac_cv_sizeof_long_long=0
23711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23715 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23716 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23720 cat >>confdefs.h <<_ACEOF
23721 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23727 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23728 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23729 if test "${ac_cv_type_wchar_t+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 cat >conftest.$ac_ext <<_ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23739 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23740 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23741 # error "fake wchar_t"
23743 #ifdef HAVE_WCHAR_H
23745 # include <stddef.h>
23747 # include <wchar.h>
23749 #ifdef HAVE_STDLIB_H
23750 # include <stdlib.h>
23756 typedef wchar_t ac__type_new_;
23760 if ((ac__type_new_ *) 0)
23762 if (sizeof (ac__type_new_))
23768 rm -f conftest.$ac_objext
23769 if { (ac_try="$ac_compile"
23770 case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_compile") 2>conftest.er1
23777 grep -v '^ *+' conftest.er1 >conftest.err
23779 cat conftest.err >&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } && {
23782 test -z "$ac_c_werror_flag" ||
23783 test ! -s conftest.err
23784 } && test -s conftest.$ac_objext; then
23785 ac_cv_type_wchar_t=yes
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.$ac_ext >&5
23790 ac_cv_type_wchar_t=no
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23796 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23798 # The cast to long int works around a bug in the HP C Compiler
23799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23801 # This bug is HP SR number 8606223364.
23802 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23803 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23804 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23805 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 if test "$cross_compiling" = yes; then
23808 # Depending upon the size, compute the lo and hi bounds.
23809 cat >conftest.$ac_ext <<_ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23816 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23817 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23818 # error "fake wchar_t"
23820 #ifdef HAVE_WCHAR_H
23822 # include <stddef.h>
23824 # include <wchar.h>
23826 #ifdef HAVE_STDLIB_H
23827 # include <stdlib.h>
23833 typedef wchar_t ac__type_sizeof_;
23837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23844 rm -f conftest.$ac_objext
23845 if { (ac_try="$ac_compile"
23846 case "(($ac_try" in
23847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23848 *) ac_try_echo=$ac_try;;
23850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23851 (eval "$ac_compile") 2>conftest.er1
23853 grep -v '^ *+' conftest.er1 >conftest.err
23855 cat conftest.err >&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } && {
23858 test -z "$ac_c_werror_flag" ||
23859 test ! -s conftest.err
23860 } && test -s conftest.$ac_objext; then
23863 cat >conftest.$ac_ext <<_ACEOF
23866 cat confdefs.h >>conftest.$ac_ext
23867 cat >>conftest.$ac_ext <<_ACEOF
23868 /* end confdefs.h. */
23870 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23871 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23872 # error "fake wchar_t"
23874 #ifdef HAVE_WCHAR_H
23876 # include <stddef.h>
23878 # include <wchar.h>
23880 #ifdef HAVE_STDLIB_H
23881 # include <stdlib.h>
23887 typedef wchar_t ac__type_sizeof_;
23891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23898 rm -f conftest.$ac_objext
23899 if { (ac_try="$ac_compile"
23900 case "(($ac_try" in
23901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23902 *) ac_try_echo=$ac_try;;
23904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23905 (eval "$ac_compile") 2>conftest.er1
23907 grep -v '^ *+' conftest.er1 >conftest.err
23909 cat conftest.err >&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } && {
23912 test -z "$ac_c_werror_flag" ||
23913 test ! -s conftest.err
23914 } && test -s conftest.$ac_objext; then
23915 ac_hi=$ac_mid; break
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23920 ac_lo=`expr $ac_mid + 1`
23921 if test $ac_lo -le $ac_mid; then
23925 ac_mid=`expr 2 '*' $ac_mid + 1`
23928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23934 cat >conftest.$ac_ext <<_ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23941 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23942 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23943 # error "fake wchar_t"
23945 #ifdef HAVE_WCHAR_H
23947 # include <stddef.h>
23949 # include <wchar.h>
23951 #ifdef HAVE_STDLIB_H
23952 # include <stdlib.h>
23958 typedef wchar_t ac__type_sizeof_;
23962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23969 rm -f conftest.$ac_objext
23970 if { (ac_try="$ac_compile"
23971 case "(($ac_try" in
23972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23973 *) ac_try_echo=$ac_try;;
23975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23976 (eval "$ac_compile") 2>conftest.er1
23978 grep -v '^ *+' conftest.er1 >conftest.err
23980 cat conftest.err >&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } && {
23983 test -z "$ac_c_werror_flag" ||
23984 test ! -s conftest.err
23985 } && test -s conftest.$ac_objext; then
23988 cat >conftest.$ac_ext <<_ACEOF
23991 cat confdefs.h >>conftest.$ac_ext
23992 cat >>conftest.$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23995 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23996 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23997 # error "fake wchar_t"
23999 #ifdef HAVE_WCHAR_H
24001 # include <stddef.h>
24003 # include <wchar.h>
24005 #ifdef HAVE_STDLIB_H
24006 # include <stdlib.h>
24012 typedef wchar_t ac__type_sizeof_;
24016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24023 rm -f conftest.$ac_objext
24024 if { (ac_try="$ac_compile"
24025 case "(($ac_try" in
24026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24027 *) ac_try_echo=$ac_try;;
24029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24030 (eval "$ac_compile") 2>conftest.er1
24032 grep -v '^ *+' conftest.er1 >conftest.err
24034 cat conftest.err >&5
24035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036 (exit $ac_status); } && {
24037 test -z "$ac_c_werror_flag" ||
24038 test ! -s conftest.err
24039 } && test -s conftest.$ac_objext; then
24040 ac_lo=$ac_mid; break
24042 echo "$as_me: failed program was:" >&5
24043 sed 's/^/| /' conftest.$ac_ext >&5
24045 ac_hi=`expr '(' $ac_mid ')' - 1`
24046 if test $ac_mid -le $ac_hi; then
24050 ac_mid=`expr 2 '*' $ac_mid`
24053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24056 echo "$as_me: failed program was:" >&5
24057 sed 's/^/| /' conftest.$ac_ext >&5
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24066 # Binary search between lo and hi bounds.
24067 while test "x$ac_lo" != "x$ac_hi"; do
24068 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24069 cat >conftest.$ac_ext <<_ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24076 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24077 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24078 # error "fake wchar_t"
24080 #ifdef HAVE_WCHAR_H
24082 # include <stddef.h>
24084 # include <wchar.h>
24086 #ifdef HAVE_STDLIB_H
24087 # include <stdlib.h>
24093 typedef wchar_t ac__type_sizeof_;
24097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24104 rm -f conftest.$ac_objext
24105 if { (ac_try="$ac_compile"
24106 case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_compile") 2>conftest.er1
24113 grep -v '^ *+' conftest.er1 >conftest.err
24115 cat conftest.err >&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } && {
24118 test -z "$ac_c_werror_flag" ||
24119 test ! -s conftest.err
24120 } && test -s conftest.$ac_objext; then
24123 echo "$as_me: failed program was:" >&5
24124 sed 's/^/| /' conftest.$ac_ext >&5
24126 ac_lo=`expr '(' $ac_mid ')' + 1`
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24132 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24133 '') if test "$ac_cv_type_wchar_t" = yes; then
24134 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24135 See \`config.log' for more details." >&5
24136 echo "$as_me: error: cannot compute sizeof (wchar_t)
24137 See \`config.log' for more details." >&2;}
24138 { (exit 77); exit 77; }; }
24140 ac_cv_sizeof_wchar_t=0
24144 cat >conftest.$ac_ext <<_ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24151 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24152 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24153 # error "fake wchar_t"
24155 #ifdef HAVE_WCHAR_H
24157 # include <stddef.h>
24159 # include <wchar.h>
24161 #ifdef HAVE_STDLIB_H
24162 # include <stdlib.h>
24168 typedef wchar_t ac__type_sizeof_;
24169 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24170 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24172 #include <stdlib.h>
24177 FILE *f = fopen ("conftest.val", "w");
24180 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24182 long int i = longval ();
24183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24185 fprintf (f, "%ld\n", i);
24189 unsigned long int i = ulongval ();
24190 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24192 fprintf (f, "%lu\n", i);
24194 return ferror (f) || fclose (f) != 0;
24200 rm -f conftest$ac_exeext
24201 if { (ac_try="$ac_link"
24202 case "(($ac_try" in
24203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24204 *) ac_try_echo=$ac_try;;
24206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24207 (eval "$ac_link") 2>&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24211 { (case "(($ac_try" in
24212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24213 *) ac_try_echo=$ac_try;;
24215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24216 (eval "$ac_try") 2>&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; }; then
24220 ac_cv_sizeof_wchar_t=`cat conftest.val`
24222 echo "$as_me: program exited with status $ac_status" >&5
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24226 ( exit $ac_status )
24227 if test "$ac_cv_type_wchar_t" = yes; then
24228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24229 See \`config.log' for more details." >&5
24230 echo "$as_me: error: cannot compute sizeof (wchar_t)
24231 See \`config.log' for more details." >&2;}
24232 { (exit 77); exit 77; }; }
24234 ac_cv_sizeof_wchar_t=0
24237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24241 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24242 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24246 cat >>confdefs.h <<_ACEOF
24247 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24251 if test "$ac_cv_sizeof_wchar_t" = 0; then
24252 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24253 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24254 { (exit 1); exit 1; }; }
24256 cat >>confdefs.h <<\_ACEOF
24257 #define wxUSE_WCHAR_T 1
24261 { echo "$as_me:$LINENO: checking for va_copy" >&5
24262 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24263 if test "${wx_cv_func_va_copy+set}" = set; then
24264 echo $ECHO_N "(cached) $ECHO_C" >&6
24268 ac_cpp='$CXXCPP $CPPFLAGS'
24269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24273 cat >conftest.$ac_ext <<_ACEOF
24275 #include <stdarg.h>
24276 void foo(char *f, ...)
24290 rm -f conftest.$ac_objext conftest$ac_exeext
24291 if { (ac_try="$ac_link"
24292 case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_link") 2>conftest.er1
24299 grep -v '^ *+' conftest.er1 >conftest.err
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_cxx_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest$ac_exeext &&
24307 $as_test_x conftest$ac_exeext; then
24308 wx_cv_func_va_copy=yes
24310 echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.$ac_ext >&5
24313 wx_cv_func_va_copy=no
24317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24318 conftest$ac_exeext conftest.$ac_ext
24320 ac_cpp='$CPP $CPPFLAGS'
24321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24328 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24329 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24331 if test $wx_cv_func_va_copy = "yes"; then
24332 cat >>confdefs.h <<\_ACEOF
24333 #define HAVE_VA_COPY 1
24337 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24338 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24339 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24343 if test "$cross_compiling" = yes; then
24344 wx_cv_type_va_list_lvalue=yes
24347 cat >conftest.$ac_ext <<_ACEOF
24349 #include <stdarg.h>
24350 int foo(char *f, ...)
24355 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24363 return foo("hi", 17);
24366 rm -f conftest$ac_exeext
24367 if { (ac_try="$ac_link"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_link") 2>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24377 { (case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_try") 2>&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; }; then
24386 wx_cv_type_va_list_lvalue=yes
24388 echo "$as_me: program exited with status $ac_status" >&5
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.$ac_ext >&5
24392 ( exit $ac_status )
24393 wx_cv_type_va_list_lvalue=no
24395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24402 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24403 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24405 if test $wx_cv_type_va_list_lvalue != "yes"; then
24406 cat >>confdefs.h <<\_ACEOF
24407 #define VA_LIST_IS_ARRAY 1
24413 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24415 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24416 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24417 if test "${wx_cv_have_variadic_macros+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 ac_cpp='$CXXCPP $CPPFLAGS'
24423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24427 cat >conftest.$ac_ext <<_ACEOF
24430 cat confdefs.h >>conftest.$ac_ext
24431 cat >>conftest.$ac_ext <<_ACEOF
24432 /* end confdefs.h. */
24435 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24441 test("%s %d %p", "test", 1, 0);
24448 rm -f conftest.$ac_objext
24449 if { (ac_try="$ac_compile"
24450 case "(($ac_try" in
24451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24452 *) ac_try_echo=$ac_try;;
24454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24455 (eval "$ac_compile") 2>conftest.er1
24457 grep -v '^ *+' conftest.er1 >conftest.err
24459 cat conftest.err >&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } && {
24462 test -z "$ac_cxx_werror_flag" ||
24463 test ! -s conftest.err
24464 } && test -s conftest.$ac_objext; then
24465 wx_cv_have_variadic_macros=yes
24467 echo "$as_me: failed program was:" >&5
24468 sed 's/^/| /' conftest.$ac_ext >&5
24470 wx_cv_have_variadic_macros=no
24474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 ac_cpp='$CPP $CPPFLAGS'
24477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24484 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24485 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24487 if test $wx_cv_have_variadic_macros = "yes"; then
24488 cat >>confdefs.h <<\_ACEOF
24489 #define HAVE_VARIADIC_MACROS 1
24496 LARGEFILE_CPPFLAGS=
24497 # Check whether --enable-largefile was given.
24498 if test "${enable_largefile+set}" = set; then
24499 enableval=$enable_largefile;
24502 if test "$enable_largefile" != no; then
24505 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24506 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24507 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 cat >conftest.$ac_ext <<_ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #define _FILE_OFFSET_BITS 64
24518 #include <sys/types.h>
24523 unsigned int field: sizeof(off_t) == 8;
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24539 grep -v '^ *+' conftest.er1 >conftest.err
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547 ac_cv_sys_file_offset_bits=64
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24552 ac_cv_sys_file_offset_bits=no
24555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24559 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24560 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24562 if test "$ac_cv_sys_file_offset_bits" != no; then
24564 cat >>confdefs.h <<_ACEOF
24565 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24570 if test "x$wx_largefile" != "xyes"; then
24572 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24573 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24574 if test "${ac_cv_sys_large_files+set}" = set; then
24575 echo $ECHO_N "(cached) $ECHO_C" >&6
24578 cat >conftest.$ac_ext <<_ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 #define _LARGE_FILES 1
24585 #include <sys/types.h>
24590 unsigned int field: sizeof(off_t) == 8;
24597 rm -f conftest.$ac_objext
24598 if { (ac_try="$ac_compile"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24606 grep -v '^ *+' conftest.er1 >conftest.err
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_c_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24614 ac_cv_sys_large_files=1
24616 echo "$as_me: failed program was:" >&5
24617 sed 's/^/| /' conftest.$ac_ext >&5
24619 ac_cv_sys_large_files=no
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24626 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24627 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24629 if test "$ac_cv_sys_large_files" != no; then
24631 cat >>confdefs.h <<_ACEOF
24632 #define _LARGE_FILES $ac_cv_sys_large_files
24639 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24640 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24641 if test "x$wx_largefile" = "xyes"; then
24642 cat >>confdefs.h <<\_ACEOF
24643 #define HAVE_LARGEFILE_SUPPORT 1
24647 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24648 echo "${ECHO_T}$wx_largefile" >&6; }
24651 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24652 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24653 elif test "$ac_cv_sys_large_files" = 1; then
24654 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24657 if test -n "$LARGEFILE_CPPFLAGS"; then
24658 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24660 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24661 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24662 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24663 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 ac_cpp='$CXXCPP $CPPFLAGS'
24669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24673 cat >conftest.$ac_ext <<_ACEOF
24676 cat confdefs.h >>conftest.$ac_ext
24677 cat >>conftest.$ac_ext <<_ACEOF
24678 /* end confdefs.h. */
24684 #ifndef __STDC_EXT__
24692 rm -f conftest.$ac_objext
24693 if { (ac_try="$ac_compile"
24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_compile") 2>conftest.er1
24701 grep -v '^ *+' conftest.er1 >conftest.err
24703 cat conftest.err >&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); } && {
24706 test -z "$ac_cxx_werror_flag" ||
24707 test ! -s conftest.err
24708 } && test -s conftest.$ac_objext; then
24709 wx_cv_STDC_EXT_required=no
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.$ac_ext >&5
24714 wx_cv_STDC_EXT_required=yes
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24720 ac_cpp='$CPP $CPPFLAGS'
24721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24728 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24729 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24730 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24731 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24737 ac_cpp='$CXXCPP $CPPFLAGS'
24738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24742 old_CPPFLAGS="$CPPFLAGS"
24743 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24744 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24745 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24746 if test "${ac_cv_sys_largefile_source+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24750 cat >conftest.$ac_ext <<_ACEOF
24753 cat confdefs.h >>conftest.$ac_ext
24754 cat >>conftest.$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24756 #include <sys/types.h> /* for off_t */
24761 int (*fp) (FILE *, off_t, int) = fseeko;
24762 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24767 rm -f conftest.$ac_objext conftest$ac_exeext
24768 if { (ac_try="$ac_link"
24769 case "(($ac_try" in
24770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24771 *) ac_try_echo=$ac_try;;
24773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24774 (eval "$ac_link") 2>conftest.er1
24776 grep -v '^ *+' conftest.er1 >conftest.err
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } && {
24781 test -z "$ac_cxx_werror_flag" ||
24782 test ! -s conftest.err
24783 } && test -s conftest$ac_exeext &&
24784 $as_test_x conftest$ac_exeext; then
24785 ac_cv_sys_largefile_source=no; break
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24794 conftest$ac_exeext conftest.$ac_ext
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801 #define _LARGEFILE_SOURCE 1
24802 #include <sys/types.h> /* for off_t */
24807 int (*fp) (FILE *, off_t, int) = fseeko;
24808 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (ac_try="$ac_link"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_link") 2>conftest.er1
24822 grep -v '^ *+' conftest.er1 >conftest.err
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_cxx_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest$ac_exeext &&
24830 $as_test_x conftest$ac_exeext; then
24831 ac_cv_sys_largefile_source=1; break
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24840 conftest$ac_exeext conftest.$ac_ext
24841 ac_cv_sys_largefile_source=unknown
24845 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24846 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24847 case $ac_cv_sys_largefile_source in #(
24850 cat >>confdefs.h <<_ACEOF
24851 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24857 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24858 # in glibc 2.1.3, but that breaks too many other things.
24859 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24860 if test $ac_cv_sys_largefile_source != unknown; then
24862 cat >>confdefs.h <<\_ACEOF
24863 #define HAVE_FSEEKO 1
24868 CPPFLAGS="$old_CPPFLAGS"
24870 ac_cpp='$CPP $CPPFLAGS'
24871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24875 if test "$ac_cv_sys_largefile_source" != no; then
24876 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24879 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24880 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24881 if test "${ac_cv_c_bigendian+set}" = set; then
24882 echo $ECHO_N "(cached) $ECHO_C" >&6
24884 ac_cv_c_bigendian=unknown
24885 # See if sys/param.h defines the BYTE_ORDER macro.
24886 cat >conftest.$ac_ext <<_ACEOF
24889 cat confdefs.h >>conftest.$ac_ext
24890 cat >>conftest.$ac_ext <<_ACEOF
24891 /* end confdefs.h. */
24892 #include <sys/types.h>
24893 #include <sys/param.h>
24898 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24899 bogus endian macros
24905 rm -f conftest.$ac_objext
24906 if { (ac_try="$ac_compile"
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_compile") 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_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest.$ac_objext; then
24922 # It does; now see whether it defined to BIG_ENDIAN or not.
24923 cat >conftest.$ac_ext <<_ACEOF
24926 cat confdefs.h >>conftest.$ac_ext
24927 cat >>conftest.$ac_ext <<_ACEOF
24928 /* end confdefs.h. */
24929 #include <sys/types.h>
24930 #include <sys/param.h>
24935 #if BYTE_ORDER != BIG_ENDIAN
24942 rm -f conftest.$ac_objext
24943 if { (ac_try="$ac_compile"
24944 case "(($ac_try" in
24945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946 *) ac_try_echo=$ac_try;;
24948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24949 (eval "$ac_compile") 2>conftest.er1
24951 grep -v '^ *+' conftest.er1 >conftest.err
24953 cat conftest.err >&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } && {
24956 test -z "$ac_c_werror_flag" ||
24957 test ! -s conftest.err
24958 } && test -s conftest.$ac_objext; then
24959 ac_cv_c_bigendian=yes
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.$ac_ext >&5
24964 ac_cv_c_bigendian=no
24967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.$ac_ext >&5
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976 if test $ac_cv_c_bigendian = unknown; then
24977 if test "$cross_compiling" = yes; then
24978 ac_cv_c_bigendian=unknown
24980 cat >conftest.$ac_ext <<_ACEOF
24983 cat confdefs.h >>conftest.$ac_ext
24984 cat >>conftest.$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24987 /* Are we little or big endian? From Harbison&Steele. */
24991 char c[sizeof (long)];
24994 exit (u.c[sizeof (long) - 1] == 1);
24997 rm -f conftest$ac_exeext
24998 if { (ac_try="$ac_link"
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_link") 2>&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25008 { (case "(($ac_try" in
25009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25010 *) ac_try_echo=$ac_try;;
25012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25013 (eval "$ac_try") 2>&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; }; then
25017 ac_cv_c_bigendian=no
25019 echo "$as_me: program exited with status $ac_status" >&5
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.$ac_ext >&5
25023 ( exit $ac_status )
25024 ac_cv_c_bigendian=yes
25026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25032 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25033 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25034 if test $ac_cv_c_bigendian = unknown; then
25035 { 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
25036 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;}
25038 if test $ac_cv_c_bigendian = yes; then
25039 cat >>confdefs.h <<\_ACEOF
25040 #define WORDS_BIGENDIAN 1
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25056 for ac_header in iostream
25058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25062 echo $ECHO_N "(cached) $ECHO_C" >&6
25064 cat >conftest.$ac_ext <<_ACEOF
25067 cat confdefs.h >>conftest.$ac_ext
25068 cat >>conftest.$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25072 #include <$ac_header>
25074 rm -f conftest.$ac_objext
25075 if { (ac_try="$ac_compile"
25076 case "(($ac_try" in
25077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25078 *) ac_try_echo=$ac_try;;
25080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25081 (eval "$ac_compile") 2>conftest.er1
25083 grep -v '^ *+' conftest.er1 >conftest.err
25085 cat conftest.err >&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } && {
25088 test -z "$ac_cxx_werror_flag" ||
25089 test ! -s conftest.err
25090 } && test -s conftest.$ac_objext; then
25091 eval "$as_ac_Header=yes"
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.$ac_ext >&5
25096 eval "$as_ac_Header=no"
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25101 ac_res=`eval echo '${'$as_ac_Header'}'`
25102 { echo "$as_me:$LINENO: result: $ac_res" >&5
25103 echo "${ECHO_T}$ac_res" >&6; }
25104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25105 cat >>confdefs.h <<_ACEOF
25106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25114 if test "$ac_cv_header_iostream" = "yes" ; then
25117 cat >>confdefs.h <<\_ACEOF
25118 #define wxUSE_IOSTREAMH 1
25124 ac_cpp='$CPP $CPPFLAGS'
25125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25132 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25133 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25134 if test "${wx_cv_explicit+set}" = set; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 ac_cpp='$CXXCPP $CPPFLAGS'
25141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25146 cat >conftest.$ac_ext <<_ACEOF
25149 cat confdefs.h >>conftest.$ac_ext
25150 cat >>conftest.$ac_ext <<_ACEOF
25151 /* end confdefs.h. */
25153 class Foo { public: explicit Foo(int) {} };
25165 rm -f conftest.$ac_objext
25166 if { (ac_try="$ac_compile"
25167 case "(($ac_try" in
25168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25169 *) ac_try_echo=$ac_try;;
25171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25172 (eval "$ac_compile") 2>conftest.er1
25174 grep -v '^ *+' conftest.er1 >conftest.err
25176 cat conftest.err >&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); } && {
25179 test -z "$ac_cxx_werror_flag" ||
25180 test ! -s conftest.err
25181 } && test -s conftest.$ac_objext; then
25183 cat >conftest.$ac_ext <<_ACEOF
25186 cat confdefs.h >>conftest.$ac_ext
25187 cat >>conftest.$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25190 class Foo { public: explicit Foo(int) {} };
25191 static void TakeFoo(const Foo& foo) { }
25204 rm -f conftest.$ac_objext
25205 if { (ac_try="$ac_compile"
25206 case "(($ac_try" in
25207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25208 *) ac_try_echo=$ac_try;;
25210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25211 (eval "$ac_compile") 2>conftest.er1
25213 grep -v '^ *+' conftest.er1 >conftest.err
25215 cat conftest.err >&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } && {
25218 test -z "$ac_cxx_werror_flag" ||
25219 test ! -s conftest.err
25220 } && test -s conftest.$ac_objext; then
25223 echo "$as_me: failed program was:" >&5
25224 sed 's/^/| /' conftest.$ac_ext >&5
25230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25233 echo "$as_me: failed program was:" >&5
25234 sed 's/^/| /' conftest.$ac_ext >&5
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25243 ac_cpp='$CPP $CPPFLAGS'
25244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25250 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25251 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25253 if test "$wx_cv_explicit" = "yes"; then
25254 cat >>confdefs.h <<\_ACEOF
25255 #define HAVE_EXPLICIT 1
25261 if test "x$SUNCXX" = xyes; then
25262 CXXFLAGS="-features=tmplife $CXXFLAGS"
25265 if test "x$SUNCC" = xyes; then
25266 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25269 if test "x$SGICC" = "xyes"; then
25270 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25271 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25272 if test "${wx_cv_prog_sgicc744+set}" = set; then
25273 echo $ECHO_N "(cached) $ECHO_C" >&6
25276 cat >conftest.$ac_ext <<_ACEOF
25279 cat confdefs.h >>conftest.$ac_ext
25280 cat >>conftest.$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25287 #if _SGI_COMPILER_VERSION >= 744
25288 chock me: mipsPro is 7.4.4 or later
25295 rm -f conftest.$ac_objext
25296 if { (ac_try="$ac_compile"
25297 case "(($ac_try" in
25298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25299 *) ac_try_echo=$ac_try;;
25301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25302 (eval "$ac_compile") 2>conftest.er1
25304 grep -v '^ *+' conftest.er1 >conftest.err
25306 cat conftest.err >&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); } && {
25309 test -z "$ac_c_werror_flag" ||
25310 test ! -s conftest.err
25311 } && test -s conftest.$ac_objext; then
25312 wx_cv_prog_sgicc744=no
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25317 wx_cv_prog_sgicc744=yes
25321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25325 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25326 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25328 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25329 CFLAGS="-woff 3970 $CFLAGS"
25332 if test "x$SGICXX" = "xyes"; then
25333 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25334 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25335 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25336 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 ac_cpp='$CXXCPP $CPPFLAGS'
25341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25345 cat >conftest.$ac_ext <<_ACEOF
25348 cat confdefs.h >>conftest.$ac_ext
25349 cat >>conftest.$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25356 #if _SGI_COMPILER_VERSION >= 744
25357 chock me: mipsPro is 7.4.4 or later
25364 rm -f conftest.$ac_objext
25365 if { (ac_try="$ac_compile"
25366 case "(($ac_try" in
25367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25368 *) ac_try_echo=$ac_try;;
25370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25371 (eval "$ac_compile") 2>conftest.er1
25373 grep -v '^ *+' conftest.er1 >conftest.err
25375 cat conftest.err >&5
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); } && {
25378 test -z "$ac_cxx_werror_flag" ||
25379 test ! -s conftest.err
25380 } && test -s conftest.$ac_objext; then
25381 wx_cv_prog_sgicxx744=no
25383 echo "$as_me: failed program was:" >&5
25384 sed 's/^/| /' conftest.$ac_ext >&5
25386 wx_cv_prog_sgicxx744=yes
25390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25392 ac_cpp='$CPP $CPPFLAGS'
25393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25400 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25401 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25403 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25404 CXXFLAGS="-woff 3970 $CXXFLAGS"
25408 if test "x$HPCC" = "xyes"; then
25409 CFLAGS="+W 2011,2450 $CFLAGS"
25411 if test "x$HPCXX" = "xyes"; then
25412 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25415 if test "x$COMPAQCXX" = "xyes"; then
25416 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25420 ac_cpp='$CXXCPP $CPPFLAGS'
25421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25426 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25427 if test "$wxUSE_UNICODE" = "yes"; then
25428 std_string="std::wstring"
25429 char_type="wchar_t"
25431 std_string="std::string"
25435 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25436 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25437 if test "${wx_cv_class_stdstring+set}" = set; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 cat >conftest.$ac_ext <<_ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
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_class_stdstring=yes
25475 echo "$as_me: failed program was:" >&5
25476 sed 's/^/| /' conftest.$ac_ext >&5
25478 wx_cv_class_stdstring=no
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25486 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25487 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25489 if test "$wx_cv_class_stdstring" = yes; then
25490 if test "$wxUSE_UNICODE" = "yes"; then
25491 cat >>confdefs.h <<\_ACEOF
25492 #define HAVE_STD_WSTRING 1
25497 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25498 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25499 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 cat >conftest.$ac_ext <<_ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25510 #ifdef HAVE_WCHAR_H
25512 # include <stddef.h>
25514 # include <wchar.h>
25516 #ifdef HAVE_STDLIB_H
25517 # include <stdlib.h>
25525 std::basic_string<$char_type> foo;
25526 const $char_type* dummy = foo.c_str();
25531 rm -f conftest.$ac_objext
25532 if { (ac_try="$ac_compile"
25533 case "(($ac_try" in
25534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25535 *) ac_try_echo=$ac_try;;
25537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_compile") 2>conftest.er1
25540 grep -v '^ *+' conftest.er1 >conftest.err
25542 cat conftest.err >&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } && {
25545 test -z "$ac_cxx_werror_flag" ||
25546 test ! -s conftest.err
25547 } && test -s conftest.$ac_objext; then
25548 wx_cv_class_stdbasicstring=yes
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25553 wx_cv_class_stdbasicstring=no
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25561 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25562 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25564 if test "$wx_cv_class_stdbasicstring" != yes; then
25565 if test "$wxUSE_STL" = "yes"; then
25566 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25567 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25568 { (exit 1); exit 1; }; }
25569 elif test "$wxUSE_STD_STRING" = "yes"; then
25570 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25571 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25572 { (exit 1); exit 1; }; }
25574 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25575 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25576 wxUSE_STD_STRING=no
25582 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25583 { echo "$as_me:$LINENO: checking for std::istream" >&5
25584 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25585 if test "${ac_cv_type_std__istream+set}" = set; then
25586 echo $ECHO_N "(cached) $ECHO_C" >&6
25588 cat >conftest.$ac_ext <<_ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25594 #include <iostream>
25596 typedef std::istream ac__type_new_;
25600 if ((ac__type_new_ *) 0)
25602 if (sizeof (ac__type_new_))
25608 rm -f conftest.$ac_objext
25609 if { (ac_try="$ac_compile"
25610 case "(($ac_try" in
25611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25612 *) ac_try_echo=$ac_try;;
25614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25615 (eval "$ac_compile") 2>conftest.er1
25617 grep -v '^ *+' conftest.er1 >conftest.err
25619 cat conftest.err >&5
25620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25621 (exit $ac_status); } && {
25622 test -z "$ac_cxx_werror_flag" ||
25623 test ! -s conftest.err
25624 } && test -s conftest.$ac_objext; then
25625 ac_cv_type_std__istream=yes
25627 echo "$as_me: failed program was:" >&5
25628 sed 's/^/| /' conftest.$ac_ext >&5
25630 ac_cv_type_std__istream=no
25633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25635 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25636 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25637 if test $ac_cv_type_std__istream = yes; then
25639 cat >>confdefs.h <<_ACEOF
25640 #define HAVE_STD__ISTREAM 1
25645 wxUSE_STD_IOSTREAM=no
25647 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25648 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25649 if test "${ac_cv_type_std__ostream+set}" = set; then
25650 echo $ECHO_N "(cached) $ECHO_C" >&6
25652 cat >conftest.$ac_ext <<_ACEOF
25655 cat confdefs.h >>conftest.$ac_ext
25656 cat >>conftest.$ac_ext <<_ACEOF
25657 /* end confdefs.h. */
25658 #include <iostream>
25660 typedef std::ostream ac__type_new_;
25664 if ((ac__type_new_ *) 0)
25666 if (sizeof (ac__type_new_))
25672 rm -f conftest.$ac_objext
25673 if { (ac_try="$ac_compile"
25674 case "(($ac_try" in
25675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25676 *) ac_try_echo=$ac_try;;
25678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25679 (eval "$ac_compile") 2>conftest.er1
25681 grep -v '^ *+' conftest.er1 >conftest.err
25683 cat conftest.err >&5
25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25685 (exit $ac_status); } && {
25686 test -z "$ac_cxx_werror_flag" ||
25687 test ! -s conftest.err
25688 } && test -s conftest.$ac_objext; then
25689 ac_cv_type_std__ostream=yes
25691 echo "$as_me: failed program was:" >&5
25692 sed 's/^/| /' conftest.$ac_ext >&5
25694 ac_cv_type_std__ostream=no
25697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25699 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25700 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25701 if test $ac_cv_type_std__ostream = yes; then
25703 cat >>confdefs.h <<_ACEOF
25704 #define HAVE_STD__OSTREAM 1
25709 wxUSE_STD_IOSTREAM=no
25713 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25714 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25715 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25716 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25717 { (exit 1); exit 1; }; }
25719 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25720 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25725 if test "$wxUSE_STL" = "yes"; then
25726 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25727 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25728 if test "${wx_cv_lib_stl+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25731 cat >conftest.$ac_ext <<_ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25738 #include <functional>
25739 #include <algorithm>
25745 std::vector<int> moo;
25746 std::list<int> foo;
25747 std::vector<int>::iterator it =
25748 std::find_if(moo.begin(), moo.end(),
25749 std::bind2nd(std::less<int>(), 3));
25754 rm -f conftest.$ac_objext
25755 if { (ac_try="$ac_compile"
25756 case "(($ac_try" in
25757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25758 *) ac_try_echo=$ac_try;;
25760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25761 (eval "$ac_compile") 2>conftest.er1
25763 grep -v '^ *+' conftest.er1 >conftest.err
25765 cat conftest.err >&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); } && {
25768 test -z "$ac_cxx_werror_flag" ||
25769 test ! -s conftest.err
25770 } && test -s conftest.$ac_objext; then
25773 echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.$ac_ext >&5
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25784 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25786 if test "$wx_cv_lib_stl" != yes; then
25787 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25788 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25789 { (exit 1); exit 1; }; }
25792 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25793 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25794 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 cat >conftest.$ac_ext <<_ACEOF
25800 cat confdefs.h >>conftest.$ac_ext
25801 cat >>conftest.$ac_ext <<_ACEOF
25802 /* end confdefs.h. */
25807 std::string foo, bar;
25809 foo.compare(1, 1, bar);
25810 foo.compare(1, 1, bar, 1, 1);
25812 foo.compare(1, 1, "");
25813 foo.compare(1, 1, "", 2);
25818 rm -f conftest.$ac_objext
25819 if { (ac_try="$ac_compile"
25820 case "(($ac_try" in
25821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25822 *) ac_try_echo=$ac_try;;
25824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25825 (eval "$ac_compile") 2>conftest.er1
25827 grep -v '^ *+' conftest.er1 >conftest.err
25829 cat conftest.err >&5
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); } && {
25832 test -z "$ac_cxx_werror_flag" ||
25833 test ! -s conftest.err
25834 } && test -s conftest.$ac_objext; then
25835 wx_cv_func_stdstring_compare=yes
25837 echo "$as_me: failed program was:" >&5
25838 sed 's/^/| /' conftest.$ac_ext >&5
25840 wx_cv_func_stdstring_compare=no
25844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25847 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25848 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25850 if test "$wx_cv_func_stdstring_compare" = yes; then
25851 cat >>confdefs.h <<\_ACEOF
25852 #define HAVE_STD_STRING_COMPARE 1
25857 if test "$wx_cv_class_gnuhashmapset" = yes; then
25858 cat >>confdefs.h <<\_ACEOF
25859 #define HAVE_EXT_HASH_MAP 1
25862 cat >>confdefs.h <<\_ACEOF
25863 #define HAVE_GNU_CXX_HASH_MAP 1
25868 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25869 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25870 if test "${ac_cv_header_unordered_map+set}" = set; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25873 cat >conftest.$ac_ext <<_ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25882 #include <unordered_map>
25884 rm -f conftest.$ac_objext
25885 if { (ac_try="$ac_compile"
25886 case "(($ac_try" in
25887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25888 *) ac_try_echo=$ac_try;;
25890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25891 (eval "$ac_compile") 2>conftest.er1
25893 grep -v '^ *+' conftest.er1 >conftest.err
25895 cat conftest.err >&5
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); } && {
25898 test -z "$ac_cxx_werror_flag" ||
25899 test ! -s conftest.err
25900 } && test -s conftest.$ac_objext; then
25901 ac_cv_header_unordered_map=yes
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.$ac_ext >&5
25906 ac_cv_header_unordered_map=no
25909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25911 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25912 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25913 if test $ac_cv_header_unordered_map = yes; then
25914 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25915 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25916 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 cat >conftest.$ac_ext <<_ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925 #include <unordered_map>
25926 #include <unordered_set>
25930 std::unordered_map<double*, char*> test1;
25931 std::unordered_set<char*> test2;
25936 rm -f conftest.$ac_objext
25937 if { (ac_try="$ac_compile"
25938 case "(($ac_try" in
25939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25940 *) ac_try_echo=$ac_try;;
25942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25943 (eval "$ac_compile") 2>conftest.er1
25945 grep -v '^ *+' conftest.er1 >conftest.err
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } && {
25950 test -z "$ac_cxx_werror_flag" ||
25951 test ! -s conftest.err
25952 } && test -s conftest.$ac_objext; then
25953 wx_cv_class_stdunorderedmapset=yes
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25958 wx_cv_class_stdunorderedmapset=no
25961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25965 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25966 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25971 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25972 cat >>confdefs.h <<\_ACEOF
25973 #define HAVE_STD_UNORDERED_MAP 1
25976 cat >>confdefs.h <<\_ACEOF
25977 #define HAVE_STD_UNORDERED_SET 1
25981 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25982 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25983 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 cat >conftest.$ac_ext <<_ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25995 #include <tr1/unordered_map>
25997 rm -f conftest.$ac_objext
25998 if { (ac_try="$ac_compile"
25999 case "(($ac_try" in
26000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_compile") 2>conftest.er1
26006 grep -v '^ *+' conftest.er1 >conftest.err
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_cxx_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest.$ac_objext; then
26014 ac_cv_header_tr1_unordered_map=yes
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26019 ac_cv_header_tr1_unordered_map=no
26022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26024 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26025 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26026 if test $ac_cv_header_tr1_unordered_map = yes; then
26027 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26028 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26029 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26030 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 cat >conftest.$ac_ext <<_ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 #include <tr1/unordered_map>
26039 #include <tr1/unordered_set>
26043 std::tr1::unordered_map<double*, char*> test1;
26044 std::tr1::unordered_set<char*> test2;
26045 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26046 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26052 rm -f conftest.$ac_objext
26053 if { (ac_try="$ac_compile"
26054 case "(($ac_try" in
26055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26056 *) ac_try_echo=$ac_try;;
26058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26059 (eval "$ac_compile") 2>conftest.er1
26061 grep -v '^ *+' conftest.er1 >conftest.err
26063 cat conftest.err >&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); } && {
26066 test -z "$ac_cxx_werror_flag" ||
26067 test ! -s conftest.err
26068 } && test -s conftest.$ac_objext; then
26069 wx_cv_class_tr1unorderedmapset=yes
26071 echo "$as_me: failed program was:" >&5
26072 sed 's/^/| /' conftest.$ac_ext >&5
26074 wx_cv_class_tr1unorderedmapset=no
26077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26081 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26082 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26087 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26088 cat >>confdefs.h <<\_ACEOF
26089 #define HAVE_TR1_UNORDERED_MAP 1
26092 cat >>confdefs.h <<\_ACEOF
26093 #define HAVE_TR1_UNORDERED_SET 1
26097 { echo "$as_me:$LINENO: checking for hash_map" >&5
26098 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26099 if test "${ac_cv_header_hash_map+set}" = set; then
26100 echo $ECHO_N "(cached) $ECHO_C" >&6
26102 cat >conftest.$ac_ext <<_ACEOF
26105 cat confdefs.h >>conftest.$ac_ext
26106 cat >>conftest.$ac_ext <<_ACEOF
26107 /* end confdefs.h. */
26111 #include <hash_map>
26113 rm -f conftest.$ac_objext
26114 if { (ac_try="$ac_compile"
26115 case "(($ac_try" in
26116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26117 *) ac_try_echo=$ac_try;;
26119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26120 (eval "$ac_compile") 2>conftest.er1
26122 grep -v '^ *+' conftest.er1 >conftest.err
26124 cat conftest.err >&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); } && {
26127 test -z "$ac_cxx_werror_flag" ||
26128 test ! -s conftest.err
26129 } && test -s conftest.$ac_objext; then
26130 ac_cv_header_hash_map=yes
26132 echo "$as_me: failed program was:" >&5
26133 sed 's/^/| /' conftest.$ac_ext >&5
26135 ac_cv_header_hash_map=no
26138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26140 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26141 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26142 if test $ac_cv_header_hash_map = yes; then
26143 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26144 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26145 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 cat >conftest.$ac_ext <<_ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26154 #include <hash_map>
26155 #include <hash_set>
26159 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26160 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26165 rm -f conftest.$ac_objext
26166 if { (ac_try="$ac_compile"
26167 case "(($ac_try" in
26168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26169 *) ac_try_echo=$ac_try;;
26171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26172 (eval "$ac_compile") 2>conftest.er1
26174 grep -v '^ *+' conftest.er1 >conftest.err
26176 cat conftest.err >&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } && {
26179 test -z "$ac_cxx_werror_flag" ||
26180 test ! -s conftest.err
26181 } && test -s conftest.$ac_objext; then
26182 wx_cv_class_stdhashmapset=yes
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26187 wx_cv_class_stdhashmapset=no
26190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26194 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26195 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26200 if test "$wx_cv_class_stdhashmapset" = yes; then
26201 cat >>confdefs.h <<\_ACEOF
26202 #define HAVE_HASH_MAP 1
26205 cat >>confdefs.h <<\_ACEOF
26206 #define HAVE_STD_HASH_MAP 1
26211 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26212 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26213 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26216 cat >conftest.$ac_ext <<_ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26225 #include <ext/hash_map>
26227 rm -f conftest.$ac_objext
26228 if { (ac_try="$ac_compile"
26229 case "(($ac_try" in
26230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26231 *) ac_try_echo=$ac_try;;
26233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26234 (eval "$ac_compile") 2>conftest.er1
26236 grep -v '^ *+' conftest.er1 >conftest.err
26238 cat conftest.err >&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); } && {
26241 test -z "$ac_cxx_werror_flag" ||
26242 test ! -s conftest.err
26243 } && test -s conftest.$ac_objext; then
26244 ac_cv_header_ext_hash_map=yes
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26249 ac_cv_header_ext_hash_map=no
26252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26254 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26255 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26256 if test $ac_cv_header_ext_hash_map = yes; then
26257 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26258 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26259 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26260 echo $ECHO_N "(cached) $ECHO_C" >&6
26262 cat >conftest.$ac_ext <<_ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 #include <ext/hash_map>
26269 #include <ext/hash_set>
26273 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26274 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26279 rm -f conftest.$ac_objext
26280 if { (ac_try="$ac_compile"
26281 case "(($ac_try" in
26282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26283 *) ac_try_echo=$ac_try;;
26285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26286 (eval "$ac_compile") 2>conftest.er1
26288 grep -v '^ *+' conftest.er1 >conftest.err
26290 cat conftest.err >&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } && {
26293 test -z "$ac_cxx_werror_flag" ||
26294 test ! -s conftest.err
26295 } && test -s conftest.$ac_objext; then
26296 wx_cv_class_gnuhashmapset=yes
26298 echo "$as_me: failed program was:" >&5
26299 sed 's/^/| /' conftest.$ac_ext >&5
26301 wx_cv_class_gnuhashmapset=no
26304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26308 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26309 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26319 ac_cpp='$CXXCPP $CPPFLAGS'
26320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26323 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26324 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26325 if test -z "$CXXCPP"; then
26326 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26329 # Double quotes because CXXCPP needs to be expanded
26330 for CXXCPP in "$CXX -E" "/lib/cpp"
26332 ac_preproc_ok=false
26333 for ac_cxx_preproc_warn_flag in '' yes
26335 # Use a header file that comes with gcc, so configuring glibc
26336 # with a fresh cross-compiler works.
26337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26338 # <limits.h> exists even on freestanding compilers.
26339 # On the NeXT, cc -E runs the code through the compiler's parser,
26340 # not just through cpp. "Syntax error" is here to catch this case.
26341 cat >conftest.$ac_ext <<_ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26348 # include <limits.h>
26350 # include <assert.h>
26354 if { (ac_try="$ac_cpp conftest.$ac_ext"
26355 case "(($ac_try" in
26356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26357 *) ac_try_echo=$ac_try;;
26359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26362 grep -v '^ *+' conftest.er1 >conftest.err
26364 cat conftest.err >&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); } >/dev/null && {
26367 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26368 test ! -s conftest.err
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26375 # Broken: fails on valid input.
26379 rm -f conftest.err conftest.$ac_ext
26381 # OK, works on sane cases. Now check whether nonexistent headers
26382 # can be detected and how.
26383 cat >conftest.$ac_ext <<_ACEOF
26386 cat confdefs.h >>conftest.$ac_ext
26387 cat >>conftest.$ac_ext <<_ACEOF
26388 /* end confdefs.h. */
26389 #include <ac_nonexistent.h>
26391 if { (ac_try="$ac_cpp conftest.$ac_ext"
26392 case "(($ac_try" in
26393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26399 grep -v '^ *+' conftest.er1 >conftest.err
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } >/dev/null && {
26404 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26405 test ! -s conftest.err
26407 # Broken: success on invalid input.
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26413 # Passes both tests.
26418 rm -f conftest.err conftest.$ac_ext
26421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26422 rm -f conftest.err conftest.$ac_ext
26423 if $ac_preproc_ok; then
26428 ac_cv_prog_CXXCPP=$CXXCPP
26431 CXXCPP=$ac_cv_prog_CXXCPP
26433 ac_cv_prog_CXXCPP=$CXXCPP
26435 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26436 echo "${ECHO_T}$CXXCPP" >&6; }
26437 ac_preproc_ok=false
26438 for ac_cxx_preproc_warn_flag in '' yes
26440 # Use a header file that comes with gcc, so configuring glibc
26441 # with a fresh cross-compiler works.
26442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26443 # <limits.h> exists even on freestanding compilers.
26444 # On the NeXT, cc -E runs the code through the compiler's parser,
26445 # not just through cpp. "Syntax error" is here to catch this case.
26446 cat >conftest.$ac_ext <<_ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
26451 /* end confdefs.h. */
26453 # include <limits.h>
26455 # include <assert.h>
26459 if { (ac_try="$ac_cpp conftest.$ac_ext"
26460 case "(($ac_try" in
26461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26462 *) ac_try_echo=$ac_try;;
26464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26467 grep -v '^ *+' conftest.er1 >conftest.err
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } >/dev/null && {
26472 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26473 test ! -s conftest.err
26477 echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.$ac_ext >&5
26480 # Broken: fails on valid input.
26484 rm -f conftest.err conftest.$ac_ext
26486 # OK, works on sane cases. Now check whether nonexistent headers
26487 # can be detected and how.
26488 cat >conftest.$ac_ext <<_ACEOF
26491 cat confdefs.h >>conftest.$ac_ext
26492 cat >>conftest.$ac_ext <<_ACEOF
26493 /* end confdefs.h. */
26494 #include <ac_nonexistent.h>
26496 if { (ac_try="$ac_cpp conftest.$ac_ext"
26497 case "(($ac_try" in
26498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26504 grep -v '^ *+' conftest.er1 >conftest.err
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } >/dev/null && {
26509 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26510 test ! -s conftest.err
26512 # Broken: success on invalid input.
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26518 # Passes both tests.
26523 rm -f conftest.err conftest.$ac_ext
26526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26527 rm -f conftest.err conftest.$ac_ext
26528 if $ac_preproc_ok; then
26531 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26532 See \`config.log' for more details." >&5
26533 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26534 See \`config.log' for more details." >&2;}
26535 { (exit 1); exit 1; }; }
26539 ac_cpp='$CXXCPP $CPPFLAGS'
26540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26547 for ac_header in type_traits tr1/type_traits
26549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 ac_res=`eval echo '${'$as_ac_Header'}'`
26557 { echo "$as_me:$LINENO: result: $ac_res" >&5
26558 echo "${ECHO_T}$ac_res" >&6; }
26560 # Is the header compilable?
26561 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26563 cat >conftest.$ac_ext <<_ACEOF
26566 cat confdefs.h >>conftest.$ac_ext
26567 cat >>conftest.$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569 $ac_includes_default
26570 #include <$ac_header>
26572 rm -f conftest.$ac_objext
26573 if { (ac_try="$ac_compile"
26574 case "(($ac_try" in
26575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576 *) ac_try_echo=$ac_try;;
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_compile") 2>conftest.er1
26581 grep -v '^ *+' conftest.er1 >conftest.err
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } && {
26586 test -z "$ac_cxx_werror_flag" ||
26587 test ! -s conftest.err
26588 } && test -s conftest.$ac_objext; then
26589 ac_header_compiler=yes
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26594 ac_header_compiler=no
26597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26598 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26599 echo "${ECHO_T}$ac_header_compiler" >&6; }
26601 # Is the header present?
26602 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26604 cat >conftest.$ac_ext <<_ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610 #include <$ac_header>
26612 if { (ac_try="$ac_cpp conftest.$ac_ext"
26613 case "(($ac_try" in
26614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26620 grep -v '^ *+' conftest.er1 >conftest.err
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } >/dev/null && {
26625 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26626 test ! -s conftest.err
26628 ac_header_preproc=yes
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26633 ac_header_preproc=no
26636 rm -f conftest.err conftest.$ac_ext
26637 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26638 echo "${ECHO_T}$ac_header_preproc" >&6; }
26640 # So? What about this header?
26641 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26647 ac_header_preproc=yes
26650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26663 ## ----------------------------------------- ##
26664 ## Report this to wx-dev@lists.wxwidgets.org ##
26665 ## ----------------------------------------- ##
26667 ) | sed "s/^/$as_me: WARNING: /" >&2
26670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26673 echo $ECHO_N "(cached) $ECHO_C" >&6
26675 eval "$as_ac_Header=\$ac_header_preproc"
26677 ac_res=`eval echo '${'$as_ac_Header'}'`
26678 { echo "$as_me:$LINENO: result: $ac_res" >&5
26679 echo "${ECHO_T}$ac_res" >&6; }
26682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26683 cat >>confdefs.h <<_ACEOF
26684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26694 if test -n "$GCC"; then
26695 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26696 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26697 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 cat >conftest.$ac_ext <<_ACEOF
26704 cat confdefs.h >>conftest.$ac_ext
26705 cat >>conftest.$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26712 unsigned int value=0;
26713 /* wxAtomicInc doesn't use return value here */
26714 __sync_fetch_and_add(&value, 2);
26715 __sync_sub_and_fetch(&value, 1);
26716 /* but wxAtomicDec does, so mimic that: */
26717 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26723 rm -f conftest.$ac_objext conftest$ac_exeext
26724 if { (ac_try="$ac_link"
26725 case "(($ac_try" in
26726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26727 *) ac_try_echo=$ac_try;;
26729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26730 (eval "$ac_link") 2>conftest.er1
26732 grep -v '^ *+' conftest.er1 >conftest.err
26734 cat conftest.err >&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } && {
26737 test -z "$ac_cxx_werror_flag" ||
26738 test ! -s conftest.err
26739 } && test -s conftest$ac_exeext &&
26740 $as_test_x conftest$ac_exeext; then
26741 wx_cv_cc_gcc_atomic_builtins=yes
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26746 wx_cv_cc_gcc_atomic_builtins=no
26749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26750 conftest$ac_exeext conftest.$ac_ext
26754 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26755 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26756 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26757 cat >>confdefs.h <<\_ACEOF
26758 #define HAVE_GCC_ATOMIC_BUILTINS 1
26766 ac_cpp='$CPP $CPPFLAGS'
26767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26774 /usr/local/include \
26775 /usr/local/X11/include \
26776 /usr/local/include/X11 \
26777 /usr/local/X11R7/include \
26778 /usr/local/X11R6/include \
26779 /usr/local/include/X11R7 \
26780 /usr/local/include/X11R6 \
26782 /usr/Motif-2.1/include \
26783 /usr/Motif-1.2/include \
26784 /usr/include/Motif1.2 \
26787 /usr/openwin/include \
26791 /usr/X11R7/include \
26792 /usr/X11R6/include \
26793 /usr/X11R6.4/include \
26795 /usr/include/X11R7 \
26796 /usr/include/X11R6 \
26801 /usr/XFree86/include/X11 \
26804 /usr/local/X1R5/include \
26805 /usr/local/include/X11R5 \
26806 /usr/X11R5/include \
26807 /usr/include/X11R5 \
26809 /usr/local/X11R4/include \
26810 /usr/local/include/X11R4 \
26811 /usr/X11R4/include \
26812 /usr/include/X11R4 \
26814 /usr/openwin/share/include"
26816 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26817 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26821 if test "${wx_cv_std_libpath+set}" = set; then
26822 echo $ECHO_N "(cached) $ECHO_C" >&6
26825 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26826 for e in a so sl dylib dll.a; do
26828 if test -f $libc; then
26831 cat >conftest.$ac_ext <<_ACEOF
26832 int main() { return 0; }
26834 rm -f conftest.$ac_objext conftest$ac_exeext
26835 if { (ac_try="$ac_link"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_link") 2>conftest.er1
26843 grep -v '^ *+' conftest.er1 >conftest.err
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest$ac_exeext &&
26851 $as_test_x conftest$ac_exeext; then
26852 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26861 conftest$ac_exeext conftest.$ac_ext
26863 if test "x$wx_cv_std_libpath" != "x"; then
26869 if test "x$wx_cv_std_libpath" = "x"; then
26870 wx_cv_std_libpath="lib"
26879 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26880 wx_cv_std_libpath="lib/64"
26882 wx_cv_std_libpath="lib"
26887 if test "$ac_cv_sizeof_void_p" = 8 -a \
26888 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26889 wx_cv_std_libpath="lib64"
26891 wx_cv_std_libpath="lib"
26896 wx_cv_std_libpath="lib";
26900 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26901 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26903 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26905 if test "$build" != "$host" -a "$GCC" = yes; then
26906 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26907 cross_root=`dirname $cross_root`
26908 cross_root=`dirname $cross_root`
26910 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26911 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26912 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26914 if test -z "$PKG_CONFIG_PATH"; then
26915 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26916 export PKG_CONFIG_PATH
26919 if test -z "$x_includes" -o "$x_includes" = NONE; then
26922 for ac_dir in $SEARCH_INCLUDE /usr/include
26924 if test -f "$ac_dir/X11/Intrinsic.h"; then
26925 ac_find_includes=$ac_dir
26930 x_includes=$ac_find_includes
26932 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26935 for ac_dir in $SEARCH_LIB
26937 for ac_extension in a so sl dylib dll.a; do
26938 if test -f "$ac_dir/libXt.$ac_extension"; then
26939 ac_find_libraries=$ac_dir
26945 x_libraries=$ac_find_libraries
26951 cat >confcache <<\_ACEOF
26952 # This file is a shell script that caches the results of configure
26953 # tests run on this system so they can be shared between configure
26954 # scripts and configure runs, see configure's option --config-cache.
26955 # It is not useful on other systems. If it contains results you don't
26956 # want to keep, you may remove or edit it.
26958 # config.status only pays attention to the cache file if you give it
26959 # the --recheck option to rerun configure.
26961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26963 # following values.
26967 # The following way of writing the cache mishandles newlines in values,
26968 # but we know of no workaround that is simple, portable, and efficient.
26969 # So, we kill variables containing newlines.
26970 # Ultrix sh set writes to stderr and can't be redirected directly,
26971 # and sets the high bit in the cache file unless we assign to the vars.
26973 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26974 eval ac_val=\$$ac_var
26978 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26979 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26982 _ | IFS | as_nl) ;; #(
26983 *) $as_unset $ac_var ;;
26989 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26990 *${as_nl}ac_space=\ *)
26991 # `set' does not quote correctly, so add quotes (double-quote
26992 # substitution turns \\\\ into \\, and sed turns \\ into \).
26995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26998 # `set' quotes correctly as required by POSIX, so do not add quotes.
26999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27012 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27013 if test -w "$cache_file"; then
27014 test "x$cache_file" != "x/dev/null" &&
27015 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27016 echo "$as_me: updating cache $cache_file" >&6;}
27017 cat confcache >$cache_file
27019 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27020 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27025 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27026 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27027 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27028 if test "${wx_cv_lib_glibc21+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 cat >conftest.$ac_ext <<_ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038 #include <features.h>
27043 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27051 rm -f conftest.$ac_objext
27052 if { (ac_try="$ac_compile"
27053 case "(($ac_try" in
27054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27055 *) ac_try_echo=$ac_try;;
27057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27058 (eval "$ac_compile") 2>conftest.er1
27060 grep -v '^ *+' conftest.er1 >conftest.err
27062 cat conftest.err >&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } && {
27065 test -z "$ac_c_werror_flag" ||
27066 test ! -s conftest.err
27067 } && test -s conftest.$ac_objext; then
27069 wx_cv_lib_glibc21=yes
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.$ac_ext >&5
27076 wx_cv_lib_glibc21=no
27081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27084 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27085 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27086 if test "$wx_cv_lib_glibc21" = "yes"; then
27087 cat >>confdefs.h <<\_ACEOF
27088 #define wxHAVE_GLIBC2 1
27094 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27095 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27096 cat >>confdefs.h <<\_ACEOF
27097 #define _GNU_SOURCE 1
27108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27109 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27111 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 cat >conftest.$ac_ext <<_ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27122 #define $ac_func innocuous_$ac_func
27124 /* System header to define __stub macros and hopefully few prototypes,
27125 which can conflict with char $ac_func (); below.
27126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27127 <limits.h> exists even on freestanding compilers. */
27130 # include <limits.h>
27132 # include <assert.h>
27137 /* Override any GCC internal prototype to avoid an error.
27138 Use char because int might match the return type of a GCC
27139 builtin and then its argument prototype would still apply. */
27144 /* The GNU C library defines this for functions which it implements
27145 to always fail with ENOSYS. Some functions are actually named
27146 something starting with __ and the normal name is an alias. */
27147 #if defined __stub_$ac_func || defined __stub___$ac_func
27154 return $ac_func ();
27159 rm -f conftest.$ac_objext conftest$ac_exeext
27160 if { (ac_try="$ac_link"
27161 case "(($ac_try" in
27162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27163 *) ac_try_echo=$ac_try;;
27165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27166 (eval "$ac_link") 2>conftest.er1
27168 grep -v '^ *+' conftest.er1 >conftest.err
27170 cat conftest.err >&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); } && {
27173 test -z "$ac_c_werror_flag" ||
27174 test ! -s conftest.err
27175 } && test -s conftest$ac_exeext &&
27176 $as_test_x conftest$ac_exeext; then
27177 eval "$as_ac_var=yes"
27179 echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.$ac_ext >&5
27182 eval "$as_ac_var=no"
27185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27186 conftest$ac_exeext conftest.$ac_ext
27188 ac_res=`eval echo '${'$as_ac_var'}'`
27189 { echo "$as_me:$LINENO: result: $ac_res" >&5
27190 echo "${ECHO_T}$ac_res" >&6; }
27191 if test `eval echo '${'$as_ac_var'}'` = yes; then
27192 cat >>confdefs.h <<_ACEOF
27193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27200 for ac_func in floor
27202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27203 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27205 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 cat >conftest.$ac_ext <<_ACEOF
27211 cat confdefs.h >>conftest.$ac_ext
27212 cat >>conftest.$ac_ext <<_ACEOF
27213 /* end confdefs.h. */
27214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27216 #define $ac_func innocuous_$ac_func
27218 /* System header to define __stub macros and hopefully few prototypes,
27219 which can conflict with char $ac_func (); below.
27220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27221 <limits.h> exists even on freestanding compilers. */
27224 # include <limits.h>
27226 # include <assert.h>
27231 /* Override any GCC internal prototype to avoid an error.
27232 Use char because int might match the return type of a GCC
27233 builtin and then its argument prototype would still apply. */
27238 /* The GNU C library defines this for functions which it implements
27239 to always fail with ENOSYS. Some functions are actually named
27240 something starting with __ and the normal name is an alias. */
27241 #if defined __stub_$ac_func || defined __stub___$ac_func
27248 return $ac_func ();
27253 rm -f conftest.$ac_objext conftest$ac_exeext
27254 if { (ac_try="$ac_link"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_link") 2>conftest.er1
27262 grep -v '^ *+' conftest.er1 >conftest.err
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest$ac_exeext &&
27270 $as_test_x conftest$ac_exeext; then
27271 eval "$as_ac_var=yes"
27273 echo "$as_me: failed program was:" >&5
27274 sed 's/^/| /' conftest.$ac_ext >&5
27276 eval "$as_ac_var=no"
27279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27280 conftest$ac_exeext conftest.$ac_ext
27282 ac_res=`eval echo '${'$as_ac_var'}'`
27283 { echo "$as_me:$LINENO: result: $ac_res" >&5
27284 echo "${ECHO_T}$ac_res" >&6; }
27285 if test `eval echo '${'$as_ac_var'}'` = yes; then
27286 cat >>confdefs.h <<_ACEOF
27287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27293 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27294 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27295 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27296 { echo "$as_me:$LINENO: result: yes" >&5
27297 echo "${ECHO_T}yes" >&6; }
27299 { echo "$as_me:$LINENO: result: no" >&5
27300 echo "${ECHO_T}no" >&6; }
27302 # use different functions to avoid configure caching
27308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27309 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27311 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27312 echo $ECHO_N "(cached) $ECHO_C" >&6
27314 cat >conftest.$ac_ext <<_ACEOF
27317 cat confdefs.h >>conftest.$ac_ext
27318 cat >>conftest.$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27322 #define $ac_func innocuous_$ac_func
27324 /* System header to define __stub macros and hopefully few prototypes,
27325 which can conflict with char $ac_func (); below.
27326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27327 <limits.h> exists even on freestanding compilers. */
27330 # include <limits.h>
27332 # include <assert.h>
27337 /* Override any GCC internal prototype to avoid an error.
27338 Use char because int might match the return type of a GCC
27339 builtin and then its argument prototype would still apply. */
27344 /* The GNU C library defines this for functions which it implements
27345 to always fail with ENOSYS. Some functions are actually named
27346 something starting with __ and the normal name is an alias. */
27347 #if defined __stub_$ac_func || defined __stub___$ac_func
27354 return $ac_func ();
27359 rm -f conftest.$ac_objext conftest$ac_exeext
27360 if { (ac_try="$ac_link"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_link") 2>conftest.er1
27368 grep -v '^ *+' conftest.er1 >conftest.err
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_c_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest$ac_exeext &&
27376 $as_test_x conftest$ac_exeext; then
27377 eval "$as_ac_var=yes"
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.$ac_ext >&5
27382 eval "$as_ac_var=no"
27385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27386 conftest$ac_exeext conftest.$ac_ext
27388 ac_res=`eval echo '${'$as_ac_var'}'`
27389 { echo "$as_me:$LINENO: result: $ac_res" >&5
27390 echo "${ECHO_T}$ac_res" >&6; }
27391 if test `eval echo '${'$as_ac_var'}'` = yes; then
27392 cat >>confdefs.h <<_ACEOF
27393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27400 for ac_func in ceil
27402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27403 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27405 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 cat >conftest.$ac_ext <<_ACEOF
27411 cat confdefs.h >>conftest.$ac_ext
27412 cat >>conftest.$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27416 #define $ac_func innocuous_$ac_func
27418 /* System header to define __stub macros and hopefully few prototypes,
27419 which can conflict with char $ac_func (); below.
27420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27421 <limits.h> exists even on freestanding compilers. */
27424 # include <limits.h>
27426 # include <assert.h>
27431 /* Override any GCC internal prototype to avoid an error.
27432 Use char because int might match the return type of a GCC
27433 builtin and then its argument prototype would still apply. */
27438 /* The GNU C library defines this for functions which it implements
27439 to always fail with ENOSYS. Some functions are actually named
27440 something starting with __ and the normal name is an alias. */
27441 #if defined __stub_$ac_func || defined __stub___$ac_func
27448 return $ac_func ();
27453 rm -f conftest.$ac_objext conftest$ac_exeext
27454 if { (ac_try="$ac_link"
27455 case "(($ac_try" in
27456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27457 *) ac_try_echo=$ac_try;;
27459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460 (eval "$ac_link") 2>conftest.er1
27462 grep -v '^ *+' conftest.er1 >conftest.err
27464 cat conftest.err >&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); } && {
27467 test -z "$ac_c_werror_flag" ||
27468 test ! -s conftest.err
27469 } && test -s conftest$ac_exeext &&
27470 $as_test_x conftest$ac_exeext; then
27471 eval "$as_ac_var=yes"
27473 echo "$as_me: failed program was:" >&5
27474 sed 's/^/| /' conftest.$ac_ext >&5
27476 eval "$as_ac_var=no"
27479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27480 conftest$ac_exeext conftest.$ac_ext
27482 ac_res=`eval echo '${'$as_ac_var'}'`
27483 { echo "$as_me:$LINENO: result: $ac_res" >&5
27484 echo "${ECHO_T}$ac_res" >&6; }
27485 if test `eval echo '${'$as_ac_var'}'` = yes; then
27486 cat >>confdefs.h <<_ACEOF
27487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27493 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27494 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27495 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27496 { echo "$as_me:$LINENO: result: yes" >&5
27497 echo "${ECHO_T}yes" >&6; }
27499 { echo "$as_me:$LINENO: result: no" >&5
27500 echo "${ECHO_T}no" >&6; }
27501 # not sure we should warn the user, crash, etc.
27506 ac_cpp='$CXXCPP $CPPFLAGS'
27507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27511 if test "wxUSE_UNICODE" = "yes"; then
27513 for wx_func in wcstoull
27515 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27516 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27517 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27521 cat >conftest.$ac_ext <<_ACEOF
27525 cat confdefs.h >>conftest.$ac_ext
27526 cat >>conftest.$ac_ext <<_ACEOF
27527 /* end confdefs.h. */
27530 $ac_includes_default
27546 rm -f conftest.$ac_objext conftest$ac_exeext
27547 if { (ac_try="$ac_link"
27548 case "(($ac_try" in
27549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27550 *) ac_try_echo=$ac_try;;
27552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27553 (eval "$ac_link") 2>conftest.er1
27555 grep -v '^ *+' conftest.er1 >conftest.err
27557 cat conftest.err >&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } && {
27560 test -z "$ac_cxx_werror_flag" ||
27561 test ! -s conftest.err
27562 } && test -s conftest$ac_exeext &&
27563 $as_test_x conftest$ac_exeext; then
27564 eval wx_cv_func_$wx_func=yes
27566 echo "$as_me: failed program was:" >&5
27567 sed 's/^/| /' conftest.$ac_ext >&5
27569 eval wx_cv_func_$wx_func=no
27572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27573 conftest$ac_exeext conftest.$ac_ext
27576 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27577 { echo "$as_me:$LINENO: result: $ac_res" >&5
27578 echo "${ECHO_T}$ac_res" >&6; }
27580 if eval test \$wx_cv_func_$wx_func = yes
27582 cat >>confdefs.h <<_ACEOF
27583 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27595 for wx_func in strtoull
27597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27600 echo $ECHO_N "(cached) $ECHO_C" >&6
27603 cat >conftest.$ac_ext <<_ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27612 $ac_includes_default
27628 rm -f conftest.$ac_objext conftest$ac_exeext
27629 if { (ac_try="$ac_link"
27630 case "(($ac_try" in
27631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_link") 2>conftest.er1
27637 grep -v '^ *+' conftest.er1 >conftest.err
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } && {
27642 test -z "$ac_cxx_werror_flag" ||
27643 test ! -s conftest.err
27644 } && test -s conftest$ac_exeext &&
27645 $as_test_x conftest$ac_exeext; then
27646 eval wx_cv_func_$wx_func=yes
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27651 eval wx_cv_func_$wx_func=no
27654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27655 conftest$ac_exeext conftest.$ac_ext
27658 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27659 { echo "$as_me:$LINENO: result: $ac_res" >&5
27660 echo "${ECHO_T}$ac_res" >&6; }
27662 if eval test \$wx_cv_func_$wx_func = yes
27664 cat >>confdefs.h <<_ACEOF
27665 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27677 ac_cpp='$CPP $CPPFLAGS'
27678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27685 if test "$wxUSE_REGEX" != "no"; then
27686 cat >>confdefs.h <<\_ACEOF
27687 #define wxUSE_REGEX 1
27691 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27692 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27693 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27694 wxUSE_REGEX=builtin
27697 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27698 { echo "$as_me:$LINENO: checking for regex.h" >&5
27699 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27700 if test "${ac_cv_header_regex_h+set}" = set; then
27701 echo $ECHO_N "(cached) $ECHO_C" >&6
27703 cat >conftest.$ac_ext <<_ACEOF
27706 cat confdefs.h >>conftest.$ac_ext
27707 cat >>conftest.$ac_ext <<_ACEOF
27708 /* end confdefs.h. */
27713 rm -f conftest.$ac_objext
27714 if { (ac_try="$ac_compile"
27715 case "(($ac_try" in
27716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27717 *) ac_try_echo=$ac_try;;
27719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27720 (eval "$ac_compile") 2>conftest.er1
27722 grep -v '^ *+' conftest.er1 >conftest.err
27724 cat conftest.err >&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } && {
27727 test -z "$ac_c_werror_flag" ||
27728 test ! -s conftest.err
27729 } && test -s conftest.$ac_objext; then
27730 ac_cv_header_regex_h=yes
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27735 ac_cv_header_regex_h=no
27738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27740 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27741 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27742 if test $ac_cv_header_regex_h = yes; then
27745 for ac_func in regcomp re_search
27747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27751 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 cat >conftest.$ac_ext <<_ACEOF
27756 cat confdefs.h >>conftest.$ac_ext
27757 cat >>conftest.$ac_ext <<_ACEOF
27758 /* end confdefs.h. */
27759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27761 #define $ac_func innocuous_$ac_func
27763 /* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27769 # include <limits.h>
27771 # include <assert.h>
27776 /* Override any GCC internal prototype to avoid an error.
27777 Use char because int might match the return type of a GCC
27778 builtin and then its argument prototype would still apply. */
27783 /* The GNU C library defines this for functions which it implements
27784 to always fail with ENOSYS. Some functions are actually named
27785 something starting with __ and the normal name is an alias. */
27786 #if defined __stub_$ac_func || defined __stub___$ac_func
27793 return $ac_func ();
27798 rm -f conftest.$ac_objext conftest$ac_exeext
27799 if { (ac_try="$ac_link"
27800 case "(($ac_try" in
27801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27802 *) ac_try_echo=$ac_try;;
27804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27805 (eval "$ac_link") 2>conftest.er1
27807 grep -v '^ *+' conftest.er1 >conftest.err
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } && {
27812 test -z "$ac_c_werror_flag" ||
27813 test ! -s conftest.err
27814 } && test -s conftest$ac_exeext &&
27815 $as_test_x conftest$ac_exeext; then
27816 eval "$as_ac_var=yes"
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27821 eval "$as_ac_var=no"
27824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27825 conftest$ac_exeext conftest.$ac_ext
27827 ac_res=`eval echo '${'$as_ac_var'}'`
27828 { echo "$as_me:$LINENO: result: $ac_res" >&5
27829 echo "${ECHO_T}$ac_res" >&6; }
27830 if test `eval echo '${'$as_ac_var'}'` = yes; then
27831 cat >>confdefs.h <<_ACEOF
27832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27842 if test "x$ac_cv_func_regcomp" != "xyes"; then
27843 if test "$wxUSE_REGEX" = "sys" ; then
27844 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27845 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27846 { (exit 1); exit 1; }; }
27848 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27849 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27850 wxUSE_REGEX=builtin
27854 cat >>confdefs.h <<\_ACEOF
27855 #define WX_NO_REGEX_ADVANCED 1
27864 if test "$wxUSE_ZLIB" != "no" ; then
27865 cat >>confdefs.h <<\_ACEOF
27866 #define wxUSE_ZLIB 1
27870 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27871 if test "$USE_DARWIN" = 1; then
27872 system_zlib_h_ok="yes"
27874 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27875 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27876 if test "${ac_cv_header_zlib_h+set}" = set; then
27877 echo $ECHO_N "(cached) $ECHO_C" >&6
27879 if test "$cross_compiling" = yes; then
27880 unset ac_cv_header_zlib_h
27883 cat >conftest.$ac_ext <<_ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27895 FILE *f=fopen("conftestval", "w");
27898 ZLIB_VERSION[0] == '1' &&
27899 (ZLIB_VERSION[2] > '1' ||
27900 (ZLIB_VERSION[2] == '1' &&
27901 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27906 rm -f conftest$ac_exeext
27907 if { (ac_try="$ac_link"
27908 case "(($ac_try" in
27909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27910 *) ac_try_echo=$ac_try;;
27912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27913 (eval "$ac_link") 2>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27917 { (case "(($ac_try" in
27918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_try") 2>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); }; }; then
27926 ac_cv_header_zlib_h=`cat conftestval`
27928 echo "$as_me: program exited with status $ac_status" >&5
27929 echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.$ac_ext >&5
27932 ( exit $ac_status )
27933 ac_cv_header_zlib_h=no
27935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27941 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27942 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27943 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27944 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27945 if test "${ac_cv_header_zlib_h+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 cat >conftest.$ac_ext <<_ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27958 rm -f conftest.$ac_objext
27959 if { (ac_try="$ac_compile"
27960 case "(($ac_try" in
27961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_compile") 2>conftest.er1
27967 grep -v '^ *+' conftest.er1 >conftest.err
27969 cat conftest.err >&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && {
27972 test -z "$ac_c_werror_flag" ||
27973 test ! -s conftest.err
27974 } && test -s conftest.$ac_objext; then
27975 ac_cv_header_zlib_h=yes
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27980 ac_cv_header_zlib_h=no
27983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27985 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27986 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27990 system_zlib_h_ok=$ac_cv_header_zlib_h
27993 if test "$system_zlib_h_ok" = "yes"; then
27994 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27995 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27996 if test "${ac_cv_lib_z_deflate+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27999 ac_check_lib_save_LIBS=$LIBS
28001 cat >conftest.$ac_ext <<_ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28008 /* Override any GCC internal prototype to avoid an error.
28009 Use char because int might match the return type of a GCC
28010 builtin and then its argument prototype would still apply. */
28023 rm -f conftest.$ac_objext conftest$ac_exeext
28024 if { (ac_try="$ac_link"
28025 case "(($ac_try" in
28026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28027 *) ac_try_echo=$ac_try;;
28029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28030 (eval "$ac_link") 2>conftest.er1
28032 grep -v '^ *+' conftest.er1 >conftest.err
28034 cat conftest.err >&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); } && {
28037 test -z "$ac_c_werror_flag" ||
28038 test ! -s conftest.err
28039 } && test -s conftest$ac_exeext &&
28040 $as_test_x conftest$ac_exeext; then
28041 ac_cv_lib_z_deflate=yes
28043 echo "$as_me: failed program was:" >&5
28044 sed 's/^/| /' conftest.$ac_ext >&5
28046 ac_cv_lib_z_deflate=no
28049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28050 conftest$ac_exeext conftest.$ac_ext
28051 LIBS=$ac_check_lib_save_LIBS
28053 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28054 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28055 if test $ac_cv_lib_z_deflate = yes; then
28061 if test "x$ZLIB_LINK" = "x" ; then
28062 if test "$wxUSE_ZLIB" = "sys" ; then
28063 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28064 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28065 { (exit 1); exit 1; }; }
28067 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28068 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28079 if test "$wxUSE_LIBPNG" != "no" ; then
28080 cat >>confdefs.h <<\_ACEOF
28081 #define wxUSE_LIBPNG 1
28085 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28086 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28087 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28091 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28092 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28093 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28094 wxUSE_LIBPNG=builtin
28097 if test "$wxUSE_MGL" != 1 ; then
28098 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28099 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28100 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28101 if test "${ac_cv_header_png_h+set}" = set; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28104 if test "$cross_compiling" = yes; then
28105 unset ac_cv_header_png_h
28108 cat >conftest.$ac_ext <<_ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28120 FILE *f=fopen("conftestval", "w");
28123 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28128 rm -f conftest$ac_exeext
28129 if { (ac_try="$ac_link"
28130 case "(($ac_try" in
28131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28132 *) ac_try_echo=$ac_try;;
28134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28135 (eval "$ac_link") 2>&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28139 { (case "(($ac_try" in
28140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28141 *) ac_try_echo=$ac_try;;
28143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28144 (eval "$ac_try") 2>&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 ac_cv_header_png_h=`cat conftestval`
28150 echo "$as_me: program exited with status $ac_status" >&5
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28154 ( exit $ac_status )
28155 ac_cv_header_png_h=no
28157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28163 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28164 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28165 { echo "$as_me:$LINENO: checking for png.h" >&5
28166 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28167 if test "${ac_cv_header_png_h+set}" = set; then
28168 echo $ECHO_N "(cached) $ECHO_C" >&6
28170 cat >conftest.$ac_ext <<_ACEOF
28173 cat confdefs.h >>conftest.$ac_ext
28174 cat >>conftest.$ac_ext <<_ACEOF
28175 /* end confdefs.h. */
28180 rm -f conftest.$ac_objext
28181 if { (ac_try="$ac_compile"
28182 case "(($ac_try" in
28183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28184 *) ac_try_echo=$ac_try;;
28186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28187 (eval "$ac_compile") 2>conftest.er1
28189 grep -v '^ *+' conftest.er1 >conftest.err
28191 cat conftest.err >&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } && {
28194 test -z "$ac_c_werror_flag" ||
28195 test ! -s conftest.err
28196 } && test -s conftest.$ac_objext; then
28197 ac_cv_header_png_h=yes
28199 echo "$as_me: failed program was:" >&5
28200 sed 's/^/| /' conftest.$ac_ext >&5
28202 ac_cv_header_png_h=no
28205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28207 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28208 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28212 if test "$ac_cv_header_png_h" = "yes"; then
28213 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28214 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28215 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28216 echo $ECHO_N "(cached) $ECHO_C" >&6
28218 ac_check_lib_save_LIBS=$LIBS
28219 LIBS="-lpng -lz -lm $LIBS"
28220 cat >conftest.$ac_ext <<_ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28227 /* Override any GCC internal prototype to avoid an error.
28228 Use char because int might match the return type of a GCC
28229 builtin and then its argument prototype would still apply. */
28233 char png_sig_cmp ();
28237 return png_sig_cmp ();
28242 rm -f conftest.$ac_objext conftest$ac_exeext
28243 if { (ac_try="$ac_link"
28244 case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246 *) ac_try_echo=$ac_try;;
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_link") 2>conftest.er1
28251 grep -v '^ *+' conftest.er1 >conftest.err
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } && {
28256 test -z "$ac_c_werror_flag" ||
28257 test ! -s conftest.err
28258 } && test -s conftest$ac_exeext &&
28259 $as_test_x conftest$ac_exeext; then
28260 ac_cv_lib_png_png_sig_cmp=yes
28262 echo "$as_me: failed program was:" >&5
28263 sed 's/^/| /' conftest.$ac_ext >&5
28265 ac_cv_lib_png_png_sig_cmp=no
28268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28269 conftest$ac_exeext conftest.$ac_ext
28270 LIBS=$ac_check_lib_save_LIBS
28272 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28273 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28274 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28275 PNG_LINK=" -lpng -lz"
28280 if test "x$PNG_LINK" = "x" ; then
28281 if test "$wxUSE_LIBPNG" = "sys" ; then
28282 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28283 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28284 { (exit 1); exit 1; }; }
28286 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28287 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28288 wxUSE_LIBPNG=builtin
28299 if test "$wxUSE_LIBJPEG" != "no" ; then
28300 cat >>confdefs.h <<\_ACEOF
28301 #define wxUSE_LIBJPEG 1
28305 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28306 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28307 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28311 if test "$wxUSE_MGL" != 1 ; then
28312 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28313 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28314 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28315 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28316 echo $ECHO_N "(cached) $ECHO_C" >&6
28318 cat >conftest.$ac_ext <<_ACEOF
28321 cat confdefs.h >>conftest.$ac_ext
28322 cat >>conftest.$ac_ext <<_ACEOF
28323 /* end confdefs.h. */
28325 #undef HAVE_STDLIB_H
28327 #include <jpeglib.h>
28338 rm -f conftest.$ac_objext
28339 if { (ac_try="$ac_compile"
28340 case "(($ac_try" in
28341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28342 *) ac_try_echo=$ac_try;;
28344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28345 (eval "$ac_compile") 2>conftest.er1
28347 grep -v '^ *+' conftest.er1 >conftest.err
28349 cat conftest.err >&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); } && {
28352 test -z "$ac_c_werror_flag" ||
28353 test ! -s conftest.err
28354 } && test -s conftest.$ac_objext; then
28355 ac_cv_header_jpeglib_h=yes
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.$ac_ext >&5
28360 ac_cv_header_jpeglib_h=no
28364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28368 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28369 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28371 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28372 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28373 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28374 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28375 echo $ECHO_N "(cached) $ECHO_C" >&6
28377 ac_check_lib_save_LIBS=$LIBS
28378 LIBS="-ljpeg $LIBS"
28379 cat >conftest.$ac_ext <<_ACEOF
28382 cat confdefs.h >>conftest.$ac_ext
28383 cat >>conftest.$ac_ext <<_ACEOF
28384 /* end confdefs.h. */
28386 /* Override any GCC internal prototype to avoid an error.
28387 Use char because int might match the return type of a GCC
28388 builtin and then its argument prototype would still apply. */
28392 char jpeg_read_header ();
28396 return jpeg_read_header ();
28401 rm -f conftest.$ac_objext conftest$ac_exeext
28402 if { (ac_try="$ac_link"
28403 case "(($ac_try" in
28404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_link") 2>conftest.er1
28410 grep -v '^ *+' conftest.er1 >conftest.err
28412 cat conftest.err >&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } && {
28415 test -z "$ac_c_werror_flag" ||
28416 test ! -s conftest.err
28417 } && test -s conftest$ac_exeext &&
28418 $as_test_x conftest$ac_exeext; then
28419 ac_cv_lib_jpeg_jpeg_read_header=yes
28421 echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.$ac_ext >&5
28424 ac_cv_lib_jpeg_jpeg_read_header=no
28427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28428 conftest$ac_exeext conftest.$ac_ext
28429 LIBS=$ac_check_lib_save_LIBS
28431 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28432 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28433 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28434 JPEG_LINK=" -ljpeg"
28439 if test "x$JPEG_LINK" = "x" ; then
28440 if test "$wxUSE_LIBJPEG" = "sys" ; then
28441 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28442 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28443 { (exit 1); exit 1; }; }
28445 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28446 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28447 wxUSE_LIBJPEG=builtin
28452 if test "$wxUSE_MSW" = 1; then
28453 { echo "$as_me:$LINENO: checking for boolean" >&5
28454 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28455 if test "${ac_cv_type_boolean+set}" = set; then
28456 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 cat >conftest.$ac_ext <<_ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28464 #include <windows.h>
28466 typedef boolean ac__type_new_;
28470 if ((ac__type_new_ *) 0)
28472 if (sizeof (ac__type_new_))
28478 rm -f conftest.$ac_objext
28479 if { (ac_try="$ac_compile"
28480 case "(($ac_try" in
28481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28482 *) ac_try_echo=$ac_try;;
28484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28485 (eval "$ac_compile") 2>conftest.er1
28487 grep -v '^ *+' conftest.er1 >conftest.err
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } && {
28492 test -z "$ac_c_werror_flag" ||
28493 test ! -s conftest.err
28494 } && test -s conftest.$ac_objext; then
28495 ac_cv_type_boolean=yes
28497 echo "$as_me: failed program was:" >&5
28498 sed 's/^/| /' conftest.$ac_ext >&5
28500 ac_cv_type_boolean=no
28503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28505 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28506 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28507 if test $ac_cv_type_boolean = yes; then
28509 cat >>confdefs.h <<_ACEOF
28510 #define HAVE_BOOLEAN 1
28514 { echo "$as_me:$LINENO: checking for boolean" >&5
28515 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28516 if test "${ac_cv_type_boolean+set}" = set; then
28517 echo $ECHO_N "(cached) $ECHO_C" >&6
28519 cat >conftest.$ac_ext <<_ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28526 #undef HAVE_BOOLEAN
28528 #include <jpeglib.h>
28531 typedef boolean ac__type_new_;
28535 if ((ac__type_new_ *) 0)
28537 if (sizeof (ac__type_new_))
28543 rm -f conftest.$ac_objext
28544 if { (ac_try="$ac_compile"
28545 case "(($ac_try" in
28546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28547 *) ac_try_echo=$ac_try;;
28549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28550 (eval "$ac_compile") 2>conftest.er1
28552 grep -v '^ *+' conftest.er1 >conftest.err
28554 cat conftest.err >&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); } && {
28557 test -z "$ac_c_werror_flag" ||
28558 test ! -s conftest.err
28559 } && test -s conftest.$ac_objext; then
28560 ac_cv_type_boolean=yes
28562 echo "$as_me: failed program was:" >&5
28563 sed 's/^/| /' conftest.$ac_ext >&5
28565 ac_cv_type_boolean=no
28568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28570 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28571 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28573 # The cast to long int works around a bug in the HP C Compiler
28574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28576 # This bug is HP SR number 8606223364.
28577 { echo "$as_me:$LINENO: checking size of boolean" >&5
28578 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28579 if test "${ac_cv_sizeof_boolean+set}" = set; then
28580 echo $ECHO_N "(cached) $ECHO_C" >&6
28582 if test "$cross_compiling" = yes; then
28583 # Depending upon the size, compute the lo and hi bounds.
28584 cat >conftest.$ac_ext <<_ACEOF
28587 cat confdefs.h >>conftest.$ac_ext
28588 cat >>conftest.$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28591 #undef HAVE_BOOLEAN
28593 #include <jpeglib.h>
28596 typedef boolean ac__type_sizeof_;
28600 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28607 rm -f conftest.$ac_objext
28608 if { (ac_try="$ac_compile"
28609 case "(($ac_try" in
28610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28611 *) ac_try_echo=$ac_try;;
28613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28614 (eval "$ac_compile") 2>conftest.er1
28616 grep -v '^ *+' conftest.er1 >conftest.err
28618 cat conftest.err >&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } && {
28621 test -z "$ac_c_werror_flag" ||
28622 test ! -s conftest.err
28623 } && test -s conftest.$ac_objext; then
28626 cat >conftest.$ac_ext <<_ACEOF
28629 cat confdefs.h >>conftest.$ac_ext
28630 cat >>conftest.$ac_ext <<_ACEOF
28631 /* end confdefs.h. */
28633 #undef HAVE_BOOLEAN
28635 #include <jpeglib.h>
28638 typedef boolean ac__type_sizeof_;
28642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28649 rm -f conftest.$ac_objext
28650 if { (ac_try="$ac_compile"
28651 case "(($ac_try" in
28652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28653 *) ac_try_echo=$ac_try;;
28655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28656 (eval "$ac_compile") 2>conftest.er1
28658 grep -v '^ *+' conftest.er1 >conftest.err
28660 cat conftest.err >&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } && {
28663 test -z "$ac_c_werror_flag" ||
28664 test ! -s conftest.err
28665 } && test -s conftest.$ac_objext; then
28666 ac_hi=$ac_mid; break
28668 echo "$as_me: failed program was:" >&5
28669 sed 's/^/| /' conftest.$ac_ext >&5
28671 ac_lo=`expr $ac_mid + 1`
28672 if test $ac_lo -le $ac_mid; then
28676 ac_mid=`expr 2 '*' $ac_mid + 1`
28679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28682 echo "$as_me: failed program was:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28685 cat >conftest.$ac_ext <<_ACEOF
28688 cat confdefs.h >>conftest.$ac_ext
28689 cat >>conftest.$ac_ext <<_ACEOF
28690 /* end confdefs.h. */
28692 #undef HAVE_BOOLEAN
28694 #include <jpeglib.h>
28697 typedef boolean ac__type_sizeof_;
28701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28708 rm -f conftest.$ac_objext
28709 if { (ac_try="$ac_compile"
28710 case "(($ac_try" in
28711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28712 *) ac_try_echo=$ac_try;;
28714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28715 (eval "$ac_compile") 2>conftest.er1
28717 grep -v '^ *+' conftest.er1 >conftest.err
28719 cat conftest.err >&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); } && {
28722 test -z "$ac_c_werror_flag" ||
28723 test ! -s conftest.err
28724 } && test -s conftest.$ac_objext; then
28727 cat >conftest.$ac_ext <<_ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28734 #undef HAVE_BOOLEAN
28736 #include <jpeglib.h>
28739 typedef boolean ac__type_sizeof_;
28743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28750 rm -f conftest.$ac_objext
28751 if { (ac_try="$ac_compile"
28752 case "(($ac_try" in
28753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_compile") 2>conftest.er1
28759 grep -v '^ *+' conftest.er1 >conftest.err
28761 cat conftest.err >&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); } && {
28764 test -z "$ac_c_werror_flag" ||
28765 test ! -s conftest.err
28766 } && test -s conftest.$ac_objext; then
28767 ac_lo=$ac_mid; break
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28772 ac_hi=`expr '(' $ac_mid ')' - 1`
28773 if test $ac_mid -le $ac_hi; then
28777 ac_mid=`expr 2 '*' $ac_mid`
28780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28783 echo "$as_me: failed program was:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28793 # Binary search between lo and hi bounds.
28794 while test "x$ac_lo" != "x$ac_hi"; do
28795 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28796 cat >conftest.$ac_ext <<_ACEOF
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28803 #undef HAVE_BOOLEAN
28805 #include <jpeglib.h>
28808 typedef boolean ac__type_sizeof_;
28812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28819 rm -f conftest.$ac_objext
28820 if { (ac_try="$ac_compile"
28821 case "(($ac_try" in
28822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28823 *) ac_try_echo=$ac_try;;
28825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28826 (eval "$ac_compile") 2>conftest.er1
28828 grep -v '^ *+' conftest.er1 >conftest.err
28830 cat conftest.err >&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); } && {
28833 test -z "$ac_c_werror_flag" ||
28834 test ! -s conftest.err
28835 } && test -s conftest.$ac_objext; then
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.$ac_ext >&5
28841 ac_lo=`expr '(' $ac_mid ')' + 1`
28844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28848 '') if test "$ac_cv_type_boolean" = yes; then
28849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28850 See \`config.log' for more details." >&5
28851 echo "$as_me: error: cannot compute sizeof (boolean)
28852 See \`config.log' for more details." >&2;}
28853 { (exit 77); exit 77; }; }
28855 ac_cv_sizeof_boolean=0
28859 cat >conftest.$ac_ext <<_ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28866 #undef HAVE_BOOLEAN
28868 #include <jpeglib.h>
28871 typedef boolean ac__type_sizeof_;
28872 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28873 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28875 #include <stdlib.h>
28880 FILE *f = fopen ("conftest.val", "w");
28883 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28885 long int i = longval ();
28886 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28888 fprintf (f, "%ld\n", i);
28892 unsigned long int i = ulongval ();
28893 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28895 fprintf (f, "%lu\n", i);
28897 return ferror (f) || fclose (f) != 0;
28903 rm -f conftest$ac_exeext
28904 if { (ac_try="$ac_link"
28905 case "(($ac_try" in
28906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28907 *) ac_try_echo=$ac_try;;
28909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28910 (eval "$ac_link") 2>&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28914 { (case "(($ac_try" in
28915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28916 *) ac_try_echo=$ac_try;;
28918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28919 (eval "$ac_try") 2>&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_cv_sizeof_boolean=`cat conftest.val`
28925 echo "$as_me: program exited with status $ac_status" >&5
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28929 ( exit $ac_status )
28930 if test "$ac_cv_type_boolean" = yes; then
28931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28932 See \`config.log' for more details." >&5
28933 echo "$as_me: error: cannot compute sizeof (boolean)
28934 See \`config.log' for more details." >&2;}
28935 { (exit 77); exit 77; }; }
28937 ac_cv_sizeof_boolean=0
28940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28944 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28945 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28949 cat >>confdefs.h <<_ACEOF
28950 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28954 cat >>confdefs.h <<_ACEOF
28955 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28969 TIFF_PREREQ_LINKS=-lm
28970 if test "$wxUSE_LIBTIFF" != "no" ; then
28971 cat >>confdefs.h <<\_ACEOF
28972 #define wxUSE_LIBTIFF 1
28976 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28977 if test "$wxUSE_LIBJPEG" = "sys"; then
28978 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28980 if test "$wxUSE_ZLIB" = "sys"; then
28981 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28983 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28984 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28985 if test "${ac_cv_header_tiffio_h+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 cat >conftest.$ac_ext <<_ACEOF
28991 cat confdefs.h >>conftest.$ac_ext
28992 cat >>conftest.$ac_ext <<_ACEOF
28993 /* end confdefs.h. */
28997 #include <tiffio.h>
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29008 grep -v '^ *+' conftest.er1 >conftest.err
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29016 ac_cv_header_tiffio_h=yes
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29021 ac_cv_header_tiffio_h=no
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29027 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29028 if test $ac_cv_header_tiffio_h = yes; then
29030 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29031 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29032 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 ac_check_lib_save_LIBS=$LIBS
29036 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29037 cat >conftest.$ac_ext <<_ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29044 /* Override any GCC internal prototype to avoid an error.
29045 Use char because int might match the return type of a GCC
29046 builtin and then its argument prototype would still apply. */
29054 return TIFFError ();
29059 rm -f conftest.$ac_objext conftest$ac_exeext
29060 if { (ac_try="$ac_link"
29061 case "(($ac_try" in
29062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29063 *) ac_try_echo=$ac_try;;
29065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29066 (eval "$ac_link") 2>conftest.er1
29068 grep -v '^ *+' conftest.er1 >conftest.err
29070 cat conftest.err >&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); } && {
29073 test -z "$ac_c_werror_flag" ||
29074 test ! -s conftest.err
29075 } && test -s conftest$ac_exeext &&
29076 $as_test_x conftest$ac_exeext; then
29077 ac_cv_lib_tiff_TIFFError=yes
29079 echo "$as_me: failed program was:" >&5
29080 sed 's/^/| /' conftest.$ac_ext >&5
29082 ac_cv_lib_tiff_TIFFError=no
29085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29086 conftest$ac_exeext conftest.$ac_ext
29087 LIBS=$ac_check_lib_save_LIBS
29089 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29090 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29091 if test $ac_cv_lib_tiff_TIFFError = yes; then
29092 TIFF_LINK=" -ltiff"
29100 if test "x$TIFF_LINK" = "x" ; then
29101 if test "$wxUSE_LIBTIFF" = "sys" ; then
29102 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29103 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29104 { (exit 1); exit 1; }; }
29106 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29107 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29108 wxUSE_LIBTIFF=builtin
29114 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29115 if test "$wxUSE_LIBJPEG" = "no"; then
29116 ac_configure_args="$ac_configure_args --disable-jpeg"
29118 subdirs="$subdirs src/tiff"
29124 if test "$wxUSE_EXPAT" != "no"; then
29126 cat >>confdefs.h <<\_ACEOF
29127 #define wxUSE_EXPAT 1
29130 cat >>confdefs.h <<\_ACEOF
29131 #define wxUSE_XML 1
29135 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29136 { echo "$as_me:$LINENO: checking for expat.h" >&5
29137 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29138 if test "${ac_cv_header_expat_h+set}" = set; then
29139 echo $ECHO_N "(cached) $ECHO_C" >&6
29141 cat >conftest.$ac_ext <<_ACEOF
29144 cat confdefs.h >>conftest.$ac_ext
29145 cat >>conftest.$ac_ext <<_ACEOF
29146 /* end confdefs.h. */
29151 rm -f conftest.$ac_objext
29152 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
29168 ac_cv_header_expat_h=yes
29170 echo "$as_me: failed program was:" >&5
29171 sed 's/^/| /' conftest.$ac_ext >&5
29173 ac_cv_header_expat_h=no
29176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29178 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29179 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29180 if test $ac_cv_header_expat_h = yes; then
29185 if test "x$found_expat_h" = "x1"; then
29186 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29187 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29188 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29189 echo $ECHO_N "(cached) $ECHO_C" >&6
29193 ac_cpp='$CXXCPP $CPPFLAGS'
29194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29198 cat >conftest.$ac_ext <<_ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29213 rm -f conftest.$ac_objext
29214 if { (ac_try="$ac_compile"
29215 case "(($ac_try" in
29216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29217 *) ac_try_echo=$ac_try;;
29219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29220 (eval "$ac_compile") 2>conftest.er1
29222 grep -v '^ *+' conftest.er1 >conftest.err
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); } && {
29227 test -z "$ac_cxx_werror_flag" ||
29228 test ! -s conftest.err
29229 } && test -s conftest.$ac_objext; then
29230 wx_cv_expat_is_not_broken=yes
29232 echo "$as_me: failed program was:" >&5
29233 sed 's/^/| /' conftest.$ac_ext >&5
29235 wx_cv_expat_is_not_broken=no
29239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29241 ac_cpp='$CPP $CPPFLAGS'
29242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29249 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29250 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29251 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29252 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29253 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29254 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29255 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 ac_check_lib_save_LIBS=$LIBS
29258 LIBS="-lexpat $LIBS"
29259 cat >conftest.$ac_ext <<_ACEOF
29262 cat confdefs.h >>conftest.$ac_ext
29263 cat >>conftest.$ac_ext <<_ACEOF
29264 /* end confdefs.h. */
29266 /* Override any GCC internal prototype to avoid an error.
29267 Use char because int might match the return type of a GCC
29268 builtin and then its argument prototype would still apply. */
29272 char XML_ParserCreate ();
29276 return XML_ParserCreate ();
29281 rm -f conftest.$ac_objext conftest$ac_exeext
29282 if { (ac_try="$ac_link"
29283 case "(($ac_try" in
29284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29285 *) ac_try_echo=$ac_try;;
29287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29288 (eval "$ac_link") 2>conftest.er1
29290 grep -v '^ *+' conftest.er1 >conftest.err
29292 cat conftest.err >&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); } && {
29295 test -z "$ac_c_werror_flag" ||
29296 test ! -s conftest.err
29297 } && test -s conftest$ac_exeext &&
29298 $as_test_x conftest$ac_exeext; then
29299 ac_cv_lib_expat_XML_ParserCreate=yes
29301 echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29304 ac_cv_lib_expat_XML_ParserCreate=no
29307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29308 conftest$ac_exeext conftest.$ac_ext
29309 LIBS=$ac_check_lib_save_LIBS
29311 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29312 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29313 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29314 EXPAT_LINK=" -lexpat"
29319 if test "x$EXPAT_LINK" = "x" ; then
29320 if test "$wxUSE_EXPAT" = "sys" ; then
29321 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29322 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29323 { (exit 1); exit 1; }; }
29325 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29326 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29327 wxUSE_EXPAT=builtin
29333 if test "$wxUSE_EXPAT" = "builtin" ; then
29334 subdirs="$subdirs src/expat"
29341 if test "$wxUSE_LIBMSPACK" != "no"; then
29342 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29343 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29344 if test "${ac_cv_header_mspack_h+set}" = set; then
29345 echo $ECHO_N "(cached) $ECHO_C" >&6
29347 cat >conftest.$ac_ext <<_ACEOF
29350 cat confdefs.h >>conftest.$ac_ext
29351 cat >>conftest.$ac_ext <<_ACEOF
29352 /* end confdefs.h. */
29355 #include <mspack.h>
29357 rm -f conftest.$ac_objext
29358 if { (ac_try="$ac_compile"
29359 case "(($ac_try" in
29360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29361 *) ac_try_echo=$ac_try;;
29363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29364 (eval "$ac_compile") 2>conftest.er1
29366 grep -v '^ *+' conftest.er1 >conftest.err
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } && {
29371 test -z "$ac_c_werror_flag" ||
29372 test ! -s conftest.err
29373 } && test -s conftest.$ac_objext; then
29374 ac_cv_header_mspack_h=yes
29376 echo "$as_me: failed program was:" >&5
29377 sed 's/^/| /' conftest.$ac_ext >&5
29379 ac_cv_header_mspack_h=no
29382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29384 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29385 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29386 if test $ac_cv_header_mspack_h = yes; then
29391 if test "x$found_mspack_h" = "x1"; then
29392 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29393 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29394 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29395 echo $ECHO_N "(cached) $ECHO_C" >&6
29397 ac_check_lib_save_LIBS=$LIBS
29398 LIBS="-lmspack $LIBS"
29399 cat >conftest.$ac_ext <<_ACEOF
29402 cat confdefs.h >>conftest.$ac_ext
29403 cat >>conftest.$ac_ext <<_ACEOF
29404 /* end confdefs.h. */
29406 /* Override any GCC internal prototype to avoid an error.
29407 Use char because int might match the return type of a GCC
29408 builtin and then its argument prototype would still apply. */
29412 char mspack_create_chm_decompressor ();
29416 return mspack_create_chm_decompressor ();
29421 rm -f conftest.$ac_objext conftest$ac_exeext
29422 if { (ac_try="$ac_link"
29423 case "(($ac_try" in
29424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29425 *) ac_try_echo=$ac_try;;
29427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29428 (eval "$ac_link") 2>conftest.er1
29430 grep -v '^ *+' conftest.er1 >conftest.err
29432 cat conftest.err >&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); } && {
29435 test -z "$ac_c_werror_flag" ||
29436 test ! -s conftest.err
29437 } && test -s conftest$ac_exeext &&
29438 $as_test_x conftest$ac_exeext; then
29439 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.$ac_ext >&5
29444 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29448 conftest$ac_exeext conftest.$ac_ext
29449 LIBS=$ac_check_lib_save_LIBS
29451 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29452 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29453 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29454 MSPACK_LINK=" -lmspack"
29458 if test "x$MSPACK_LINK" = "x" ; then
29463 if test "$wxUSE_LIBMSPACK" != "no"; then
29464 cat >>confdefs.h <<\_ACEOF
29465 #define wxUSE_LIBMSPACK 1
29479 if test "$USE_WIN32" = 1 ; then
29481 for ac_header in w32api.h
29483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29484 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 cat >conftest.$ac_ext <<_ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29497 #include <$ac_header>
29499 rm -f conftest.$ac_objext
29500 if { (ac_try="$ac_compile"
29501 case "(($ac_try" in
29502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29503 *) ac_try_echo=$ac_try;;
29505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29506 (eval "$ac_compile") 2>conftest.er1
29508 grep -v '^ *+' conftest.er1 >conftest.err
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } && {
29513 test -z "$ac_c_werror_flag" ||
29514 test ! -s conftest.err
29515 } && test -s conftest.$ac_objext; then
29516 eval "$as_ac_Header=yes"
29518 echo "$as_me: failed program was:" >&5
29519 sed 's/^/| /' conftest.$ac_ext >&5
29521 eval "$as_ac_Header=no"
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526 ac_res=`eval echo '${'$as_ac_Header'}'`
29527 { echo "$as_me:$LINENO: result: $ac_res" >&5
29528 echo "${ECHO_T}$ac_res" >&6; }
29529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29530 cat >>confdefs.h <<_ACEOF
29531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29538 { echo "$as_me:$LINENO: checking for windows.h" >&5
29539 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29540 if test "${ac_cv_header_windows_h+set}" = set; then
29541 echo $ECHO_N "(cached) $ECHO_C" >&6
29543 cat >conftest.$ac_ext <<_ACEOF
29546 cat confdefs.h >>conftest.$ac_ext
29547 cat >>conftest.$ac_ext <<_ACEOF
29548 /* end confdefs.h. */
29551 #include <windows.h>
29553 rm -f conftest.$ac_objext
29554 if { (ac_try="$ac_compile"
29555 case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_compile") 2>conftest.er1
29562 grep -v '^ *+' conftest.er1 >conftest.err
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } && {
29567 test -z "$ac_c_werror_flag" ||
29568 test ! -s conftest.err
29569 } && test -s conftest.$ac_objext; then
29570 ac_cv_header_windows_h=yes
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.$ac_ext >&5
29575 ac_cv_header_windows_h=no
29578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29580 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29581 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29582 if test $ac_cv_header_windows_h = yes; then
29586 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29587 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29588 { (exit 1); exit 1; }; }
29594 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29596 x86_64-*-mingw32* )
29597 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29600 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29601 LIBS="$LIBS -loleacc"
29606 LIBS="$LIBS -lkernel32 -luser32"
29609 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29610 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29612 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29614 WIN32INSTALL=win32install
29616 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29617 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29618 if test "${ac_cv_header_pbt_h+set}" = set; then
29619 echo $ECHO_N "(cached) $ECHO_C" >&6
29621 cat >conftest.$ac_ext <<_ACEOF
29624 cat confdefs.h >>conftest.$ac_ext
29625 cat >>conftest.$ac_ext <<_ACEOF
29626 /* end confdefs.h. */
29631 rm -f conftest.$ac_objext
29632 if { (ac_try="$ac_compile"
29633 case "(($ac_try" in
29634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29635 *) ac_try_echo=$ac_try;;
29637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29638 (eval "$ac_compile") 2>conftest.er1
29640 grep -v '^ *+' conftest.er1 >conftest.err
29642 cat conftest.err >&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); } && {
29645 test -z "$ac_c_werror_flag" ||
29646 test ! -s conftest.err
29647 } && test -s conftest.$ac_objext; then
29648 ac_cv_header_pbt_h=yes
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.$ac_ext >&5
29653 ac_cv_header_pbt_h=no
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29658 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29659 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29660 if test $ac_cv_header_pbt_h = yes; then
29663 cat >>confdefs.h <<\_ACEOF
29664 #define NEED_PBT_H 1
29672 if test "$wxUSE_GUI" = "yes"; then
29682 if test "$wxUSE_OLD_COCOA" = 1 ; then
29683 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29684 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29685 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29686 wxUSE_PRINTING_ARCHITECTURE=no
29688 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29689 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29690 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29691 wxUSE_DRAG_AND_DROP=no
29693 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29694 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29695 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29700 if test "$wxUSE_MSW" = 1 ; then
29706 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29710 if test "$wxUSE_GTK" = 1; then
29711 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29712 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29714 gtk_version_cached=1
29715 if test "${wx_cv_lib_gtk+set}" = set; then
29716 echo $ECHO_N "(cached) $ECHO_C" >&6
29719 gtk_version_cached=0
29720 { echo "$as_me:$LINENO: result: " >&5
29721 echo "${ECHO_T}" >&6; }
29724 if test "$wxUSE_THREADS" = "yes"; then
29725 GTK_MODULES=gthread
29729 if test "x$wxGTK_VERSION" != "x1"
29733 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29738 # Check whether --enable-gtktest was given.
29739 if test "${enable_gtktest+set}" = set; then
29740 enableval=$enable_gtktest;
29746 pkg_config_args=gtk+-2.0
29747 for module in . $GTK_MODULES
29751 pkg_config_args="$pkg_config_args gthread-2.0"
29758 # Extract the first word of "pkg-config", so it can be a program name with args.
29759 set dummy pkg-config; ac_word=$2
29760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 case $PKG_CONFIG in
29767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29771 for as_dir in $PATH
29774 test -z "$as_dir" && as_dir=.
29775 for ac_exec_ext in '' $ac_executable_extensions; do
29776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29785 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29789 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29790 if test -n "$PKG_CONFIG"; then
29791 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29792 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29794 { echo "$as_me:$LINENO: result: no" >&5
29795 echo "${ECHO_T}no" >&6; }
29800 if test x$PKG_CONFIG != xno ; then
29801 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29804 echo "*** pkg-config too old; version 0.7 or better required."
29812 min_gtk_version=2.4.0
29813 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29814 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29816 if test x$PKG_CONFIG != xno ; then
29817 ## don't try to run the test against uninstalled libtool libs
29818 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29819 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29823 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29830 if test x"$no_gtk" = x ; then
29831 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29832 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29833 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29835 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29837 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29839 if test "x$enable_gtktest" = "xyes" ; then
29840 ac_save_CFLAGS="$CFLAGS"
29841 ac_save_LIBS="$LIBS"
29842 CFLAGS="$CFLAGS $GTK_CFLAGS"
29843 LIBS="$GTK_LIBS $LIBS"
29845 if test "$cross_compiling" = yes; then
29846 echo $ac_n "cross compiling; assumed OK... $ac_c"
29848 cat >conftest.$ac_ext <<_ACEOF
29851 cat confdefs.h >>conftest.$ac_ext
29852 cat >>conftest.$ac_ext <<_ACEOF
29853 /* end confdefs.h. */
29855 #include <gtk/gtk.h>
29857 #include <stdlib.h>
29862 int major, minor, micro;
29865 system ("touch conf.gtktest");
29867 /* HP/UX 9 (%@#!) writes to sscanf strings */
29868 tmp_version = g_strdup("$min_gtk_version");
29869 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29870 printf("%s, bad version string\n", "$min_gtk_version");
29874 if ((gtk_major_version != $gtk_config_major_version) ||
29875 (gtk_minor_version != $gtk_config_minor_version) ||
29876 (gtk_micro_version != $gtk_config_micro_version))
29878 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29879 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29880 gtk_major_version, gtk_minor_version, gtk_micro_version);
29881 printf ("*** was found! If pkg-config was correct, then it is best\n");
29882 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29883 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29884 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29885 printf("*** required on your system.\n");
29886 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29887 printf("*** to point to the correct configuration files\n");
29889 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29890 (gtk_minor_version != GTK_MINOR_VERSION) ||
29891 (gtk_micro_version != GTK_MICRO_VERSION))
29893 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29894 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29895 printf("*** library (version %d.%d.%d)\n",
29896 gtk_major_version, gtk_minor_version, gtk_micro_version);
29900 if ((gtk_major_version > major) ||
29901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29909 gtk_major_version, gtk_minor_version, gtk_micro_version);
29910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29911 major, minor, micro);
29912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29914 printf("*** If you have already installed a sufficiently new version, this error\n");
29915 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29917 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29918 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29920 printf("*** so that the correct libraries are found at run-time))\n");
29927 rm -f conftest$ac_exeext
29928 if { (ac_try="$ac_link"
29929 case "(($ac_try" in
29930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29931 *) ac_try_echo=$ac_try;;
29933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29934 (eval "$ac_link") 2>&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29938 { (case "(($ac_try" in
29939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29940 *) ac_try_echo=$ac_try;;
29942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29943 (eval "$ac_try") 2>&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; }; then
29949 echo "$as_me: program exited with status $ac_status" >&5
29950 echo "$as_me: failed program was:" >&5
29951 sed 's/^/| /' conftest.$ac_ext >&5
29953 ( exit $ac_status )
29956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29960 CFLAGS="$ac_save_CFLAGS"
29961 LIBS="$ac_save_LIBS"
29964 if test "x$no_gtk" = x ; then
29965 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29966 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29969 { echo "$as_me:$LINENO: result: no" >&5
29970 echo "${ECHO_T}no" >&6; }
29971 if test "$PKG_CONFIG" = "no" ; then
29972 echo "*** A new enough version of pkg-config was not found."
29973 echo "*** See http://pkgconfig.sourceforge.net"
29975 if test -f conf.gtktest ; then
29978 echo "*** Could not run GTK+ test program, checking why..."
29979 ac_save_CFLAGS="$CFLAGS"
29980 ac_save_LIBS="$LIBS"
29981 CFLAGS="$CFLAGS $GTK_CFLAGS"
29982 LIBS="$LIBS $GTK_LIBS"
29983 cat >conftest.$ac_ext <<_ACEOF
29986 cat confdefs.h >>conftest.$ac_ext
29987 cat >>conftest.$ac_ext <<_ACEOF
29988 /* end confdefs.h. */
29990 #include <gtk/gtk.h>
29996 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (ac_try="$ac_link"
30003 case "(($ac_try" in
30004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30005 *) ac_try_echo=$ac_try;;
30007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30008 (eval "$ac_link") 2>conftest.er1
30010 grep -v '^ *+' conftest.er1 >conftest.err
30012 cat conftest.err >&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } && {
30015 test -z "$ac_c_werror_flag" ||
30016 test ! -s conftest.err
30017 } && test -s conftest$ac_exeext &&
30018 $as_test_x conftest$ac_exeext; then
30019 echo "*** The test program compiled, but did not run. This usually means"
30020 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30021 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30022 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30023 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30024 echo "*** is required on your system"
30026 echo "*** If you have an old version installed, it is best to remove it, although"
30027 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30029 echo "$as_me: failed program was:" >&5
30030 sed 's/^/| /' conftest.$ac_ext >&5
30032 echo "*** The test program failed to compile or link. See the file config.log for the"
30033 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30037 conftest$ac_exeext conftest.$ac_ext
30038 CFLAGS="$ac_save_CFLAGS"
30039 LIBS="$ac_save_LIBS"
30051 GTK_LIBS="$GTK_LIBS -lX11"
30054 if test -z "$wx_cv_lib_gtk"; then
30055 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30057 # Check whether --with-gtk-prefix was given.
30058 if test "${with_gtk_prefix+set}" = set; then
30059 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30061 gtk_config_prefix=""
30065 # Check whether --with-gtk-exec-prefix was given.
30066 if test "${with_gtk_exec_prefix+set}" = set; then
30067 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30069 gtk_config_exec_prefix=""
30072 # Check whether --enable-gtktest was given.
30073 if test "${enable_gtktest+set}" = set; then
30074 enableval=$enable_gtktest;
30080 for module in . $GTK_MODULES
30084 gtk_config_args="$gtk_config_args gthread"
30089 if test x$gtk_config_exec_prefix != x ; then
30090 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30091 if test x${GTK_CONFIG+set} != xset ; then
30092 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30095 if test x$gtk_config_prefix != x ; then
30096 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30097 if test x${GTK_CONFIG+set} != xset ; then
30098 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30102 # Extract the first word of "gtk-config", so it can be a program name with args.
30103 set dummy gtk-config; ac_word=$2
30104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30106 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 case $GTK_CONFIG in
30111 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30115 for as_dir in $PATH
30118 test -z "$as_dir" && as_dir=.
30119 for ac_exec_ext in '' $ac_executable_extensions; do
30120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30121 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30129 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30133 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30134 if test -n "$GTK_CONFIG"; then
30135 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30136 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30138 { echo "$as_me:$LINENO: result: no" >&5
30139 echo "${ECHO_T}no" >&6; }
30143 min_gtk_version=1.2.7
30144 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30145 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30147 if test "$GTK_CONFIG" = "no" ; then
30150 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30151 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30152 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30154 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30156 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30158 if test "x$enable_gtktest" = "xyes" ; then
30159 ac_save_CFLAGS="$CFLAGS"
30160 ac_save_LIBS="$LIBS"
30161 CFLAGS="$CFLAGS $GTK_CFLAGS"
30162 LIBS="$GTK_LIBS $LIBS"
30164 if test "$cross_compiling" = yes; then
30165 echo $ac_n "cross compiling; assumed OK... $ac_c"
30167 cat >conftest.$ac_ext <<_ACEOF
30170 cat confdefs.h >>conftest.$ac_ext
30171 cat >>conftest.$ac_ext <<_ACEOF
30172 /* end confdefs.h. */
30174 #include <gtk/gtk.h>
30176 #include <stdlib.h>
30181 int major, minor, micro;
30184 system ("touch conf.gtktest");
30186 /* HP/UX 9 (%@#!) writes to sscanf strings */
30187 tmp_version = g_strdup("$min_gtk_version");
30188 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30189 printf("%s, bad version string\n", "$min_gtk_version");
30193 if ((gtk_major_version != $gtk_config_major_version) ||
30194 (gtk_minor_version != $gtk_config_minor_version) ||
30195 (gtk_micro_version != $gtk_config_micro_version))
30197 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30198 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30199 gtk_major_version, gtk_minor_version, gtk_micro_version);
30200 printf ("*** was found! If gtk-config was correct, then it is best\n");
30201 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30202 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30203 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30204 printf("*** required on your system.\n");
30205 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30206 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30207 printf("*** before re-running configure\n");
30209 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30210 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30211 (gtk_minor_version != GTK_MINOR_VERSION) ||
30212 (gtk_micro_version != GTK_MICRO_VERSION))
30214 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30215 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30216 printf("*** library (version %d.%d.%d)\n",
30217 gtk_major_version, gtk_minor_version, gtk_micro_version);
30219 #endif /* defined (GTK_MAJOR_VERSION) ... */
30222 if ((gtk_major_version > major) ||
30223 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30224 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30230 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30231 gtk_major_version, gtk_minor_version, gtk_micro_version);
30232 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30233 major, minor, micro);
30234 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30236 printf("*** If you have already installed a sufficiently new version, this error\n");
30237 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30238 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30239 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30240 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30241 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30242 printf("*** so that the correct libraries are found at run-time))\n");
30249 rm -f conftest$ac_exeext
30250 if { (ac_try="$ac_link"
30251 case "(($ac_try" in
30252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30253 *) ac_try_echo=$ac_try;;
30255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30256 (eval "$ac_link") 2>&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30260 { (case "(($ac_try" in
30261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30262 *) ac_try_echo=$ac_try;;
30264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30265 (eval "$ac_try") 2>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; }; then
30271 echo "$as_me: program exited with status $ac_status" >&5
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.$ac_ext >&5
30275 ( exit $ac_status )
30278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30282 CFLAGS="$ac_save_CFLAGS"
30283 LIBS="$ac_save_LIBS"
30286 if test "x$no_gtk" = x ; then
30287 { echo "$as_me:$LINENO: result: yes" >&5
30288 echo "${ECHO_T}yes" >&6; }
30289 wx_cv_lib_gtk=1.2.7
30291 { echo "$as_me:$LINENO: result: no" >&5
30292 echo "${ECHO_T}no" >&6; }
30293 if test "$GTK_CONFIG" = "no" ; then
30294 echo "*** The gtk-config script installed by GTK could not be found"
30295 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30296 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30297 echo "*** full path to gtk-config."
30299 if test -f conf.gtktest ; then
30302 echo "*** Could not run GTK test program, checking why..."
30303 CFLAGS="$CFLAGS $GTK_CFLAGS"
30304 LIBS="$LIBS $GTK_LIBS"
30305 cat >conftest.$ac_ext <<_ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30312 #include <gtk/gtk.h>
30318 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30323 rm -f conftest.$ac_objext conftest$ac_exeext
30324 if { (ac_try="$ac_link"
30325 case "(($ac_try" in
30326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30327 *) ac_try_echo=$ac_try;;
30329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30330 (eval "$ac_link") 2>conftest.er1
30332 grep -v '^ *+' conftest.er1 >conftest.err
30334 cat conftest.err >&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } && {
30337 test -z "$ac_c_werror_flag" ||
30338 test ! -s conftest.err
30339 } && test -s conftest$ac_exeext &&
30340 $as_test_x conftest$ac_exeext; then
30341 echo "*** The test program compiled, but did not run. This usually means"
30342 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30343 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30344 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30345 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30346 echo "*** is required on your system"
30348 echo "*** If you have an old version installed, it is best to remove it, although"
30349 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30351 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30352 echo "*** came with the system with the command"
30354 echo "*** rpm --erase --nodeps gtk gtk-devel"
30356 echo "$as_me: failed program was:" >&5
30357 sed 's/^/| /' conftest.$ac_ext >&5
30359 echo "*** The test program failed to compile or link. See the file config.log for the"
30360 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30361 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30362 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30366 conftest$ac_exeext conftest.$ac_ext
30367 CFLAGS="$ac_save_CFLAGS"
30368 LIBS="$ac_save_LIBS"
30380 if test -z "$wx_cv_lib_gtk"; then
30382 # Check whether --with-gtk-prefix was given.
30383 if test "${with_gtk_prefix+set}" = set; then
30384 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30386 gtk_config_prefix=""
30390 # Check whether --with-gtk-exec-prefix was given.
30391 if test "${with_gtk_exec_prefix+set}" = set; then
30392 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30394 gtk_config_exec_prefix=""
30397 # Check whether --enable-gtktest was given.
30398 if test "${enable_gtktest+set}" = set; then
30399 enableval=$enable_gtktest;
30405 for module in . $GTK_MODULES
30409 gtk_config_args="$gtk_config_args gthread"
30414 if test x$gtk_config_exec_prefix != x ; then
30415 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30416 if test x${GTK_CONFIG+set} != xset ; then
30417 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30420 if test x$gtk_config_prefix != x ; then
30421 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30422 if test x${GTK_CONFIG+set} != xset ; then
30423 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30427 # Extract the first word of "gtk-config", so it can be a program name with args.
30428 set dummy gtk-config; ac_word=$2
30429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30431 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30432 echo $ECHO_N "(cached) $ECHO_C" >&6
30434 case $GTK_CONFIG in
30436 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30440 for as_dir in $PATH
30443 test -z "$as_dir" && as_dir=.
30444 for ac_exec_ext in '' $ac_executable_extensions; do
30445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30446 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30454 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30458 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30459 if test -n "$GTK_CONFIG"; then
30460 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30461 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30463 { echo "$as_me:$LINENO: result: no" >&5
30464 echo "${ECHO_T}no" >&6; }
30468 min_gtk_version=1.2.3
30469 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30470 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30472 if test "$GTK_CONFIG" = "no" ; then
30475 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30476 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30477 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30479 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30481 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30483 if test "x$enable_gtktest" = "xyes" ; then
30484 ac_save_CFLAGS="$CFLAGS"
30485 ac_save_LIBS="$LIBS"
30486 CFLAGS="$CFLAGS $GTK_CFLAGS"
30487 LIBS="$GTK_LIBS $LIBS"
30489 if test "$cross_compiling" = yes; then
30490 echo $ac_n "cross compiling; assumed OK... $ac_c"
30492 cat >conftest.$ac_ext <<_ACEOF
30495 cat confdefs.h >>conftest.$ac_ext
30496 cat >>conftest.$ac_ext <<_ACEOF
30497 /* end confdefs.h. */
30499 #include <gtk/gtk.h>
30501 #include <stdlib.h>
30506 int major, minor, micro;
30509 system ("touch conf.gtktest");
30511 /* HP/UX 9 (%@#!) writes to sscanf strings */
30512 tmp_version = g_strdup("$min_gtk_version");
30513 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30514 printf("%s, bad version string\n", "$min_gtk_version");
30518 if ((gtk_major_version != $gtk_config_major_version) ||
30519 (gtk_minor_version != $gtk_config_minor_version) ||
30520 (gtk_micro_version != $gtk_config_micro_version))
30522 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30523 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30524 gtk_major_version, gtk_minor_version, gtk_micro_version);
30525 printf ("*** was found! If gtk-config was correct, then it is best\n");
30526 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30527 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30528 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30529 printf("*** required on your system.\n");
30530 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30531 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30532 printf("*** before re-running configure\n");
30534 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30535 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30536 (gtk_minor_version != GTK_MINOR_VERSION) ||
30537 (gtk_micro_version != GTK_MICRO_VERSION))
30539 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30540 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30541 printf("*** library (version %d.%d.%d)\n",
30542 gtk_major_version, gtk_minor_version, gtk_micro_version);
30544 #endif /* defined (GTK_MAJOR_VERSION) ... */
30547 if ((gtk_major_version > major) ||
30548 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30549 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30555 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30556 gtk_major_version, gtk_minor_version, gtk_micro_version);
30557 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30558 major, minor, micro);
30559 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30561 printf("*** If you have already installed a sufficiently new version, this error\n");
30562 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30563 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30564 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30565 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30566 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30567 printf("*** so that the correct libraries are found at run-time))\n");
30574 rm -f conftest$ac_exeext
30575 if { (ac_try="$ac_link"
30576 case "(($ac_try" in
30577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30578 *) ac_try_echo=$ac_try;;
30580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30581 (eval "$ac_link") 2>&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30585 { (case "(($ac_try" in
30586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30587 *) ac_try_echo=$ac_try;;
30589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30590 (eval "$ac_try") 2>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30596 echo "$as_me: program exited with status $ac_status" >&5
30597 echo "$as_me: failed program was:" >&5
30598 sed 's/^/| /' conftest.$ac_ext >&5
30600 ( exit $ac_status )
30603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30607 CFLAGS="$ac_save_CFLAGS"
30608 LIBS="$ac_save_LIBS"
30611 if test "x$no_gtk" = x ; then
30612 { echo "$as_me:$LINENO: result: yes" >&5
30613 echo "${ECHO_T}yes" >&6; }
30614 wx_cv_lib_gtk=1.2.3
30616 { echo "$as_me:$LINENO: result: no" >&5
30617 echo "${ECHO_T}no" >&6; }
30618 if test "$GTK_CONFIG" = "no" ; then
30619 echo "*** The gtk-config script installed by GTK could not be found"
30620 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30621 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30622 echo "*** full path to gtk-config."
30624 if test -f conf.gtktest ; then
30627 echo "*** Could not run GTK test program, checking why..."
30628 CFLAGS="$CFLAGS $GTK_CFLAGS"
30629 LIBS="$LIBS $GTK_LIBS"
30630 cat >conftest.$ac_ext <<_ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30637 #include <gtk/gtk.h>
30643 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30648 rm -f conftest.$ac_objext conftest$ac_exeext
30649 if { (ac_try="$ac_link"
30650 case "(($ac_try" in
30651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30652 *) ac_try_echo=$ac_try;;
30654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30655 (eval "$ac_link") 2>conftest.er1
30657 grep -v '^ *+' conftest.er1 >conftest.err
30659 cat conftest.err >&5
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); } && {
30662 test -z "$ac_c_werror_flag" ||
30663 test ! -s conftest.err
30664 } && test -s conftest$ac_exeext &&
30665 $as_test_x conftest$ac_exeext; then
30666 echo "*** The test program compiled, but did not run. This usually means"
30667 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30668 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30669 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30670 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30671 echo "*** is required on your system"
30673 echo "*** If you have an old version installed, it is best to remove it, although"
30674 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30676 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30677 echo "*** came with the system with the command"
30679 echo "*** rpm --erase --nodeps gtk gtk-devel"
30681 echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30684 echo "*** The test program failed to compile or link. See the file config.log for the"
30685 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30686 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30687 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30691 conftest$ac_exeext conftest.$ac_ext
30692 CFLAGS="$ac_save_CFLAGS"
30693 LIBS="$ac_save_LIBS"
30708 if test -z "$wx_cv_lib_gtk"; then
30711 wx_cv_cflags_gtk=$GTK_CFLAGS
30712 wx_cv_libs_gtk=$GTK_LIBS
30719 if test "$gtk_version_cached" = 1; then
30720 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30721 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30724 case "$wx_cv_lib_gtk" in
30733 *) { { echo "$as_me:$LINENO: error:
30734 The development files for GTK+ were not found. For GTK+ 2, please
30735 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30736 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30737 and that the version is 1.2.3 or above. Also check that the
30738 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30739 --libs' are in the LD_LIBRARY_PATH or equivalent.
30741 echo "$as_me: error:
30742 The development files for GTK+ were not found. For GTK+ 2, please
30743 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30744 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30745 and that the version is 1.2.3 or above. Also check that the
30746 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30747 --libs' are in the LD_LIBRARY_PATH or equivalent.
30749 { (exit 1); exit 1; }; }
30753 if test "$WXGTK2" = 1; then
30754 save_CFLAGS="$CFLAGS"
30756 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30757 LIBS="$LIBS $wx_cv_libs_gtk"
30759 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30760 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30761 cat >conftest.$ac_ext <<_ACEOF
30764 cat confdefs.h >>conftest.$ac_ext
30765 cat >>conftest.$ac_ext <<_ACEOF
30766 /* end confdefs.h. */
30768 #include <gtk/gtk.h>
30774 #if !GTK_CHECK_VERSION(2,18,0)
30782 rm -f conftest.$ac_objext
30783 if { (ac_try="$ac_compile"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_compile") 2>conftest.er1
30791 grep -v '^ *+' conftest.er1 >conftest.err
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest.$ac_objext; then
30800 cat >>confdefs.h <<\_ACEOF
30801 #define __WXGTK218__ 1
30804 cat >>confdefs.h <<\_ACEOF
30805 #define __WXGTK210__ 1
30808 cat >>confdefs.h <<\_ACEOF
30809 #define __WXGTK26__ 1
30812 { echo "$as_me:$LINENO: result: yes" >&5
30813 echo "${ECHO_T}yes" >&6; }
30817 echo "$as_me: failed program was:" >&5
30818 sed 's/^/| /' conftest.$ac_ext >&5
30821 { echo "$as_me:$LINENO: result: no" >&5
30822 echo "${ECHO_T}no" >&6; }
30827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30829 if test "$ac_wxgtk218" = 0; then
30830 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30831 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30832 cat >conftest.$ac_ext <<_ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30839 #include <gtk/gtk.h>
30845 #if !GTK_CHECK_VERSION(2,10,0)
30853 rm -f conftest.$ac_objext
30854 if { (ac_try="$ac_compile"
30855 case "(($ac_try" in
30856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30857 *) ac_try_echo=$ac_try;;
30859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30860 (eval "$ac_compile") 2>conftest.er1
30862 grep -v '^ *+' conftest.er1 >conftest.err
30864 cat conftest.err >&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); } && {
30867 test -z "$ac_c_werror_flag" ||
30868 test ! -s conftest.err
30869 } && test -s conftest.$ac_objext; then
30871 cat >>confdefs.h <<\_ACEOF
30872 #define __WXGTK210__ 1
30875 cat >>confdefs.h <<\_ACEOF
30876 #define __WXGTK26__ 1
30879 { echo "$as_me:$LINENO: result: yes" >&5
30880 echo "${ECHO_T}yes" >&6; }
30884 echo "$as_me: failed program was:" >&5
30885 sed 's/^/| /' conftest.$ac_ext >&5
30888 { echo "$as_me:$LINENO: result: no" >&5
30889 echo "${ECHO_T}no" >&6; }
30894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30896 if test "$ac_wxgtk210" = 0; then
30897 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30898 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30899 cat >conftest.$ac_ext <<_ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30906 #include <gtk/gtk.h>
30912 #if !GTK_CHECK_VERSION(2,6,0)
30920 rm -f conftest.$ac_objext
30921 if { (ac_try="$ac_compile"
30922 case "(($ac_try" in
30923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30924 *) ac_try_echo=$ac_try;;
30926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30927 (eval "$ac_compile") 2>conftest.er1
30929 grep -v '^ *+' conftest.er1 >conftest.err
30931 cat conftest.err >&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); } && {
30934 test -z "$ac_c_werror_flag" ||
30935 test ! -s conftest.err
30936 } && test -s conftest.$ac_objext; then
30938 cat >>confdefs.h <<\_ACEOF
30939 #define __WXGTK26__ 1
30942 { echo "$as_me:$LINENO: result: yes" >&5
30943 echo "${ECHO_T}yes" >&6; }
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30951 { echo "$as_me:$LINENO: result: no" >&5
30952 echo "${ECHO_T}no" >&6; }
30957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30961 CFLAGS="$save_CFLAGS"
30964 if test "$wxUSE_UNICODE" = "yes"; then
30965 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30966 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30970 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30971 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30972 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30973 echo $ECHO_N "(cached) $ECHO_C" >&6
30975 ac_check_lib_save_LIBS=$LIBS
30977 cat >conftest.$ac_ext <<_ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30984 /* Override any GCC internal prototype to avoid an error.
30985 Use char because int might match the return type of a GCC
30986 builtin and then its argument prototype would still apply. */
30990 char gdk_im_open ();
30994 return gdk_im_open ();
30999 rm -f conftest.$ac_objext conftest$ac_exeext
31000 if { (ac_try="$ac_link"
31001 case "(($ac_try" in
31002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31003 *) ac_try_echo=$ac_try;;
31005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31006 (eval "$ac_link") 2>conftest.er1
31008 grep -v '^ *+' conftest.er1 >conftest.err
31010 cat conftest.err >&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } && {
31013 test -z "$ac_c_werror_flag" ||
31014 test ! -s conftest.err
31015 } && test -s conftest$ac_exeext &&
31016 $as_test_x conftest$ac_exeext; then
31017 ac_cv_lib_gdk_gdk_im_open=yes
31019 echo "$as_me: failed program was:" >&5
31020 sed 's/^/| /' conftest.$ac_ext >&5
31022 ac_cv_lib_gdk_gdk_im_open=no
31025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31026 conftest$ac_exeext conftest.$ac_ext
31027 LIBS=$ac_check_lib_save_LIBS
31029 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31030 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31031 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31032 cat >>confdefs.h <<\_ACEOF
31039 if test "$USE_DARWIN" != 1; then
31041 for ac_func in poll
31043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31049 cat >conftest.$ac_ext <<_ACEOF
31052 cat confdefs.h >>conftest.$ac_ext
31053 cat >>conftest.$ac_ext <<_ACEOF
31054 /* end confdefs.h. */
31055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31057 #define $ac_func innocuous_$ac_func
31059 /* System header to define __stub macros and hopefully few prototypes,
31060 which can conflict with char $ac_func (); below.
31061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31062 <limits.h> exists even on freestanding compilers. */
31065 # include <limits.h>
31067 # include <assert.h>
31072 /* Override any GCC internal prototype to avoid an error.
31073 Use char because int might match the return type of a GCC
31074 builtin and then its argument prototype would still apply. */
31079 /* The GNU C library defines this for functions which it implements
31080 to always fail with ENOSYS. Some functions are actually named
31081 something starting with __ and the normal name is an alias. */
31082 #if defined __stub_$ac_func || defined __stub___$ac_func
31089 return $ac_func ();
31094 rm -f conftest.$ac_objext conftest$ac_exeext
31095 if { (ac_try="$ac_link"
31096 case "(($ac_try" in
31097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31098 *) ac_try_echo=$ac_try;;
31100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31101 (eval "$ac_link") 2>conftest.er1
31103 grep -v '^ *+' conftest.er1 >conftest.err
31105 cat conftest.err >&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } && {
31108 test -z "$ac_c_werror_flag" ||
31109 test ! -s conftest.err
31110 } && test -s conftest$ac_exeext &&
31111 $as_test_x conftest$ac_exeext; then
31112 eval "$as_ac_var=yes"
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.$ac_ext >&5
31117 eval "$as_ac_var=no"
31120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31121 conftest$ac_exeext conftest.$ac_ext
31123 ac_res=`eval echo '${'$as_ac_var'}'`
31124 { echo "$as_me:$LINENO: result: $ac_res" >&5
31125 echo "${ECHO_T}$ac_res" >&6; }
31126 if test `eval echo '${'$as_ac_var'}'` = yes; then
31127 cat >>confdefs.h <<_ACEOF
31128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31137 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31138 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31140 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31142 AFMINSTALL=afminstall
31146 if test "$wxUSE_GPE" = "yes"; then
31147 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31148 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31151 for ac_dir in $SEARCH_LIB
31153 for ac_extension in a so sl dylib dll.a; do
31154 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31155 ac_find_libraries=$ac_dir
31161 if test "$ac_find_libraries" != "" ; then
31163 if test "$ac_find_libraries" = "default location"; then
31166 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31168 if test $result = 0; then
31171 ac_path_to_link=" -L$ac_find_libraries"
31175 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31177 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31178 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31180 { echo "$as_me:$LINENO: result: not found" >&5
31181 echo "${ECHO_T}not found" >&6; }
31187 if test "$wxUSE_MGL" = 1; then
31188 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31189 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31190 if test "x$MGL_ROOT" = x ; then
31191 { echo "$as_me:$LINENO: result: not found" >&5
31192 echo "${ECHO_T}not found" >&6; }
31193 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31194 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31195 { (exit 1); exit 1; }; }
31197 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31198 echo "${ECHO_T}$MGL_ROOT" >&6; }
31201 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31202 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31205 if test "x$wxUSE_SHARED" = xyes ; then
31206 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31208 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31212 mgl_os_candidates="dos32/dj2"
31215 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31216 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31217 { (exit 1); exit 1; }; }
31223 for mgl_os_i in $mgl_os_candidates ; do
31224 if test "x$mgl_os" = x ; then
31225 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31226 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31227 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31232 if test "x$mgl_lib_type" = x ; then
31233 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31234 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31235 mgl_lib_type=release
31242 if test "x$mgl_os" = x ; then
31243 { echo "$as_me:$LINENO: result: not found" >&5
31244 echo "${ECHO_T}not found" >&6; }
31245 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31246 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31247 { (exit 1); exit 1; }; }
31249 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31250 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31252 wxUSE_UNIVERSAL="yes"
31254 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31255 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31257 AFMINSTALL=afminstall
31262 if test "$wxUSE_DFB" = 1; then
31265 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31266 if test -n "$ac_tool_prefix"; then
31267 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31268 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31271 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 case $PKG_CONFIG in
31276 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31280 for as_dir in $PATH
31283 test -z "$as_dir" && as_dir=.
31284 for ac_exec_ext in '' $ac_executable_extensions; do
31285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31286 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31297 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31298 if test -n "$PKG_CONFIG"; then
31299 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31300 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31302 { echo "$as_me:$LINENO: result: no" >&5
31303 echo "${ECHO_T}no" >&6; }
31308 if test -z "$ac_cv_path_PKG_CONFIG"; then
31309 ac_pt_PKG_CONFIG=$PKG_CONFIG
31310 # Extract the first word of "pkg-config", so it can be a program name with args.
31311 set dummy pkg-config; ac_word=$2
31312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31314 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31317 case $ac_pt_PKG_CONFIG in
31319 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31323 for as_dir in $PATH
31326 test -z "$as_dir" && as_dir=.
31327 for ac_exec_ext in '' $ac_executable_extensions; do
31328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31329 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31340 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31341 if test -n "$ac_pt_PKG_CONFIG"; then
31342 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31343 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31345 { echo "$as_me:$LINENO: result: no" >&5
31346 echo "${ECHO_T}no" >&6; }
31349 if test "x$ac_pt_PKG_CONFIG" = x; then
31352 case $cross_compiling:$ac_tool_warned in
31354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31355 whose name does not start with the host triplet. If you think this
31356 configuration is useful to you, please write to autoconf@gnu.org." >&5
31357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31358 whose name does not start with the host triplet. If you think this
31359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31360 ac_tool_warned=yes ;;
31362 PKG_CONFIG=$ac_pt_PKG_CONFIG
31365 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31369 if test -n "$PKG_CONFIG"; then
31370 _pkg_min_version=0.9.0
31371 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31372 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31373 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31374 { echo "$as_me:$LINENO: result: yes" >&5
31375 echo "${ECHO_T}yes" >&6; }
31377 { echo "$as_me:$LINENO: result: no" >&5
31378 echo "${ECHO_T}no" >&6; }
31386 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31387 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31389 if test -n "$PKG_CONFIG"; then
31390 if test -n "$DIRECTFB_CFLAGS"; then
31391 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31393 if test -n "$PKG_CONFIG" && \
31394 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31395 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); }; then
31399 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31407 if test -n "$PKG_CONFIG"; then
31408 if test -n "$DIRECTFB_LIBS"; then
31409 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31411 if test -n "$PKG_CONFIG" && \
31412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31413 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; then
31417 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31428 if test $pkg_failed = yes; then
31430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31431 _pkg_short_errors_supported=yes
31433 _pkg_short_errors_supported=no
31435 if test $_pkg_short_errors_supported = yes; then
31436 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31438 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31440 # Put the nasty error message in config.log where it belongs
31441 echo "$DIRECTFB_PKG_ERRORS" >&5
31444 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31445 echo "$as_me: error: DirectFB not found." >&2;}
31446 { (exit 1); exit 1; }; }
31449 elif test $pkg_failed = untried; then
31451 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31452 echo "$as_me: error: DirectFB not found." >&2;}
31453 { (exit 1); exit 1; }; }
31457 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31458 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31459 { echo "$as_me:$LINENO: result: yes" >&5
31460 echo "${ECHO_T}yes" >&6; }
31462 wxUSE_UNIVERSAL="yes"
31463 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31464 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31471 if test "$wxUSE_MICROWIN" = 1; then
31472 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31473 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31474 if test "x$MICROWINDOWS" = x ; then
31475 { echo "$as_me:$LINENO: result: not found" >&5
31476 echo "${ECHO_T}not found" >&6; }
31477 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31478 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31479 { (exit 1); exit 1; }; }
31481 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31482 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31485 if test -f $MICROWINDOWS/lib/libmwin.a; then
31486 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31487 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31489 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31490 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31491 { (exit 1); exit 1; }; }
31494 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31495 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31497 wxUSE_UNIVERSAL="yes"
31499 AFMINSTALL=afminstall
31501 GUIDIST=MICROWIN_DIST
31503 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31506 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31507 { echo "$as_me:$LINENO: checking for X" >&5
31508 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31511 # Check whether --with-x was given.
31512 if test "${with_x+set}" = set; then
31516 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31517 if test "x$with_x" = xno; then
31518 # The user explicitly disabled X.
31521 case $x_includes,$x_libraries in #(
31522 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31523 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31524 { (exit 1); exit 1; }; };; #(
31525 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31528 # One or both of the vars are not set, and there is no cached value.
31529 ac_x_includes=no ac_x_libraries=no
31530 rm -f -r conftest.dir
31531 if mkdir conftest.dir; then
31533 cat >Imakefile <<'_ACEOF'
31535 @echo incroot='${INCROOT}'
31537 @echo usrlibdir='${USRLIBDIR}'
31539 @echo libdir='${LIBDIR}'
31541 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31543 for ac_var in incroot usrlibdir libdir; do
31544 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31546 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31547 for ac_extension in a so sl; do
31548 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31549 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31550 ac_im_usrlibdir=$ac_im_libdir; break
31553 # Screen out bogus values from the imake configuration. They are
31554 # bogus both because they are the default anyway, and because
31555 # using them would break gcc on systems where it needs fixed includes.
31556 case $ac_im_incroot in
31557 /usr/include) ac_x_includes= ;;
31558 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31560 case $ac_im_usrlibdir in
31561 /usr/lib | /lib) ;;
31562 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31566 rm -f -r conftest.dir
31569 # Standard set of common directories for X headers.
31570 # Check X11 before X11Rn because it is often a symlink to the current release.
31582 /usr/local/X11/include
31583 /usr/local/X11R6/include
31584 /usr/local/X11R5/include
31585 /usr/local/X11R4/include
31587 /usr/local/include/X11
31588 /usr/local/include/X11R6
31589 /usr/local/include/X11R5
31590 /usr/local/include/X11R4
31594 /usr/XFree86/include/X11
31598 /usr/unsupported/include
31599 /usr/athena/include
31600 /usr/local/x11r5/include
31601 /usr/lpp/Xamples/include
31603 /usr/openwin/include
31604 /usr/openwin/share/include'
31606 if test "$ac_x_includes" = no; then
31607 # Guess where to find include files, by looking for Xlib.h.
31608 # First, try using that file with no special directory specified.
31609 cat >conftest.$ac_ext <<_ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615 #include <X11/Xlib.h>
31617 if { (ac_try="$ac_cpp conftest.$ac_ext"
31618 case "(($ac_try" in
31619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31620 *) ac_try_echo=$ac_try;;
31622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31625 grep -v '^ *+' conftest.er1 >conftest.err
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } >/dev/null && {
31630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31631 test ! -s conftest.err
31633 # We can compile using X headers with no special include directory.
31636 echo "$as_me: failed program was:" >&5
31637 sed 's/^/| /' conftest.$ac_ext >&5
31639 for ac_dir in $ac_x_header_dirs; do
31640 if test -r "$ac_dir/X11/Xlib.h"; then
31641 ac_x_includes=$ac_dir
31647 rm -f conftest.err conftest.$ac_ext
31648 fi # $ac_x_includes = no
31650 if test "$ac_x_libraries" = no; then
31651 # Check for the libraries.
31652 # See if we find them without any special options.
31653 # Don't add to $LIBS permanently.
31656 cat >conftest.$ac_ext <<_ACEOF
31659 cat confdefs.h >>conftest.$ac_ext
31660 cat >>conftest.$ac_ext <<_ACEOF
31661 /* end confdefs.h. */
31662 #include <X11/Xlib.h>
31671 rm -f conftest.$ac_objext conftest$ac_exeext
31672 if { (ac_try="$ac_link"
31673 case "(($ac_try" in
31674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31675 *) ac_try_echo=$ac_try;;
31677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31678 (eval "$ac_link") 2>conftest.er1
31680 grep -v '^ *+' conftest.er1 >conftest.err
31682 cat conftest.err >&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); } && {
31685 test -z "$ac_c_werror_flag" ||
31686 test ! -s conftest.err
31687 } && test -s conftest$ac_exeext &&
31688 $as_test_x conftest$ac_exeext; then
31690 # We can link X programs with no special library path.
31693 echo "$as_me: failed program was:" >&5
31694 sed 's/^/| /' conftest.$ac_ext >&5
31697 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31699 # Don't even attempt the hair of trying to link an X program!
31700 for ac_extension in a so sl; do
31701 if test -r "$ac_dir/libX11.$ac_extension"; then
31702 ac_x_libraries=$ac_dir
31709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31710 conftest$ac_exeext conftest.$ac_ext
31711 fi # $ac_x_libraries = no
31713 case $ac_x_includes,$ac_x_libraries in #(
31714 no,* | *,no | *\'*)
31715 # Didn't find X, or a directory has "'" in its name.
31716 ac_cv_have_x="have_x=no";; #(
31718 # Record where we found X for the cache.
31719 ac_cv_have_x="have_x=yes\
31720 ac_x_includes='$ac_x_includes'\
31721 ac_x_libraries='$ac_x_libraries'"
31727 eval "$ac_cv_have_x"
31730 if test "$have_x" != yes; then
31731 { echo "$as_me:$LINENO: result: $have_x" >&5
31732 echo "${ECHO_T}$have_x" >&6; }
31735 # If each of the values was on the command line, it overrides each guess.
31736 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31737 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31738 # Update the cache value to reflect the command line values.
31739 ac_cv_have_x="have_x=yes\
31740 ac_x_includes='$x_includes'\
31741 ac_x_libraries='$x_libraries'"
31742 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31743 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31746 if test "$no_x" = yes; then
31747 # Not all programs may use this symbol, but it does not hurt to define it.
31749 cat >>confdefs.h <<\_ACEOF
31750 #define X_DISPLAY_MISSING 1
31753 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31755 if test -n "$x_includes"; then
31756 X_CFLAGS="$X_CFLAGS -I$x_includes"
31759 # It would also be nice to do this for all -L options, not just this one.
31760 if test -n "$x_libraries"; then
31761 X_LIBS="$X_LIBS -L$x_libraries"
31762 # For Solaris; some versions of Sun CC require a space after -R and
31763 # others require no space. Words are not sufficient . . . .
31764 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31765 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31766 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31767 ac_xsave_c_werror_flag=$ac_c_werror_flag
31768 ac_c_werror_flag=yes
31769 cat >conftest.$ac_ext <<_ACEOF
31772 cat confdefs.h >>conftest.$ac_ext
31773 cat >>conftest.$ac_ext <<_ACEOF
31774 /* end confdefs.h. */
31784 rm -f conftest.$ac_objext conftest$ac_exeext
31785 if { (ac_try="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31793 grep -v '^ *+' conftest.er1 >conftest.err
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 { echo "$as_me:$LINENO: result: no" >&5
31803 echo "${ECHO_T}no" >&6; }
31804 X_LIBS="$X_LIBS -R$x_libraries"
31806 echo "$as_me: failed program was:" >&5
31807 sed 's/^/| /' conftest.$ac_ext >&5
31809 LIBS="$ac_xsave_LIBS -R $x_libraries"
31810 cat >conftest.$ac_ext <<_ACEOF
31813 cat confdefs.h >>conftest.$ac_ext
31814 cat >>conftest.$ac_ext <<_ACEOF
31815 /* end confdefs.h. */
31825 rm -f conftest.$ac_objext conftest$ac_exeext
31826 if { (ac_try="$ac_link"
31827 case "(($ac_try" in
31828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31829 *) ac_try_echo=$ac_try;;
31831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31832 (eval "$ac_link") 2>conftest.er1
31834 grep -v '^ *+' conftest.er1 >conftest.err
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } && {
31839 test -z "$ac_c_werror_flag" ||
31840 test ! -s conftest.err
31841 } && test -s conftest$ac_exeext &&
31842 $as_test_x conftest$ac_exeext; then
31843 { echo "$as_me:$LINENO: result: yes" >&5
31844 echo "${ECHO_T}yes" >&6; }
31845 X_LIBS="$X_LIBS -R $x_libraries"
31847 echo "$as_me: failed program was:" >&5
31848 sed 's/^/| /' conftest.$ac_ext >&5
31850 { echo "$as_me:$LINENO: result: neither works" >&5
31851 echo "${ECHO_T}neither works" >&6; }
31854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31855 conftest$ac_exeext conftest.$ac_ext
31858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31859 conftest$ac_exeext conftest.$ac_ext
31860 ac_c_werror_flag=$ac_xsave_c_werror_flag
31861 LIBS=$ac_xsave_LIBS
31864 # Check for system-dependent libraries X programs must link with.
31865 # Do this before checking for the system-independent R6 libraries
31866 # (-lICE), since we may need -lsocket or whatever for X linking.
31868 if test "$ISC" = yes; then
31869 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31871 # Martyn Johnson says this is needed for Ultrix, if the X
31872 # libraries were built with DECnet support. And Karl Berry says
31873 # the Alpha needs dnet_stub (dnet does not exist).
31874 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31875 cat >conftest.$ac_ext <<_ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31882 /* Override any GCC internal prototype to avoid an error.
31883 Use char because int might match the return type of a GCC
31884 builtin and then its argument prototype would still apply. */
31888 char XOpenDisplay ();
31892 return XOpenDisplay ();
31897 rm -f conftest.$ac_objext conftest$ac_exeext
31898 if { (ac_try="$ac_link"
31899 case "(($ac_try" in
31900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31901 *) ac_try_echo=$ac_try;;
31903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31904 (eval "$ac_link") 2>conftest.er1
31906 grep -v '^ *+' conftest.er1 >conftest.err
31908 cat conftest.err >&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } && {
31911 test -z "$ac_c_werror_flag" ||
31912 test ! -s conftest.err
31913 } && test -s conftest$ac_exeext &&
31914 $as_test_x conftest$ac_exeext; then
31917 echo "$as_me: failed program was:" >&5
31918 sed 's/^/| /' conftest.$ac_ext >&5
31920 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31921 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31922 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31923 echo $ECHO_N "(cached) $ECHO_C" >&6
31925 ac_check_lib_save_LIBS=$LIBS
31926 LIBS="-ldnet $LIBS"
31927 cat >conftest.$ac_ext <<_ACEOF
31930 cat confdefs.h >>conftest.$ac_ext
31931 cat >>conftest.$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31934 /* Override any GCC internal prototype to avoid an error.
31935 Use char because int might match the return type of a GCC
31936 builtin and then its argument prototype would still apply. */
31944 return dnet_ntoa ();
31949 rm -f conftest.$ac_objext conftest$ac_exeext
31950 if { (ac_try="$ac_link"
31951 case "(($ac_try" in
31952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31953 *) ac_try_echo=$ac_try;;
31955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31956 (eval "$ac_link") 2>conftest.er1
31958 grep -v '^ *+' conftest.er1 >conftest.err
31960 cat conftest.err >&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); } && {
31963 test -z "$ac_c_werror_flag" ||
31964 test ! -s conftest.err
31965 } && test -s conftest$ac_exeext &&
31966 $as_test_x conftest$ac_exeext; then
31967 ac_cv_lib_dnet_dnet_ntoa=yes
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31972 ac_cv_lib_dnet_dnet_ntoa=no
31975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31976 conftest$ac_exeext conftest.$ac_ext
31977 LIBS=$ac_check_lib_save_LIBS
31979 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31980 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31981 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31982 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31985 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31986 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31987 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31988 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31989 echo $ECHO_N "(cached) $ECHO_C" >&6
31991 ac_check_lib_save_LIBS=$LIBS
31992 LIBS="-ldnet_stub $LIBS"
31993 cat >conftest.$ac_ext <<_ACEOF
31996 cat confdefs.h >>conftest.$ac_ext
31997 cat >>conftest.$ac_ext <<_ACEOF
31998 /* end confdefs.h. */
32000 /* Override any GCC internal prototype to avoid an error.
32001 Use char because int might match the return type of a GCC
32002 builtin and then its argument prototype would still apply. */
32010 return dnet_ntoa ();
32015 rm -f conftest.$ac_objext conftest$ac_exeext
32016 if { (ac_try="$ac_link"
32017 case "(($ac_try" in
32018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32019 *) ac_try_echo=$ac_try;;
32021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32022 (eval "$ac_link") 2>conftest.er1
32024 grep -v '^ *+' conftest.er1 >conftest.err
32026 cat conftest.err >&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); } && {
32029 test -z "$ac_c_werror_flag" ||
32030 test ! -s conftest.err
32031 } && test -s conftest$ac_exeext &&
32032 $as_test_x conftest$ac_exeext; then
32033 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32035 echo "$as_me: failed program was:" >&5
32036 sed 's/^/| /' conftest.$ac_ext >&5
32038 ac_cv_lib_dnet_stub_dnet_ntoa=no
32041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32042 conftest$ac_exeext conftest.$ac_ext
32043 LIBS=$ac_check_lib_save_LIBS
32045 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32046 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32047 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32048 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32055 conftest$ac_exeext conftest.$ac_ext
32056 LIBS="$ac_xsave_LIBS"
32058 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32059 # to get the SysV transport functions.
32060 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32062 # The nsl library prevents programs from opening the X display
32063 # on Irix 5.2, according to T.E. Dickey.
32064 # The functions gethostbyname, getservbyname, and inet_addr are
32065 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32066 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32067 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32068 if test "${ac_cv_func_gethostbyname+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32071 cat >conftest.$ac_ext <<_ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32077 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32079 #define gethostbyname innocuous_gethostbyname
32081 /* System header to define __stub macros and hopefully few prototypes,
32082 which can conflict with char gethostbyname (); below.
32083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32084 <limits.h> exists even on freestanding compilers. */
32087 # include <limits.h>
32089 # include <assert.h>
32092 #undef gethostbyname
32094 /* Override any GCC internal prototype to avoid an error.
32095 Use char because int might match the return type of a GCC
32096 builtin and then its argument prototype would still apply. */
32100 char gethostbyname ();
32101 /* The GNU C library defines this for functions which it implements
32102 to always fail with ENOSYS. Some functions are actually named
32103 something starting with __ and the normal name is an alias. */
32104 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32111 return gethostbyname ();
32116 rm -f conftest.$ac_objext conftest$ac_exeext
32117 if { (ac_try="$ac_link"
32118 case "(($ac_try" in
32119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32120 *) ac_try_echo=$ac_try;;
32122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32123 (eval "$ac_link") 2>conftest.er1
32125 grep -v '^ *+' conftest.er1 >conftest.err
32127 cat conftest.err >&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); } && {
32130 test -z "$ac_c_werror_flag" ||
32131 test ! -s conftest.err
32132 } && test -s conftest$ac_exeext &&
32133 $as_test_x conftest$ac_exeext; then
32134 ac_cv_func_gethostbyname=yes
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.$ac_ext >&5
32139 ac_cv_func_gethostbyname=no
32142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32143 conftest$ac_exeext conftest.$ac_ext
32145 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32146 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32148 if test $ac_cv_func_gethostbyname = no; then
32149 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32150 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32151 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 ac_check_lib_save_LIBS=$LIBS
32156 cat >conftest.$ac_ext <<_ACEOF
32159 cat confdefs.h >>conftest.$ac_ext
32160 cat >>conftest.$ac_ext <<_ACEOF
32161 /* end confdefs.h. */
32163 /* Override any GCC internal prototype to avoid an error.
32164 Use char because int might match the return type of a GCC
32165 builtin and then its argument prototype would still apply. */
32169 char gethostbyname ();
32173 return gethostbyname ();
32178 rm -f conftest.$ac_objext conftest$ac_exeext
32179 if { (ac_try="$ac_link"
32180 case "(($ac_try" in
32181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32182 *) ac_try_echo=$ac_try;;
32184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32185 (eval "$ac_link") 2>conftest.er1
32187 grep -v '^ *+' conftest.er1 >conftest.err
32189 cat conftest.err >&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } && {
32192 test -z "$ac_c_werror_flag" ||
32193 test ! -s conftest.err
32194 } && test -s conftest$ac_exeext &&
32195 $as_test_x conftest$ac_exeext; then
32196 ac_cv_lib_nsl_gethostbyname=yes
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.$ac_ext >&5
32201 ac_cv_lib_nsl_gethostbyname=no
32204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32205 conftest$ac_exeext conftest.$ac_ext
32206 LIBS=$ac_check_lib_save_LIBS
32208 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32209 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32210 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32211 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32214 if test $ac_cv_lib_nsl_gethostbyname = no; then
32215 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32216 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32217 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32218 echo $ECHO_N "(cached) $ECHO_C" >&6
32220 ac_check_lib_save_LIBS=$LIBS
32222 cat >conftest.$ac_ext <<_ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32229 /* Override any GCC internal prototype to avoid an error.
32230 Use char because int might match the return type of a GCC
32231 builtin and then its argument prototype would still apply. */
32235 char gethostbyname ();
32239 return gethostbyname ();
32244 rm -f conftest.$ac_objext conftest$ac_exeext
32245 if { (ac_try="$ac_link"
32246 case "(($ac_try" in
32247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32248 *) ac_try_echo=$ac_try;;
32250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32251 (eval "$ac_link") 2>conftest.er1
32253 grep -v '^ *+' conftest.er1 >conftest.err
32255 cat conftest.err >&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } && {
32258 test -z "$ac_c_werror_flag" ||
32259 test ! -s conftest.err
32260 } && test -s conftest$ac_exeext &&
32261 $as_test_x conftest$ac_exeext; then
32262 ac_cv_lib_bsd_gethostbyname=yes
32264 echo "$as_me: failed program was:" >&5
32265 sed 's/^/| /' conftest.$ac_ext >&5
32267 ac_cv_lib_bsd_gethostbyname=no
32270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32271 conftest$ac_exeext conftest.$ac_ext
32272 LIBS=$ac_check_lib_save_LIBS
32274 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32275 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32276 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32277 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32283 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32284 # socket/setsockopt and other routines are undefined under SCO ODT
32285 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32286 # on later versions), says Simon Leinen: it contains gethostby*
32287 # variants that don't use the name server (or something). -lsocket
32288 # must be given before -lnsl if both are needed. We assume that
32289 # if connect needs -lnsl, so does gethostbyname.
32290 { echo "$as_me:$LINENO: checking for connect" >&5
32291 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32292 if test "${ac_cv_func_connect+set}" = set; then
32293 echo $ECHO_N "(cached) $ECHO_C" >&6
32295 cat >conftest.$ac_ext <<_ACEOF
32298 cat confdefs.h >>conftest.$ac_ext
32299 cat >>conftest.$ac_ext <<_ACEOF
32300 /* end confdefs.h. */
32301 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32303 #define connect innocuous_connect
32305 /* System header to define __stub macros and hopefully few prototypes,
32306 which can conflict with char connect (); below.
32307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32308 <limits.h> exists even on freestanding compilers. */
32311 # include <limits.h>
32313 # include <assert.h>
32318 /* Override any GCC internal prototype to avoid an error.
32319 Use char because int might match the return type of a GCC
32320 builtin and then its argument prototype would still apply. */
32325 /* The GNU C library defines this for functions which it implements
32326 to always fail with ENOSYS. Some functions are actually named
32327 something starting with __ and the normal name is an alias. */
32328 #if defined __stub_connect || defined __stub___connect
32340 rm -f conftest.$ac_objext conftest$ac_exeext
32341 if { (ac_try="$ac_link"
32342 case "(($ac_try" in
32343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32344 *) ac_try_echo=$ac_try;;
32346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32347 (eval "$ac_link") 2>conftest.er1
32349 grep -v '^ *+' conftest.er1 >conftest.err
32351 cat conftest.err >&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } && {
32354 test -z "$ac_c_werror_flag" ||
32355 test ! -s conftest.err
32356 } && test -s conftest$ac_exeext &&
32357 $as_test_x conftest$ac_exeext; then
32358 ac_cv_func_connect=yes
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.$ac_ext >&5
32363 ac_cv_func_connect=no
32366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32367 conftest$ac_exeext conftest.$ac_ext
32369 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32370 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32372 if test $ac_cv_func_connect = no; then
32373 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32374 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32375 if test "${ac_cv_lib_socket_connect+set}" = set; then
32376 echo $ECHO_N "(cached) $ECHO_C" >&6
32378 ac_check_lib_save_LIBS=$LIBS
32379 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32380 cat >conftest.$ac_ext <<_ACEOF
32383 cat confdefs.h >>conftest.$ac_ext
32384 cat >>conftest.$ac_ext <<_ACEOF
32385 /* end confdefs.h. */
32387 /* Override any GCC internal prototype to avoid an error.
32388 Use char because int might match the return type of a GCC
32389 builtin and then its argument prototype would still apply. */
32402 rm -f conftest.$ac_objext conftest$ac_exeext
32403 if { (ac_try="$ac_link"
32404 case "(($ac_try" in
32405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32406 *) ac_try_echo=$ac_try;;
32408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32409 (eval "$ac_link") 2>conftest.er1
32411 grep -v '^ *+' conftest.er1 >conftest.err
32413 cat conftest.err >&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } && {
32416 test -z "$ac_c_werror_flag" ||
32417 test ! -s conftest.err
32418 } && test -s conftest$ac_exeext &&
32419 $as_test_x conftest$ac_exeext; then
32420 ac_cv_lib_socket_connect=yes
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.$ac_ext >&5
32425 ac_cv_lib_socket_connect=no
32428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32429 conftest$ac_exeext conftest.$ac_ext
32430 LIBS=$ac_check_lib_save_LIBS
32432 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32433 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32434 if test $ac_cv_lib_socket_connect = yes; then
32435 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32440 # Guillermo Gomez says -lposix is necessary on A/UX.
32441 { echo "$as_me:$LINENO: checking for remove" >&5
32442 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32443 if test "${ac_cv_func_remove+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 cat >conftest.$ac_ext <<_ACEOF
32449 cat confdefs.h >>conftest.$ac_ext
32450 cat >>conftest.$ac_ext <<_ACEOF
32451 /* end confdefs.h. */
32452 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32454 #define remove innocuous_remove
32456 /* System header to define __stub macros and hopefully few prototypes,
32457 which can conflict with char remove (); below.
32458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32459 <limits.h> exists even on freestanding compilers. */
32462 # include <limits.h>
32464 # include <assert.h>
32469 /* Override any GCC internal prototype to avoid an error.
32470 Use char because int might match the return type of a GCC
32471 builtin and then its argument prototype would still apply. */
32476 /* The GNU C library defines this for functions which it implements
32477 to always fail with ENOSYS. Some functions are actually named
32478 something starting with __ and the normal name is an alias. */
32479 #if defined __stub_remove || defined __stub___remove
32491 rm -f conftest.$ac_objext conftest$ac_exeext
32492 if { (ac_try="$ac_link"
32493 case "(($ac_try" in
32494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32495 *) ac_try_echo=$ac_try;;
32497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32498 (eval "$ac_link") 2>conftest.er1
32500 grep -v '^ *+' conftest.er1 >conftest.err
32502 cat conftest.err >&5
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); } && {
32505 test -z "$ac_c_werror_flag" ||
32506 test ! -s conftest.err
32507 } && test -s conftest$ac_exeext &&
32508 $as_test_x conftest$ac_exeext; then
32509 ac_cv_func_remove=yes
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.$ac_ext >&5
32514 ac_cv_func_remove=no
32517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32518 conftest$ac_exeext conftest.$ac_ext
32520 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32521 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32523 if test $ac_cv_func_remove = no; then
32524 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32525 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32526 if test "${ac_cv_lib_posix_remove+set}" = set; then
32527 echo $ECHO_N "(cached) $ECHO_C" >&6
32529 ac_check_lib_save_LIBS=$LIBS
32530 LIBS="-lposix $LIBS"
32531 cat >conftest.$ac_ext <<_ACEOF
32534 cat confdefs.h >>conftest.$ac_ext
32535 cat >>conftest.$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32538 /* Override any GCC internal prototype to avoid an error.
32539 Use char because int might match the return type of a GCC
32540 builtin and then its argument prototype would still apply. */
32553 rm -f conftest.$ac_objext conftest$ac_exeext
32554 if { (ac_try="$ac_link"
32555 case "(($ac_try" in
32556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32557 *) ac_try_echo=$ac_try;;
32559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32560 (eval "$ac_link") 2>conftest.er1
32562 grep -v '^ *+' conftest.er1 >conftest.err
32564 cat conftest.err >&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); } && {
32567 test -z "$ac_c_werror_flag" ||
32568 test ! -s conftest.err
32569 } && test -s conftest$ac_exeext &&
32570 $as_test_x conftest$ac_exeext; then
32571 ac_cv_lib_posix_remove=yes
32573 echo "$as_me: failed program was:" >&5
32574 sed 's/^/| /' conftest.$ac_ext >&5
32576 ac_cv_lib_posix_remove=no
32579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32580 conftest$ac_exeext conftest.$ac_ext
32581 LIBS=$ac_check_lib_save_LIBS
32583 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32584 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32585 if test $ac_cv_lib_posix_remove = yes; then
32586 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32591 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32592 { echo "$as_me:$LINENO: checking for shmat" >&5
32593 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32594 if test "${ac_cv_func_shmat+set}" = set; then
32595 echo $ECHO_N "(cached) $ECHO_C" >&6
32597 cat >conftest.$ac_ext <<_ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32603 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32605 #define shmat innocuous_shmat
32607 /* System header to define __stub macros and hopefully few prototypes,
32608 which can conflict with char shmat (); below.
32609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32610 <limits.h> exists even on freestanding compilers. */
32613 # include <limits.h>
32615 # include <assert.h>
32620 /* Override any GCC internal prototype to avoid an error.
32621 Use char because int might match the return type of a GCC
32622 builtin and then its argument prototype would still apply. */
32627 /* The GNU C library defines this for functions which it implements
32628 to always fail with ENOSYS. Some functions are actually named
32629 something starting with __ and the normal name is an alias. */
32630 #if defined __stub_shmat || defined __stub___shmat
32642 rm -f conftest.$ac_objext conftest$ac_exeext
32643 if { (ac_try="$ac_link"
32644 case "(($ac_try" in
32645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32646 *) ac_try_echo=$ac_try;;
32648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32649 (eval "$ac_link") 2>conftest.er1
32651 grep -v '^ *+' conftest.er1 >conftest.err
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } && {
32656 test -z "$ac_c_werror_flag" ||
32657 test ! -s conftest.err
32658 } && test -s conftest$ac_exeext &&
32659 $as_test_x conftest$ac_exeext; then
32660 ac_cv_func_shmat=yes
32662 echo "$as_me: failed program was:" >&5
32663 sed 's/^/| /' conftest.$ac_ext >&5
32665 ac_cv_func_shmat=no
32668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32669 conftest$ac_exeext conftest.$ac_ext
32671 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32672 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32674 if test $ac_cv_func_shmat = no; then
32675 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32676 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32677 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32678 echo $ECHO_N "(cached) $ECHO_C" >&6
32680 ac_check_lib_save_LIBS=$LIBS
32682 cat >conftest.$ac_ext <<_ACEOF
32685 cat confdefs.h >>conftest.$ac_ext
32686 cat >>conftest.$ac_ext <<_ACEOF
32687 /* end confdefs.h. */
32689 /* Override any GCC internal prototype to avoid an error.
32690 Use char because int might match the return type of a GCC
32691 builtin and then its argument prototype would still apply. */
32704 rm -f conftest.$ac_objext conftest$ac_exeext
32705 if { (ac_try="$ac_link"
32706 case "(($ac_try" in
32707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32708 *) ac_try_echo=$ac_try;;
32710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32711 (eval "$ac_link") 2>conftest.er1
32713 grep -v '^ *+' conftest.er1 >conftest.err
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } && {
32718 test -z "$ac_c_werror_flag" ||
32719 test ! -s conftest.err
32720 } && test -s conftest$ac_exeext &&
32721 $as_test_x conftest$ac_exeext; then
32722 ac_cv_lib_ipc_shmat=yes
32724 echo "$as_me: failed program was:" >&5
32725 sed 's/^/| /' conftest.$ac_ext >&5
32727 ac_cv_lib_ipc_shmat=no
32730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32731 conftest$ac_exeext conftest.$ac_ext
32732 LIBS=$ac_check_lib_save_LIBS
32734 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32735 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32736 if test $ac_cv_lib_ipc_shmat = yes; then
32737 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32743 # Check for libraries that X11R6 Xt/Xaw programs need.
32744 ac_save_LDFLAGS=$LDFLAGS
32745 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32746 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32747 # check for ICE first), but we must link in the order -lSM -lICE or
32748 # we get undefined symbols. So assume we have SM if we have ICE.
32749 # These have to be linked with before -lX11, unlike the other
32750 # libraries we check for below, so use a different variable.
32751 # John Interrante, Karl Berry
32752 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32753 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32754 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32755 echo $ECHO_N "(cached) $ECHO_C" >&6
32757 ac_check_lib_save_LIBS=$LIBS
32758 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32759 cat >conftest.$ac_ext <<_ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32766 /* Override any GCC internal prototype to avoid an error.
32767 Use char because int might match the return type of a GCC
32768 builtin and then its argument prototype would still apply. */
32772 char IceConnectionNumber ();
32776 return IceConnectionNumber ();
32781 rm -f conftest.$ac_objext conftest$ac_exeext
32782 if { (ac_try="$ac_link"
32783 case "(($ac_try" in
32784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32785 *) ac_try_echo=$ac_try;;
32787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32788 (eval "$ac_link") 2>conftest.er1
32790 grep -v '^ *+' conftest.er1 >conftest.err
32792 cat conftest.err >&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); } && {
32795 test -z "$ac_c_werror_flag" ||
32796 test ! -s conftest.err
32797 } && test -s conftest$ac_exeext &&
32798 $as_test_x conftest$ac_exeext; then
32799 ac_cv_lib_ICE_IceConnectionNumber=yes
32801 echo "$as_me: failed program was:" >&5
32802 sed 's/^/| /' conftest.$ac_ext >&5
32804 ac_cv_lib_ICE_IceConnectionNumber=no
32807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32808 conftest$ac_exeext conftest.$ac_ext
32809 LIBS=$ac_check_lib_save_LIBS
32811 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32812 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32813 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32814 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32817 LDFLAGS=$ac_save_LDFLAGS
32822 if test "$no_x" = "yes"; then
32823 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32824 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32825 { (exit 1); exit 1; }; }
32828 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32829 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32830 AFMINSTALL=afminstall
32831 COMPILED_X_PROGRAM=0
32835 if test "$wxUSE_X11" = 1; then
32836 if test "$wxUSE_NANOX" = "yes"; then
32837 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32838 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32839 if test "x$MICROWIN" = x ; then
32840 { echo "$as_me:$LINENO: result: not found" >&5
32841 echo "${ECHO_T}not found" >&6; }
32842 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32843 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32844 { (exit 1); exit 1; }; }
32846 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32847 echo "${ECHO_T}$MICROWIN" >&6; }
32848 cat >>confdefs.h <<\_ACEOF
32849 #define wxUSE_NANOX 1
32855 if test "$wxUSE_UNICODE" = "yes"; then
32858 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32859 if test -n "$ac_tool_prefix"; then
32860 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32861 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32865 echo $ECHO_N "(cached) $ECHO_C" >&6
32867 case $PKG_CONFIG in
32869 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32873 for as_dir in $PATH
32876 test -z "$as_dir" && as_dir=.
32877 for ac_exec_ext in '' $ac_executable_extensions; do
32878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32879 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32890 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32891 if test -n "$PKG_CONFIG"; then
32892 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32893 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32895 { echo "$as_me:$LINENO: result: no" >&5
32896 echo "${ECHO_T}no" >&6; }
32901 if test -z "$ac_cv_path_PKG_CONFIG"; then
32902 ac_pt_PKG_CONFIG=$PKG_CONFIG
32903 # Extract the first word of "pkg-config", so it can be a program name with args.
32904 set dummy pkg-config; ac_word=$2
32905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32907 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32910 case $ac_pt_PKG_CONFIG in
32912 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32916 for as_dir in $PATH
32919 test -z "$as_dir" && as_dir=.
32920 for ac_exec_ext in '' $ac_executable_extensions; do
32921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32922 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32933 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32934 if test -n "$ac_pt_PKG_CONFIG"; then
32935 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32936 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32938 { echo "$as_me:$LINENO: result: no" >&5
32939 echo "${ECHO_T}no" >&6; }
32942 if test "x$ac_pt_PKG_CONFIG" = x; then
32945 case $cross_compiling:$ac_tool_warned in
32947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32948 whose name does not start with the host triplet. If you think this
32949 configuration is useful to you, please write to autoconf@gnu.org." >&5
32950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32951 whose name does not start with the host triplet. If you think this
32952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32953 ac_tool_warned=yes ;;
32955 PKG_CONFIG=$ac_pt_PKG_CONFIG
32958 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32962 if test -n "$PKG_CONFIG"; then
32963 _pkg_min_version=0.9.0
32964 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32965 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32966 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32967 { echo "$as_me:$LINENO: result: yes" >&5
32968 echo "${ECHO_T}yes" >&6; }
32970 { echo "$as_me:$LINENO: result: no" >&5
32971 echo "${ECHO_T}no" >&6; }
32979 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32980 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32982 if test -n "$PKG_CONFIG"; then
32983 if test -n "$PANGOX_CFLAGS"; then
32984 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32986 if test -n "$PKG_CONFIG" && \
32987 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32988 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); }; then
32992 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33000 if test -n "$PKG_CONFIG"; then
33001 if test -n "$PANGOX_LIBS"; then
33002 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33004 if test -n "$PKG_CONFIG" && \
33005 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33006 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; then
33010 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33021 if test $pkg_failed = yes; then
33023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33024 _pkg_short_errors_supported=yes
33026 _pkg_short_errors_supported=no
33028 if test $_pkg_short_errors_supported = yes; then
33029 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33031 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33033 # Put the nasty error message in config.log where it belongs
33034 echo "$PANGOX_PKG_ERRORS" >&5
33037 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33038 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33039 { (exit 1); exit 1; }; }
33042 elif test $pkg_failed = untried; then
33044 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33045 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33046 { (exit 1); exit 1; }; }
33050 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33051 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33052 { echo "$as_me:$LINENO: result: yes" >&5
33053 echo "${ECHO_T}yes" >&6; }
33055 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33056 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33062 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33063 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33065 if test -n "$PKG_CONFIG"; then
33066 if test -n "$PANGOFT2_CFLAGS"; then
33067 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33069 if test -n "$PKG_CONFIG" && \
33070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33071 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); }; then
33075 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33083 if test -n "$PKG_CONFIG"; then
33084 if test -n "$PANGOFT2_LIBS"; then
33085 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33087 if test -n "$PKG_CONFIG" && \
33088 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33089 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; then
33093 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33104 if test $pkg_failed = yes; then
33106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33107 _pkg_short_errors_supported=yes
33109 _pkg_short_errors_supported=no
33111 if test $_pkg_short_errors_supported = yes; then
33112 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33114 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33116 # Put the nasty error message in config.log where it belongs
33117 echo "$PANGOFT2_PKG_ERRORS" >&5
33120 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33121 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33122 wxUSE_PRINTING_ARCHITECTURE="no"
33125 elif test $pkg_failed = untried; then
33127 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33128 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33129 wxUSE_PRINTING_ARCHITECTURE="no"
33133 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33134 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33135 { echo "$as_me:$LINENO: result: yes" >&5
33136 echo "${ECHO_T}yes" >&6; }
33138 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33139 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33140 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33145 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33146 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33148 if test -n "$PKG_CONFIG"; then
33149 if test -n "$PANGOXFT_CFLAGS"; then
33150 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33152 if test -n "$PKG_CONFIG" && \
33153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33154 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; then
33158 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33166 if test -n "$PKG_CONFIG"; then
33167 if test -n "$PANGOXFT_LIBS"; then
33168 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33170 if test -n "$PKG_CONFIG" && \
33171 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33172 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175 (exit $ac_status); }; then
33176 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33187 if test $pkg_failed = yes; then
33189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33190 _pkg_short_errors_supported=yes
33192 _pkg_short_errors_supported=no
33194 if test $_pkg_short_errors_supported = yes; then
33195 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33197 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33199 # Put the nasty error message in config.log where it belongs
33200 echo "$PANGOXFT_PKG_ERRORS" >&5
33203 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33204 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33207 elif test $pkg_failed = untried; then
33209 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33210 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33214 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33215 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33216 { echo "$as_me:$LINENO: result: yes" >&5
33217 echo "${ECHO_T}yes" >&6; }
33219 cat >>confdefs.h <<\_ACEOF
33220 #define HAVE_PANGO_XFT 1
33223 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33224 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33229 LIBS="$LIBS $PANGOX_LIBS"
33231 for ac_func in pango_font_family_is_monospace
33233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33237 echo $ECHO_N "(cached) $ECHO_C" >&6
33239 cat >conftest.$ac_ext <<_ACEOF
33242 cat confdefs.h >>conftest.$ac_ext
33243 cat >>conftest.$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33247 #define $ac_func innocuous_$ac_func
33249 /* System header to define __stub macros and hopefully few prototypes,
33250 which can conflict with char $ac_func (); below.
33251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33252 <limits.h> exists even on freestanding compilers. */
33255 # include <limits.h>
33257 # include <assert.h>
33262 /* Override any GCC internal prototype to avoid an error.
33263 Use char because int might match the return type of a GCC
33264 builtin and then its argument prototype would still apply. */
33269 /* The GNU C library defines this for functions which it implements
33270 to always fail with ENOSYS. Some functions are actually named
33271 something starting with __ and the normal name is an alias. */
33272 #if defined __stub_$ac_func || defined __stub___$ac_func
33279 return $ac_func ();
33284 rm -f conftest.$ac_objext conftest$ac_exeext
33285 if { (ac_try="$ac_link"
33286 case "(($ac_try" in
33287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33288 *) ac_try_echo=$ac_try;;
33290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33291 (eval "$ac_link") 2>conftest.er1
33293 grep -v '^ *+' conftest.er1 >conftest.err
33295 cat conftest.err >&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } && {
33298 test -z "$ac_c_werror_flag" ||
33299 test ! -s conftest.err
33300 } && test -s conftest$ac_exeext &&
33301 $as_test_x conftest$ac_exeext; then
33302 eval "$as_ac_var=yes"
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.$ac_ext >&5
33307 eval "$as_ac_var=no"
33310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33311 conftest$ac_exeext conftest.$ac_ext
33313 ac_res=`eval echo '${'$as_ac_var'}'`
33314 { echo "$as_me:$LINENO: result: $ac_res" >&5
33315 echo "${ECHO_T}$ac_res" >&6; }
33316 if test `eval echo '${'$as_ac_var'}'` = yes; then
33317 cat >>confdefs.h <<_ACEOF
33318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33327 wxUSE_UNIVERSAL="yes"
33329 if test "$wxUSE_NANOX" = "yes"; then
33330 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33331 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"
33332 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33334 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33341 if test "$wxUSE_MOTIF" = 1; then
33342 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33343 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33346 for ac_dir in $SEARCH_INCLUDE /usr/include
33348 if test -f "$ac_dir/Xm/Xm.h"; then
33349 ac_find_includes=$ac_dir
33354 if test "$ac_find_includes" != "" ; then
33355 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33356 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33358 if test "x$ac_find_includes" = "x/usr/include"; then
33359 ac_path_to_include=""
33361 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33363 if test $result = 0; then
33364 ac_path_to_include=""
33366 ac_path_to_include=" -I$ac_find_includes"
33370 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33372 save_CFLAGS=$CFLAGS
33373 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33375 cat >conftest.$ac_ext <<_ACEOF
33378 cat confdefs.h >>conftest.$ac_ext
33379 cat >>conftest.$ac_ext <<_ACEOF
33380 /* end confdefs.h. */
33389 version = xmUseVersion;
33395 rm -f conftest.$ac_objext
33396 if { (ac_try="$ac_compile"
33397 case "(($ac_try" in
33398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33399 *) ac_try_echo=$ac_try;;
33401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402 (eval "$ac_compile") 2>conftest.er1
33404 grep -v '^ *+' conftest.er1 >conftest.err
33406 cat conftest.err >&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } && {
33409 test -z "$ac_c_werror_flag" ||
33410 test ! -s conftest.err
33411 } && test -s conftest.$ac_objext; then
33413 { echo "$as_me:$LINENO: result: found in default search path" >&5
33414 echo "${ECHO_T}found in default search path" >&6; }
33415 COMPILED_X_PROGRAM=1
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33422 { echo "$as_me:$LINENO: result: no" >&5
33423 echo "${ECHO_T}no" >&6; }
33424 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33425 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33426 { (exit 1); exit 1; }; }
33431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33433 CFLAGS=$save_CFLAGS
33437 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33438 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33441 for ac_dir in $SEARCH_LIB
33443 for ac_extension in a so sl dylib dll.a; do
33444 if test -f "$ac_dir/libXm.$ac_extension"; then
33445 ac_find_libraries=$ac_dir
33452 if test "x$ac_find_libraries" != "x" ; then
33453 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33454 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33457 if test "$ac_find_libraries" = "default location"; then
33460 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33462 if test $result = 0; then
33465 ac_path_to_link=" -L$ac_find_libraries"
33469 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33471 save_CFLAGS=$CFLAGS
33472 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33474 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33476 cat >conftest.$ac_ext <<_ACEOF
33479 cat confdefs.h >>conftest.$ac_ext
33480 cat >>conftest.$ac_ext <<_ACEOF
33481 /* end confdefs.h. */
33490 version = xmUseVersion;
33496 rm -f conftest.$ac_objext conftest$ac_exeext
33497 if { (ac_try="$ac_link"
33498 case "(($ac_try" in
33499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33500 *) ac_try_echo=$ac_try;;
33502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33503 (eval "$ac_link") 2>conftest.er1
33505 grep -v '^ *+' conftest.er1 >conftest.err
33507 cat conftest.err >&5
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); } && {
33510 test -z "$ac_c_werror_flag" ||
33511 test ! -s conftest.err
33512 } && test -s conftest$ac_exeext &&
33513 $as_test_x conftest$ac_exeext; then
33515 { echo "$as_me:$LINENO: result: found in default search path" >&5
33516 echo "${ECHO_T}found in default search path" >&6; }
33517 COMPILED_X_PROGRAM=1
33520 echo "$as_me: failed program was:" >&5
33521 sed 's/^/| /' conftest.$ac_ext >&5
33524 { echo "$as_me:$LINENO: result: no" >&5
33525 echo "${ECHO_T}no" >&6; }
33526 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33527 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33528 { (exit 1); exit 1; }; }
33533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33534 conftest$ac_exeext conftest.$ac_ext
33536 CFLAGS=$save_CFLAGS
33540 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33541 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33545 for libp in "" " -lXp"; do
33546 if test "$libs_found" = 0; then
33547 for libsm_ice in "" " -lSM -lICE"; do
33548 if test "$libs_found" = 0; then
33550 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33551 save_CFLAGS=$CFLAGS
33552 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33554 cat >conftest.$ac_ext <<_ACEOF
33557 cat confdefs.h >>conftest.$ac_ext
33558 cat >>conftest.$ac_ext <<_ACEOF
33559 /* end confdefs.h. */
33562 #include <Xm/List.h>
33568 XmString string = NULL;
33571 XmListAddItem(w, string, position);
33577 rm -f conftest.$ac_objext conftest$ac_exeext
33578 if { (ac_try="$ac_link"
33579 case "(($ac_try" in
33580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33581 *) ac_try_echo=$ac_try;;
33583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33584 (eval "$ac_link") 2>conftest.er1
33586 grep -v '^ *+' conftest.er1 >conftest.err
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } && {
33591 test -z "$ac_c_werror_flag" ||
33592 test ! -s conftest.err
33593 } && test -s conftest$ac_exeext &&
33594 $as_test_x conftest$ac_exeext; then
33597 libsm_ice_link="$libsm_ice"
33598 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33599 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33603 echo "$as_me: failed program was:" >&5
33604 sed 's/^/| /' conftest.$ac_ext >&5
33610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33611 conftest$ac_exeext conftest.$ac_ext
33614 CFLAGS=$save_CFLAGS
33620 if test "$libs_found" = 0; then
33621 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33622 echo "${ECHO_T}can't find the right libraries" >&6; }
33623 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33624 echo "$as_me: error: can't link a simple motif program" >&2;}
33625 { (exit 1); exit 1; }; }
33628 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33629 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33630 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33631 echo $ECHO_N "(cached) $ECHO_C" >&6
33633 ac_check_lib_save_LIBS=$LIBS
33635 cat >conftest.$ac_ext <<_ACEOF
33638 cat confdefs.h >>conftest.$ac_ext
33639 cat >>conftest.$ac_ext <<_ACEOF
33640 /* end confdefs.h. */
33642 /* Override any GCC internal prototype to avoid an error.
33643 Use char because int might match the return type of a GCC
33644 builtin and then its argument prototype would still apply. */
33648 char SgCreateList ();
33652 return SgCreateList ();
33657 rm -f conftest.$ac_objext conftest$ac_exeext
33658 if { (ac_try="$ac_link"
33659 case "(($ac_try" in
33660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33661 *) ac_try_echo=$ac_try;;
33663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33664 (eval "$ac_link") 2>conftest.er1
33666 grep -v '^ *+' conftest.er1 >conftest.err
33668 cat conftest.err >&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } && {
33671 test -z "$ac_c_werror_flag" ||
33672 test ! -s conftest.err
33673 } && test -s conftest$ac_exeext &&
33674 $as_test_x conftest$ac_exeext; then
33675 ac_cv_lib_Sgm_SgCreateList=yes
33677 echo "$as_me: failed program was:" >&5
33678 sed 's/^/| /' conftest.$ac_ext >&5
33680 ac_cv_lib_Sgm_SgCreateList=no
33683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33684 conftest$ac_exeext conftest.$ac_ext
33685 LIBS=$ac_check_lib_save_LIBS
33687 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33688 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33689 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33690 libsgm_link=" -lSgm"
33694 save_CFLAGS=$CFLAGS
33695 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33697 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33698 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33699 if test "${wx_cv_lib_motif2+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33702 cat >conftest.$ac_ext <<_ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33715 #if XmVersion < 2000
33723 rm -f conftest.$ac_objext
33724 if { (ac_try="$ac_compile"
33725 case "(($ac_try" in
33726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33727 *) ac_try_echo=$ac_try;;
33729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33730 (eval "$ac_compile") 2>conftest.er1
33732 grep -v '^ *+' conftest.er1 >conftest.err
33734 cat conftest.err >&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } && {
33737 test -z "$ac_c_werror_flag" ||
33738 test ! -s conftest.err
33739 } && test -s conftest.$ac_objext; then
33740 wx_cv_lib_motif2="yes"
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.$ac_ext >&5
33745 wx_cv_lib_motif2="no"
33748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33750 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33751 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33752 if test "$wx_cv_lib_motif2" = "yes"; then
33753 cat >>confdefs.h <<\_ACEOF
33754 #define __WXMOTIF20__ 1
33758 cat >>confdefs.h <<\_ACEOF
33759 #define __WXMOTIF20__ 0
33764 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33765 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33766 if test "${wx_cv_lib_lesstif+set}" = set; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33769 cat >conftest.$ac_ext <<_ACEOF
33772 cat confdefs.h >>conftest.$ac_ext
33773 cat >>conftest.$ac_ext <<_ACEOF
33774 /* end confdefs.h. */
33782 #if !defined(LesstifVersion) || LesstifVersion <= 0
33790 rm -f conftest.$ac_objext
33791 if { (ac_try="$ac_compile"
33792 case "(($ac_try" in
33793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33794 *) ac_try_echo=$ac_try;;
33796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33797 (eval "$ac_compile") 2>conftest.er1
33799 grep -v '^ *+' conftest.er1 >conftest.err
33801 cat conftest.err >&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); } && {
33804 test -z "$ac_c_werror_flag" ||
33805 test ! -s conftest.err
33806 } && test -s conftest.$ac_objext; then
33807 wx_cv_lib_lesstif="yes"
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.$ac_ext >&5
33812 wx_cv_lib_lesstif="no"
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33818 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33819 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33820 if test "$wx_cv_lib_lesstif" = "yes"; then
33821 cat >>confdefs.h <<\_ACEOF
33822 #define __WXLESSTIF__ 1
33826 cat >>confdefs.h <<\_ACEOF
33827 #define __WXLESSTIF__ 0
33832 CFLAGS=$save_CFLAGS
33834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33839 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33840 if test "$wxUSE_LIBXPM" = "sys"; then
33841 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33842 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33845 for ac_dir in $SEARCH_LIB
33847 for ac_extension in a so sl dylib dll.a; do
33848 if test -f "$ac_dir/libXpm.$ac_extension"; then
33849 ac_find_libraries=$ac_dir
33855 if test "$ac_find_libraries" != "" ; then
33857 if test "$ac_find_libraries" = "default location"; then
33860 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33862 if test $result = 0; then
33865 ac_path_to_link=" -L$ac_find_libraries"
33869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33870 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33871 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33873 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33874 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33875 if test "${wx_cv_x11_xpm_h+set}" = set; then
33876 echo $ECHO_N "(cached) $ECHO_C" >&6
33879 save_CFLAGS=$CFLAGS
33880 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33882 cat >conftest.$ac_ext <<_ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33889 #include <X11/xpm.h>
33896 version = XpmLibraryVersion();
33902 rm -f conftest.$ac_objext
33903 if { (ac_try="$ac_compile"
33904 case "(($ac_try" in
33905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33906 *) ac_try_echo=$ac_try;;
33908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33909 (eval "$ac_compile") 2>conftest.er1
33911 grep -v '^ *+' conftest.er1 >conftest.err
33913 cat conftest.err >&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); } && {
33916 test -z "$ac_c_werror_flag" ||
33917 test ! -s conftest.err
33918 } && test -s conftest.$ac_objext; then
33919 wx_cv_x11_xpm_h=yes
33921 echo "$as_me: failed program was:" >&5
33922 sed 's/^/| /' conftest.$ac_ext >&5
33928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33930 CFLAGS=$save_CFLAGS
33934 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33935 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33937 if test $wx_cv_x11_xpm_h = "yes"; then
33938 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33939 cat >>confdefs.h <<\_ACEOF
33940 #define wxHAVE_LIB_XPM 1
33944 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33945 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33951 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33952 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33953 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33954 echo $ECHO_N "(cached) $ECHO_C" >&6
33956 ac_check_lib_save_LIBS=$LIBS
33957 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33958 cat >conftest.$ac_ext <<_ACEOF
33961 cat confdefs.h >>conftest.$ac_ext
33962 cat >>conftest.$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33965 /* Override any GCC internal prototype to avoid an error.
33966 Use char because int might match the return type of a GCC
33967 builtin and then its argument prototype would still apply. */
33971 char XShapeQueryExtension ();
33975 return XShapeQueryExtension ();
33980 rm -f conftest.$ac_objext conftest$ac_exeext
33981 if { (ac_try="$ac_link"
33982 case "(($ac_try" in
33983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33984 *) ac_try_echo=$ac_try;;
33986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33987 (eval "$ac_link") 2>conftest.er1
33989 grep -v '^ *+' conftest.er1 >conftest.err
33991 cat conftest.err >&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } && {
33994 test -z "$ac_c_werror_flag" ||
33995 test ! -s conftest.err
33996 } && test -s conftest$ac_exeext &&
33997 $as_test_x conftest$ac_exeext; then
33998 ac_cv_lib_Xext_XShapeQueryExtension=yes
34000 echo "$as_me: failed program was:" >&5
34001 sed 's/^/| /' conftest.$ac_ext >&5
34003 ac_cv_lib_Xext_XShapeQueryExtension=no
34006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34007 conftest$ac_exeext conftest.$ac_ext
34008 LIBS=$ac_check_lib_save_LIBS
34010 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34011 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34012 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34014 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34020 if test "$wxHAVE_XEXT_LIB" = 1; then
34021 save_CFLAGS="$CFLAGS"
34022 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34024 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34025 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34026 cat >conftest.$ac_ext <<_ACEOF
34029 cat confdefs.h >>conftest.$ac_ext
34030 cat >>conftest.$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34033 #include <X11/Xlib.h>
34034 #include <X11/extensions/shape.h>
34040 int dummy1, dummy2;
34041 XShapeQueryExtension((Display*)NULL,
34042 (int*)NULL, (int*)NULL);
34048 rm -f conftest.$ac_objext
34049 if { (ac_try="$ac_compile"
34050 case "(($ac_try" in
34051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34052 *) ac_try_echo=$ac_try;;
34054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34055 (eval "$ac_compile") 2>conftest.er1
34057 grep -v '^ *+' conftest.er1 >conftest.err
34059 cat conftest.err >&5
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); } && {
34062 test -z "$ac_c_werror_flag" ||
34063 test ! -s conftest.err
34064 } && test -s conftest.$ac_objext; then
34066 cat >>confdefs.h <<\_ACEOF
34067 #define HAVE_XSHAPE 1
34070 { echo "$as_me:$LINENO: result: found" >&5
34071 echo "${ECHO_T}found" >&6; }
34074 echo "$as_me: failed program was:" >&5
34075 sed 's/^/| /' conftest.$ac_ext >&5
34078 { echo "$as_me:$LINENO: result: not found" >&5
34079 echo "${ECHO_T}not found" >&6; }
34083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34084 CFLAGS="$save_CFLAGS"
34089 if test "$wxUSE_OSX_CARBON" = 1; then
34090 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34091 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34092 if test "$GCC" = yes; then
34093 { echo "$as_me:$LINENO: result: gcc" >&5
34094 echo "${ECHO_T}gcc" >&6; }
34095 CPPFLAGS_PASCAL="-fpascal-strings"
34096 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34097 { echo "$as_me:$LINENO: result: xlc" >&5
34098 echo "${ECHO_T}xlc" >&6; }
34099 CPPFLAGS_PASCAL="-qmacpstr"
34101 { echo "$as_me:$LINENO: result: none" >&5
34102 echo "${ECHO_T}none" >&6; }
34105 if test "x$wxUSE_UNIX" = "xyes"; then
34106 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34108 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34112 GUIDIST=OSX_CARBON_DIST
34113 WXBASEPORT="_carbon"
34115 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34118 if test "$wxUSE_OSX_COCOA" = 1; then
34120 GUIDIST=OSX_COCOA_DIST
34122 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34125 if test "$wxUSE_OSX_IPHONE" = 1; then
34129 if test "$wxUSE_OLD_COCOA" = 1; then
34134 if test "$wxUSE_PM" = 1; then
34137 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34138 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34139 if test "${wx_cv_spbcdata+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34143 cat >conftest.$ac_ext <<_ACEOF
34146 cat confdefs.h >>conftest.$ac_ext
34147 cat >>conftest.$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34163 rm -f conftest.$ac_objext
34164 if { (ac_try="$ac_compile"
34165 case "(($ac_try" in
34166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34167 *) ac_try_echo=$ac_try;;
34169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34170 (eval "$ac_compile") 2>conftest.er1
34172 grep -v '^ *+' conftest.er1 >conftest.err
34174 cat conftest.err >&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } && {
34177 test -z "$ac_c_werror_flag" ||
34178 test ! -s conftest.err
34179 } && test -s conftest.$ac_objext; then
34182 echo "$as_me: failed program was:" >&5
34183 sed 's/^/| /' conftest.$ac_ext >&5
34189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34193 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34194 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34196 if test $wx_cv_spbcdata = "yes"; then
34197 cat >>confdefs.h <<\_ACEOF
34198 #define HAVE_SPBCDATA 1
34204 if test "$TOOLKIT" = "PM" ; then
34207 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34210 if test "$wxUSE_UNIVERSAL" = "yes"; then
34211 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34215 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34216 DISTDIR="wx\$(TOOLKIT)"
34222 if test "$USE_WIN32" = 1 ; then
34226 GUIDIST="BASE_DIST"
34232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34233 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34234 wxUSE_UNICODE_UTF8=yes
34235 elif test "$USE_OS2" = 1 ; then
34236 wxUSE_UNICODE_UTF8=yes
34238 wxUSE_UNICODE_UTF8=no
34243 if test "$wxUSE_GUI" = "yes"; then
34244 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34246 for ac_header in X11/Xlib.h
34248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34252 echo $ECHO_N "(cached) $ECHO_C" >&6
34254 cat >conftest.$ac_ext <<_ACEOF
34257 cat confdefs.h >>conftest.$ac_ext
34258 cat >>conftest.$ac_ext <<_ACEOF
34259 /* end confdefs.h. */
34262 #include <$ac_header>
34264 rm -f conftest.$ac_objext
34265 if { (ac_try="$ac_compile"
34266 case "(($ac_try" in
34267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34268 *) ac_try_echo=$ac_try;;
34270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34271 (eval "$ac_compile") 2>conftest.er1
34273 grep -v '^ *+' conftest.er1 >conftest.err
34275 cat conftest.err >&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); } && {
34278 test -z "$ac_c_werror_flag" ||
34279 test ! -s conftest.err
34280 } && test -s conftest.$ac_objext; then
34281 eval "$as_ac_Header=yes"
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34286 eval "$as_ac_Header=no"
34289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34291 ac_res=`eval echo '${'$as_ac_Header'}'`
34292 { echo "$as_me:$LINENO: result: $ac_res" >&5
34293 echo "${ECHO_T}$ac_res" >&6; }
34294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34295 cat >>confdefs.h <<_ACEOF
34296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34304 for ac_header in X11/XKBlib.h
34306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34312 cat >conftest.$ac_ext <<_ACEOF
34315 cat confdefs.h >>conftest.$ac_ext
34316 cat >>conftest.$ac_ext <<_ACEOF
34317 /* end confdefs.h. */
34319 #if HAVE_X11_XLIB_H
34320 #include <X11/Xlib.h>
34324 #include <$ac_header>
34326 rm -f conftest.$ac_objext
34327 if { (ac_try="$ac_compile"
34328 case "(($ac_try" in
34329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34330 *) ac_try_echo=$ac_try;;
34332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34333 (eval "$ac_compile") 2>conftest.er1
34335 grep -v '^ *+' conftest.er1 >conftest.err
34337 cat conftest.err >&5
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); } && {
34340 test -z "$ac_c_werror_flag" ||
34341 test ! -s conftest.err
34342 } && test -s conftest.$ac_objext; then
34343 eval "$as_ac_Header=yes"
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.$ac_ext >&5
34348 eval "$as_ac_Header=no"
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34353 ac_res=`eval echo '${'$as_ac_Header'}'`
34354 { echo "$as_me:$LINENO: result: $ac_res" >&5
34355 echo "${ECHO_T}$ac_res" >&6; }
34356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34357 cat >>confdefs.h <<_ACEOF
34358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34371 if test "$wxUSE_DISPLAY" = "yes"; then
34372 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34373 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34374 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34377 for ac_dir in $SEARCH_LIB
34379 for ac_extension in a so sl dylib dll.a; do
34380 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34381 ac_find_libraries=$ac_dir
34387 if test "$ac_find_libraries" != "" ; then
34389 if test "$ac_find_libraries" = "default location"; then
34392 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34394 if test $result = 0; then
34397 ac_path_to_link=" -L$ac_find_libraries"
34401 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34402 LDFLAGS="$LDFLAGS $ac_path_to_link"
34405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34406 { echo "$as_me:$LINENO: result: yes" >&5
34407 echo "${ECHO_T}yes" >&6; }
34409 { echo "$as_me:$LINENO: result: no" >&5
34410 echo "${ECHO_T}no" >&6; }
34411 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34412 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34415 elif test "$wxUSE_MSW" = 1; then
34416 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34417 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34418 if test "${ac_cv_header_ddraw_h+set}" = set; then
34419 echo $ECHO_N "(cached) $ECHO_C" >&6
34421 cat >conftest.$ac_ext <<_ACEOF
34424 cat confdefs.h >>conftest.$ac_ext
34425 cat >>conftest.$ac_ext <<_ACEOF
34426 /* end confdefs.h. */
34427 #include <windows.h>
34431 rm -f conftest.$ac_objext
34432 if { (ac_try="$ac_compile"
34433 case "(($ac_try" in
34434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34435 *) ac_try_echo=$ac_try;;
34437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34438 (eval "$ac_compile") 2>conftest.er1
34440 grep -v '^ *+' conftest.er1 >conftest.err
34442 cat conftest.err >&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); } && {
34445 test -z "$ac_c_werror_flag" ||
34446 test ! -s conftest.err
34447 } && test -s conftest.$ac_objext; then
34448 ac_cv_header_ddraw_h=yes
34450 echo "$as_me: failed program was:" >&5
34451 sed 's/^/| /' conftest.$ac_ext >&5
34453 ac_cv_header_ddraw_h=no
34456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34458 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34459 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34465 if test "$wxUSE_DISPLAY" = "yes"; then
34466 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34467 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34468 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34471 for ac_dir in $SEARCH_LIB
34473 for ac_extension in a so sl dylib dll.a; do
34474 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34475 ac_find_libraries=$ac_dir
34481 if test "$ac_find_libraries" != "" ; then
34482 { echo "$as_me:$LINENO: result: yes" >&5
34483 echo "${ECHO_T}yes" >&6; }
34485 for ac_header in X11/extensions/xf86vmode.h
34487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 cat >conftest.$ac_ext <<_ACEOF
34496 cat confdefs.h >>conftest.$ac_ext
34497 cat >>conftest.$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34500 #if HAVE_X11_XLIB_H
34501 #include <X11/Xlib.h>
34505 #include <$ac_header>
34507 rm -f conftest.$ac_objext
34508 if { (ac_try="$ac_compile"
34509 case "(($ac_try" in
34510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34511 *) ac_try_echo=$ac_try;;
34513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34514 (eval "$ac_compile") 2>conftest.er1
34516 grep -v '^ *+' conftest.er1 >conftest.err
34518 cat conftest.err >&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } && {
34521 test -z "$ac_c_werror_flag" ||
34522 test ! -s conftest.err
34523 } && test -s conftest.$ac_objext; then
34524 eval "$as_ac_Header=yes"
34526 echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.$ac_ext >&5
34529 eval "$as_ac_Header=no"
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34534 ac_res=`eval echo '${'$as_ac_Header'}'`
34535 { echo "$as_me:$LINENO: result: $ac_res" >&5
34536 echo "${ECHO_T}$ac_res" >&6; }
34537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34538 cat >>confdefs.h <<_ACEOF
34539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34549 { echo "$as_me:$LINENO: result: no" >&5
34550 echo "${ECHO_T}no" >&6; }
34555 if test "$wxUSE_DETECT_SM" = "yes"; then
34556 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34557 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34558 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34561 for ac_dir in $SEARCH_LIB
34563 for ac_extension in a so sl dylib dll.a; do
34564 if test -f "$ac_dir/libSM.$ac_extension"; then
34565 ac_find_libraries=$ac_dir
34571 if test "$ac_find_libraries" != "" ; then
34573 if test "$ac_find_libraries" = "default location"; then
34576 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34578 if test $result = 0; then
34581 ac_path_to_link=" -L$ac_find_libraries"
34585 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34586 LDFLAGS="$LDFLAGS $ac_path_to_link"
34588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34589 { echo "$as_me:$LINENO: result: yes" >&5
34590 echo "${ECHO_T}yes" >&6; }
34592 { echo "$as_me:$LINENO: result: no" >&5
34593 echo "${ECHO_T}no" >&6; }
34594 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34595 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34596 wxUSE_DETECT_SM="no"
34599 wxUSE_DETECT_SM="no"
34606 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34609 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34610 OPENGL_LIBS="-framework OpenGL -framework AGL"
34611 elif test "$wxUSE_MSW" = 1; then
34612 OPENGL_LIBS="-lopengl32 -lglu32"
34613 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34615 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34616 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34619 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34621 if test -f "$ac_dir/GL/gl.h"; then
34622 ac_find_includes=$ac_dir
34627 if test "$ac_find_includes" != "" ; then
34628 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34629 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34631 if test "x$ac_find_includes" = "x/usr/include"; then
34632 ac_path_to_include=""
34634 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34636 if test $result = 0; then
34637 ac_path_to_include=""
34639 ac_path_to_include=" -I$ac_find_includes"
34643 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34645 { echo "$as_me:$LINENO: result: not found" >&5
34646 echo "${ECHO_T}not found" >&6; }
34649 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34650 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34651 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34652 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 cat >conftest.$ac_ext <<_ACEOF
34657 cat confdefs.h >>conftest.$ac_ext
34658 cat >>conftest.$ac_ext <<_ACEOF
34659 /* end confdefs.h. */
34664 rm -f conftest.$ac_objext
34665 if { (ac_try="$ac_compile"
34666 case "(($ac_try" in
34667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34668 *) ac_try_echo=$ac_try;;
34670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34671 (eval "$ac_compile") 2>conftest.er1
34673 grep -v '^ *+' conftest.er1 >conftest.err
34675 cat conftest.err >&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } && {
34678 test -z "$ac_c_werror_flag" ||
34679 test ! -s conftest.err
34680 } && test -s conftest.$ac_objext; then
34681 ac_cv_header_GL_gl_h=yes
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34686 ac_cv_header_GL_gl_h=no
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34691 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34692 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34693 if test $ac_cv_header_GL_gl_h = yes; then
34695 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34696 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34697 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34698 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 cat >conftest.$ac_ext <<_ACEOF
34703 cat confdefs.h >>conftest.$ac_ext
34704 cat >>conftest.$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34708 #include <GL/glu.h>
34710 rm -f conftest.$ac_objext
34711 if { (ac_try="$ac_compile"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34714 *) ac_try_echo=$ac_try;;
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_compile") 2>conftest.er1
34719 grep -v '^ *+' conftest.er1 >conftest.err
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest.$ac_objext; then
34727 ac_cv_header_GL_glu_h=yes
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34732 ac_cv_header_GL_glu_h=no
34735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34737 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34738 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34739 if test $ac_cv_header_GL_glu_h = yes; then
34743 { echo "$as_me:$LINENO: checking for -lGL" >&5
34744 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34747 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34749 for ac_extension in a so sl dylib dll.a; do
34750 if test -f "$ac_dir/libGL.$ac_extension"; then
34751 ac_find_libraries=$ac_dir
34757 if test "$ac_find_libraries" != "" ; then
34758 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34759 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34762 if test "$ac_find_libraries" = "default location"; then
34765 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34767 if test $result = 0; then
34770 ac_path_to_link=" -L$ac_find_libraries"
34774 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34775 LDFLAGS_GL="$ac_path_to_link"
34778 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34779 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34782 for ac_dir in $SEARCH_LIB
34784 for ac_extension in a so sl dylib dll.a; do
34785 if test -f "$ac_dir/libGLU.$ac_extension"; then
34786 ac_find_libraries=$ac_dir
34792 if test "$ac_find_libraries" != "" ; then
34794 if test "$ac_find_libraries" = "default location"; then
34797 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34799 if test $result = 0; then
34802 ac_path_to_link=" -L$ac_find_libraries"
34806 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34807 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34808 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34812 OPENGL_LIBS="-lGL -lGLU"
34813 { echo "$as_me:$LINENO: result: yes" >&5
34814 echo "${ECHO_T}yes" >&6; }
34816 { echo "$as_me:$LINENO: result: no" >&5
34817 echo "${ECHO_T}no" >&6; }
34820 { echo "$as_me:$LINENO: result: no" >&5
34821 echo "${ECHO_T}no" >&6; }
34824 if test "$found_gl" != 1; then
34825 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34826 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34829 for ac_dir in $SEARCH_LIB
34831 for ac_extension in a so sl dylib dll.a; do
34832 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34833 ac_find_libraries=$ac_dir
34839 if test "$ac_find_libraries" != "" ; then
34841 if test "$ac_find_libraries" = "default location"; then
34844 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34846 if test $result = 0; then
34849 ac_path_to_link=" -L$ac_find_libraries"
34853 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34854 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34855 { echo "$as_me:$LINENO: result: yes" >&5
34856 echo "${ECHO_T}yes" >&6; }
34858 { echo "$as_me:$LINENO: result: no" >&5
34859 echo "${ECHO_T}no" >&6; }
34871 if test "x$OPENGL_LIBS" = "x"; then
34872 if test "$wxUSE_OPENGL" = "yes"; then
34873 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34874 echo "$as_me: error: OpenGL libraries not available" >&2;}
34875 { (exit 1); exit 1; }; }
34877 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34878 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34884 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34885 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34889 if test "$wxUSE_OPENGL" = "auto"; then
34893 if test "$wxUSE_OPENGL" = "yes"; then
34895 cat >>confdefs.h <<\_ACEOF
34896 #define wxUSE_OPENGL 1
34899 cat >>confdefs.h <<\_ACEOF
34900 #define wxUSE_GLCANVAS 1
34903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34908 if test -n "$TOOLKIT" ; then
34909 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34914 if test "$wxUSE_SHARED" = "yes"; then
34918 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34919 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34924 if test "$wxUSE_SHARED" = "yes"; then
34928 *-*-cygwin* | *-*-mingw* )
34929 wx_cv_version_script=no
34933 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34934 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34935 if test "${wx_cv_version_script+set}" = set; then
34936 echo $ECHO_N "(cached) $ECHO_C" >&6
34939 echo "VER_1 { *; };" >conftest.sym
34940 echo "int main() { return 0; }" >conftest.cpp
34943 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34944 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; } ; then
34950 if test -s conftest.stderr ; then
34951 wx_cv_version_script=no
34953 wx_cv_version_script=yes
34956 wx_cv_version_script=no
34959 if test $wx_cv_version_script = yes
34961 echo "struct B { virtual ~B() { } }; \
34962 struct D : public B { }; \
34963 void F() { D d; }" > conftest.cpp
34966 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34967 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; } &&
34974 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34975 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34977 (eval $ac_try) 2>&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); }; }
34983 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34984 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; }
34991 wx_cv_version_script=yes
34993 wx_cv_version_script=no
34998 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34999 rm -f conftest1.output conftest2.output conftest3.output
35002 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35003 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35005 if test $wx_cv_version_script = yes ; then
35006 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35012 if test "$wxUSE_VISIBILITY" != "no"; then
35015 if test -n "$GCC"; then
35016 CFLAGS_VISIBILITY="-fvisibility=hidden"
35017 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35018 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35019 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35020 if test "${wx_cv_cc_visibility+set}" = set; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35024 wx_save_CXXFLAGS="$CXXFLAGS"
35025 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35027 ac_cpp='$CXXCPP $CPPFLAGS'
35028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35032 cat >conftest.$ac_ext <<_ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35039 /* we need gcc >= 4.0, older versions with visibility support
35040 didn't have class visibility: */
35041 #if defined(__GNUC__) && __GNUC__ < 4
35042 error this gcc is too old;
35045 /* visibility only makes sense for ELF shared libs: */
35046 #if !defined(__ELF__) && !defined(__APPLE__)
35047 error this platform has no visibility;
35050 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35051 #if defined(__clang__)
35052 clang compiler is still broken w.r.t. visibility;
35055 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35056 extern __attribute__((__visibility__("default"))) int exportedvar;
35057 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35058 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35059 class __attribute__((__visibility__("default"))) Foo {
35071 rm -f conftest.$ac_objext
35072 if { (ac_try="$ac_compile"
35073 case "(($ac_try" in
35074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35075 *) ac_try_echo=$ac_try;;
35077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35078 (eval "$ac_compile") 2>conftest.er1
35080 grep -v '^ *+' conftest.er1 >conftest.err
35082 cat conftest.err >&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); } && {
35085 test -z "$ac_cxx_werror_flag" ||
35086 test ! -s conftest.err
35087 } && test -s conftest.$ac_objext; then
35088 wx_cv_cc_visibility=yes
35090 echo "$as_me: failed program was:" >&5
35091 sed 's/^/| /' conftest.$ac_ext >&5
35093 wx_cv_cc_visibility=no
35096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35098 ac_cpp='$CPP $CPPFLAGS'
35099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35103 CXXFLAGS="$wx_save_CXXFLAGS"
35106 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35107 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35108 if test $wx_cv_cc_visibility = yes; then
35109 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35110 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35111 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35112 echo $ECHO_N "(cached) $ECHO_C" >&6
35115 wx_save_CXXFLAGS="$CXXFLAGS"
35116 wx_save_LDFLAGS="$LDFLAGS"
35117 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35118 LDFLAGS="$LDFLAGS -shared -fPIC"
35120 ac_cpp='$CXXCPP $CPPFLAGS'
35121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35125 cat >conftest.$ac_ext <<_ACEOF
35128 cat confdefs.h >>conftest.$ac_ext
35129 cat >>conftest.$ac_ext <<_ACEOF
35130 /* end confdefs.h. */
35138 std::string s("hello");
35145 rm -f conftest.$ac_objext conftest$ac_exeext
35146 if { (ac_try="$ac_link"
35147 case "(($ac_try" in
35148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35149 *) ac_try_echo=$ac_try;;
35151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35152 (eval "$ac_link") 2>conftest.er1
35154 grep -v '^ *+' conftest.er1 >conftest.err
35156 cat conftest.err >&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } && {
35159 test -z "$ac_cxx_werror_flag" ||
35160 test ! -s conftest.err
35161 } && test -s conftest$ac_exeext &&
35162 $as_test_x conftest$ac_exeext; then
35163 wx_cv_cc_broken_libstdcxx_visibility=no
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35168 wx_cv_cc_broken_libstdcxx_visibility=yes
35171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35172 conftest$ac_exeext conftest.$ac_ext
35174 ac_cpp='$CPP $CPPFLAGS'
35175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35179 CXXFLAGS="$wx_save_CXXFLAGS"
35180 LDFLAGS="$wx_save_LDFLAGS"
35183 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35184 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35186 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35187 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35188 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35189 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35190 echo $ECHO_N "(cached) $ECHO_C" >&6
35194 ac_cpp='$CXXCPP $CPPFLAGS'
35195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35199 cat >conftest.$ac_ext <<_ACEOF
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h. */
35206 #pragma GCC visibility push(default)
35208 #pragma GCC visibility pop
35214 std::string s("hello");
35221 rm -f conftest.$ac_objext conftest$ac_exeext
35222 if { (ac_try="$ac_link"
35223 case "(($ac_try" in
35224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35225 *) ac_try_echo=$ac_try;;
35227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35228 (eval "$ac_link") 2>conftest.er1
35230 grep -v '^ *+' conftest.er1 >conftest.err
35232 cat conftest.err >&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } && {
35235 test -z "$ac_cxx_werror_flag" ||
35236 test ! -s conftest.err
35237 } && test -s conftest$ac_exeext &&
35238 $as_test_x conftest$ac_exeext; then
35239 wx_cv_cc_visibility_workaround=no
35241 echo "$as_me: failed program was:" >&5
35242 sed 's/^/| /' conftest.$ac_ext >&5
35244 wx_cv_cc_visibility_workaround=yes
35247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35248 conftest$ac_exeext conftest.$ac_ext
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35258 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35259 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35261 if test $wx_cv_cc_visibility_workaround = no; then
35262 wx_cv_cc_visibility=no
35267 if test $wx_cv_cc_visibility = yes; then
35268 cat >>confdefs.h <<\_ACEOF
35269 #define HAVE_VISIBILITY 1
35272 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35273 cat >>confdefs.h <<\_ACEOF
35274 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35279 CFLAGS_VISIBILITY=""
35280 CXXFLAGS_VISIBILITY=""
35288 if test "x$SUNCXX" = xyes; then
35289 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35290 WXCONFIG_RPATH="-R\$libdir"
35293 *-*-linux* | *-*-gnu* )
35294 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35295 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35300 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35302 saveLdflags="$LDFLAGS"
35303 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35304 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35305 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35306 cat >conftest.$ac_ext <<_ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35321 rm -f conftest.$ac_objext conftest$ac_exeext
35322 if { (ac_try="$ac_link"
35323 case "(($ac_try" in
35324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35325 *) ac_try_echo=$ac_try;;
35327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35328 (eval "$ac_link") 2>conftest.er1
35330 grep -v '^ *+' conftest.er1 >conftest.err
35332 cat conftest.err >&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } && {
35335 test -z "$ac_c_werror_flag" ||
35336 test ! -s conftest.err
35337 } && test -s conftest$ac_exeext &&
35338 $as_test_x conftest$ac_exeext; then
35340 { echo "$as_me:$LINENO: result: yes" >&5
35341 echo "${ECHO_T}yes" >&6; }
35342 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35343 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35346 echo "$as_me: failed program was:" >&5
35347 sed 's/^/| /' conftest.$ac_ext >&5
35350 { echo "$as_me:$LINENO: result: no" >&5
35351 echo "${ECHO_T}no" >&6; }
35352 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35353 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35354 LDFLAGS="$saveLdflags -Wl,-R,/"
35355 cat >conftest.$ac_ext <<_ACEOF
35358 cat confdefs.h >>conftest.$ac_ext
35359 cat >>conftest.$ac_ext <<_ACEOF
35360 /* end confdefs.h. */
35370 rm -f conftest.$ac_objext conftest$ac_exeext
35371 if { (ac_try="$ac_link"
35372 case "(($ac_try" in
35373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35374 *) ac_try_echo=$ac_try;;
35376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35377 (eval "$ac_link") 2>conftest.er1
35379 grep -v '^ *+' conftest.er1 >conftest.err
35381 cat conftest.err >&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } && {
35384 test -z "$ac_c_werror_flag" ||
35385 test ! -s conftest.err
35386 } && test -s conftest$ac_exeext &&
35387 $as_test_x conftest$ac_exeext; then
35389 { echo "$as_me:$LINENO: result: yes" >&5
35390 echo "${ECHO_T}yes" >&6; }
35391 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35392 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35395 echo "$as_me: failed program was:" >&5
35396 sed 's/^/| /' conftest.$ac_ext >&5
35399 { echo "$as_me:$LINENO: result: no" >&5
35400 echo "${ECHO_T}no" >&6; }
35404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35405 conftest$ac_exeext conftest.$ac_ext
35409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35410 conftest$ac_exeext conftest.$ac_ext
35411 LDFLAGS="$saveLdflags"
35415 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35416 if test "$install_name_tool" -a -x "$install_name_tool"; then
35417 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35418 cat <<EOF >change-install-names
35420 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35421 for i in \${libnames} ; do
35422 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35423 for dep in \${libnames} ; do
35424 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35428 chmod +x change-install-names
35429 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35432 HEADER_PAD_OPTION="-headerpad_max_install_names"
35435 *-*-cygwin* | *-*-mingw32* )
35439 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35440 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35446 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35448 if test $wxUSE_RPATH = "no"; then
35449 SAMPLES_RPATH_FLAG=''
35450 DYLIB_PATH_POSTLINK=''
35458 config_linkage_component="-static"
35465 lib_unicode_suffix=
35467 if test "$wxUSE_UNICODE" = "yes"; then
35468 lib_unicode_suffix=u
35469 WX_CHARTYPE="unicode"
35473 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35474 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35477 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35481 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35483 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35485 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35488 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35489 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35491 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35493 if test "${TOOLKIT_DIR}" = "os2"; then
35494 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35496 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35501 if test "$wxUSE_OLD_COCOA" = 1; then
35504 ac_cpp='$CPP $CPPFLAGS'
35505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35511 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35512 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35513 cat >conftest.$ac_ext <<_ACEOF
35516 cat confdefs.h >>conftest.$ac_ext
35517 cat >>conftest.$ac_ext <<_ACEOF
35518 /* end confdefs.h. */
35519 #include <AppKit/NSEvent.h>
35520 #include <CoreFoundation/CoreFoundation.h>
35530 rm -f conftest.$ac_objext
35531 if { (ac_try="$ac_compile"
35532 case "(($ac_try" in
35533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35534 *) ac_try_echo=$ac_try;;
35536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35537 (eval "$ac_compile") 2>conftest.er1
35539 grep -v '^ *+' conftest.er1 >conftest.err
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } && {
35544 test -z "$ac_c_werror_flag" ||
35545 test ! -s conftest.err
35546 } && test -s conftest.$ac_objext; then
35547 { echo "$as_me:$LINENO: result: no" >&5
35548 echo "${ECHO_T}no" >&6; }
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.$ac_ext >&5
35553 { echo "$as_me:$LINENO: result: yes" >&5
35554 echo "${ECHO_T}yes" >&6; }
35555 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35556 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35557 cat >conftest.$ac_ext <<_ACEOF
35560 cat confdefs.h >>conftest.$ac_ext
35561 cat >>conftest.$ac_ext <<_ACEOF
35562 /* end confdefs.h. */
35563 #define __Point__ 1
35564 #include <AppKit/NSEvent.h>
35565 #include <CoreFoundation/CoreFoundation.h>
35575 rm -f conftest.$ac_objext
35576 if { (ac_try="$ac_compile"
35577 case "(($ac_try" in
35578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35579 *) ac_try_echo=$ac_try;;
35581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35582 (eval "$ac_compile") 2>conftest.er1
35584 grep -v '^ *+' conftest.er1 >conftest.err
35586 cat conftest.err >&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); } && {
35589 test -z "$ac_c_werror_flag" ||
35590 test ! -s conftest.err
35591 } && test -s conftest.$ac_objext; then
35592 { echo "$as_me:$LINENO: result: yes" >&5
35593 echo "${ECHO_T}yes" >&6; }
35594 cat >>confdefs.h <<\_ACEOF
35595 #define __Point__ 1
35600 echo "$as_me: failed program was:" >&5
35601 sed 's/^/| /' conftest.$ac_ext >&5
35603 { { echo "$as_me:$LINENO: error: no
35604 See \`config.log' for more details." >&5
35605 echo "$as_me: error: no
35606 See \`config.log' for more details." >&2;}
35607 { (exit 1); exit 1; }; }
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35617 ac_cpp='$CPP $CPPFLAGS'
35618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35625 { echo "$as_me:$LINENO: checking for mode_t" >&5
35626 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35627 if test "${ac_cv_type_mode_t+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 cat >conftest.$ac_ext <<_ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636 $ac_includes_default
35637 typedef mode_t ac__type_new_;
35641 if ((ac__type_new_ *) 0)
35643 if (sizeof (ac__type_new_))
35649 rm -f conftest.$ac_objext
35650 if { (ac_try="$ac_compile"
35651 case "(($ac_try" in
35652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35653 *) ac_try_echo=$ac_try;;
35655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35656 (eval "$ac_compile") 2>conftest.er1
35658 grep -v '^ *+' conftest.er1 >conftest.err
35660 cat conftest.err >&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } && {
35663 test -z "$ac_c_werror_flag" ||
35664 test ! -s conftest.err
35665 } && test -s conftest.$ac_objext; then
35666 ac_cv_type_mode_t=yes
35668 echo "$as_me: failed program was:" >&5
35669 sed 's/^/| /' conftest.$ac_ext >&5
35671 ac_cv_type_mode_t=no
35674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35676 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35677 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35678 if test $ac_cv_type_mode_t = yes; then
35682 cat >>confdefs.h <<_ACEOF
35688 { echo "$as_me:$LINENO: checking for off_t" >&5
35689 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35690 if test "${ac_cv_type_off_t+set}" = set; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35693 cat >conftest.$ac_ext <<_ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699 $ac_includes_default
35700 typedef off_t ac__type_new_;
35704 if ((ac__type_new_ *) 0)
35706 if (sizeof (ac__type_new_))
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35721 grep -v '^ *+' conftest.er1 >conftest.err
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_c_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.$ac_objext; then
35729 ac_cv_type_off_t=yes
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35734 ac_cv_type_off_t=no
35737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35739 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35740 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35741 if test $ac_cv_type_off_t = yes; then
35745 cat >>confdefs.h <<_ACEOF
35746 #define off_t long int
35751 { echo "$as_me:$LINENO: checking for pid_t" >&5
35752 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35753 if test "${ac_cv_type_pid_t+set}" = set; then
35754 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 cat >conftest.$ac_ext <<_ACEOF
35759 cat confdefs.h >>conftest.$ac_ext
35760 cat >>conftest.$ac_ext <<_ACEOF
35761 /* end confdefs.h. */
35762 $ac_includes_default
35763 typedef pid_t ac__type_new_;
35767 if ((ac__type_new_ *) 0)
35769 if (sizeof (ac__type_new_))
35775 rm -f conftest.$ac_objext
35776 if { (ac_try="$ac_compile"
35777 case "(($ac_try" in
35778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35779 *) ac_try_echo=$ac_try;;
35781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35782 (eval "$ac_compile") 2>conftest.er1
35784 grep -v '^ *+' conftest.er1 >conftest.err
35786 cat conftest.err >&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } && {
35789 test -z "$ac_c_werror_flag" ||
35790 test ! -s conftest.err
35791 } && test -s conftest.$ac_objext; then
35792 ac_cv_type_pid_t=yes
35794 echo "$as_me: failed program was:" >&5
35795 sed 's/^/| /' conftest.$ac_ext >&5
35797 ac_cv_type_pid_t=no
35800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35802 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35803 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35804 if test $ac_cv_type_pid_t = yes; then
35808 cat >>confdefs.h <<_ACEOF
35814 { echo "$as_me:$LINENO: checking for size_t" >&5
35815 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35816 if test "${ac_cv_type_size_t+set}" = set; then
35817 echo $ECHO_N "(cached) $ECHO_C" >&6
35819 cat >conftest.$ac_ext <<_ACEOF
35822 cat confdefs.h >>conftest.$ac_ext
35823 cat >>conftest.$ac_ext <<_ACEOF
35824 /* end confdefs.h. */
35825 $ac_includes_default
35826 typedef size_t ac__type_new_;
35830 if ((ac__type_new_ *) 0)
35832 if (sizeof (ac__type_new_))
35838 rm -f conftest.$ac_objext
35839 if { (ac_try="$ac_compile"
35840 case "(($ac_try" in
35841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35842 *) ac_try_echo=$ac_try;;
35844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35845 (eval "$ac_compile") 2>conftest.er1
35847 grep -v '^ *+' conftest.er1 >conftest.err
35849 cat conftest.err >&5
35850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35851 (exit $ac_status); } && {
35852 test -z "$ac_c_werror_flag" ||
35853 test ! -s conftest.err
35854 } && test -s conftest.$ac_objext; then
35855 ac_cv_type_size_t=yes
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35860 ac_cv_type_size_t=no
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35865 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35866 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35867 if test $ac_cv_type_size_t = yes; then
35871 cat >>confdefs.h <<_ACEOF
35872 #define size_t unsigned int
35878 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35879 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35880 if test "${ac_cv_type_ssize_t+set}" = set; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 cat >conftest.$ac_ext <<_ACEOF
35886 cat confdefs.h >>conftest.$ac_ext
35887 cat >>conftest.$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889 $ac_includes_default
35890 typedef ssize_t ac__type_new_;
35894 if ((ac__type_new_ *) 0)
35896 if (sizeof (ac__type_new_))
35902 rm -f conftest.$ac_objext
35903 if { (ac_try="$ac_compile"
35904 case "(($ac_try" in
35905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35906 *) ac_try_echo=$ac_try;;
35908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35909 (eval "$ac_compile") 2>conftest.er1
35911 grep -v '^ *+' conftest.er1 >conftest.err
35913 cat conftest.err >&5
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); } && {
35916 test -z "$ac_c_werror_flag" ||
35917 test ! -s conftest.err
35918 } && test -s conftest.$ac_objext; then
35919 ac_cv_type_ssize_t=yes
35921 echo "$as_me: failed program was:" >&5
35922 sed 's/^/| /' conftest.$ac_ext >&5
35924 ac_cv_type_ssize_t=no
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35929 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35930 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35931 if test $ac_cv_type_ssize_t = yes; then
35933 cat >>confdefs.h <<_ACEOF
35934 #define HAVE_SSIZE_T 1
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35947 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35948 if test "${wx_cv_size_t_is_uint+set}" = set; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35952 cat >conftest.$ac_ext <<_ACEOF
35955 cat confdefs.h >>conftest.$ac_ext
35956 cat >>conftest.$ac_ext <<_ACEOF
35957 /* end confdefs.h. */
35958 #include <stddef.h>
35965 struct Foo { void foo(size_t); void foo(unsigned int); };
35973 rm -f conftest.$ac_objext
35974 if { (ac_try="$ac_compile"
35975 case "(($ac_try" in
35976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35977 *) ac_try_echo=$ac_try;;
35979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35980 (eval "$ac_compile") 2>conftest.er1
35982 grep -v '^ *+' conftest.er1 >conftest.err
35984 cat conftest.err >&5
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); } && {
35987 test -z "$ac_cxx_werror_flag" ||
35988 test ! -s conftest.err
35989 } && test -s conftest.$ac_objext; then
35990 wx_cv_size_t_is_uint=no
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35995 wx_cv_size_t_is_uint=yes
35999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36003 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36004 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36006 if test "$wx_cv_size_t_is_uint" = "yes"; then
36007 cat >>confdefs.h <<\_ACEOF
36008 #define wxSIZE_T_IS_UINT 1
36012 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36013 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36014 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36015 echo $ECHO_N "(cached) $ECHO_C" >&6
36017 cat >conftest.$ac_ext <<_ACEOF
36020 cat confdefs.h >>conftest.$ac_ext
36021 cat >>conftest.$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023 #include <stddef.h>
36030 struct Foo { void foo(size_t); void foo(unsigned long); };
36038 rm -f conftest.$ac_objext
36039 if { (ac_try="$ac_compile"
36040 case "(($ac_try" in
36041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36042 *) ac_try_echo=$ac_try;;
36044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36045 (eval "$ac_compile") 2>conftest.er1
36047 grep -v '^ *+' conftest.er1 >conftest.err
36049 cat conftest.err >&5
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); } && {
36052 test -z "$ac_cxx_werror_flag" ||
36053 test ! -s conftest.err
36054 } && test -s conftest.$ac_objext; then
36055 wx_cv_size_t_is_ulong=no
36057 echo "$as_me: failed program was:" >&5
36058 sed 's/^/| /' conftest.$ac_ext >&5
36060 wx_cv_size_t_is_ulong=yes
36064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36067 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36068 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36070 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36071 cat >>confdefs.h <<\_ACEOF
36072 #define wxSIZE_T_IS_ULONG 1
36078 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36079 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36080 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36081 echo $ECHO_N "(cached) $ECHO_C" >&6
36083 cat >conftest.$ac_ext <<_ACEOF
36086 cat confdefs.h >>conftest.$ac_ext
36087 cat >>conftest.$ac_ext <<_ACEOF
36088 /* end confdefs.h. */
36096 struct Foo { void foo(wchar_t);
36097 void foo(unsigned short);
36098 void foo(unsigned int);
36099 void foo(unsigned long); };
36107 rm -f conftest.$ac_objext
36108 if { (ac_try="$ac_compile"
36109 case "(($ac_try" in
36110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36111 *) ac_try_echo=$ac_try;;
36113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36114 (eval "$ac_compile") 2>conftest.er1
36116 grep -v '^ *+' conftest.er1 >conftest.err
36118 cat conftest.err >&5
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); } && {
36121 test -z "$ac_cxx_werror_flag" ||
36122 test ! -s conftest.err
36123 } && test -s conftest.$ac_objext; then
36124 wx_cv_wchar_t_is_separate_type=yes
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.$ac_ext >&5
36129 wx_cv_wchar_t_is_separate_type=no
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36136 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36137 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36139 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36140 cat >>confdefs.h <<\_ACEOF
36141 #define wxWCHAR_T_IS_REAL_TYPE 1
36145 cat >>confdefs.h <<\_ACEOF
36146 #define wxWCHAR_T_IS_REAL_TYPE 0
36152 ac_cpp='$CPP $CPPFLAGS'
36153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36158 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36159 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36160 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36164 cat >conftest.$ac_ext <<_ACEOF
36167 cat confdefs.h >>conftest.$ac_ext
36168 cat >>conftest.$ac_ext <<_ACEOF
36169 /* end confdefs.h. */
36183 rm -f conftest.$ac_objext
36184 if { (ac_try="$ac_compile"
36185 case "(($ac_try" in
36186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36187 *) ac_try_echo=$ac_try;;
36189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36190 (eval "$ac_compile") 2>conftest.er1
36192 grep -v '^ *+' conftest.er1 >conftest.err
36194 cat conftest.err >&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } && {
36197 test -z "$ac_c_werror_flag" ||
36198 test ! -s conftest.err
36199 } && test -s conftest.$ac_objext; then
36201 wx_cv_struct_pw_gecos=yes
36204 echo "$as_me: failed program was:" >&5
36205 sed 's/^/| /' conftest.$ac_ext >&5
36208 wx_cv_struct_pw_gecos=no
36213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36218 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36220 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36221 cat >>confdefs.h <<\_ACEOF
36222 #define HAVE_PW_GECOS 1
36231 for ac_func in wcslen
36233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 cat >conftest.$ac_ext <<_ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36247 #define $ac_func innocuous_$ac_func
36249 /* System header to define __stub macros and hopefully few prototypes,
36250 which can conflict with char $ac_func (); below.
36251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36252 <limits.h> exists even on freestanding compilers. */
36255 # include <limits.h>
36257 # include <assert.h>
36262 /* Override any GCC internal prototype to avoid an error.
36263 Use char because int might match the return type of a GCC
36264 builtin and then its argument prototype would still apply. */
36269 /* The GNU C library defines this for functions which it implements
36270 to always fail with ENOSYS. Some functions are actually named
36271 something starting with __ and the normal name is an alias. */
36272 #if defined __stub_$ac_func || defined __stub___$ac_func
36279 return $ac_func ();
36284 rm -f conftest.$ac_objext conftest$ac_exeext
36285 if { (ac_try="$ac_link"
36286 case "(($ac_try" in
36287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36288 *) ac_try_echo=$ac_try;;
36290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36291 (eval "$ac_link") 2>conftest.er1
36293 grep -v '^ *+' conftest.er1 >conftest.err
36295 cat conftest.err >&5
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); } && {
36298 test -z "$ac_c_werror_flag" ||
36299 test ! -s conftest.err
36300 } && test -s conftest$ac_exeext &&
36301 $as_test_x conftest$ac_exeext; then
36302 eval "$as_ac_var=yes"
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.$ac_ext >&5
36307 eval "$as_ac_var=no"
36310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36311 conftest$ac_exeext conftest.$ac_ext
36313 ac_res=`eval echo '${'$as_ac_var'}'`
36314 { echo "$as_me:$LINENO: result: $ac_res" >&5
36315 echo "${ECHO_T}$ac_res" >&6; }
36316 if test `eval echo '${'$as_ac_var'}'` = yes; then
36317 cat >>confdefs.h <<_ACEOF
36318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36325 if test "$WCSLEN_FOUND" = 0; then
36326 if test "$TOOLKIT" = "MSW"; then
36327 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36328 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36329 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36330 echo $ECHO_N "(cached) $ECHO_C" >&6
36332 ac_check_lib_save_LIBS=$LIBS
36333 LIBS="-lmsvcrt $LIBS"
36334 cat >conftest.$ac_ext <<_ACEOF
36337 cat confdefs.h >>conftest.$ac_ext
36338 cat >>conftest.$ac_ext <<_ACEOF
36339 /* end confdefs.h. */
36341 /* Override any GCC internal prototype to avoid an error.
36342 Use char because int might match the return type of a GCC
36343 builtin and then its argument prototype would still apply. */
36356 rm -f conftest.$ac_objext conftest$ac_exeext
36357 if { (ac_try="$ac_link"
36358 case "(($ac_try" in
36359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36360 *) ac_try_echo=$ac_try;;
36362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36363 (eval "$ac_link") 2>conftest.er1
36365 grep -v '^ *+' conftest.er1 >conftest.err
36367 cat conftest.err >&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } && {
36370 test -z "$ac_c_werror_flag" ||
36371 test ! -s conftest.err
36372 } && test -s conftest$ac_exeext &&
36373 $as_test_x conftest$ac_exeext; then
36374 ac_cv_lib_msvcrt_wcslen=yes
36376 echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.$ac_ext >&5
36379 ac_cv_lib_msvcrt_wcslen=no
36382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36383 conftest$ac_exeext conftest.$ac_ext
36384 LIBS=$ac_check_lib_save_LIBS
36386 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36387 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36388 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36393 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36394 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36395 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 ac_check_lib_save_LIBS=$LIBS
36400 cat >conftest.$ac_ext <<_ACEOF
36403 cat confdefs.h >>conftest.$ac_ext
36404 cat >>conftest.$ac_ext <<_ACEOF
36405 /* end confdefs.h. */
36407 /* Override any GCC internal prototype to avoid an error.
36408 Use char because int might match the return type of a GCC
36409 builtin and then its argument prototype would still apply. */
36422 rm -f conftest.$ac_objext conftest$ac_exeext
36423 if { (ac_try="$ac_link"
36424 case "(($ac_try" in
36425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36426 *) ac_try_echo=$ac_try;;
36428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36429 (eval "$ac_link") 2>conftest.er1
36431 grep -v '^ *+' conftest.er1 >conftest.err
36433 cat conftest.err >&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); } && {
36436 test -z "$ac_c_werror_flag" ||
36437 test ! -s conftest.err
36438 } && test -s conftest$ac_exeext &&
36439 $as_test_x conftest$ac_exeext; then
36440 ac_cv_lib_w_wcslen=yes
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.$ac_ext >&5
36445 ac_cv_lib_w_wcslen=no
36448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36449 conftest$ac_exeext conftest.$ac_ext
36450 LIBS=$ac_check_lib_save_LIBS
36452 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36453 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36454 if test $ac_cv_lib_w_wcslen = yes; then
36464 if test "$WCSLEN_FOUND" = 1; then
36465 cat >>confdefs.h <<\_ACEOF
36466 #define HAVE_WCSLEN 1
36477 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 cat >conftest.$ac_ext <<_ACEOF
36488 cat confdefs.h >>conftest.$ac_ext
36489 cat >>conftest.$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36493 #define $ac_func innocuous_$ac_func
36495 /* System header to define __stub macros and hopefully few prototypes,
36496 which can conflict with char $ac_func (); below.
36497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36498 <limits.h> exists even on freestanding compilers. */
36501 # include <limits.h>
36503 # include <assert.h>
36508 /* Override any GCC internal prototype to avoid an error.
36509 Use char because int might match the return type of a GCC
36510 builtin and then its argument prototype would still apply. */
36515 /* The GNU C library defines this for functions which it implements
36516 to always fail with ENOSYS. Some functions are actually named
36517 something starting with __ and the normal name is an alias. */
36518 #if defined __stub_$ac_func || defined __stub___$ac_func
36525 return $ac_func ();
36530 rm -f conftest.$ac_objext conftest$ac_exeext
36531 if { (ac_try="$ac_link"
36532 case "(($ac_try" in
36533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36534 *) ac_try_echo=$ac_try;;
36536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36537 (eval "$ac_link") 2>conftest.er1
36539 grep -v '^ *+' conftest.er1 >conftest.err
36541 cat conftest.err >&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } && {
36544 test -z "$ac_c_werror_flag" ||
36545 test ! -s conftest.err
36546 } && test -s conftest$ac_exeext &&
36547 $as_test_x conftest$ac_exeext; then
36548 eval "$as_ac_var=yes"
36550 echo "$as_me: failed program was:" >&5
36551 sed 's/^/| /' conftest.$ac_ext >&5
36553 eval "$as_ac_var=no"
36556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36557 conftest$ac_exeext conftest.$ac_ext
36559 ac_res=`eval echo '${'$as_ac_var'}'`
36560 { echo "$as_me:$LINENO: result: $ac_res" >&5
36561 echo "${ECHO_T}$ac_res" >&6; }
36562 if test `eval echo '${'$as_ac_var'}'` = yes; then
36563 cat >>confdefs.h <<_ACEOF
36564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36571 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36572 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36575 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36576 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36577 if test "${ac_cv_type_mbstate_t+set}" = set; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36580 cat >conftest.$ac_ext <<_ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36588 typedef mbstate_t ac__type_new_;
36592 if ((ac__type_new_ *) 0)
36594 if (sizeof (ac__type_new_))
36600 rm -f conftest.$ac_objext
36601 if { (ac_try="$ac_compile"
36602 case "(($ac_try" in
36603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36604 *) ac_try_echo=$ac_try;;
36606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36607 (eval "$ac_compile") 2>conftest.er1
36609 grep -v '^ *+' conftest.er1 >conftest.err
36611 cat conftest.err >&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); } && {
36614 test -z "$ac_c_werror_flag" ||
36615 test ! -s conftest.err
36616 } && test -s conftest.$ac_objext; then
36617 ac_cv_type_mbstate_t=yes
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36622 ac_cv_type_mbstate_t=no
36625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36627 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36628 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36629 if test $ac_cv_type_mbstate_t = yes; then
36631 cat >>confdefs.h <<_ACEOF
36632 #define HAVE_MBSTATE_T 1
36636 for ac_func in wcsrtombs
36638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36644 cat >conftest.$ac_ext <<_ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36652 #define $ac_func innocuous_$ac_func
36654 /* System header to define __stub macros and hopefully few prototypes,
36655 which can conflict with char $ac_func (); below.
36656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36657 <limits.h> exists even on freestanding compilers. */
36660 # include <limits.h>
36662 # include <assert.h>
36667 /* Override any GCC internal prototype to avoid an error.
36668 Use char because int might match the return type of a GCC
36669 builtin and then its argument prototype would still apply. */
36674 /* The GNU C library defines this for functions which it implements
36675 to always fail with ENOSYS. Some functions are actually named
36676 something starting with __ and the normal name is an alias. */
36677 #if defined __stub_$ac_func || defined __stub___$ac_func
36684 return $ac_func ();
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (ac_try="$ac_link"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 *) ac_try_echo=$ac_try;;
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_link") 2>conftest.er1
36698 grep -v '^ *+' conftest.er1 >conftest.err
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_c_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest$ac_exeext &&
36706 $as_test_x conftest$ac_exeext; then
36707 eval "$as_ac_var=yes"
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.$ac_ext >&5
36712 eval "$as_ac_var=no"
36715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36716 conftest$ac_exeext conftest.$ac_ext
36718 ac_res=`eval echo '${'$as_ac_var'}'`
36719 { echo "$as_me:$LINENO: result: $ac_res" >&5
36720 echo "${ECHO_T}$ac_res" >&6; }
36721 if test `eval echo '${'$as_ac_var'}'` = yes; then
36722 cat >>confdefs.h <<_ACEOF
36723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36735 for ac_func in snprintf vsnprintf vsscanf
36737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 cat >conftest.$ac_ext <<_ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36751 #define $ac_func innocuous_$ac_func
36753 /* System header to define __stub macros and hopefully few prototypes,
36754 which can conflict with char $ac_func (); below.
36755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36756 <limits.h> exists even on freestanding compilers. */
36759 # include <limits.h>
36761 # include <assert.h>
36766 /* Override any GCC internal prototype to avoid an error.
36767 Use char because int might match the return type of a GCC
36768 builtin and then its argument prototype would still apply. */
36773 /* The GNU C library defines this for functions which it implements
36774 to always fail with ENOSYS. Some functions are actually named
36775 something starting with __ and the normal name is an alias. */
36776 #if defined __stub_$ac_func || defined __stub___$ac_func
36783 return $ac_func ();
36788 rm -f conftest.$ac_objext conftest$ac_exeext
36789 if { (ac_try="$ac_link"
36790 case "(($ac_try" in
36791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36792 *) ac_try_echo=$ac_try;;
36794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36795 (eval "$ac_link") 2>conftest.er1
36797 grep -v '^ *+' conftest.er1 >conftest.err
36799 cat conftest.err >&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } && {
36802 test -z "$ac_c_werror_flag" ||
36803 test ! -s conftest.err
36804 } && test -s conftest$ac_exeext &&
36805 $as_test_x conftest$ac_exeext; then
36806 eval "$as_ac_var=yes"
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.$ac_ext >&5
36811 eval "$as_ac_var=no"
36814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36815 conftest$ac_exeext conftest.$ac_ext
36817 ac_res=`eval echo '${'$as_ac_var'}'`
36818 { echo "$as_me:$LINENO: result: $ac_res" >&5
36819 echo "${ECHO_T}$ac_res" >&6; }
36820 if test `eval echo '${'$as_ac_var'}'` = yes; then
36821 cat >>confdefs.h <<_ACEOF
36822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36830 ac_cpp='$CXXCPP $CPPFLAGS'
36831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36835 if test "$ac_cv_func_vsnprintf" = "yes"; then
36836 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36837 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36838 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36839 echo $ECHO_N "(cached) $ECHO_C" >&6
36842 cat >conftest.$ac_ext <<_ACEOF
36845 cat confdefs.h >>conftest.$ac_ext
36846 cat >>conftest.$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36850 #include <stdarg.h>
36852 #if __MSL__ >= 0x6000
36854 using namespace std;
36864 vsnprintf(buf, 10u, "%s", ap);
36870 rm -f conftest.$ac_objext
36871 if { (ac_try="$ac_compile"
36872 case "(($ac_try" in
36873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874 *) ac_try_echo=$ac_try;;
36876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36877 (eval "$ac_compile") 2>conftest.er1
36879 grep -v '^ *+' conftest.er1 >conftest.err
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } && {
36884 test -z "$ac_cxx_werror_flag" ||
36885 test ! -s conftest.err
36886 } && test -s conftest.$ac_objext; then
36887 wx_cv_func_vsnprintf_decl=yes
36889 echo "$as_me: failed program was:" >&5
36890 sed 's/^/| /' conftest.$ac_ext >&5
36892 wx_cv_func_vsnprintf_decl=no
36896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36900 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36901 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36903 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36904 cat >>confdefs.h <<\_ACEOF
36905 #define HAVE_VSNPRINTF_DECL 1
36909 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36910 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 cat >conftest.$ac_ext <<_ACEOF
36918 cat confdefs.h >>conftest.$ac_ext
36919 cat >>conftest.$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36923 #include <stdarg.h>
36925 #if __MSL__ >= 0x6000
36927 using namespace std;
36937 const char *fmt = "%s";
36938 vsnprintf(buf, 10u, fmt, ap);
36944 rm -f conftest.$ac_objext
36945 if { (ac_try="$ac_compile"
36946 case "(($ac_try" in
36947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36948 *) ac_try_echo=$ac_try;;
36950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36951 (eval "$ac_compile") 2>conftest.er1
36953 grep -v '^ *+' conftest.er1 >conftest.err
36955 cat conftest.err >&5
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); } && {
36958 test -z "$ac_cxx_werror_flag" ||
36959 test ! -s conftest.err
36960 } && test -s conftest.$ac_objext; then
36961 wx_cv_func_broken_vsnprintf_decl=no
36963 echo "$as_me: failed program was:" >&5
36964 sed 's/^/| /' conftest.$ac_ext >&5
36966 wx_cv_func_broken_vsnprintf_decl=yes
36970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36974 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36975 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36977 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36978 cat >>confdefs.h <<\_ACEOF
36979 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36986 if test "$ac_cv_func_snprintf" = "yes"; then
36987 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36988 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36989 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36993 cat >conftest.$ac_ext <<_ACEOF
36996 cat confdefs.h >>conftest.$ac_ext
36997 cat >>conftest.$ac_ext <<_ACEOF
36998 /* end confdefs.h. */
37001 #include <stdarg.h>
37003 #if __MSL__ >= 0x6000
37005 using namespace std;
37014 snprintf(buf, 10u, "%s", "wx");
37020 rm -f conftest.$ac_objext
37021 if { (ac_try="$ac_compile"
37022 case "(($ac_try" in
37023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37024 *) ac_try_echo=$ac_try;;
37026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37027 (eval "$ac_compile") 2>conftest.er1
37029 grep -v '^ *+' conftest.er1 >conftest.err
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } && {
37034 test -z "$ac_cxx_werror_flag" ||
37035 test ! -s conftest.err
37036 } && test -s conftest.$ac_objext; then
37037 wx_cv_func_snprintf_decl=yes
37039 echo "$as_me: failed program was:" >&5
37040 sed 's/^/| /' conftest.$ac_ext >&5
37042 wx_cv_func_snprintf_decl=no
37046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37050 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37051 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37053 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37054 cat >>confdefs.h <<\_ACEOF
37055 #define HAVE_SNPRINTF_DECL 1
37060 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37062 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37063 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37064 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37065 echo $ECHO_N "(cached) $ECHO_C" >&6
37068 if test "$cross_compiling" = yes; then
37070 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37071 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37072 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37073 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37074 wx_cv_func_snprintf_pos_params=no
37078 cat >conftest.$ac_ext <<_ACEOF
37081 cat confdefs.h >>conftest.$ac_ext
37082 cat >>conftest.$ac_ext <<_ACEOF
37083 /* end confdefs.h. */
37090 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37091 if (strcmp ("2 3 1", buffer) == 0)
37097 rm -f conftest$ac_exeext
37098 if { (ac_try="$ac_link"
37099 case "(($ac_try" in
37100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37101 *) ac_try_echo=$ac_try;;
37103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37104 (eval "$ac_link") 2>&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37108 { (case "(($ac_try" in
37109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37110 *) ac_try_echo=$ac_try;;
37112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37113 (eval "$ac_try") 2>&5
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); }; }; then
37117 wx_cv_func_snprintf_pos_params=no
37119 echo "$as_me: program exited with status $ac_status" >&5
37120 echo "$as_me: failed program was:" >&5
37121 sed 's/^/| /' conftest.$ac_ext >&5
37123 ( exit $ac_status )
37124 wx_cv_func_snprintf_pos_params=yes
37126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37133 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37134 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37136 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37137 cat >>confdefs.h <<\_ACEOF
37138 #define HAVE_UNIX98_PRINTF 1
37145 if test "$ac_cv_func_vsscanf" = "yes"; then
37146 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37147 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37148 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37149 echo $ECHO_N "(cached) $ECHO_C" >&6
37152 cat >conftest.$ac_ext <<_ACEOF
37155 cat confdefs.h >>conftest.$ac_ext
37156 cat >>conftest.$ac_ext <<_ACEOF
37157 /* end confdefs.h. */
37160 #include <stdarg.h>
37162 #if __MSL__ >= 0x6000
37164 using namespace std;
37174 vsscanf(buf, "%s", args);
37180 rm -f conftest.$ac_objext
37181 if { (ac_try="$ac_compile"
37182 case "(($ac_try" in
37183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37184 *) ac_try_echo=$ac_try;;
37186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37187 (eval "$ac_compile") 2>conftest.er1
37189 grep -v '^ *+' conftest.er1 >conftest.err
37191 cat conftest.err >&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } && {
37194 test -z "$ac_cxx_werror_flag" ||
37195 test ! -s conftest.err
37196 } && test -s conftest.$ac_objext; then
37197 wx_cv_func_vsscanf_decl=yes
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37202 wx_cv_func_vsscanf_decl=no
37206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37210 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37211 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37213 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37214 cat >>confdefs.h <<\_ACEOF
37215 #define HAVE_VSSCANF_DECL 1
37221 ac_cpp='$CPP $CPPFLAGS'
37222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37227 if test "$wxUSE_UNICODE" = yes; then
37229 wchar_headers="#include <stdio.h>
37230 #include <wchar.h>"
37234 for ac_header in widec.h
37236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37240 echo $ECHO_N "(cached) $ECHO_C" >&6
37242 cat >conftest.$ac_ext <<_ACEOF
37245 cat confdefs.h >>conftest.$ac_ext
37246 cat >>conftest.$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37248 $ac_includes_default
37250 #include <$ac_header>
37252 rm -f conftest.$ac_objext
37253 if { (ac_try="$ac_compile"
37254 case "(($ac_try" in
37255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37256 *) ac_try_echo=$ac_try;;
37258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37259 (eval "$ac_compile") 2>conftest.er1
37261 grep -v '^ *+' conftest.er1 >conftest.err
37263 cat conftest.err >&5
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); } && {
37266 test -z "$ac_c_werror_flag" ||
37267 test ! -s conftest.err
37268 } && test -s conftest.$ac_objext; then
37269 eval "$as_ac_Header=yes"
37271 echo "$as_me: failed program was:" >&5
37272 sed 's/^/| /' conftest.$ac_ext >&5
37274 eval "$as_ac_Header=no"
37277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37279 ac_res=`eval echo '${'$as_ac_Header'}'`
37280 { echo "$as_me:$LINENO: result: $ac_res" >&5
37281 echo "${ECHO_T}$ac_res" >&6; }
37282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37283 cat >>confdefs.h <<_ACEOF
37284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37291 if test "$ac_cv_header_widec_h" = "yes"; then
37292 wchar_headers="$wchar_headers
37293 #include <widec.h>"
37298 for wx_func in putws fputws wprintf vswprintf vswscanf
37300 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37301 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37302 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 cat >conftest.$ac_ext <<_ACEOF
37310 cat confdefs.h >>conftest.$ac_ext
37311 cat >>conftest.$ac_ext <<_ACEOF
37312 /* end confdefs.h. */
37315 $ac_includes_default
37331 rm -f conftest.$ac_objext conftest$ac_exeext
37332 if { (ac_try="$ac_link"
37333 case "(($ac_try" in
37334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37335 *) ac_try_echo=$ac_try;;
37337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37338 (eval "$ac_link") 2>conftest.er1
37340 grep -v '^ *+' conftest.er1 >conftest.err
37342 cat conftest.err >&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } && {
37345 test -z "$ac_c_werror_flag" ||
37346 test ! -s conftest.err
37347 } && test -s conftest$ac_exeext &&
37348 $as_test_x conftest$ac_exeext; then
37349 eval wx_cv_func_$wx_func=yes
37351 echo "$as_me: failed program was:" >&5
37352 sed 's/^/| /' conftest.$ac_ext >&5
37354 eval wx_cv_func_$wx_func=no
37357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37358 conftest$ac_exeext conftest.$ac_ext
37361 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37362 { echo "$as_me:$LINENO: result: $ac_res" >&5
37363 echo "${ECHO_T}$ac_res" >&6; }
37365 if eval test \$wx_cv_func_$wx_func = yes
37367 cat >>confdefs.h <<_ACEOF
37368 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37379 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37380 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37381 cat >conftest.$ac_ext <<_ACEOF
37384 cat confdefs.h >>conftest.$ac_ext
37385 cat >>conftest.$ac_ext <<_ACEOF
37386 /* end confdefs.h. */
37396 rm -f conftest.$ac_objext
37397 if { (ac_try="$ac_compile"
37398 case "(($ac_try" in
37399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37400 *) ac_try_echo=$ac_try;;
37402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37403 (eval "$ac_compile") 2>conftest.er1
37405 grep -v '^ *+' conftest.er1 >conftest.err
37407 cat conftest.err >&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); } && {
37410 test -z "$ac_c_werror_flag" ||
37411 test ! -s conftest.err
37412 } && test -s conftest.$ac_objext; then
37413 { echo "$as_me:$LINENO: result: yes" >&5
37414 echo "${ECHO_T}yes" >&6; }
37415 cat >>confdefs.h <<\_ACEOF
37416 #define HAVE__VSNWPRINTF 1
37420 echo "$as_me: failed program was:" >&5
37421 sed 's/^/| /' conftest.$ac_ext >&5
37423 { echo "$as_me:$LINENO: result: no" >&5
37424 echo "${ECHO_T}no" >&6; }
37427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37430 if test "$wxUSE_FILE" = "yes"; then
37432 for wx_func in fsync
37434 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37435 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37436 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37440 cat >conftest.$ac_ext <<_ACEOF
37444 cat confdefs.h >>conftest.$ac_ext
37445 cat >>conftest.$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37449 $ac_includes_default
37465 rm -f conftest.$ac_objext conftest$ac_exeext
37466 if { (ac_try="$ac_link"
37467 case "(($ac_try" in
37468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37469 *) ac_try_echo=$ac_try;;
37471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37472 (eval "$ac_link") 2>conftest.er1
37474 grep -v '^ *+' conftest.er1 >conftest.err
37476 cat conftest.err >&5
37477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 (exit $ac_status); } && {
37479 test -z "$ac_c_werror_flag" ||
37480 test ! -s conftest.err
37481 } && test -s conftest$ac_exeext &&
37482 $as_test_x conftest$ac_exeext; then
37483 eval wx_cv_func_$wx_func=yes
37485 echo "$as_me: failed program was:" >&5
37486 sed 's/^/| /' conftest.$ac_ext >&5
37488 eval wx_cv_func_$wx_func=no
37491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37492 conftest$ac_exeext conftest.$ac_ext
37495 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37496 { echo "$as_me:$LINENO: result: $ac_res" >&5
37497 echo "${ECHO_T}$ac_res" >&6; }
37499 if eval test \$wx_cv_func_$wx_func = yes
37501 cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37515 ac_cpp='$CXXCPP $CPPFLAGS'
37516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37521 for wx_func in round
37523 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37524 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37525 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37526 echo $ECHO_N "(cached) $ECHO_C" >&6
37529 cat >conftest.$ac_ext <<_ACEOF
37533 cat confdefs.h >>conftest.$ac_ext
37534 cat >>conftest.$ac_ext <<_ACEOF
37535 /* end confdefs.h. */
37538 $ac_includes_default
37554 rm -f conftest.$ac_objext conftest$ac_exeext
37555 if { (ac_try="$ac_link"
37556 case "(($ac_try" in
37557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37558 *) ac_try_echo=$ac_try;;
37560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37561 (eval "$ac_link") 2>conftest.er1
37563 grep -v '^ *+' conftest.er1 >conftest.err
37565 cat conftest.err >&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); } && {
37568 test -z "$ac_cxx_werror_flag" ||
37569 test ! -s conftest.err
37570 } && test -s conftest$ac_exeext &&
37571 $as_test_x conftest$ac_exeext; then
37572 eval wx_cv_func_$wx_func=yes
37574 echo "$as_me: failed program was:" >&5
37575 sed 's/^/| /' conftest.$ac_ext >&5
37577 eval wx_cv_func_$wx_func=no
37580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37581 conftest$ac_exeext conftest.$ac_ext
37584 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37585 { echo "$as_me:$LINENO: result: $ac_res" >&5
37586 echo "${ECHO_T}$ac_res" >&6; }
37588 if eval test \$wx_cv_func_$wx_func = yes
37590 cat >>confdefs.h <<_ACEOF
37591 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37602 ac_cpp='$CPP $CPPFLAGS'
37603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608 if test "$TOOLKIT" != "MSW"; then
37610 if test "$wxUSE_LIBICONV" != "no" ; then
37614 # Check whether --with-libiconv-prefix was given.
37615 if test "${with_libiconv_prefix+set}" = set; then
37616 withval=$with_libiconv_prefix;
37617 for dir in `echo "$withval" | tr : ' '`; do
37618 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37619 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37625 { echo "$as_me:$LINENO: checking for iconv" >&5
37626 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37627 if test "${am_cv_func_iconv+set}" = set; then
37628 echo $ECHO_N "(cached) $ECHO_C" >&6
37631 am_cv_func_iconv="no, consider installing GNU libiconv"
37633 cat >conftest.$ac_ext <<_ACEOF
37636 cat confdefs.h >>conftest.$ac_ext
37637 cat >>conftest.$ac_ext <<_ACEOF
37638 /* end confdefs.h. */
37639 #include <stdlib.h>
37644 iconv_t cd = iconv_open("","");
37645 iconv(cd,NULL,NULL,NULL,NULL);
37651 rm -f conftest.$ac_objext conftest$ac_exeext
37652 if { (ac_try="$ac_link"
37653 case "(($ac_try" in
37654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37655 *) ac_try_echo=$ac_try;;
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_link") 2>conftest.er1
37660 grep -v '^ *+' conftest.er1 >conftest.err
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest$ac_exeext &&
37668 $as_test_x conftest$ac_exeext; then
37669 am_cv_func_iconv=yes
37671 echo "$as_me: failed program was:" >&5
37672 sed 's/^/| /' conftest.$ac_ext >&5
37677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37678 conftest$ac_exeext conftest.$ac_ext
37679 if test "$am_cv_func_iconv" != yes; then
37680 am_save_LIBS="$LIBS"
37681 LIBS="$LIBS -liconv"
37682 cat >conftest.$ac_ext <<_ACEOF
37685 cat confdefs.h >>conftest.$ac_ext
37686 cat >>conftest.$ac_ext <<_ACEOF
37687 /* end confdefs.h. */
37688 #include <stdlib.h>
37693 iconv_t cd = iconv_open("","");
37694 iconv(cd,NULL,NULL,NULL,NULL);
37700 rm -f conftest.$ac_objext conftest$ac_exeext
37701 if { (ac_try="$ac_link"
37702 case "(($ac_try" in
37703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37704 *) ac_try_echo=$ac_try;;
37706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37707 (eval "$ac_link") 2>conftest.er1
37709 grep -v '^ *+' conftest.er1 >conftest.err
37711 cat conftest.err >&5
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); } && {
37714 test -z "$ac_c_werror_flag" ||
37715 test ! -s conftest.err
37716 } && test -s conftest$ac_exeext &&
37717 $as_test_x conftest$ac_exeext; then
37718 am_cv_lib_iconv=yes
37719 am_cv_func_iconv=yes
37721 echo "$as_me: failed program was:" >&5
37722 sed 's/^/| /' conftest.$ac_ext >&5
37727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37728 conftest$ac_exeext conftest.$ac_ext
37729 LIBS="$am_save_LIBS"
37733 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37734 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37735 if test "$am_cv_func_iconv" = yes; then
37737 cat >>confdefs.h <<\_ACEOF
37738 #define HAVE_ICONV 1
37741 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37742 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37743 if test "${wx_cv_func_iconv_const+set}" = set; then
37744 echo $ECHO_N "(cached) $ECHO_C" >&6
37746 cat >conftest.$ac_ext <<_ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37753 #include <stdlib.h>
37759 #if defined(__STDC__) || defined(__cplusplus)
37760 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37773 rm -f conftest.$ac_objext
37774 if { (ac_try="$ac_compile"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37777 *) ac_try_echo=$ac_try;;
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_compile") 2>conftest.er1
37782 grep -v '^ *+' conftest.er1 >conftest.err
37784 cat conftest.err >&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_c_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest.$ac_objext; then
37790 wx_cv_func_iconv_const="no"
37792 echo "$as_me: failed program was:" >&5
37793 sed 's/^/| /' conftest.$ac_ext >&5
37795 wx_cv_func_iconv_const="yes"
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37802 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37803 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37806 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37807 iconv_const="const"
37811 cat >>confdefs.h <<_ACEOF
37812 #define ICONV_CONST $iconv_const
37817 if test "$am_cv_lib_iconv" = yes; then
37822 LIBS="$LIBICONV $LIBS"
37825 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37827 for ac_func in sigaction
37829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37833 echo $ECHO_N "(cached) $ECHO_C" >&6
37835 cat >conftest.$ac_ext <<_ACEOF
37838 cat confdefs.h >>conftest.$ac_ext
37839 cat >>conftest.$ac_ext <<_ACEOF
37840 /* end confdefs.h. */
37841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37843 #define $ac_func innocuous_$ac_func
37845 /* System header to define __stub macros and hopefully few prototypes,
37846 which can conflict with char $ac_func (); below.
37847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37848 <limits.h> exists even on freestanding compilers. */
37851 # include <limits.h>
37853 # include <assert.h>
37858 /* Override any GCC internal prototype to avoid an error.
37859 Use char because int might match the return type of a GCC
37860 builtin and then its argument prototype would still apply. */
37865 /* The GNU C library defines this for functions which it implements
37866 to always fail with ENOSYS. Some functions are actually named
37867 something starting with __ and the normal name is an alias. */
37868 #if defined __stub_$ac_func || defined __stub___$ac_func
37875 return $ac_func ();
37880 rm -f conftest.$ac_objext conftest$ac_exeext
37881 if { (ac_try="$ac_link"
37882 case "(($ac_try" in
37883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37884 *) ac_try_echo=$ac_try;;
37886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37887 (eval "$ac_link") 2>conftest.er1
37889 grep -v '^ *+' conftest.er1 >conftest.err
37891 cat conftest.err >&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } && {
37894 test -z "$ac_c_werror_flag" ||
37895 test ! -s conftest.err
37896 } && test -s conftest$ac_exeext &&
37897 $as_test_x conftest$ac_exeext; then
37898 eval "$as_ac_var=yes"
37900 echo "$as_me: failed program was:" >&5
37901 sed 's/^/| /' conftest.$ac_ext >&5
37903 eval "$as_ac_var=no"
37906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37907 conftest$ac_exeext conftest.$ac_ext
37909 ac_res=`eval echo '${'$as_ac_var'}'`
37910 { echo "$as_me:$LINENO: result: $ac_res" >&5
37911 echo "${ECHO_T}$ac_res" >&6; }
37912 if test `eval echo '${'$as_ac_var'}'` = yes; then
37913 cat >>confdefs.h <<_ACEOF
37914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37921 if test "$ac_cv_func_sigaction" = "no"; then
37922 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37923 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37924 wxUSE_ON_FATAL_EXCEPTION=no
37927 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37928 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37929 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37930 if test "${wx_cv_type_sa_handler+set}" = set; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37935 ac_cpp='$CXXCPP $CPPFLAGS'
37936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37940 cat >conftest.$ac_ext <<_ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946 #include <signal.h>
37951 extern void testSigHandler(int);
37953 struct sigaction sa;
37954 sa.sa_handler = testSigHandler;
37960 rm -f conftest.$ac_objext
37961 if { (ac_try="$ac_compile"
37962 case "(($ac_try" in
37963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37964 *) ac_try_echo=$ac_try;;
37966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37967 (eval "$ac_compile") 2>conftest.er1
37969 grep -v '^ *+' conftest.er1 >conftest.err
37971 cat conftest.err >&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); } && {
37974 test -z "$ac_cxx_werror_flag" ||
37975 test ! -s conftest.err
37976 } && test -s conftest.$ac_objext; then
37978 wx_cv_type_sa_handler=int
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.$ac_ext >&5
37985 wx_cv_type_sa_handler=void
37989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_cpp='$CPP $CPPFLAGS'
37992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37998 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37999 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38001 cat >>confdefs.h <<_ACEOF
38002 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38008 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38009 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38010 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38011 if test "${wx_cv_func_backtrace+set}" = set; then
38012 echo $ECHO_N "(cached) $ECHO_C" >&6
38016 ac_cpp='$CXXCPP $CPPFLAGS'
38017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38021 cat >conftest.$ac_ext <<_ACEOF
38024 cat confdefs.h >>conftest.$ac_ext
38025 cat >>conftest.$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38027 #include <execinfo.h>
38035 backtrace(trace, 1);
38036 messages = backtrace_symbols(trace, 1);
38042 rm -f conftest.$ac_objext
38043 if { (ac_try="$ac_compile"
38044 case "(($ac_try" in
38045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38046 *) ac_try_echo=$ac_try;;
38048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38049 (eval "$ac_compile") 2>conftest.er1
38051 grep -v '^ *+' conftest.er1 >conftest.err
38053 cat conftest.err >&5
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); } && {
38056 test -z "$ac_cxx_werror_flag" ||
38057 test ! -s conftest.err
38058 } && test -s conftest.$ac_objext; then
38059 wx_cv_func_backtrace=yes
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
38064 wx_cv_func_backtrace=no
38068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38070 ac_cpp='$CPP $CPPFLAGS'
38071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38078 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38079 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38082 if test "$wx_cv_func_backtrace" = "no"; then
38083 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38084 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38085 wxUSE_STACKWALKER=no
38087 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38088 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38089 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38090 echo $ECHO_N "(cached) $ECHO_C" >&6
38094 ac_cpp='$CXXCPP $CPPFLAGS'
38095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38099 cat >conftest.$ac_ext <<_ACEOF
38102 cat confdefs.h >>conftest.$ac_ext
38103 cat >>conftest.$ac_ext <<_ACEOF
38104 /* end confdefs.h. */
38105 #include <cxxabi.h>
38111 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38117 rm -f conftest.$ac_objext conftest$ac_exeext
38118 if { (ac_try="$ac_link"
38119 case "(($ac_try" in
38120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38121 *) ac_try_echo=$ac_try;;
38123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38124 (eval "$ac_link") 2>conftest.er1
38126 grep -v '^ *+' conftest.er1 >conftest.err
38128 cat conftest.err >&5
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } && {
38131 test -z "$ac_cxx_werror_flag" ||
38132 test ! -s conftest.err
38133 } && test -s conftest$ac_exeext &&
38134 $as_test_x conftest$ac_exeext; then
38135 wx_cv_func_cxa_demangle=yes
38137 echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.$ac_ext >&5
38140 wx_cv_func_cxa_demangle=no
38144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38145 conftest$ac_exeext conftest.$ac_ext
38147 ac_cpp='$CPP $CPPFLAGS'
38148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38155 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38156 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38158 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38159 cat >>confdefs.h <<\_ACEOF
38160 #define HAVE_CXA_DEMANGLE 1
38167 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38168 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38169 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38170 wxUSE_STACKWALKER=no
38176 for ac_func in mkstemp mktemp
38178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38181 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38184 cat >conftest.$ac_ext <<_ACEOF
38187 cat confdefs.h >>conftest.$ac_ext
38188 cat >>conftest.$ac_ext <<_ACEOF
38189 /* end confdefs.h. */
38190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38192 #define $ac_func innocuous_$ac_func
38194 /* System header to define __stub macros and hopefully few prototypes,
38195 which can conflict with char $ac_func (); below.
38196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38197 <limits.h> exists even on freestanding compilers. */
38200 # include <limits.h>
38202 # include <assert.h>
38207 /* Override any GCC internal prototype to avoid an error.
38208 Use char because int might match the return type of a GCC
38209 builtin and then its argument prototype would still apply. */
38214 /* The GNU C library defines this for functions which it implements
38215 to always fail with ENOSYS. Some functions are actually named
38216 something starting with __ and the normal name is an alias. */
38217 #if defined __stub_$ac_func || defined __stub___$ac_func
38224 return $ac_func ();
38229 rm -f conftest.$ac_objext conftest$ac_exeext
38230 if { (ac_try="$ac_link"
38231 case "(($ac_try" in
38232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38233 *) ac_try_echo=$ac_try;;
38235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38236 (eval "$ac_link") 2>conftest.er1
38238 grep -v '^ *+' conftest.er1 >conftest.err
38240 cat conftest.err >&5
38241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38242 (exit $ac_status); } && {
38243 test -z "$ac_c_werror_flag" ||
38244 test ! -s conftest.err
38245 } && test -s conftest$ac_exeext &&
38246 $as_test_x conftest$ac_exeext; then
38247 eval "$as_ac_var=yes"
38249 echo "$as_me: failed program was:" >&5
38250 sed 's/^/| /' conftest.$ac_ext >&5
38252 eval "$as_ac_var=no"
38255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38256 conftest$ac_exeext conftest.$ac_ext
38258 ac_res=`eval echo '${'$as_ac_var'}'`
38259 { echo "$as_me:$LINENO: result: $ac_res" >&5
38260 echo "${ECHO_T}$ac_res" >&6; }
38261 if test `eval echo '${'$as_ac_var'}'` = yes; then
38262 cat >>confdefs.h <<_ACEOF
38263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38270 { echo "$as_me:$LINENO: checking for statfs" >&5
38271 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38272 if test "${wx_cv_func_statfs+set}" = set; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 cat >conftest.$ac_ext <<_ACEOF
38278 cat confdefs.h >>conftest.$ac_ext
38279 cat >>conftest.$ac_ext <<_ACEOF
38280 /* end confdefs.h. */
38282 #if defined(__BSD__)
38283 #include <sys/param.h>
38284 #include <sys/mount.h>
38286 #include <sys/vfs.h>
38304 rm -f conftest.$ac_objext
38305 if { (ac_try="$ac_compile"
38306 case "(($ac_try" in
38307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38308 *) ac_try_echo=$ac_try;;
38310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38311 (eval "$ac_compile") 2>conftest.er1
38313 grep -v '^ *+' conftest.er1 >conftest.err
38315 cat conftest.err >&5
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); } && {
38318 test -z "$ac_c_werror_flag" ||
38319 test ! -s conftest.err
38320 } && test -s conftest.$ac_objext; then
38321 wx_cv_func_statfs=yes
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.$ac_ext >&5
38326 wx_cv_func_statfs=no
38330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38333 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38334 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38336 if test "$wx_cv_func_statfs" = "yes"; then
38337 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38338 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38339 if test "${wx_cv_func_statfs_decl+set}" = set; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38343 ac_cpp='$CXXCPP $CPPFLAGS'
38344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38348 cat >conftest.$ac_ext <<_ACEOF
38351 cat confdefs.h >>conftest.$ac_ext
38352 cat >>conftest.$ac_ext <<_ACEOF
38353 /* end confdefs.h. */
38355 #if defined(__BSD__)
38356 #include <sys/param.h>
38357 #include <sys/mount.h>
38359 #include <sys/vfs.h>
38373 rm -f conftest.$ac_objext
38374 if { (ac_try="$ac_compile"
38375 case "(($ac_try" in
38376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38377 *) ac_try_echo=$ac_try;;
38379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38380 (eval "$ac_compile") 2>conftest.er1
38382 grep -v '^ *+' conftest.er1 >conftest.err
38384 cat conftest.err >&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } && {
38387 test -z "$ac_cxx_werror_flag" ||
38388 test ! -s conftest.err
38389 } && test -s conftest.$ac_objext; then
38390 wx_cv_func_statfs_decl=yes
38392 echo "$as_me: failed program was:" >&5
38393 sed 's/^/| /' conftest.$ac_ext >&5
38395 wx_cv_func_statfs_decl=no
38399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38401 ac_cpp='$CPP $CPPFLAGS'
38402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38408 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38409 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38411 if test "$wx_cv_func_statfs_decl" = "yes"; then
38412 cat >>confdefs.h <<\_ACEOF
38413 #define HAVE_STATFS_DECL 1
38418 wx_cv_type_statvfs_t="struct statfs"
38419 cat >>confdefs.h <<\_ACEOF
38420 #define HAVE_STATFS 1
38424 { echo "$as_me:$LINENO: checking for statvfs" >&5
38425 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38426 if test "${wx_cv_func_statvfs+set}" = set; then
38427 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 cat >conftest.$ac_ext <<_ACEOF
38432 cat confdefs.h >>conftest.$ac_ext
38433 cat >>conftest.$ac_ext <<_ACEOF
38434 /* end confdefs.h. */
38436 #include <stddef.h>
38437 #include <sys/statvfs.h>
38443 statvfs("/", NULL);
38449 rm -f conftest.$ac_objext
38450 if { (ac_try="$ac_compile"
38451 case "(($ac_try" in
38452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38453 *) ac_try_echo=$ac_try;;
38455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38456 (eval "$ac_compile") 2>conftest.er1
38458 grep -v '^ *+' conftest.er1 >conftest.err
38460 cat conftest.err >&5
38461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38462 (exit $ac_status); } && {
38463 test -z "$ac_c_werror_flag" ||
38464 test ! -s conftest.err
38465 } && test -s conftest.$ac_objext; then
38466 wx_cv_func_statvfs=yes
38468 echo "$as_me: failed program was:" >&5
38469 sed 's/^/| /' conftest.$ac_ext >&5
38471 wx_cv_func_statvfs=no
38475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38478 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38479 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38481 if test "$wx_cv_func_statvfs" = "yes"; then
38482 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38483 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38484 if test "${wx_cv_type_statvfs_t+set}" = set; then
38485 echo $ECHO_N "(cached) $ECHO_C" >&6
38488 ac_cpp='$CXXCPP $CPPFLAGS'
38489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38493 cat >conftest.$ac_ext <<_ACEOF
38496 cat confdefs.h >>conftest.$ac_ext
38497 cat >>conftest.$ac_ext <<_ACEOF
38498 /* end confdefs.h. */
38500 #include <sys/statvfs.h>
38517 rm -f conftest.$ac_objext
38518 if { (ac_try="$ac_compile"
38519 case "(($ac_try" in
38520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38521 *) ac_try_echo=$ac_try;;
38523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38524 (eval "$ac_compile") 2>conftest.er1
38526 grep -v '^ *+' conftest.er1 >conftest.err
38528 cat conftest.err >&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } && {
38531 test -z "$ac_cxx_werror_flag" ||
38532 test ! -s conftest.err
38533 } && test -s conftest.$ac_objext; then
38534 wx_cv_type_statvfs_t=statvfs_t
38536 echo "$as_me: failed program was:" >&5
38537 sed 's/^/| /' conftest.$ac_ext >&5
38540 cat >conftest.$ac_ext <<_ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38547 #include <sys/statvfs.h>
38564 rm -f conftest.$ac_objext
38565 if { (ac_try="$ac_compile"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38568 *) ac_try_echo=$ac_try;;
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_compile") 2>conftest.er1
38573 grep -v '^ *+' conftest.er1 >conftest.err
38575 cat conftest.err >&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } && {
38578 test -z "$ac_cxx_werror_flag" ||
38579 test ! -s conftest.err
38580 } && test -s conftest.$ac_objext; then
38581 wx_cv_type_statvfs_t="struct statvfs"
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38586 wx_cv_type_statvfs_t="unknown"
38590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38597 ac_cpp='$CPP $CPPFLAGS'
38598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38604 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38605 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38607 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38608 cat >>confdefs.h <<\_ACEOF
38609 #define HAVE_STATVFS 1
38614 wx_cv_type_statvfs_t="unknown"
38618 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38619 cat >>confdefs.h <<_ACEOF
38620 #define WX_STATFS_T $wx_cv_type_statvfs_t
38624 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38625 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38628 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38631 for ac_func in fcntl flock
38633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38639 cat >conftest.$ac_ext <<_ACEOF
38642 cat confdefs.h >>conftest.$ac_ext
38643 cat >>conftest.$ac_ext <<_ACEOF
38644 /* end confdefs.h. */
38645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38647 #define $ac_func innocuous_$ac_func
38649 /* System header to define __stub macros and hopefully few prototypes,
38650 which can conflict with char $ac_func (); below.
38651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38652 <limits.h> exists even on freestanding compilers. */
38655 # include <limits.h>
38657 # include <assert.h>
38662 /* Override any GCC internal prototype to avoid an error.
38663 Use char because int might match the return type of a GCC
38664 builtin and then its argument prototype would still apply. */
38669 /* The GNU C library defines this for functions which it implements
38670 to always fail with ENOSYS. Some functions are actually named
38671 something starting with __ and the normal name is an alias. */
38672 #if defined __stub_$ac_func || defined __stub___$ac_func
38679 return $ac_func ();
38684 rm -f conftest.$ac_objext conftest$ac_exeext
38685 if { (ac_try="$ac_link"
38686 case "(($ac_try" in
38687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38688 *) ac_try_echo=$ac_try;;
38690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38691 (eval "$ac_link") 2>conftest.er1
38693 grep -v '^ *+' conftest.er1 >conftest.err
38695 cat conftest.err >&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); } && {
38698 test -z "$ac_c_werror_flag" ||
38699 test ! -s conftest.err
38700 } && test -s conftest$ac_exeext &&
38701 $as_test_x conftest$ac_exeext; then
38702 eval "$as_ac_var=yes"
38704 echo "$as_me: failed program was:" >&5
38705 sed 's/^/| /' conftest.$ac_ext >&5
38707 eval "$as_ac_var=no"
38710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38711 conftest$ac_exeext conftest.$ac_ext
38713 ac_res=`eval echo '${'$as_ac_var'}'`
38714 { echo "$as_me:$LINENO: result: $ac_res" >&5
38715 echo "${ECHO_T}$ac_res" >&6; }
38716 if test `eval echo '${'$as_ac_var'}'` = yes; then
38717 cat >>confdefs.h <<_ACEOF
38718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38725 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38726 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38727 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38728 wxUSE_SNGLINST_CHECKER=no
38734 for ac_func in setenv putenv
38736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38742 cat >conftest.$ac_ext <<_ACEOF
38745 cat confdefs.h >>conftest.$ac_ext
38746 cat >>conftest.$ac_ext <<_ACEOF
38747 /* end confdefs.h. */
38748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38750 #define $ac_func innocuous_$ac_func
38752 /* System header to define __stub macros and hopefully few prototypes,
38753 which can conflict with char $ac_func (); below.
38754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38755 <limits.h> exists even on freestanding compilers. */
38758 # include <limits.h>
38760 # include <assert.h>
38765 /* Override any GCC internal prototype to avoid an error.
38766 Use char because int might match the return type of a GCC
38767 builtin and then its argument prototype would still apply. */
38772 /* The GNU C library defines this for functions which it implements
38773 to always fail with ENOSYS. Some functions are actually named
38774 something starting with __ and the normal name is an alias. */
38775 #if defined __stub_$ac_func || defined __stub___$ac_func
38782 return $ac_func ();
38787 rm -f conftest.$ac_objext conftest$ac_exeext
38788 if { (ac_try="$ac_link"
38789 case "(($ac_try" in
38790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38791 *) ac_try_echo=$ac_try;;
38793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38794 (eval "$ac_link") 2>conftest.er1
38796 grep -v '^ *+' conftest.er1 >conftest.err
38798 cat conftest.err >&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); } && {
38801 test -z "$ac_c_werror_flag" ||
38802 test ! -s conftest.err
38803 } && test -s conftest$ac_exeext &&
38804 $as_test_x conftest$ac_exeext; then
38805 eval "$as_ac_var=yes"
38807 echo "$as_me: failed program was:" >&5
38808 sed 's/^/| /' conftest.$ac_ext >&5
38810 eval "$as_ac_var=no"
38813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38814 conftest$ac_exeext conftest.$ac_ext
38816 ac_res=`eval echo '${'$as_ac_var'}'`
38817 { echo "$as_me:$LINENO: result: $ac_res" >&5
38818 echo "${ECHO_T}$ac_res" >&6; }
38819 if test `eval echo '${'$as_ac_var'}'` = yes; then
38820 cat >>confdefs.h <<_ACEOF
38821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38827 if test "$ac_cv_func_setenv" = "yes"; then
38829 for ac_func in unsetenv
38831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38835 echo $ECHO_N "(cached) $ECHO_C" >&6
38837 cat >conftest.$ac_ext <<_ACEOF
38840 cat confdefs.h >>conftest.$ac_ext
38841 cat >>conftest.$ac_ext <<_ACEOF
38842 /* end confdefs.h. */
38843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38845 #define $ac_func innocuous_$ac_func
38847 /* System header to define __stub macros and hopefully few prototypes,
38848 which can conflict with char $ac_func (); below.
38849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38850 <limits.h> exists even on freestanding compilers. */
38853 # include <limits.h>
38855 # include <assert.h>
38860 /* Override any GCC internal prototype to avoid an error.
38861 Use char because int might match the return type of a GCC
38862 builtin and then its argument prototype would still apply. */
38867 /* The GNU C library defines this for functions which it implements
38868 to always fail with ENOSYS. Some functions are actually named
38869 something starting with __ and the normal name is an alias. */
38870 #if defined __stub_$ac_func || defined __stub___$ac_func
38877 return $ac_func ();
38882 rm -f conftest.$ac_objext conftest$ac_exeext
38883 if { (ac_try="$ac_link"
38884 case "(($ac_try" in
38885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38886 *) ac_try_echo=$ac_try;;
38888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38889 (eval "$ac_link") 2>conftest.er1
38891 grep -v '^ *+' conftest.er1 >conftest.err
38893 cat conftest.err >&5
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); } && {
38896 test -z "$ac_c_werror_flag" ||
38897 test ! -s conftest.err
38898 } && test -s conftest$ac_exeext &&
38899 $as_test_x conftest$ac_exeext; then
38900 eval "$as_ac_var=yes"
38902 echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.$ac_ext >&5
38905 eval "$as_ac_var=no"
38908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38909 conftest$ac_exeext conftest.$ac_ext
38911 ac_res=`eval echo '${'$as_ac_var'}'`
38912 { echo "$as_me:$LINENO: result: $ac_res" >&5
38913 echo "${ECHO_T}$ac_res" >&6; }
38914 if test `eval echo '${'$as_ac_var'}'` = yes; then
38915 cat >>confdefs.h <<_ACEOF
38916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38924 HAVE_SOME_SLEEP_FUNC=0
38925 if test "$USE_BEOS" = 1; then
38926 cat >>confdefs.h <<\_ACEOF
38927 #define HAVE_SLEEP 1
38930 HAVE_SOME_SLEEP_FUNC=1
38933 if test "$USE_DARWIN" = 1; then
38934 cat >>confdefs.h <<\_ACEOF
38935 #define HAVE_USLEEP 1
38938 HAVE_SOME_SLEEP_FUNC=1
38941 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38944 for ac_func in nanosleep
38946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38950 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 cat >conftest.$ac_ext <<_ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38960 #define $ac_func innocuous_$ac_func
38962 /* System header to define __stub macros and hopefully few prototypes,
38963 which can conflict with char $ac_func (); below.
38964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38965 <limits.h> exists even on freestanding compilers. */
38968 # include <limits.h>
38970 # include <assert.h>
38975 /* Override any GCC internal prototype to avoid an error.
38976 Use char because int might match the return type of a GCC
38977 builtin and then its argument prototype would still apply. */
38982 /* The GNU C library defines this for functions which it implements
38983 to always fail with ENOSYS. Some functions are actually named
38984 something starting with __ and the normal name is an alias. */
38985 #if defined __stub_$ac_func || defined __stub___$ac_func
38992 return $ac_func ();
38997 rm -f conftest.$ac_objext conftest$ac_exeext
38998 if { (ac_try="$ac_link"
38999 case "(($ac_try" in
39000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39001 *) ac_try_echo=$ac_try;;
39003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39004 (eval "$ac_link") 2>conftest.er1
39006 grep -v '^ *+' conftest.er1 >conftest.err
39008 cat conftest.err >&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); } && {
39011 test -z "$ac_c_werror_flag" ||
39012 test ! -s conftest.err
39013 } && test -s conftest$ac_exeext &&
39014 $as_test_x conftest$ac_exeext; then
39015 eval "$as_ac_var=yes"
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.$ac_ext >&5
39020 eval "$as_ac_var=no"
39023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39024 conftest$ac_exeext conftest.$ac_ext
39026 ac_res=`eval echo '${'$as_ac_var'}'`
39027 { echo "$as_me:$LINENO: result: $ac_res" >&5
39028 echo "${ECHO_T}$ac_res" >&6; }
39029 if test `eval echo '${'$as_ac_var'}'` = yes; then
39030 cat >>confdefs.h <<_ACEOF
39031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39033 cat >>confdefs.h <<\_ACEOF
39034 #define HAVE_NANOSLEEP 1
39039 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39040 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39041 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39044 ac_check_lib_save_LIBS=$LIBS
39045 LIBS="-lposix4 $LIBS"
39046 cat >conftest.$ac_ext <<_ACEOF
39049 cat confdefs.h >>conftest.$ac_ext
39050 cat >>conftest.$ac_ext <<_ACEOF
39051 /* end confdefs.h. */
39053 /* Override any GCC internal prototype to avoid an error.
39054 Use char because int might match the return type of a GCC
39055 builtin and then its argument prototype would still apply. */
39063 return nanosleep ();
39068 rm -f conftest.$ac_objext conftest$ac_exeext
39069 if { (ac_try="$ac_link"
39070 case "(($ac_try" in
39071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39072 *) ac_try_echo=$ac_try;;
39074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39075 (eval "$ac_link") 2>conftest.er1
39077 grep -v '^ *+' conftest.er1 >conftest.err
39079 cat conftest.err >&5
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); } && {
39082 test -z "$ac_c_werror_flag" ||
39083 test ! -s conftest.err
39084 } && test -s conftest$ac_exeext &&
39085 $as_test_x conftest$ac_exeext; then
39086 ac_cv_lib_posix4_nanosleep=yes
39088 echo "$as_me: failed program was:" >&5
39089 sed 's/^/| /' conftest.$ac_ext >&5
39091 ac_cv_lib_posix4_nanosleep=no
39094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39095 conftest$ac_exeext conftest.$ac_ext
39096 LIBS=$ac_check_lib_save_LIBS
39098 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39099 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39100 if test $ac_cv_lib_posix4_nanosleep = yes; then
39102 cat >>confdefs.h <<\_ACEOF
39103 #define HAVE_NANOSLEEP 1
39106 POSIX4_LINK=" -lposix4"
39111 for wx_func in usleep
39113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39116 echo $ECHO_N "(cached) $ECHO_C" >&6
39119 cat >conftest.$ac_ext <<_ACEOF
39123 cat confdefs.h >>conftest.$ac_ext
39124 cat >>conftest.$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39128 $ac_includes_default
39144 rm -f conftest.$ac_objext conftest$ac_exeext
39145 if { (ac_try="$ac_link"
39146 case "(($ac_try" in
39147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39148 *) ac_try_echo=$ac_try;;
39150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39151 (eval "$ac_link") 2>conftest.er1
39153 grep -v '^ *+' conftest.er1 >conftest.err
39155 cat conftest.err >&5
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); } && {
39158 test -z "$ac_c_werror_flag" ||
39159 test ! -s conftest.err
39160 } && test -s conftest$ac_exeext &&
39161 $as_test_x conftest$ac_exeext; then
39162 eval wx_cv_func_$wx_func=yes
39164 echo "$as_me: failed program was:" >&5
39165 sed 's/^/| /' conftest.$ac_ext >&5
39167 eval wx_cv_func_$wx_func=no
39170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39171 conftest$ac_exeext conftest.$ac_ext
39174 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39175 { echo "$as_me:$LINENO: result: $ac_res" >&5
39176 echo "${ECHO_T}$ac_res" >&6; }
39178 if eval test \$wx_cv_func_$wx_func = yes
39180 cat >>confdefs.h <<_ACEOF
39181 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39187 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39188 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39205 for wx_func in uname
39207 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39208 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39209 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39210 echo $ECHO_N "(cached) $ECHO_C" >&6
39213 cat >conftest.$ac_ext <<_ACEOF
39217 cat confdefs.h >>conftest.$ac_ext
39218 cat >>conftest.$ac_ext <<_ACEOF
39219 /* end confdefs.h. */
39221 #include <sys/utsname.h>
39222 $ac_includes_default
39238 rm -f conftest.$ac_objext conftest$ac_exeext
39239 if { (ac_try="$ac_link"
39240 case "(($ac_try" in
39241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39242 *) ac_try_echo=$ac_try;;
39244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39245 (eval "$ac_link") 2>conftest.er1
39247 grep -v '^ *+' conftest.er1 >conftest.err
39249 cat conftest.err >&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); } && {
39252 test -z "$ac_c_werror_flag" ||
39253 test ! -s conftest.err
39254 } && test -s conftest$ac_exeext &&
39255 $as_test_x conftest$ac_exeext; then
39256 eval wx_cv_func_$wx_func=yes
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.$ac_ext >&5
39261 eval wx_cv_func_$wx_func=no
39264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39265 conftest$ac_exeext conftest.$ac_ext
39268 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39269 { echo "$as_me:$LINENO: result: $ac_res" >&5
39270 echo "${ECHO_T}$ac_res" >&6; }
39272 if eval test \$wx_cv_func_$wx_func = yes
39274 cat >>confdefs.h <<_ACEOF
39275 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39285 if test "$wx_cv_func_uname" != yes; then
39287 for wx_func in gethostname
39289 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39290 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39291 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39292 echo $ECHO_N "(cached) $ECHO_C" >&6
39295 cat >conftest.$ac_ext <<_ACEOF
39299 cat confdefs.h >>conftest.$ac_ext
39300 cat >>conftest.$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39304 $ac_includes_default
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (ac_try="$ac_link"
39322 case "(($ac_try" in
39323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39324 *) ac_try_echo=$ac_try;;
39326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39327 (eval "$ac_link") 2>conftest.er1
39329 grep -v '^ *+' conftest.er1 >conftest.err
39331 cat conftest.err >&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } && {
39334 test -z "$ac_c_werror_flag" ||
39335 test ! -s conftest.err
39336 } && test -s conftest$ac_exeext &&
39337 $as_test_x conftest$ac_exeext; then
39338 eval wx_cv_func_$wx_func=yes
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.$ac_ext >&5
39343 eval wx_cv_func_$wx_func=no
39346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39347 conftest$ac_exeext conftest.$ac_ext
39350 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39351 { echo "$as_me:$LINENO: result: $ac_res" >&5
39352 echo "${ECHO_T}$ac_res" >&6; }
39354 if eval test \$wx_cv_func_$wx_func = yes
39356 cat >>confdefs.h <<_ACEOF
39357 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39370 for wx_func in strtok_r
39372 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39373 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39374 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39378 cat >conftest.$ac_ext <<_ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39387 $ac_includes_default
39403 rm -f conftest.$ac_objext conftest$ac_exeext
39404 if { (ac_try="$ac_link"
39405 case "(($ac_try" in
39406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39407 *) ac_try_echo=$ac_try;;
39409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39410 (eval "$ac_link") 2>conftest.er1
39412 grep -v '^ *+' conftest.er1 >conftest.err
39414 cat conftest.err >&5
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); } && {
39417 test -z "$ac_c_werror_flag" ||
39418 test ! -s conftest.err
39419 } && test -s conftest$ac_exeext &&
39420 $as_test_x conftest$ac_exeext; then
39421 eval wx_cv_func_$wx_func=yes
39423 echo "$as_me: failed program was:" >&5
39424 sed 's/^/| /' conftest.$ac_ext >&5
39426 eval wx_cv_func_$wx_func=no
39429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39430 conftest$ac_exeext conftest.$ac_ext
39433 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39434 { echo "$as_me:$LINENO: result: $ac_res" >&5
39435 echo "${ECHO_T}$ac_res" >&6; }
39437 if eval test \$wx_cv_func_$wx_func = yes
39439 cat >>confdefs.h <<_ACEOF
39440 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39453 for ac_func in inet_addr
39455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 cat >conftest.$ac_ext <<_ACEOF
39464 cat confdefs.h >>conftest.$ac_ext
39465 cat >>conftest.$ac_ext <<_ACEOF
39466 /* end confdefs.h. */
39467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39469 #define $ac_func innocuous_$ac_func
39471 /* System header to define __stub macros and hopefully few prototypes,
39472 which can conflict with char $ac_func (); below.
39473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39474 <limits.h> exists even on freestanding compilers. */
39477 # include <limits.h>
39479 # include <assert.h>
39484 /* Override any GCC internal prototype to avoid an error.
39485 Use char because int might match the return type of a GCC
39486 builtin and then its argument prototype would still apply. */
39491 /* The GNU C library defines this for functions which it implements
39492 to always fail with ENOSYS. Some functions are actually named
39493 something starting with __ and the normal name is an alias. */
39494 #if defined __stub_$ac_func || defined __stub___$ac_func
39501 return $ac_func ();
39506 rm -f conftest.$ac_objext conftest$ac_exeext
39507 if { (ac_try="$ac_link"
39508 case "(($ac_try" in
39509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39510 *) ac_try_echo=$ac_try;;
39512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39513 (eval "$ac_link") 2>conftest.er1
39515 grep -v '^ *+' conftest.er1 >conftest.err
39517 cat conftest.err >&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); } && {
39520 test -z "$ac_c_werror_flag" ||
39521 test ! -s conftest.err
39522 } && test -s conftest$ac_exeext &&
39523 $as_test_x conftest$ac_exeext; then
39524 eval "$as_ac_var=yes"
39526 echo "$as_me: failed program was:" >&5
39527 sed 's/^/| /' conftest.$ac_ext >&5
39529 eval "$as_ac_var=no"
39532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39533 conftest$ac_exeext conftest.$ac_ext
39535 ac_res=`eval echo '${'$as_ac_var'}'`
39536 { echo "$as_me:$LINENO: result: $ac_res" >&5
39537 echo "${ECHO_T}$ac_res" >&6; }
39538 if test `eval echo '${'$as_ac_var'}'` = yes; then
39539 cat >>confdefs.h <<_ACEOF
39540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39542 cat >>confdefs.h <<\_ACEOF
39543 #define HAVE_INET_ADDR 1
39548 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39549 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39550 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 ac_check_lib_save_LIBS=$LIBS
39555 cat >conftest.$ac_ext <<_ACEOF
39558 cat confdefs.h >>conftest.$ac_ext
39559 cat >>conftest.$ac_ext <<_ACEOF
39560 /* end confdefs.h. */
39562 /* Override any GCC internal prototype to avoid an error.
39563 Use char because int might match the return type of a GCC
39564 builtin and then its argument prototype would still apply. */
39572 return inet_addr ();
39577 rm -f conftest.$ac_objext conftest$ac_exeext
39578 if { (ac_try="$ac_link"
39579 case "(($ac_try" in
39580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39581 *) ac_try_echo=$ac_try;;
39583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39584 (eval "$ac_link") 2>conftest.er1
39586 grep -v '^ *+' conftest.er1 >conftest.err
39588 cat conftest.err >&5
39589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); } && {
39591 test -z "$ac_c_werror_flag" ||
39592 test ! -s conftest.err
39593 } && test -s conftest$ac_exeext &&
39594 $as_test_x conftest$ac_exeext; then
39595 ac_cv_lib_nsl_inet_addr=yes
39597 echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.$ac_ext >&5
39600 ac_cv_lib_nsl_inet_addr=no
39603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39604 conftest$ac_exeext conftest.$ac_ext
39605 LIBS=$ac_check_lib_save_LIBS
39607 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39608 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39609 if test $ac_cv_lib_nsl_inet_addr = yes; then
39613 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39614 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39615 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39616 echo $ECHO_N "(cached) $ECHO_C" >&6
39618 ac_check_lib_save_LIBS=$LIBS
39619 LIBS="-lresolv $LIBS"
39620 cat >conftest.$ac_ext <<_ACEOF
39623 cat confdefs.h >>conftest.$ac_ext
39624 cat >>conftest.$ac_ext <<_ACEOF
39625 /* end confdefs.h. */
39627 /* Override any GCC internal prototype to avoid an error.
39628 Use char because int might match the return type of a GCC
39629 builtin and then its argument prototype would still apply. */
39637 return inet_addr ();
39642 rm -f conftest.$ac_objext conftest$ac_exeext
39643 if { (ac_try="$ac_link"
39644 case "(($ac_try" in
39645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39646 *) ac_try_echo=$ac_try;;
39648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39649 (eval "$ac_link") 2>conftest.er1
39651 grep -v '^ *+' conftest.er1 >conftest.err
39653 cat conftest.err >&5
39654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39655 (exit $ac_status); } && {
39656 test -z "$ac_c_werror_flag" ||
39657 test ! -s conftest.err
39658 } && test -s conftest$ac_exeext &&
39659 $as_test_x conftest$ac_exeext; then
39660 ac_cv_lib_resolv_inet_addr=yes
39662 echo "$as_me: failed program was:" >&5
39663 sed 's/^/| /' conftest.$ac_ext >&5
39665 ac_cv_lib_resolv_inet_addr=no
39668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39669 conftest$ac_exeext conftest.$ac_ext
39670 LIBS=$ac_check_lib_save_LIBS
39672 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39673 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39674 if test $ac_cv_lib_resolv_inet_addr = yes; then
39678 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39679 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39680 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39683 ac_check_lib_save_LIBS=$LIBS
39684 LIBS="-lsocket $LIBS"
39685 cat >conftest.$ac_ext <<_ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39692 /* Override any GCC internal prototype to avoid an error.
39693 Use char because int might match the return type of a GCC
39694 builtin and then its argument prototype would still apply. */
39702 return inet_addr ();
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39711 *) ac_try_echo=$ac_try;;
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>conftest.er1
39716 grep -v '^ *+' conftest.er1 >conftest.err
39718 cat conftest.err >&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } && {
39721 test -z "$ac_c_werror_flag" ||
39722 test ! -s conftest.err
39723 } && test -s conftest$ac_exeext &&
39724 $as_test_x conftest$ac_exeext; then
39725 ac_cv_lib_socket_inet_addr=yes
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.$ac_ext >&5
39730 ac_cv_lib_socket_inet_addr=no
39733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39734 conftest$ac_exeext conftest.$ac_ext
39735 LIBS=$ac_check_lib_save_LIBS
39737 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39738 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39739 if test $ac_cv_lib_socket_inet_addr = yes; then
39759 for ac_func in inet_aton
39761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39762 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39764 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39765 echo $ECHO_N "(cached) $ECHO_C" >&6
39767 cat >conftest.$ac_ext <<_ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39775 #define $ac_func innocuous_$ac_func
39777 /* System header to define __stub macros and hopefully few prototypes,
39778 which can conflict with char $ac_func (); below.
39779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39780 <limits.h> exists even on freestanding compilers. */
39783 # include <limits.h>
39785 # include <assert.h>
39790 /* Override any GCC internal prototype to avoid an error.
39791 Use char because int might match the return type of a GCC
39792 builtin and then its argument prototype would still apply. */
39797 /* The GNU C library defines this for functions which it implements
39798 to always fail with ENOSYS. Some functions are actually named
39799 something starting with __ and the normal name is an alias. */
39800 #if defined __stub_$ac_func || defined __stub___$ac_func
39807 return $ac_func ();
39812 rm -f conftest.$ac_objext conftest$ac_exeext
39813 if { (ac_try="$ac_link"
39814 case "(($ac_try" in
39815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39816 *) ac_try_echo=$ac_try;;
39818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39819 (eval "$ac_link") 2>conftest.er1
39821 grep -v '^ *+' conftest.er1 >conftest.err
39823 cat conftest.err >&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); } && {
39826 test -z "$ac_c_werror_flag" ||
39827 test ! -s conftest.err
39828 } && test -s conftest$ac_exeext &&
39829 $as_test_x conftest$ac_exeext; then
39830 eval "$as_ac_var=yes"
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39835 eval "$as_ac_var=no"
39838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39839 conftest$ac_exeext conftest.$ac_ext
39841 ac_res=`eval echo '${'$as_ac_var'}'`
39842 { echo "$as_me:$LINENO: result: $ac_res" >&5
39843 echo "${ECHO_T}$ac_res" >&6; }
39844 if test `eval echo '${'$as_ac_var'}'` = yes; then
39845 cat >>confdefs.h <<_ACEOF
39846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39848 cat >>confdefs.h <<\_ACEOF
39849 #define HAVE_INET_ATON 1
39854 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39855 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39856 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39857 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39858 echo $ECHO_N "(cached) $ECHO_C" >&6
39860 ac_check_lib_save_LIBS=$LIBS
39861 LIBS="-l$INET_LINK $LIBS"
39862 cat >conftest.$ac_ext <<_ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39869 /* Override any GCC internal prototype to avoid an error.
39870 Use char because int might match the return type of a GCC
39871 builtin and then its argument prototype would still apply. */
39879 return inet_aton ();
39884 rm -f conftest.$ac_objext conftest$ac_exeext
39885 if { (ac_try="$ac_link"
39886 case "(($ac_try" in
39887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39888 *) ac_try_echo=$ac_try;;
39890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39891 (eval "$ac_link") 2>conftest.er1
39893 grep -v '^ *+' conftest.er1 >conftest.err
39895 cat conftest.err >&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } && {
39898 test -z "$ac_c_werror_flag" ||
39899 test ! -s conftest.err
39900 } && test -s conftest$ac_exeext &&
39901 $as_test_x conftest$ac_exeext; then
39902 eval "$as_ac_Lib=yes"
39904 echo "$as_me: failed program was:" >&5
39905 sed 's/^/| /' conftest.$ac_ext >&5
39907 eval "$as_ac_Lib=no"
39910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39911 conftest$ac_exeext conftest.$ac_ext
39912 LIBS=$ac_check_lib_save_LIBS
39914 ac_res=`eval echo '${'$as_ac_Lib'}'`
39915 { echo "$as_me:$LINENO: result: $ac_res" >&5
39916 echo "${ECHO_T}$ac_res" >&6; }
39917 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39918 cat >>confdefs.h <<\_ACEOF
39919 #define HAVE_INET_ATON 1
39929 if test "x$INET_LINK" != "x"; then
39930 cat >>confdefs.h <<\_ACEOF
39931 #define HAVE_INET_ADDR 1
39934 INET_LINK=" -l$INET_LINK"
39938 for wx_func in fdopen
39940 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39941 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39942 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39946 cat >conftest.$ac_ext <<_ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h. */
39955 $ac_includes_default
39971 rm -f conftest.$ac_objext conftest$ac_exeext
39972 if { (ac_try="$ac_link"
39973 case "(($ac_try" in
39974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39975 *) ac_try_echo=$ac_try;;
39977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39978 (eval "$ac_link") 2>conftest.er1
39980 grep -v '^ *+' conftest.er1 >conftest.err
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } && {
39985 test -z "$ac_c_werror_flag" ||
39986 test ! -s conftest.err
39987 } && test -s conftest$ac_exeext &&
39988 $as_test_x conftest$ac_exeext; then
39989 eval wx_cv_func_$wx_func=yes
39991 echo "$as_me: failed program was:" >&5
39992 sed 's/^/| /' conftest.$ac_ext >&5
39994 eval wx_cv_func_$wx_func=no
39997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39998 conftest$ac_exeext conftest.$ac_ext
40001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40002 { echo "$as_me:$LINENO: result: $ac_res" >&5
40003 echo "${ECHO_T}$ac_res" >&6; }
40005 if eval test \$wx_cv_func_$wx_func = yes
40007 cat >>confdefs.h <<_ACEOF
40008 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40019 if test "$wxUSE_TARSTREAM" = "yes"; then
40021 for wx_func in sysconf
40023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40025 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40029 cat >conftest.$ac_ext <<_ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40038 $ac_includes_default
40054 rm -f conftest.$ac_objext conftest$ac_exeext
40055 if { (ac_try="$ac_link"
40056 case "(($ac_try" in
40057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40058 *) ac_try_echo=$ac_try;;
40060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40061 (eval "$ac_link") 2>conftest.er1
40063 grep -v '^ *+' conftest.er1 >conftest.err
40065 cat conftest.err >&5
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); } && {
40068 test -z "$ac_c_werror_flag" ||
40069 test ! -s conftest.err
40070 } && test -s conftest$ac_exeext &&
40071 $as_test_x conftest$ac_exeext; then
40072 eval wx_cv_func_$wx_func=yes
40074 echo "$as_me: failed program was:" >&5
40075 sed 's/^/| /' conftest.$ac_ext >&5
40077 eval wx_cv_func_$wx_func=no
40080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40081 conftest$ac_exeext conftest.$ac_ext
40084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40085 { echo "$as_me:$LINENO: result: $ac_res" >&5
40086 echo "${ECHO_T}$ac_res" >&6; }
40088 if eval test \$wx_cv_func_$wx_func = yes
40090 cat >>confdefs.h <<_ACEOF
40091 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40103 for wx_func in getpwuid_r
40105 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40106 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40107 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40108 echo $ECHO_N "(cached) $ECHO_C" >&6
40111 cat >conftest.$ac_ext <<_ACEOF
40115 cat confdefs.h >>conftest.$ac_ext
40116 cat >>conftest.$ac_ext <<_ACEOF
40117 /* end confdefs.h. */
40123 $ac_includes_default
40133 struct passwd pw, *ppw;
40135 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40143 rm -f conftest.$ac_objext conftest$ac_exeext
40144 if { (ac_try="$ac_link"
40145 case "(($ac_try" in
40146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40147 *) ac_try_echo=$ac_try;;
40149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40150 (eval "$ac_link") 2>conftest.er1
40152 grep -v '^ *+' conftest.er1 >conftest.err
40154 cat conftest.err >&5
40155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40156 (exit $ac_status); } && {
40157 test -z "$ac_c_werror_flag" ||
40158 test ! -s conftest.err
40159 } && test -s conftest$ac_exeext &&
40160 $as_test_x conftest$ac_exeext; then
40161 eval wx_cv_func_$wx_func=yes
40163 echo "$as_me: failed program was:" >&5
40164 sed 's/^/| /' conftest.$ac_ext >&5
40166 eval wx_cv_func_$wx_func=no
40169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40170 conftest$ac_exeext conftest.$ac_ext
40173 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40174 { echo "$as_me:$LINENO: result: $ac_res" >&5
40175 echo "${ECHO_T}$ac_res" >&6; }
40177 if eval test \$wx_cv_func_$wx_func = yes
40179 cat >>confdefs.h <<_ACEOF
40180 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40192 for wx_func in getgrgid_r
40194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40196 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40197 echo $ECHO_N "(cached) $ECHO_C" >&6
40200 cat >conftest.$ac_ext <<_ACEOF
40204 cat confdefs.h >>conftest.$ac_ext
40205 cat >>conftest.$ac_ext <<_ACEOF
40206 /* end confdefs.h. */
40212 $ac_includes_default
40222 struct group grp, *pgrp;
40224 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40232 rm -f conftest.$ac_objext conftest$ac_exeext
40233 if { (ac_try="$ac_link"
40234 case "(($ac_try" in
40235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40236 *) ac_try_echo=$ac_try;;
40238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40239 (eval "$ac_link") 2>conftest.er1
40241 grep -v '^ *+' conftest.er1 >conftest.err
40243 cat conftest.err >&5
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); } && {
40246 test -z "$ac_c_werror_flag" ||
40247 test ! -s conftest.err
40248 } && test -s conftest$ac_exeext &&
40249 $as_test_x conftest$ac_exeext; then
40250 eval wx_cv_func_$wx_func=yes
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.$ac_ext >&5
40255 eval wx_cv_func_$wx_func=no
40258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40259 conftest$ac_exeext conftest.$ac_ext
40262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40263 { echo "$as_me:$LINENO: result: $ac_res" >&5
40264 echo "${ECHO_T}$ac_res" >&6; }
40266 if eval test \$wx_cv_func_$wx_func = yes
40268 cat >>confdefs.h <<_ACEOF
40269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40285 cat >confcache <<\_ACEOF
40286 # This file is a shell script that caches the results of configure
40287 # tests run on this system so they can be shared between configure
40288 # scripts and configure runs, see configure's option --config-cache.
40289 # It is not useful on other systems. If it contains results you don't
40290 # want to keep, you may remove or edit it.
40292 # config.status only pays attention to the cache file if you give it
40293 # the --recheck option to rerun configure.
40295 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40296 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40297 # following values.
40301 # The following way of writing the cache mishandles newlines in values,
40302 # but we know of no workaround that is simple, portable, and efficient.
40303 # So, we kill variables containing newlines.
40304 # Ultrix sh set writes to stderr and can't be redirected directly,
40305 # and sets the high bit in the cache file unless we assign to the vars.
40307 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40308 eval ac_val=\$$ac_var
40312 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40313 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40316 _ | IFS | as_nl) ;; #(
40317 *) $as_unset $ac_var ;;
40323 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40324 *${as_nl}ac_space=\ *)
40325 # `set' does not quote correctly, so add quotes (double-quote
40326 # substitution turns \\\\ into \\, and sed turns \\ into \).
40329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40332 # `set' quotes correctly as required by POSIX, so do not add quotes.
40333 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40342 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40344 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40346 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40347 if test -w "$cache_file"; then
40348 test "x$cache_file" != "x/dev/null" &&
40349 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40350 echo "$as_me: updating cache $cache_file" >&6;}
40351 cat confcache >$cache_file
40353 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40354 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40360 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40366 if test "$wxUSE_THREADS" = "yes" ; then
40367 if test "$USE_BEOS" = 1; then
40368 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40369 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40374 if test "$wxUSE_THREADS" = "yes" ; then
40377 THREAD_OPTS="-pthread"
40378 if test "x$SUNCXX" = xyes; then
40379 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40383 *-*-solaris2* | *-*-sunos4* )
40384 if test "x$GCC" = "xyes"; then
40385 THREAD_OPTS="-pthreads $THREAD_OPTS"
40389 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40391 *-*-darwin* | *-*-cygwin* )
40395 THREAD_OPTS="pthreads"
40398 if test "x$GCC" = "xyes"; then
40399 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40407 if test "x$GCC" = "xyes"; then
40417 if test "x$GCC" != "xyes"; then
40418 THREAD_OPTS="-Ethread"
40425 THREAD_OPTS="none pthread"
40429 THREAD_OPTS="$THREAD_OPTS pthread none"
40434 for flag in $THREAD_OPTS; do
40437 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40438 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40442 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40443 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40444 THREADS_CFLAGS="$flag"
40448 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40449 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40450 THREADS_LINK="-l$flag"
40455 save_CFLAGS="$CFLAGS"
40456 LIBS="$THREADS_LINK $LIBS"
40457 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40459 cat >conftest.$ac_ext <<_ACEOF
40462 cat confdefs.h >>conftest.$ac_ext
40463 cat >>conftest.$ac_ext <<_ACEOF
40464 /* end confdefs.h. */
40465 #include <pthread.h>
40469 pthread_create(0,0,0,0);
40474 rm -f conftest.$ac_objext conftest$ac_exeext
40475 if { (ac_try="$ac_link"
40476 case "(($ac_try" in
40477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40478 *) ac_try_echo=$ac_try;;
40480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40481 (eval "$ac_link") 2>conftest.er1
40483 grep -v '^ *+' conftest.er1 >conftest.err
40485 cat conftest.err >&5
40486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487 (exit $ac_status); } && {
40488 test -z "$ac_c_werror_flag" ||
40489 test ! -s conftest.err
40490 } && test -s conftest$ac_exeext &&
40491 $as_test_x conftest$ac_exeext; then
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.$ac_ext >&5
40500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40501 conftest$ac_exeext conftest.$ac_ext
40504 CFLAGS="$save_CFLAGS"
40506 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40507 echo "${ECHO_T}$THREADS_OK" >&6; }
40508 if test "x$THREADS_OK" = "xyes"; then
40516 if test "x$THREADS_OK" != "xyes"; then
40518 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40519 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40521 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40522 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40523 LIBS="$THREADS_LINK $LIBS"
40525 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40526 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40530 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40531 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40532 flag="-D_THREAD_SAFE"
40535 flag="-D_THREAD_SAFE"
40538 flag="-D_REENTRANT"
40539 if test "x$GCC" != "xyes"; then
40540 flag="$flag -D_RWSTD_MULTI_THREAD"
40543 *solaris* | alpha*-osf*)
40544 flag="-D_REENTRANT"
40547 { echo "$as_me:$LINENO: result: ${flag}" >&5
40548 echo "${ECHO_T}${flag}" >&6; }
40549 if test "x$flag" != xno; then
40550 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40553 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40557 if test "$wxUSE_THREADS" = "yes" ; then
40559 for ac_func in thr_setconcurrency
40561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40565 echo $ECHO_N "(cached) $ECHO_C" >&6
40567 cat >conftest.$ac_ext <<_ACEOF
40570 cat confdefs.h >>conftest.$ac_ext
40571 cat >>conftest.$ac_ext <<_ACEOF
40572 /* end confdefs.h. */
40573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40575 #define $ac_func innocuous_$ac_func
40577 /* System header to define __stub macros and hopefully few prototypes,
40578 which can conflict with char $ac_func (); below.
40579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40580 <limits.h> exists even on freestanding compilers. */
40583 # include <limits.h>
40585 # include <assert.h>
40590 /* Override any GCC internal prototype to avoid an error.
40591 Use char because int might match the return type of a GCC
40592 builtin and then its argument prototype would still apply. */
40597 /* The GNU C library defines this for functions which it implements
40598 to always fail with ENOSYS. Some functions are actually named
40599 something starting with __ and the normal name is an alias. */
40600 #if defined __stub_$ac_func || defined __stub___$ac_func
40607 return $ac_func ();
40612 rm -f conftest.$ac_objext conftest$ac_exeext
40613 if { (ac_try="$ac_link"
40614 case "(($ac_try" in
40615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40616 *) ac_try_echo=$ac_try;;
40618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40619 (eval "$ac_link") 2>conftest.er1
40621 grep -v '^ *+' conftest.er1 >conftest.err
40623 cat conftest.err >&5
40624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40625 (exit $ac_status); } && {
40626 test -z "$ac_c_werror_flag" ||
40627 test ! -s conftest.err
40628 } && test -s conftest$ac_exeext &&
40629 $as_test_x conftest$ac_exeext; then
40630 eval "$as_ac_var=yes"
40632 echo "$as_me: failed program was:" >&5
40633 sed 's/^/| /' conftest.$ac_ext >&5
40635 eval "$as_ac_var=no"
40638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40639 conftest$ac_exeext conftest.$ac_ext
40641 ac_res=`eval echo '${'$as_ac_var'}'`
40642 { echo "$as_me:$LINENO: result: $ac_res" >&5
40643 echo "${ECHO_T}$ac_res" >&6; }
40644 if test `eval echo '${'$as_ac_var'}'` = yes; then
40645 cat >>confdefs.h <<_ACEOF
40646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40653 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40654 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40655 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40656 echo $ECHO_N "(cached) $ECHO_C" >&6
40660 ac_cpp='$CXXCPP $CPPFLAGS'
40661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40665 cat >conftest.$ac_ext <<_ACEOF
40668 cat confdefs.h >>conftest.$ac_ext
40669 cat >>conftest.$ac_ext <<_ACEOF
40670 /* end confdefs.h. */
40671 #include <pthread.h>
40672 void ThreadCleanupFunc(void *p);
40679 pthread_cleanup_push(ThreadCleanupFunc, p);
40680 pthread_cleanup_pop(0);
40686 rm -f conftest.$ac_objext
40687 if { (ac_try="$ac_compile"
40688 case "(($ac_try" in
40689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40690 *) ac_try_echo=$ac_try;;
40692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40693 (eval "$ac_compile") 2>conftest.er1
40695 grep -v '^ *+' conftest.er1 >conftest.err
40697 cat conftest.err >&5
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); } && {
40700 test -z "$ac_cxx_werror_flag" ||
40701 test ! -s conftest.err
40702 } && test -s conftest.$ac_objext; then
40704 wx_cv_func_pthread_cleanup=yes
40707 echo "$as_me: failed program was:" >&5
40708 sed 's/^/| /' conftest.$ac_ext >&5
40711 wx_cv_func_pthread_cleanup=no
40716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40718 ac_cpp='$CPP $CPPFLAGS'
40719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40725 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40726 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40727 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40728 cat >>confdefs.h <<\_ACEOF
40729 #define wxHAVE_PTHREAD_CLEANUP 1
40735 for ac_header in sched.h
40737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40740 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40741 echo $ECHO_N "(cached) $ECHO_C" >&6
40743 cat >conftest.$ac_ext <<_ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749 $ac_includes_default
40751 #include <$ac_header>
40753 rm -f conftest.$ac_objext
40754 if { (ac_try="$ac_compile"
40755 case "(($ac_try" in
40756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40757 *) ac_try_echo=$ac_try;;
40759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40760 (eval "$ac_compile") 2>conftest.er1
40762 grep -v '^ *+' conftest.er1 >conftest.err
40764 cat conftest.err >&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); } && {
40767 test -z "$ac_c_werror_flag" ||
40768 test ! -s conftest.err
40769 } && test -s conftest.$ac_objext; then
40770 eval "$as_ac_Header=yes"
40772 echo "$as_me: failed program was:" >&5
40773 sed 's/^/| /' conftest.$ac_ext >&5
40775 eval "$as_ac_Header=no"
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40780 ac_res=`eval echo '${'$as_ac_Header'}'`
40781 { echo "$as_me:$LINENO: result: $ac_res" >&5
40782 echo "${ECHO_T}$ac_res" >&6; }
40783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40784 cat >>confdefs.h <<_ACEOF
40785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40792 if test "$ac_cv_header_sched_h" = "yes"; then
40793 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40794 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40795 if test "${ac_cv_func_sched_yield+set}" = set; then
40796 echo $ECHO_N "(cached) $ECHO_C" >&6
40798 cat >conftest.$ac_ext <<_ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40806 #define sched_yield innocuous_sched_yield
40808 /* System header to define __stub macros and hopefully few prototypes,
40809 which can conflict with char sched_yield (); below.
40810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40811 <limits.h> exists even on freestanding compilers. */
40814 # include <limits.h>
40816 # include <assert.h>
40821 /* Override any GCC internal prototype to avoid an error.
40822 Use char because int might match the return type of a GCC
40823 builtin and then its argument prototype would still apply. */
40827 char sched_yield ();
40828 /* The GNU C library defines this for functions which it implements
40829 to always fail with ENOSYS. Some functions are actually named
40830 something starting with __ and the normal name is an alias. */
40831 #if defined __stub_sched_yield || defined __stub___sched_yield
40838 return sched_yield ();
40843 rm -f conftest.$ac_objext conftest$ac_exeext
40844 if { (ac_try="$ac_link"
40845 case "(($ac_try" in
40846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40847 *) ac_try_echo=$ac_try;;
40849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40850 (eval "$ac_link") 2>conftest.er1
40852 grep -v '^ *+' conftest.er1 >conftest.err
40854 cat conftest.err >&5
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); } && {
40857 test -z "$ac_c_werror_flag" ||
40858 test ! -s conftest.err
40859 } && test -s conftest$ac_exeext &&
40860 $as_test_x conftest$ac_exeext; then
40861 ac_cv_func_sched_yield=yes
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40866 ac_cv_func_sched_yield=no
40869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40870 conftest$ac_exeext conftest.$ac_ext
40872 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40873 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40874 if test $ac_cv_func_sched_yield = yes; then
40875 cat >>confdefs.h <<\_ACEOF
40876 #define HAVE_SCHED_YIELD 1
40881 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40882 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40883 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40884 echo $ECHO_N "(cached) $ECHO_C" >&6
40886 ac_check_lib_save_LIBS=$LIBS
40887 LIBS="-lposix4 $LIBS"
40888 cat >conftest.$ac_ext <<_ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h. */
40895 /* Override any GCC internal prototype to avoid an error.
40896 Use char because int might match the return type of a GCC
40897 builtin and then its argument prototype would still apply. */
40901 char sched_yield ();
40905 return sched_yield ();
40910 rm -f conftest.$ac_objext conftest$ac_exeext
40911 if { (ac_try="$ac_link"
40912 case "(($ac_try" in
40913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40914 *) ac_try_echo=$ac_try;;
40916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40917 (eval "$ac_link") 2>conftest.er1
40919 grep -v '^ *+' conftest.er1 >conftest.err
40921 cat conftest.err >&5
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); } && {
40924 test -z "$ac_c_werror_flag" ||
40925 test ! -s conftest.err
40926 } && test -s conftest$ac_exeext &&
40927 $as_test_x conftest$ac_exeext; then
40928 ac_cv_lib_posix4_sched_yield=yes
40930 echo "$as_me: failed program was:" >&5
40931 sed 's/^/| /' conftest.$ac_ext >&5
40933 ac_cv_lib_posix4_sched_yield=no
40936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40937 conftest$ac_exeext conftest.$ac_ext
40938 LIBS=$ac_check_lib_save_LIBS
40940 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40941 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40942 if test $ac_cv_lib_posix4_sched_yield = yes; then
40943 cat >>confdefs.h <<\_ACEOF
40944 #define HAVE_SCHED_YIELD 1
40946 POSIX4_LINK=" -lposix4"
40948 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40949 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40960 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40961 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40962 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40965 cat >conftest.$ac_ext <<_ACEOF
40968 cat confdefs.h >>conftest.$ac_ext
40969 cat >>conftest.$ac_ext <<_ACEOF
40970 /* end confdefs.h. */
40971 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40973 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40975 /* System header to define __stub macros and hopefully few prototypes,
40976 which can conflict with char pthread_attr_getschedpolicy (); below.
40977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40978 <limits.h> exists even on freestanding compilers. */
40981 # include <limits.h>
40983 # include <assert.h>
40986 #undef pthread_attr_getschedpolicy
40988 /* Override any GCC internal prototype to avoid an error.
40989 Use char because int might match the return type of a GCC
40990 builtin and then its argument prototype would still apply. */
40994 char pthread_attr_getschedpolicy ();
40995 /* The GNU C library defines this for functions which it implements
40996 to always fail with ENOSYS. Some functions are actually named
40997 something starting with __ and the normal name is an alias. */
40998 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41005 return pthread_attr_getschedpolicy ();
41010 rm -f conftest.$ac_objext conftest$ac_exeext
41011 if { (ac_try="$ac_link"
41012 case "(($ac_try" in
41013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41014 *) ac_try_echo=$ac_try;;
41016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41017 (eval "$ac_link") 2>conftest.er1
41019 grep -v '^ *+' conftest.er1 >conftest.err
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } && {
41024 test -z "$ac_c_werror_flag" ||
41025 test ! -s conftest.err
41026 } && test -s conftest$ac_exeext &&
41027 $as_test_x conftest$ac_exeext; then
41028 ac_cv_func_pthread_attr_getschedpolicy=yes
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41033 ac_cv_func_pthread_attr_getschedpolicy=no
41036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41037 conftest$ac_exeext conftest.$ac_ext
41039 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41040 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41041 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41042 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41043 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41044 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41045 echo $ECHO_N "(cached) $ECHO_C" >&6
41047 cat >conftest.$ac_ext <<_ACEOF
41050 cat confdefs.h >>conftest.$ac_ext
41051 cat >>conftest.$ac_ext <<_ACEOF
41052 /* end confdefs.h. */
41053 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41055 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41057 /* System header to define __stub macros and hopefully few prototypes,
41058 which can conflict with char pthread_attr_setschedparam (); below.
41059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41060 <limits.h> exists even on freestanding compilers. */
41063 # include <limits.h>
41065 # include <assert.h>
41068 #undef pthread_attr_setschedparam
41070 /* Override any GCC internal prototype to avoid an error.
41071 Use char because int might match the return type of a GCC
41072 builtin and then its argument prototype would still apply. */
41076 char pthread_attr_setschedparam ();
41077 /* The GNU C library defines this for functions which it implements
41078 to always fail with ENOSYS. Some functions are actually named
41079 something starting with __ and the normal name is an alias. */
41080 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41087 return pthread_attr_setschedparam ();
41092 rm -f conftest.$ac_objext conftest$ac_exeext
41093 if { (ac_try="$ac_link"
41094 case "(($ac_try" in
41095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41096 *) ac_try_echo=$ac_try;;
41098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41099 (eval "$ac_link") 2>conftest.er1
41101 grep -v '^ *+' conftest.er1 >conftest.err
41103 cat conftest.err >&5
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); } && {
41106 test -z "$ac_c_werror_flag" ||
41107 test ! -s conftest.err
41108 } && test -s conftest$ac_exeext &&
41109 $as_test_x conftest$ac_exeext; then
41110 ac_cv_func_pthread_attr_setschedparam=yes
41112 echo "$as_me: failed program was:" >&5
41113 sed 's/^/| /' conftest.$ac_ext >&5
41115 ac_cv_func_pthread_attr_setschedparam=no
41118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41119 conftest$ac_exeext conftest.$ac_ext
41121 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41122 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41123 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41124 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41125 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41126 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41127 echo $ECHO_N "(cached) $ECHO_C" >&6
41129 cat >conftest.$ac_ext <<_ACEOF
41132 cat confdefs.h >>conftest.$ac_ext
41133 cat >>conftest.$ac_ext <<_ACEOF
41134 /* end confdefs.h. */
41135 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41137 #define sched_get_priority_max innocuous_sched_get_priority_max
41139 /* System header to define __stub macros and hopefully few prototypes,
41140 which can conflict with char sched_get_priority_max (); below.
41141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41142 <limits.h> exists even on freestanding compilers. */
41145 # include <limits.h>
41147 # include <assert.h>
41150 #undef sched_get_priority_max
41152 /* Override any GCC internal prototype to avoid an error.
41153 Use char because int might match the return type of a GCC
41154 builtin and then its argument prototype would still apply. */
41158 char sched_get_priority_max ();
41159 /* The GNU C library defines this for functions which it implements
41160 to always fail with ENOSYS. Some functions are actually named
41161 something starting with __ and the normal name is an alias. */
41162 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41169 return sched_get_priority_max ();
41174 rm -f conftest.$ac_objext conftest$ac_exeext
41175 if { (ac_try="$ac_link"
41176 case "(($ac_try" in
41177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41178 *) ac_try_echo=$ac_try;;
41180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41181 (eval "$ac_link") 2>conftest.er1
41183 grep -v '^ *+' conftest.er1 >conftest.err
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } && {
41188 test -z "$ac_c_werror_flag" ||
41189 test ! -s conftest.err
41190 } && test -s conftest$ac_exeext &&
41191 $as_test_x conftest$ac_exeext; then
41192 ac_cv_func_sched_get_priority_max=yes
41194 echo "$as_me: failed program was:" >&5
41195 sed 's/^/| /' conftest.$ac_ext >&5
41197 ac_cv_func_sched_get_priority_max=no
41200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41201 conftest$ac_exeext conftest.$ac_ext
41203 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41204 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41205 if test $ac_cv_func_sched_get_priority_max = yes; then
41208 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41209 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41210 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41211 echo $ECHO_N "(cached) $ECHO_C" >&6
41213 ac_check_lib_save_LIBS=$LIBS
41214 LIBS="-lposix4 $LIBS"
41215 cat >conftest.$ac_ext <<_ACEOF
41218 cat confdefs.h >>conftest.$ac_ext
41219 cat >>conftest.$ac_ext <<_ACEOF
41220 /* end confdefs.h. */
41222 /* Override any GCC internal prototype to avoid an error.
41223 Use char because int might match the return type of a GCC
41224 builtin and then its argument prototype would still apply. */
41228 char sched_get_priority_max ();
41232 return sched_get_priority_max ();
41237 rm -f conftest.$ac_objext conftest$ac_exeext
41238 if { (ac_try="$ac_link"
41239 case "(($ac_try" in
41240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41241 *) ac_try_echo=$ac_try;;
41243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41244 (eval "$ac_link") 2>conftest.er1
41246 grep -v '^ *+' conftest.er1 >conftest.err
41248 cat conftest.err >&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); } && {
41251 test -z "$ac_c_werror_flag" ||
41252 test ! -s conftest.err
41253 } && test -s conftest$ac_exeext &&
41254 $as_test_x conftest$ac_exeext; then
41255 ac_cv_lib_posix4_sched_get_priority_max=yes
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.$ac_ext >&5
41260 ac_cv_lib_posix4_sched_get_priority_max=no
41263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41264 conftest$ac_exeext conftest.$ac_ext
41265 LIBS=$ac_check_lib_save_LIBS
41267 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41268 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41269 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41272 POSIX4_LINK=" -lposix4"
41286 if test "$HAVE_PRIOR_FUNCS" = 1; then
41287 cat >>confdefs.h <<\_ACEOF
41288 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41292 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41293 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41296 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41297 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41298 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41301 cat >conftest.$ac_ext <<_ACEOF
41304 cat confdefs.h >>conftest.$ac_ext
41305 cat >>conftest.$ac_ext <<_ACEOF
41306 /* end confdefs.h. */
41307 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41309 #define pthread_cancel innocuous_pthread_cancel
41311 /* System header to define __stub macros and hopefully few prototypes,
41312 which can conflict with char pthread_cancel (); below.
41313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41314 <limits.h> exists even on freestanding compilers. */
41317 # include <limits.h>
41319 # include <assert.h>
41322 #undef pthread_cancel
41324 /* Override any GCC internal prototype to avoid an error.
41325 Use char because int might match the return type of a GCC
41326 builtin and then its argument prototype would still apply. */
41330 char pthread_cancel ();
41331 /* The GNU C library defines this for functions which it implements
41332 to always fail with ENOSYS. Some functions are actually named
41333 something starting with __ and the normal name is an alias. */
41334 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41341 return pthread_cancel ();
41346 rm -f conftest.$ac_objext conftest$ac_exeext
41347 if { (ac_try="$ac_link"
41348 case "(($ac_try" in
41349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41350 *) ac_try_echo=$ac_try;;
41352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41353 (eval "$ac_link") 2>conftest.er1
41355 grep -v '^ *+' conftest.er1 >conftest.err
41357 cat conftest.err >&5
41358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41359 (exit $ac_status); } && {
41360 test -z "$ac_c_werror_flag" ||
41361 test ! -s conftest.err
41362 } && test -s conftest$ac_exeext &&
41363 $as_test_x conftest$ac_exeext; then
41364 ac_cv_func_pthread_cancel=yes
41366 echo "$as_me: failed program was:" >&5
41367 sed 's/^/| /' conftest.$ac_ext >&5
41369 ac_cv_func_pthread_cancel=no
41372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41373 conftest$ac_exeext conftest.$ac_ext
41375 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41376 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41377 if test $ac_cv_func_pthread_cancel = yes; then
41378 cat >>confdefs.h <<\_ACEOF
41379 #define HAVE_PTHREAD_CANCEL 1
41383 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41384 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41388 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41389 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41390 if test "${ac_cv_func_pthread_mutex_timedlock+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_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41401 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41403 /* System header to define __stub macros and hopefully few prototypes,
41404 which can conflict with char pthread_mutex_timedlock (); 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_mutex_timedlock
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_mutex_timedlock ();
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_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41433 return pthread_mutex_timedlock ();
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_mutex_timedlock=yes
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41461 ac_cv_func_pthread_mutex_timedlock=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_mutex_timedlock" >&5
41468 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41469 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41470 cat >>confdefs.h <<\_ACEOF
41471 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41475 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41476 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41480 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41481 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41482 if test "${ac_cv_func_pthread_attr_setstacksize+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_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41493 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41495 /* System header to define __stub macros and hopefully few prototypes,
41496 which can conflict with char pthread_attr_setstacksize (); 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_attr_setstacksize
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_attr_setstacksize ();
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_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41525 return pthread_attr_setstacksize ();
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_attr_setstacksize=yes
41550 echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.$ac_ext >&5
41553 ac_cv_func_pthread_attr_setstacksize=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_attr_setstacksize" >&5
41560 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41561 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41570 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41571 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41572 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41573 echo $ECHO_N "(cached) $ECHO_C" >&6
41576 cat >conftest.$ac_ext <<_ACEOF
41579 cat confdefs.h >>conftest.$ac_ext
41580 cat >>conftest.$ac_ext <<_ACEOF
41581 /* end confdefs.h. */
41582 #include <pthread.h>
41587 pthread_mutexattr_t attr;
41588 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41594 rm -f conftest.$ac_objext
41595 if { (ac_try="$ac_compile"
41596 case "(($ac_try" in
41597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41598 *) ac_try_echo=$ac_try;;
41600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41601 (eval "$ac_compile") 2>conftest.er1
41603 grep -v '^ *+' conftest.er1 >conftest.err
41605 cat conftest.err >&5
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); } && {
41608 test -z "$ac_c_werror_flag" ||
41609 test ! -s conftest.err
41610 } && test -s conftest.$ac_objext; then
41611 wx_cv_type_pthread_mutexattr_t=yes
41613 echo "$as_me: failed program was:" >&5
41614 sed 's/^/| /' conftest.$ac_ext >&5
41616 wx_cv_type_pthread_mutexattr_t=no
41620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41623 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41624 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41626 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41627 cat >>confdefs.h <<\_ACEOF
41628 #define HAVE_PTHREAD_MUTEXATTR_T 1
41632 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41633 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41634 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41635 echo $ECHO_N "(cached) $ECHO_C" >&6
41638 cat >conftest.$ac_ext <<_ACEOF
41641 cat confdefs.h >>conftest.$ac_ext
41642 cat >>conftest.$ac_ext <<_ACEOF
41643 /* end confdefs.h. */
41644 #include <pthread.h>
41649 pthread_mutexattr_t attr;
41650 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41656 rm -f conftest.$ac_objext
41657 if { (ac_try="$ac_compile"
41658 case "(($ac_try" in
41659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41660 *) ac_try_echo=$ac_try;;
41662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41663 (eval "$ac_compile") 2>conftest.er1
41665 grep -v '^ *+' conftest.er1 >conftest.err
41667 cat conftest.err >&5
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); } && {
41670 test -z "$ac_c_werror_flag" ||
41671 test ! -s conftest.err
41672 } && test -s conftest.$ac_objext; then
41673 wx_cv_func_pthread_mutexattr_settype_decl=yes
41675 echo "$as_me: failed program was:" >&5
41676 sed 's/^/| /' conftest.$ac_ext >&5
41678 wx_cv_func_pthread_mutexattr_settype_decl=no
41682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41685 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41686 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41687 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41688 cat >>confdefs.h <<\_ACEOF
41689 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41694 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41695 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41696 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41697 echo $ECHO_N "(cached) $ECHO_C" >&6
41700 cat >conftest.$ac_ext <<_ACEOF
41703 cat confdefs.h >>conftest.$ac_ext
41704 cat >>conftest.$ac_ext <<_ACEOF
41705 /* end confdefs.h. */
41706 #include <pthread.h>
41711 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41717 rm -f conftest.$ac_objext
41718 if { (ac_try="$ac_compile"
41719 case "(($ac_try" in
41720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41721 *) ac_try_echo=$ac_try;;
41723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41724 (eval "$ac_compile") 2>conftest.er1
41726 grep -v '^ *+' conftest.er1 >conftest.err
41728 cat conftest.err >&5
41729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41730 (exit $ac_status); } && {
41731 test -z "$ac_c_werror_flag" ||
41732 test ! -s conftest.err
41733 } && test -s conftest.$ac_objext; then
41735 wx_cv_type_pthread_rec_mutex_init=yes
41738 echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41742 wx_cv_type_pthread_rec_mutex_init=no
41747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41750 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41751 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41752 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41753 cat >>confdefs.h <<\_ACEOF
41754 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41758 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41759 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41763 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41764 if test "$USE_NETBSD" = 1; then
41765 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41766 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41767 wxUSE_COMPILER_TLS=no
41769 wxUSE_COMPILER_TLS=yes
41773 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41774 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41775 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41776 if test "${wx_cv_cc___thread+set}" = set; then
41777 echo $ECHO_N "(cached) $ECHO_C" >&6
41780 cat >conftest.$ac_ext <<_ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786 #include <pthread.h>
41791 static __thread int n = 0;
41792 static __thread int *p = 0;
41798 rm -f conftest.$ac_objext
41799 if { (ac_try="$ac_compile"
41800 case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_compile") 2>conftest.er1
41807 grep -v '^ *+' conftest.er1 >conftest.err
41809 cat conftest.err >&5
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); } && {
41812 test -z "$ac_c_werror_flag" ||
41813 test ! -s conftest.err
41814 } && test -s conftest.$ac_objext; then
41815 wx_cv_cc___thread=yes
41817 echo "$as_me: failed program was:" >&5
41818 sed 's/^/| /' conftest.$ac_ext >&5
41820 wx_cv_cc___thread=no
41824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41828 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41829 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41831 if test "$wx_cv_cc___thread" = "yes"; then
41837 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41838 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41840 if test "x$GCC" = "xyes" ; then
41842 if test -z "" ; then
41844 ax_gcc_option_test="int main()
41851 ax_gcc_option_test=""
41856 # Dump the test program to file
41857 cat <<EOF > conftest.c
41858 $ax_gcc_option_test
41861 # Dump back the file to the log, useful for debugging purposes
41862 { ac_try='cat conftest.c 1>&5'
41863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41864 (eval $ac_try) 2>&5
41866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867 (exit $ac_status); }; }
41869 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41871 (eval $ac_try) 2>&5
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); }; } ; then
41876 { echo "$as_me:$LINENO: result: yes" >&5
41877 echo "${ECHO_T}yes" >&6; }
41879 ax_gcc_version_option=yes
41884 { echo "$as_me:$LINENO: result: no" >&5
41885 echo "${ECHO_T}no" >&6; }
41887 ax_gcc_version_option=no
41895 { echo "$as_me:$LINENO: result: no gcc available" >&5
41896 echo "${ECHO_T}no gcc available" >&6; }
41901 if test "x$GXX" = "xyes"; then
41903 if test "x$ax_gxx_version_option" != "no"; then
41905 { echo "$as_me:$LINENO: checking gxx version" >&5
41906 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41907 if test "${ax_cv_gxx_version+set}" = set; then
41908 echo $ECHO_N "(cached) $ECHO_C" >&6
41911 ax_cv_gxx_version="`$CXX -dumpversion`"
41912 if test "x$ax_cv_gxx_version" = "x"; then
41914 ax_cv_gxx_version=""
41920 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41921 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41922 GXX_VERSION=$ax_cv_gxx_version
41931 if test -n "$ax_cv_gxx_version"; then
41932 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41933 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41934 case "$ax_cv_gxx_version" in
41936 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41937 echo "${ECHO_T}no, it's broken" >&6; }
41938 wx_cv_cc___thread=no
41941 { echo "$as_me:$LINENO: result: yes, it works" >&5
41942 echo "${ECHO_T}yes, it works" >&6; }
41948 if test "$wx_cv_cc___thread" = "yes"; then
41949 cat >>confdefs.h <<\_ACEOF
41950 #define HAVE___THREAD_KEYWORD 1
41958 if test "$wxUSE_THREADS" = "yes" ; then
41960 x86_64-*-mingw32* )
41963 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41964 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41965 if test "${wx_cv_cflags_mthread+set}" = set; then
41966 echo $ECHO_N "(cached) $ECHO_C" >&6
41969 CFLAGS_OLD="$CFLAGS"
41970 CFLAGS="-mthreads $CFLAGS"
41971 cat >conftest.$ac_ext <<_ACEOF
41974 cat confdefs.h >>conftest.$ac_ext
41975 cat >>conftest.$ac_ext <<_ACEOF
41976 /* end confdefs.h. */
41986 rm -f conftest.$ac_objext
41987 if { (ac_try="$ac_compile"
41988 case "(($ac_try" in
41989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41990 *) ac_try_echo=$ac_try;;
41992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41993 (eval "$ac_compile") 2>conftest.er1
41995 grep -v '^ *+' conftest.er1 >conftest.err
41997 cat conftest.err >&5
41998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999 (exit $ac_status); } && {
42000 test -z "$ac_c_werror_flag" ||
42001 test ! -s conftest.err
42002 } && test -s conftest.$ac_objext; then
42003 wx_cv_cflags_mthread=yes
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42008 wx_cv_cflags_mthread=no
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42016 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42017 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42019 if test "$wx_cv_cflags_mthread" = "yes"; then
42020 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42021 LDFLAGS="$LDFLAGS -mthreads"
42023 CFLAGS="$CFLAGS_OLD"
42027 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42028 LDFLAGS="$LDFLAGS -Zmt"
42034 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42035 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42036 if test "${ac_cv_func_localtime_r+set}" = set; then
42037 echo $ECHO_N "(cached) $ECHO_C" >&6
42039 cat >conftest.$ac_ext <<_ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42045 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42047 #define localtime_r innocuous_localtime_r
42049 /* System header to define __stub macros and hopefully few prototypes,
42050 which can conflict with char localtime_r (); below.
42051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42052 <limits.h> exists even on freestanding compilers. */
42055 # include <limits.h>
42057 # include <assert.h>
42062 /* Override any GCC internal prototype to avoid an error.
42063 Use char because int might match the return type of a GCC
42064 builtin and then its argument prototype would still apply. */
42068 char localtime_r ();
42069 /* The GNU C library defines this for functions which it implements
42070 to always fail with ENOSYS. Some functions are actually named
42071 something starting with __ and the normal name is an alias. */
42072 #if defined __stub_localtime_r || defined __stub___localtime_r
42079 return localtime_r ();
42084 rm -f conftest.$ac_objext conftest$ac_exeext
42085 if { (ac_try="$ac_link"
42086 case "(($ac_try" in
42087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42088 *) ac_try_echo=$ac_try;;
42090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42091 (eval "$ac_link") 2>conftest.er1
42093 grep -v '^ *+' conftest.er1 >conftest.err
42095 cat conftest.err >&5
42096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097 (exit $ac_status); } && {
42098 test -z "$ac_c_werror_flag" ||
42099 test ! -s conftest.err
42100 } && test -s conftest$ac_exeext &&
42101 $as_test_x conftest$ac_exeext; then
42102 ac_cv_func_localtime_r=yes
42104 echo "$as_me: failed program was:" >&5
42105 sed 's/^/| /' conftest.$ac_ext >&5
42107 ac_cv_func_localtime_r=no
42110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42111 conftest$ac_exeext conftest.$ac_ext
42113 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42114 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42115 if test $ac_cv_func_localtime_r = yes; then
42116 cat >>confdefs.h <<\_ACEOF
42117 #define HAVE_LOCALTIME_R 1
42122 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42123 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42124 if test "${ac_cv_func_gmtime_r+set}" = set; then
42125 echo $ECHO_N "(cached) $ECHO_C" >&6
42127 cat >conftest.$ac_ext <<_ACEOF
42130 cat confdefs.h >>conftest.$ac_ext
42131 cat >>conftest.$ac_ext <<_ACEOF
42132 /* end confdefs.h. */
42133 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42135 #define gmtime_r innocuous_gmtime_r
42137 /* System header to define __stub macros and hopefully few prototypes,
42138 which can conflict with char gmtime_r (); below.
42139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42140 <limits.h> exists even on freestanding compilers. */
42143 # include <limits.h>
42145 # include <assert.h>
42150 /* Override any GCC internal prototype to avoid an error.
42151 Use char because int might match the return type of a GCC
42152 builtin and then its argument prototype would still apply. */
42157 /* The GNU C library defines this for functions which it implements
42158 to always fail with ENOSYS. Some functions are actually named
42159 something starting with __ and the normal name is an alias. */
42160 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42167 return gmtime_r ();
42172 rm -f conftest.$ac_objext conftest$ac_exeext
42173 if { (ac_try="$ac_link"
42174 case "(($ac_try" in
42175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42176 *) ac_try_echo=$ac_try;;
42178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42179 (eval "$ac_link") 2>conftest.er1
42181 grep -v '^ *+' conftest.er1 >conftest.err
42183 cat conftest.err >&5
42184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42185 (exit $ac_status); } && {
42186 test -z "$ac_c_werror_flag" ||
42187 test ! -s conftest.err
42188 } && test -s conftest$ac_exeext &&
42189 $as_test_x conftest$ac_exeext; then
42190 ac_cv_func_gmtime_r=yes
42192 echo "$as_me: failed program was:" >&5
42193 sed 's/^/| /' conftest.$ac_ext >&5
42195 ac_cv_func_gmtime_r=no
42198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42199 conftest$ac_exeext conftest.$ac_ext
42201 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42202 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42203 if test $ac_cv_func_gmtime_r = yes; then
42204 cat >>confdefs.h <<\_ACEOF
42205 #define HAVE_GMTIME_R 1
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42219 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42220 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42222 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42223 echo $ECHO_N "(cached) $ECHO_C" >&6
42227 ################################################################
42229 ac_cv_func_which_gethostbyname_r=unknown
42232 # ONE ARGUMENT (sanity check)
42235 # This should fail, as there is no variant of gethostbyname_r() that takes
42236 # a single argument. If it actually compiles, then we can assume that
42237 # netdb.h is not declaring the function, and the compiler is thereby
42238 # assuming an implicit prototype. In which case, we're out of luck.
42240 cat >conftest.$ac_ext <<_ACEOF
42243 cat confdefs.h >>conftest.$ac_ext
42244 cat >>conftest.$ac_ext <<_ACEOF
42245 /* end confdefs.h. */
42251 char *name = "www.gnu.org";
42252 (void)gethostbyname_r(name) /* ; */
42258 rm -f conftest.$ac_objext
42259 if { (ac_try="$ac_compile"
42260 case "(($ac_try" in
42261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42262 *) ac_try_echo=$ac_try;;
42264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42265 (eval "$ac_compile") 2>conftest.er1
42267 grep -v '^ *+' conftest.er1 >conftest.err
42269 cat conftest.err >&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } && {
42272 test -z "$ac_c_werror_flag" ||
42273 test ! -s conftest.err
42274 } && test -s conftest.$ac_objext; then
42275 ac_cv_func_which_gethostbyname_r=no
42277 echo "$as_me: failed program was:" >&5
42278 sed 's/^/| /' conftest.$ac_ext >&5
42283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42290 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42292 cat >conftest.$ac_ext <<_ACEOF
42295 cat confdefs.h >>conftest.$ac_ext
42296 cat >>conftest.$ac_ext <<_ACEOF
42297 /* end confdefs.h. */
42303 char *name = "www.gnu.org";
42304 struct hostent ret, *retp;
42308 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42314 rm -f conftest.$ac_objext
42315 if { (ac_try="$ac_compile"
42316 case "(($ac_try" in
42317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42318 *) ac_try_echo=$ac_try;;
42320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42321 (eval "$ac_compile") 2>conftest.er1
42323 grep -v '^ *+' conftest.er1 >conftest.err
42325 cat conftest.err >&5
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); } && {
42328 test -z "$ac_c_werror_flag" ||
42329 test ! -s conftest.err
42330 } && test -s conftest.$ac_objext; then
42331 ac_cv_func_which_gethostbyname_r=six
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.$ac_ext >&5
42339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42348 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42350 cat >conftest.$ac_ext <<_ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42361 char *name = "www.gnu.org";
42362 struct hostent ret;
42366 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42372 rm -f conftest.$ac_objext
42373 if { (ac_try="$ac_compile"
42374 case "(($ac_try" in
42375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42376 *) ac_try_echo=$ac_try;;
42378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42379 (eval "$ac_compile") 2>conftest.er1
42381 grep -v '^ *+' conftest.er1 >conftest.err
42383 cat conftest.err >&5
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); } && {
42386 test -z "$ac_c_werror_flag" ||
42387 test ! -s conftest.err
42388 } && test -s conftest.$ac_objext; then
42389 ac_cv_func_which_gethostbyname_r=five
42391 echo "$as_me: failed program was:" >&5
42392 sed 's/^/| /' conftest.$ac_ext >&5
42397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42403 # (e.g. AIX, HP-UX, Tru64)
42406 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42408 cat >conftest.$ac_ext <<_ACEOF
42411 cat confdefs.h >>conftest.$ac_ext
42412 cat >>conftest.$ac_ext <<_ACEOF
42413 /* end confdefs.h. */
42419 char *name = "www.gnu.org";
42420 struct hostent ret;
42421 struct hostent_data data;
42422 (void)gethostbyname_r(name, &ret, &data) /* ; */
42428 rm -f conftest.$ac_objext
42429 if { (ac_try="$ac_compile"
42430 case "(($ac_try" in
42431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42432 *) ac_try_echo=$ac_try;;
42434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42435 (eval "$ac_compile") 2>conftest.er1
42437 grep -v '^ *+' conftest.er1 >conftest.err
42439 cat conftest.err >&5
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); } && {
42442 test -z "$ac_c_werror_flag" ||
42443 test ! -s conftest.err
42444 } && test -s conftest.$ac_objext; then
42445 ac_cv_func_which_gethostbyname_r=three
42447 echo "$as_me: failed program was:" >&5
42448 sed 's/^/| /' conftest.$ac_ext >&5
42453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42457 ################################################################
42462 case "$ac_cv_func_which_gethostbyname_r" in
42464 { echo "$as_me:$LINENO: result: three" >&5
42465 echo "${ECHO_T}three" >&6; }
42466 cat >>confdefs.h <<\_ACEOF
42467 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42473 { echo "$as_me:$LINENO: result: five" >&5
42474 echo "${ECHO_T}five" >&6; }
42475 cat >>confdefs.h <<\_ACEOF
42476 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42482 { echo "$as_me:$LINENO: result: six" >&5
42483 echo "${ECHO_T}six" >&6; }
42484 cat >>confdefs.h <<\_ACEOF
42485 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42491 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42492 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42496 { echo "$as_me:$LINENO: result: can't tell" >&5
42497 echo "${ECHO_T}can't tell" >&6; }
42501 { { echo "$as_me:$LINENO: error: internal error" >&5
42502 echo "$as_me: error: internal error" >&2;}
42503 { (exit 1); exit 1; }; }
42508 ac_cpp='$CPP $CPPFLAGS'
42509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42515 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42516 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42517 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42518 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42519 if test "${ac_cv_func_gethostbyname+set}" = set; then
42520 echo $ECHO_N "(cached) $ECHO_C" >&6
42522 cat >conftest.$ac_ext <<_ACEOF
42525 cat confdefs.h >>conftest.$ac_ext
42526 cat >>conftest.$ac_ext <<_ACEOF
42527 /* end confdefs.h. */
42528 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42530 #define gethostbyname innocuous_gethostbyname
42532 /* System header to define __stub macros and hopefully few prototypes,
42533 which can conflict with char gethostbyname (); below.
42534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42535 <limits.h> exists even on freestanding compilers. */
42538 # include <limits.h>
42540 # include <assert.h>
42543 #undef gethostbyname
42545 /* Override any GCC internal prototype to avoid an error.
42546 Use char because int might match the return type of a GCC
42547 builtin and then its argument prototype would still apply. */
42551 char gethostbyname ();
42552 /* The GNU C library defines this for functions which it implements
42553 to always fail with ENOSYS. Some functions are actually named
42554 something starting with __ and the normal name is an alias. */
42555 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42562 return gethostbyname ();
42567 rm -f conftest.$ac_objext conftest$ac_exeext
42568 if { (ac_try="$ac_link"
42569 case "(($ac_try" in
42570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42571 *) ac_try_echo=$ac_try;;
42573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42574 (eval "$ac_link") 2>conftest.er1
42576 grep -v '^ *+' conftest.er1 >conftest.err
42578 cat conftest.err >&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } && {
42581 test -z "$ac_c_werror_flag" ||
42582 test ! -s conftest.err
42583 } && test -s conftest$ac_exeext &&
42584 $as_test_x conftest$ac_exeext; then
42585 ac_cv_func_gethostbyname=yes
42587 echo "$as_me: failed program was:" >&5
42588 sed 's/^/| /' conftest.$ac_ext >&5
42590 ac_cv_func_gethostbyname=no
42593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42594 conftest$ac_exeext conftest.$ac_ext
42596 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42597 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42598 if test $ac_cv_func_gethostbyname = yes; then
42599 cat >>confdefs.h <<\_ACEOF
42600 #define HAVE_GETHOSTBYNAME 1
42607 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42608 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42609 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42610 echo $ECHO_N "(cached) $ECHO_C" >&6
42614 ac_cpp='$CXXCPP $CPPFLAGS'
42615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42620 cat >conftest.$ac_ext <<_ACEOF
42623 cat confdefs.h >>conftest.$ac_ext
42624 cat >>conftest.$ac_ext <<_ACEOF
42625 /* end confdefs.h. */
42633 struct servent *se, *res;
42636 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42642 rm -f conftest.$ac_objext
42643 if { (ac_try="$ac_compile"
42644 case "(($ac_try" in
42645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42646 *) ac_try_echo=$ac_try;;
42648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42649 (eval "$ac_compile") 2>conftest.er1
42651 grep -v '^ *+' conftest.er1 >conftest.err
42653 cat conftest.err >&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); } && {
42656 test -z "$ac_cxx_werror_flag" ||
42657 test ! -s conftest.err
42658 } && test -s conftest.$ac_objext; then
42659 ac_cv_func_which_getservbyname_r=six
42661 echo "$as_me: failed program was:" >&5
42662 sed 's/^/| /' conftest.$ac_ext >&5
42665 cat >conftest.$ac_ext <<_ACEOF
42668 cat confdefs.h >>conftest.$ac_ext
42669 cat >>conftest.$ac_ext <<_ACEOF
42670 /* end confdefs.h. */
42678 struct servent *se;
42681 (void) getservbyname_r(name, proto, se, buffer, buflen)
42687 rm -f conftest.$ac_objext
42688 if { (ac_try="$ac_compile"
42689 case "(($ac_try" in
42690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42691 *) ac_try_echo=$ac_try;;
42693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42694 (eval "$ac_compile") 2>conftest.er1
42696 grep -v '^ *+' conftest.er1 >conftest.err
42698 cat conftest.err >&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } && {
42701 test -z "$ac_cxx_werror_flag" ||
42702 test ! -s conftest.err
42703 } && test -s conftest.$ac_objext; then
42704 ac_cv_func_which_getservbyname_r=five
42706 echo "$as_me: failed program was:" >&5
42707 sed 's/^/| /' conftest.$ac_ext >&5
42710 cat >conftest.$ac_ext <<_ACEOF
42713 cat confdefs.h >>conftest.$ac_ext
42714 cat >>conftest.$ac_ext <<_ACEOF
42715 /* end confdefs.h. */
42723 struct servent *se;
42724 struct servent_data data;
42725 (void) getservbyname_r(name, proto, se, &data);
42731 rm -f conftest.$ac_objext
42732 if { (ac_try="$ac_compile"
42733 case "(($ac_try" in
42734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42735 *) ac_try_echo=$ac_try;;
42737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42738 (eval "$ac_compile") 2>conftest.er1
42740 grep -v '^ *+' conftest.er1 >conftest.err
42742 cat conftest.err >&5
42743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42744 (exit $ac_status); } && {
42745 test -z "$ac_cxx_werror_flag" ||
42746 test ! -s conftest.err
42747 } && test -s conftest.$ac_objext; then
42748 ac_cv_func_which_getservbyname_r=four
42750 echo "$as_me: failed program was:" >&5
42751 sed 's/^/| /' conftest.$ac_ext >&5
42753 ac_cv_func_which_getservbyname_r=no
42757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42769 ac_cpp='$CPP $CPPFLAGS'
42770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42777 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42778 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42780 if test $ac_cv_func_which_getservbyname_r = six; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42785 elif test $ac_cv_func_which_getservbyname_r = five; then
42786 cat >>confdefs.h <<\_ACEOF
42787 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42790 elif test $ac_cv_func_which_getservbyname_r = four; then
42791 cat >>confdefs.h <<\_ACEOF
42792 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42798 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42799 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42801 for ac_func in getservbyname
42803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42809 cat >conftest.$ac_ext <<_ACEOF
42812 cat confdefs.h >>conftest.$ac_ext
42813 cat >>conftest.$ac_ext <<_ACEOF
42814 /* end confdefs.h. */
42815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42817 #define $ac_func innocuous_$ac_func
42819 /* System header to define __stub macros and hopefully few prototypes,
42820 which can conflict with char $ac_func (); below.
42821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42822 <limits.h> exists even on freestanding compilers. */
42825 # include <limits.h>
42827 # include <assert.h>
42832 /* Override any GCC internal prototype to avoid an error.
42833 Use char because int might match the return type of a GCC
42834 builtin and then its argument prototype would still apply. */
42839 /* The GNU C library defines this for functions which it implements
42840 to always fail with ENOSYS. Some functions are actually named
42841 something starting with __ and the normal name is an alias. */
42842 #if defined __stub_$ac_func || defined __stub___$ac_func
42849 return $ac_func ();
42854 rm -f conftest.$ac_objext conftest$ac_exeext
42855 if { (ac_try="$ac_link"
42856 case "(($ac_try" in
42857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42858 *) ac_try_echo=$ac_try;;
42860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42861 (eval "$ac_link") 2>conftest.er1
42863 grep -v '^ *+' conftest.er1 >conftest.err
42865 cat conftest.err >&5
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); } && {
42868 test -z "$ac_c_werror_flag" ||
42869 test ! -s conftest.err
42870 } && test -s conftest$ac_exeext &&
42871 $as_test_x conftest$ac_exeext; then
42872 eval "$as_ac_var=yes"
42874 echo "$as_me: failed program was:" >&5
42875 sed 's/^/| /' conftest.$ac_ext >&5
42877 eval "$as_ac_var=no"
42880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42881 conftest$ac_exeext conftest.$ac_ext
42883 ac_res=`eval echo '${'$as_ac_var'}'`
42884 { echo "$as_me:$LINENO: result: $ac_res" >&5
42885 echo "${ECHO_T}$ac_res" >&6; }
42886 if test `eval echo '${'$as_ac_var'}'` = yes; then
42887 cat >>confdefs.h <<_ACEOF
42888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42890 cat >>confdefs.h <<\_ACEOF
42891 #define HAVE_GETSERVBYNAME 1
42899 if test "$wxUSE_THREADS" = "yes"; then
42900 cat >>confdefs.h <<\_ACEOF
42901 #define wxUSE_THREADS 1
42905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42907 if test "$wx_cv_func_strtok_r" = "yes"; then
42908 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42909 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42910 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42911 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42912 { echo "$as_me:$LINENO: result: yes" >&5
42913 echo "${ECHO_T}yes" >&6; }
42915 { echo "$as_me:$LINENO: result: no" >&5
42916 echo "${ECHO_T}no" >&6; }
42921 if test "$WXGTK2" = 1 ; then
42922 cat >>confdefs.h <<_ACEOF
42923 #define __WXGTK20__ $WXGTK2
42929 if test "$WXGTK12" = 1 ; then
42930 cat >>confdefs.h <<_ACEOF
42931 #define __WXGTK12__ $WXGTK12
42936 if test "$WXGTK127" = 1 ; then
42937 cat >>confdefs.h <<_ACEOF
42938 #define __WXGTK127__ $WXGTK127
42943 if test "$WXGPE" = 1 ; then
42944 cat >>confdefs.h <<_ACEOF
42945 #define __WXGPE__ $WXGPE
42951 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42952 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42953 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42954 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42958 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42959 wxUSE_DEBUG_INFO=yes
42960 if test "$GCC" = yes; then
42961 DEBUG_CFLAGS="-ggdb"
42965 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42966 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42968 if test "$wxUSE_GTK" = 1 ; then
42969 if test "x$wxGTK_VERSION" = "x1" ; then
42970 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42975 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42976 cat >>confdefs.h <<\_ACEOF
42977 #define wxUSE_MEMORY_TRACING 1
42980 cat >>confdefs.h <<\_ACEOF
42981 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42984 cat >>confdefs.h <<\_ACEOF
42985 #define wxUSE_DEBUG_NEW_ALWAYS 1
42988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42991 if test "$wxUSE_DMALLOC" = "yes" ; then
42992 DMALLOC_LIBS="-ldmallocthcxx"
42996 if test "$wxUSE_PROFILE" = "yes" ; then
42997 PROFILE_FLAGS=" -pg"
43000 if test "$GCC" = "yes" ; then
43001 if test "$wxUSE_NO_RTTI" = "yes" ; then
43002 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43004 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43005 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43007 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43008 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43013 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43016 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43022 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43023 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43024 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43026 if test "$wxUSE_OPTIMISE" = "no" ; then
43027 if test "$GCC" = yes ; then
43028 OPTIMISE_CFLAGS="-O0"
43031 if test "$GCC" = yes ; then
43033 *-pc-os2_emx | *-pc-os2-emx )
43034 OPTIMISE_CFLAGS="-O2"
43037 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43041 OPTIMISE_CFLAGS="-O"
43047 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43048 cat >>confdefs.h <<\_ACEOF
43049 #define WXWIN_COMPATIBILITY_2_6 1
43053 WXWIN_COMPATIBILITY_2_8="yes"
43056 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43057 cat >>confdefs.h <<\_ACEOF
43058 #define WXWIN_COMPATIBILITY_2_8 1
43064 if test "$wxUSE_GUI" = "yes"; then
43065 cat >>confdefs.h <<\_ACEOF
43066 #define wxUSE_GUI 1
43073 if test "$wxUSE_UNIX" = "yes"; then
43074 cat >>confdefs.h <<\_ACEOF
43075 #define wxUSE_UNIX 1
43081 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43085 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43086 if test "$USE_DOS" = 1; then
43090 for ac_func in dlopen
43092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43098 cat >conftest.$ac_ext <<_ACEOF
43101 cat confdefs.h >>conftest.$ac_ext
43102 cat >>conftest.$ac_ext <<_ACEOF
43103 /* end confdefs.h. */
43104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43106 #define $ac_func innocuous_$ac_func
43108 /* System header to define __stub macros and hopefully few prototypes,
43109 which can conflict with char $ac_func (); below.
43110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43111 <limits.h> exists even on freestanding compilers. */
43114 # include <limits.h>
43116 # include <assert.h>
43121 /* Override any GCC internal prototype to avoid an error.
43122 Use char because int might match the return type of a GCC
43123 builtin and then its argument prototype would still apply. */
43128 /* The GNU C library defines this for functions which it implements
43129 to always fail with ENOSYS. Some functions are actually named
43130 something starting with __ and the normal name is an alias. */
43131 #if defined __stub_$ac_func || defined __stub___$ac_func
43138 return $ac_func ();
43143 rm -f conftest.$ac_objext conftest$ac_exeext
43144 if { (ac_try="$ac_link"
43145 case "(($ac_try" in
43146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43147 *) ac_try_echo=$ac_try;;
43149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43150 (eval "$ac_link") 2>conftest.er1
43152 grep -v '^ *+' conftest.er1 >conftest.err
43154 cat conftest.err >&5
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); } && {
43157 test -z "$ac_c_werror_flag" ||
43158 test ! -s conftest.err
43159 } && test -s conftest$ac_exeext &&
43160 $as_test_x conftest$ac_exeext; then
43161 eval "$as_ac_var=yes"
43163 echo "$as_me: failed program was:" >&5
43164 sed 's/^/| /' conftest.$ac_ext >&5
43166 eval "$as_ac_var=no"
43169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43170 conftest$ac_exeext conftest.$ac_ext
43172 ac_res=`eval echo '${'$as_ac_var'}'`
43173 { echo "$as_me:$LINENO: result: $ac_res" >&5
43174 echo "${ECHO_T}$ac_res" >&6; }
43175 if test `eval echo '${'$as_ac_var'}'` = yes; then
43176 cat >>confdefs.h <<_ACEOF
43177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43180 cat >>confdefs.h <<\_ACEOF
43181 #define HAVE_DLOPEN 1
43188 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43189 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43190 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43191 echo $ECHO_N "(cached) $ECHO_C" >&6
43193 ac_check_lib_save_LIBS=$LIBS
43195 cat >conftest.$ac_ext <<_ACEOF
43198 cat confdefs.h >>conftest.$ac_ext
43199 cat >>conftest.$ac_ext <<_ACEOF
43200 /* end confdefs.h. */
43202 /* Override any GCC internal prototype to avoid an error.
43203 Use char because int might match the return type of a GCC
43204 builtin and then its argument prototype would still apply. */
43217 rm -f conftest.$ac_objext conftest$ac_exeext
43218 if { (ac_try="$ac_link"
43219 case "(($ac_try" in
43220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43221 *) ac_try_echo=$ac_try;;
43223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43224 (eval "$ac_link") 2>conftest.er1
43226 grep -v '^ *+' conftest.er1 >conftest.err
43228 cat conftest.err >&5
43229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230 (exit $ac_status); } && {
43231 test -z "$ac_c_werror_flag" ||
43232 test ! -s conftest.err
43233 } && test -s conftest$ac_exeext &&
43234 $as_test_x conftest$ac_exeext; then
43235 ac_cv_lib_dl_dlopen=yes
43237 echo "$as_me: failed program was:" >&5
43238 sed 's/^/| /' conftest.$ac_ext >&5
43240 ac_cv_lib_dl_dlopen=no
43243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43244 conftest$ac_exeext conftest.$ac_ext
43245 LIBS=$ac_check_lib_save_LIBS
43247 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43248 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43249 if test $ac_cv_lib_dl_dlopen = yes; then
43251 cat >>confdefs.h <<\_ACEOF
43252 #define HAVE_DLOPEN 1
43256 DL_LINK=" -ldl$DL_LINK"
43261 for ac_func in shl_load
43263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43267 echo $ECHO_N "(cached) $ECHO_C" >&6
43269 cat >conftest.$ac_ext <<_ACEOF
43272 cat confdefs.h >>conftest.$ac_ext
43273 cat >>conftest.$ac_ext <<_ACEOF
43274 /* end confdefs.h. */
43275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43277 #define $ac_func innocuous_$ac_func
43279 /* System header to define __stub macros and hopefully few prototypes,
43280 which can conflict with char $ac_func (); below.
43281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43282 <limits.h> exists even on freestanding compilers. */
43285 # include <limits.h>
43287 # include <assert.h>
43292 /* Override any GCC internal prototype to avoid an error.
43293 Use char because int might match the return type of a GCC
43294 builtin and then its argument prototype would still apply. */
43299 /* The GNU C library defines this for functions which it implements
43300 to always fail with ENOSYS. Some functions are actually named
43301 something starting with __ and the normal name is an alias. */
43302 #if defined __stub_$ac_func || defined __stub___$ac_func
43309 return $ac_func ();
43314 rm -f conftest.$ac_objext conftest$ac_exeext
43315 if { (ac_try="$ac_link"
43316 case "(($ac_try" in
43317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43318 *) ac_try_echo=$ac_try;;
43320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43321 (eval "$ac_link") 2>conftest.er1
43323 grep -v '^ *+' conftest.er1 >conftest.err
43325 cat conftest.err >&5
43326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327 (exit $ac_status); } && {
43328 test -z "$ac_c_werror_flag" ||
43329 test ! -s conftest.err
43330 } && test -s conftest$ac_exeext &&
43331 $as_test_x conftest$ac_exeext; then
43332 eval "$as_ac_var=yes"
43334 echo "$as_me: failed program was:" >&5
43335 sed 's/^/| /' conftest.$ac_ext >&5
43337 eval "$as_ac_var=no"
43340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43341 conftest$ac_exeext conftest.$ac_ext
43343 ac_res=`eval echo '${'$as_ac_var'}'`
43344 { echo "$as_me:$LINENO: result: $ac_res" >&5
43345 echo "${ECHO_T}$ac_res" >&6; }
43346 if test `eval echo '${'$as_ac_var'}'` = yes; then
43347 cat >>confdefs.h <<_ACEOF
43348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43351 cat >>confdefs.h <<\_ACEOF
43352 #define HAVE_SHL_LOAD 1
43359 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43360 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43361 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43362 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 ac_check_lib_save_LIBS=$LIBS
43365 LIBS="-lshl_load $LIBS"
43366 cat >conftest.$ac_ext <<_ACEOF
43369 cat confdefs.h >>conftest.$ac_ext
43370 cat >>conftest.$ac_ext <<_ACEOF
43371 /* end confdefs.h. */
43373 /* Override any GCC internal prototype to avoid an error.
43374 Use char because int might match the return type of a GCC
43375 builtin and then its argument prototype would still apply. */
43388 rm -f conftest.$ac_objext conftest$ac_exeext
43389 if { (ac_try="$ac_link"
43390 case "(($ac_try" in
43391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43392 *) ac_try_echo=$ac_try;;
43394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43395 (eval "$ac_link") 2>conftest.er1
43397 grep -v '^ *+' conftest.er1 >conftest.err
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } && {
43402 test -z "$ac_c_werror_flag" ||
43403 test ! -s conftest.err
43404 } && test -s conftest$ac_exeext &&
43405 $as_test_x conftest$ac_exeext; then
43406 ac_cv_lib_shl_load_dld=yes
43408 echo "$as_me: failed program was:" >&5
43409 sed 's/^/| /' conftest.$ac_ext >&5
43411 ac_cv_lib_shl_load_dld=no
43414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43415 conftest$ac_exeext conftest.$ac_ext
43416 LIBS=$ac_check_lib_save_LIBS
43418 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43419 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43420 if test $ac_cv_lib_shl_load_dld = yes; then
43423 DL_LINK=" -ldld$DL_LINK"
43439 if test "$HAVE_DL_FUNCS" = 1; then
43441 for ac_func in dlerror
43443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43447 echo $ECHO_N "(cached) $ECHO_C" >&6
43449 cat >conftest.$ac_ext <<_ACEOF
43452 cat confdefs.h >>conftest.$ac_ext
43453 cat >>conftest.$ac_ext <<_ACEOF
43454 /* end confdefs.h. */
43455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43457 #define $ac_func innocuous_$ac_func
43459 /* System header to define __stub macros and hopefully few prototypes,
43460 which can conflict with char $ac_func (); below.
43461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43462 <limits.h> exists even on freestanding compilers. */
43465 # include <limits.h>
43467 # include <assert.h>
43472 /* Override any GCC internal prototype to avoid an error.
43473 Use char because int might match the return type of a GCC
43474 builtin and then its argument prototype would still apply. */
43479 /* The GNU C library defines this for functions which it implements
43480 to always fail with ENOSYS. Some functions are actually named
43481 something starting with __ and the normal name is an alias. */
43482 #if defined __stub_$ac_func || defined __stub___$ac_func
43489 return $ac_func ();
43494 rm -f conftest.$ac_objext conftest$ac_exeext
43495 if { (ac_try="$ac_link"
43496 case "(($ac_try" in
43497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43498 *) ac_try_echo=$ac_try;;
43500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43501 (eval "$ac_link") 2>conftest.er1
43503 grep -v '^ *+' conftest.er1 >conftest.err
43505 cat conftest.err >&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } && {
43508 test -z "$ac_c_werror_flag" ||
43509 test ! -s conftest.err
43510 } && test -s conftest$ac_exeext &&
43511 $as_test_x conftest$ac_exeext; then
43512 eval "$as_ac_var=yes"
43514 echo "$as_me: failed program was:" >&5
43515 sed 's/^/| /' conftest.$ac_ext >&5
43517 eval "$as_ac_var=no"
43520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43521 conftest$ac_exeext conftest.$ac_ext
43523 ac_res=`eval echo '${'$as_ac_var'}'`
43524 { echo "$as_me:$LINENO: result: $ac_res" >&5
43525 echo "${ECHO_T}$ac_res" >&6; }
43526 if test `eval echo '${'$as_ac_var'}'` = yes; then
43527 cat >>confdefs.h <<_ACEOF
43528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43530 cat >>confdefs.h <<\_ACEOF
43531 #define HAVE_DLERROR 1
43536 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43537 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43538 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43539 echo $ECHO_N "(cached) $ECHO_C" >&6
43541 ac_check_lib_save_LIBS=$LIBS
43543 cat >conftest.$ac_ext <<_ACEOF
43546 cat confdefs.h >>conftest.$ac_ext
43547 cat >>conftest.$ac_ext <<_ACEOF
43548 /* end confdefs.h. */
43550 /* Override any GCC internal prototype to avoid an error.
43551 Use char because int might match the return type of a GCC
43552 builtin and then its argument prototype would still apply. */
43565 rm -f conftest.$ac_objext conftest$ac_exeext
43566 if { (ac_try="$ac_link"
43567 case "(($ac_try" in
43568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43569 *) ac_try_echo=$ac_try;;
43571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43572 (eval "$ac_link") 2>conftest.er1
43574 grep -v '^ *+' conftest.er1 >conftest.err
43576 cat conftest.err >&5
43577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43578 (exit $ac_status); } && {
43579 test -z "$ac_c_werror_flag" ||
43580 test ! -s conftest.err
43581 } && test -s conftest$ac_exeext &&
43582 $as_test_x conftest$ac_exeext; then
43583 ac_cv_lib_dl_dlerror=yes
43585 echo "$as_me: failed program was:" >&5
43586 sed 's/^/| /' conftest.$ac_ext >&5
43588 ac_cv_lib_dl_dlerror=no
43591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43592 conftest$ac_exeext conftest.$ac_ext
43593 LIBS=$ac_check_lib_save_LIBS
43595 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43596 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43597 if test $ac_cv_lib_dl_dlerror = yes; then
43598 cat >>confdefs.h <<\_ACEOF
43599 #define HAVE_DLERROR 1
43612 if test "$USE_DARWIN" = 1; then
43616 if test "$HAVE_DL_FUNCS" = 0; then
43617 if test "$HAVE_SHL_FUNCS" = 0; then
43618 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43619 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43620 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43621 wxUSE_DYNAMIC_LOADER=no
43622 wxUSE_DYNLIB_CLASS=no
43624 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43625 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43632 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define wxUSE_DYNAMIC_LOADER 1
43638 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43639 cat >>confdefs.h <<\_ACEOF
43640 #define wxUSE_DYNLIB_CLASS 1
43647 if test "$wxUSE_PLUGINS" = "yes" ; then
43648 if test "$wxUSE_SHARED" = "no" ; then
43649 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43650 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43653 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43654 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43655 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43658 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43659 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43660 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43663 if test "$wxUSE_PLUGINS" = "yes" ; then
43664 cat >>confdefs.h <<\_ACEOF
43665 #define wxUSE_PLUGINS 1
43672 if test "$wxUSE_FSWATCHER" = "yes"; then
43673 if test "$wxUSE_MSW" != "1"; then
43674 if test "$wxUSE_UNIX" = "yes"; then
43676 for ac_header in sys/inotify.h
43678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43682 echo $ECHO_N "(cached) $ECHO_C" >&6
43684 cat >conftest.$ac_ext <<_ACEOF
43687 cat confdefs.h >>conftest.$ac_ext
43688 cat >>conftest.$ac_ext <<_ACEOF
43689 /* end confdefs.h. */
43690 $ac_includes_default
43692 #include <$ac_header>
43694 rm -f conftest.$ac_objext
43695 if { (ac_try="$ac_compile"
43696 case "(($ac_try" in
43697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43698 *) ac_try_echo=$ac_try;;
43700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43701 (eval "$ac_compile") 2>conftest.er1
43703 grep -v '^ *+' conftest.er1 >conftest.err
43705 cat conftest.err >&5
43706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707 (exit $ac_status); } && {
43708 test -z "$ac_c_werror_flag" ||
43709 test ! -s conftest.err
43710 } && test -s conftest.$ac_objext; then
43711 eval "$as_ac_Header=yes"
43713 echo "$as_me: failed program was:" >&5
43714 sed 's/^/| /' conftest.$ac_ext >&5
43716 eval "$as_ac_Header=no"
43719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43721 ac_res=`eval echo '${'$as_ac_Header'}'`
43722 { echo "$as_me:$LINENO: result: $ac_res" >&5
43723 echo "${ECHO_T}$ac_res" >&6; }
43724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43725 cat >>confdefs.h <<_ACEOF
43726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43733 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43734 cat >>confdefs.h <<\_ACEOF
43735 #define wxHAS_INOTIFY 1
43740 for ac_header in sys/event.h
43742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43746 echo $ECHO_N "(cached) $ECHO_C" >&6
43748 cat >conftest.$ac_ext <<_ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43754 $ac_includes_default
43756 #include <$ac_header>
43758 rm -f conftest.$ac_objext
43759 if { (ac_try="$ac_compile"
43760 case "(($ac_try" in
43761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43762 *) ac_try_echo=$ac_try;;
43764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43765 (eval "$ac_compile") 2>conftest.er1
43767 grep -v '^ *+' conftest.er1 >conftest.err
43769 cat conftest.err >&5
43770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43771 (exit $ac_status); } && {
43772 test -z "$ac_c_werror_flag" ||
43773 test ! -s conftest.err
43774 } && test -s conftest.$ac_objext; then
43775 eval "$as_ac_Header=yes"
43777 echo "$as_me: failed program was:" >&5
43778 sed 's/^/| /' conftest.$ac_ext >&5
43780 eval "$as_ac_Header=no"
43783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43785 ac_res=`eval echo '${'$as_ac_Header'}'`
43786 { echo "$as_me:$LINENO: result: $ac_res" >&5
43787 echo "${ECHO_T}$ac_res" >&6; }
43788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43789 cat >>confdefs.h <<_ACEOF
43790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43797 if test "$ac_cv_header_sys_event_h" = "yes"; then
43798 cat >>confdefs.h <<\_ACEOF
43799 #define wxHAS_KQUEUE 1
43810 if test "$wxUSE_THREADS" != "yes"; then
43811 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43812 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43817 if test "$wxUSE_FSWATCHER" = "yes"; then
43818 cat >>confdefs.h <<\_ACEOF
43819 #define wxUSE_FSWATCHER 1
43822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43824 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43825 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43830 if test "$wxUSE_STL" = "yes"; then
43831 cat >>confdefs.h <<\_ACEOF
43832 #define wxUSE_STL 1
43837 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_EXTENDED_RTTI 1
43844 if test "$wxUSE_ANY" = "yes"; then
43845 cat >>confdefs.h <<\_ACEOF
43846 #define wxUSE_ANY 1
43851 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43852 cat >>confdefs.h <<\_ACEOF
43853 #define wxUSE_APPLE_IEEE 1
43858 if test "$wxUSE_TIMER" = "yes"; then
43859 cat >>confdefs.h <<\_ACEOF
43860 #define wxUSE_TIMER 1
43865 if test "$USE_UNIX" = 1 ; then
43866 if test "$wxUSE_MGL" != 1; then
43867 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43868 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43869 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43870 echo $ECHO_N "(cached) $ECHO_C" >&6
43873 cat >conftest.$ac_ext <<_ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43880 #include <sys/ioctl.h>
43881 #include <sys/soundcard.h>
43887 ioctl(0, SNDCTL_DSP_SPEED, 0);
43893 rm -f conftest.$ac_objext conftest$ac_exeext
43894 if { (ac_try="$ac_link"
43895 case "(($ac_try" in
43896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43897 *) ac_try_echo=$ac_try;;
43899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43900 (eval "$ac_link") 2>conftest.er1
43902 grep -v '^ *+' conftest.er1 >conftest.err
43904 cat conftest.err >&5
43905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906 (exit $ac_status); } && {
43907 test -z "$ac_c_werror_flag" ||
43908 test ! -s conftest.err
43909 } && test -s conftest$ac_exeext &&
43910 $as_test_x conftest$ac_exeext; then
43911 ac_cv_header_sys_soundcard=yes
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43918 LIBS="$saveLibs -lossaudio"
43919 cat >conftest.$ac_ext <<_ACEOF
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43926 #include <sys/ioctl.h>
43927 #include <sys/soundcard.h>
43933 ioctl(0, SNDCTL_DSP_SPEED, 0);
43939 rm -f conftest.$ac_objext conftest$ac_exeext
43940 if { (ac_try="$ac_link"
43941 case "(($ac_try" in
43942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43943 *) ac_try_echo=$ac_try;;
43945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43946 (eval "$ac_link") 2>conftest.er1
43948 grep -v '^ *+' conftest.er1 >conftest.err
43950 cat conftest.err >&5
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); } && {
43953 test -z "$ac_c_werror_flag" ||
43954 test ! -s conftest.err
43955 } && test -s conftest$ac_exeext &&
43956 $as_test_x conftest$ac_exeext; then
43957 ac_cv_header_sys_soundcard=yes
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43964 ac_cv_header_sys_soundcard=no
43969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43970 conftest$ac_exeext conftest.$ac_ext
43975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43976 conftest$ac_exeext conftest.$ac_ext
43979 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43980 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43983 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43984 cat >>confdefs.h <<\_ACEOF
43985 #define HAVE_SYS_SOUNDCARD_H 1
43992 if test "$wxUSE_SOUND" = "yes"; then
43993 if test "$USE_UNIX" = 1 ; then
43994 if test "$wxUSE_LIBSDL" != "no"; then
43996 # Check whether --with-sdl-prefix was given.
43997 if test "${with_sdl_prefix+set}" = set; then
43998 withval=$with_sdl_prefix; sdl_prefix="$withval"
44004 # Check whether --with-sdl-exec-prefix was given.
44005 if test "${with_sdl_exec_prefix+set}" = set; then
44006 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44011 # Check whether --enable-sdltest was given.
44012 if test "${enable_sdltest+set}" = set; then
44013 enableval=$enable_sdltest;
44019 if test x$sdl_exec_prefix != x ; then
44020 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44021 if test x${SDL_CONFIG+set} != xset ; then
44022 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44025 if test x$sdl_prefix != x ; then
44026 sdl_args="$sdl_args --prefix=$sdl_prefix"
44027 if test x${SDL_CONFIG+set} != xset ; then
44028 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44032 if test "x$prefix" != xNONE; then
44033 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44035 # Extract the first word of "sdl-config", so it can be a program name with args.
44036 set dummy sdl-config; ac_word=$2
44037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44039 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44040 echo $ECHO_N "(cached) $ECHO_C" >&6
44042 case $SDL_CONFIG in
44044 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44048 for as_dir in $PATH
44051 test -z "$as_dir" && as_dir=.
44052 for ac_exec_ext in '' $ac_executable_extensions; do
44053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44054 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44062 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44066 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44067 if test -n "$SDL_CONFIG"; then
44068 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44069 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44071 { echo "$as_me:$LINENO: result: no" >&5
44072 echo "${ECHO_T}no" >&6; }
44076 min_sdl_version=1.2.0
44077 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44078 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44080 if test "$SDL_CONFIG" = "no" ; then
44083 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44084 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44086 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44088 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44090 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44092 if test "x$enable_sdltest" = "xyes" ; then
44093 ac_save_CFLAGS="$CFLAGS"
44094 ac_save_CXXFLAGS="$CXXFLAGS"
44095 ac_save_LIBS="$LIBS"
44096 CFLAGS="$CFLAGS $SDL_CFLAGS"
44097 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44098 LIBS="$LIBS $SDL_LIBS"
44100 if test "$cross_compiling" = yes; then
44101 echo $ac_n "cross compiling; assumed OK... $ac_c"
44103 cat >conftest.$ac_ext <<_ACEOF
44106 cat confdefs.h >>conftest.$ac_ext
44107 cat >>conftest.$ac_ext <<_ACEOF
44108 /* end confdefs.h. */
44111 #include <stdlib.h>
44112 #include <string.h>
44116 my_strdup (char *str)
44122 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44123 strcpy (new_str, str);
44131 int main (int argc, char *argv[])
44133 int major, minor, micro;
44136 /* This hangs on some systems (?)
44137 system ("touch conf.sdltest");
44139 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44141 /* HP/UX 9 (%@#!) writes to sscanf strings */
44142 tmp_version = my_strdup("$min_sdl_version");
44143 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44144 printf("%s, bad version string\n", "$min_sdl_version");
44148 if (($sdl_major_version > major) ||
44149 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44150 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44156 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44157 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44158 printf("*** best to upgrade to the required version.\n");
44159 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44160 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44161 printf("*** config.cache before re-running configure\n");
44168 rm -f conftest$ac_exeext
44169 if { (ac_try="$ac_link"
44170 case "(($ac_try" in
44171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44172 *) ac_try_echo=$ac_try;;
44174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44175 (eval "$ac_link") 2>&5
44177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44179 { (case "(($ac_try" in
44180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44181 *) ac_try_echo=$ac_try;;
44183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44184 (eval "$ac_try") 2>&5
44186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44187 (exit $ac_status); }; }; then
44190 echo "$as_me: program exited with status $ac_status" >&5
44191 echo "$as_me: failed program was:" >&5
44192 sed 's/^/| /' conftest.$ac_ext >&5
44194 ( exit $ac_status )
44197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44201 CFLAGS="$ac_save_CFLAGS"
44202 CXXFLAGS="$ac_save_CXXFLAGS"
44203 LIBS="$ac_save_LIBS"
44206 if test "x$no_sdl" = x ; then
44207 { echo "$as_me:$LINENO: result: yes" >&5
44208 echo "${ECHO_T}yes" >&6; }
44210 EXTRALIBS_SDL="$SDL_LIBS"
44211 CFLAGS="$SDL_CFLAGS $CFLAGS"
44212 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_LIBSDL 1
44219 { echo "$as_me:$LINENO: result: no" >&5
44220 echo "${ECHO_T}no" >&6; }
44221 if test "$SDL_CONFIG" = "no" ; then
44222 echo "*** The sdl-config script installed by SDL could not be found"
44223 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44224 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44225 echo "*** full path to sdl-config."
44227 if test -f conf.sdltest ; then
44230 echo "*** Could not run SDL test program, checking why..."
44231 CFLAGS="$CFLAGS $SDL_CFLAGS"
44232 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44233 LIBS="$LIBS $SDL_LIBS"
44234 cat >conftest.$ac_ext <<_ACEOF
44237 cat confdefs.h >>conftest.$ac_ext
44238 cat >>conftest.$ac_ext <<_ACEOF
44239 /* end confdefs.h. */
44244 int main(int argc, char *argv[])
44247 #define main K_and_R_C_main
44257 rm -f conftest.$ac_objext conftest$ac_exeext
44258 if { (ac_try="$ac_link"
44259 case "(($ac_try" in
44260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44261 *) ac_try_echo=$ac_try;;
44263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44264 (eval "$ac_link") 2>conftest.er1
44266 grep -v '^ *+' conftest.er1 >conftest.err
44268 cat conftest.err >&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } && {
44271 test -z "$ac_c_werror_flag" ||
44272 test ! -s conftest.err
44273 } && test -s conftest$ac_exeext &&
44274 $as_test_x conftest$ac_exeext; then
44275 echo "*** The test program compiled, but did not run. This usually means"
44276 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44277 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44278 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44279 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44280 echo "*** is required on your system"
44282 echo "*** If you have an old version installed, it is best to remove it, although"
44283 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44285 echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.$ac_ext >&5
44288 echo "*** The test program failed to compile or link. See the file config.log for the"
44289 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44290 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44291 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44295 conftest$ac_exeext conftest.$ac_ext
44296 CFLAGS="$ac_save_CFLAGS"
44297 CXXFLAGS="$ac_save_CXXFLAGS"
44298 LIBS="$ac_save_LIBS"
44309 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44314 if test "$wxUSE_MGL" = 1; then
44315 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44316 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44322 if test "$wxUSE_SOUND" = "yes"; then
44323 cat >>confdefs.h <<\_ACEOF
44324 #define wxUSE_SOUND 1
44327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44330 if test "$WXGTK2" = 1; then
44333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44334 if test -n "$ac_tool_prefix"; then
44335 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44336 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44339 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44340 echo $ECHO_N "(cached) $ECHO_C" >&6
44342 case $PKG_CONFIG in
44344 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44348 for as_dir in $PATH
44351 test -z "$as_dir" && as_dir=.
44352 for ac_exec_ext in '' $ac_executable_extensions; do
44353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44354 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44365 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44366 if test -n "$PKG_CONFIG"; then
44367 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44368 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44370 { echo "$as_me:$LINENO: result: no" >&5
44371 echo "${ECHO_T}no" >&6; }
44376 if test -z "$ac_cv_path_PKG_CONFIG"; then
44377 ac_pt_PKG_CONFIG=$PKG_CONFIG
44378 # Extract the first word of "pkg-config", so it can be a program name with args.
44379 set dummy pkg-config; ac_word=$2
44380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44382 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44385 case $ac_pt_PKG_CONFIG in
44387 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44391 for as_dir in $PATH
44394 test -z "$as_dir" && as_dir=.
44395 for ac_exec_ext in '' $ac_executable_extensions; do
44396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44397 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44408 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44409 if test -n "$ac_pt_PKG_CONFIG"; then
44410 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44411 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44413 { echo "$as_me:$LINENO: result: no" >&5
44414 echo "${ECHO_T}no" >&6; }
44417 if test "x$ac_pt_PKG_CONFIG" = x; then
44420 case $cross_compiling:$ac_tool_warned in
44422 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44423 whose name does not start with the host triplet. If you think this
44424 configuration is useful to you, please write to autoconf@gnu.org." >&5
44425 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44426 whose name does not start with the host triplet. If you think this
44427 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44428 ac_tool_warned=yes ;;
44430 PKG_CONFIG=$ac_pt_PKG_CONFIG
44433 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44437 if test -n "$PKG_CONFIG"; then
44438 _pkg_min_version=0.9.0
44439 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44440 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44441 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44442 { echo "$as_me:$LINENO: result: yes" >&5
44443 echo "${ECHO_T}yes" >&6; }
44445 { echo "$as_me:$LINENO: result: no" >&5
44446 echo "${ECHO_T}no" >&6; }
44452 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44454 if test "$wxUSE_GTKPRINT" = "yes" ; then
44458 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44459 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44461 if test -n "$PKG_CONFIG"; then
44462 if test -n "$GTKPRINT_CFLAGS"; then
44463 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44465 if test -n "$PKG_CONFIG" && \
44466 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44467 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); }; then
44471 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44479 if test -n "$PKG_CONFIG"; then
44480 if test -n "$GTKPRINT_LIBS"; then
44481 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44483 if test -n "$PKG_CONFIG" && \
44484 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44485 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); }; then
44489 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44500 if test $pkg_failed = yes; then
44502 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44503 _pkg_short_errors_supported=yes
44505 _pkg_short_errors_supported=no
44507 if test $_pkg_short_errors_supported = yes; then
44508 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44510 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44512 # Put the nasty error message in config.log where it belongs
44513 echo "$GTKPRINT_PKG_ERRORS" >&5
44516 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44517 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44518 wxUSE_GTKPRINT="no"
44521 elif test $pkg_failed = untried; then
44523 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44524 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44525 wxUSE_GTKPRINT="no"
44529 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44530 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44531 { echo "$as_me:$LINENO: result: yes" >&5
44532 echo "${ECHO_T}yes" >&6; }
44534 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44535 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_GTKPRINT 1
44544 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44548 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44549 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44551 if test -n "$PKG_CONFIG"; then
44552 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44553 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44555 if test -n "$PKG_CONFIG" && \
44556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44557 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44560 (exit $ac_status); }; then
44561 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44569 if test -n "$PKG_CONFIG"; then
44570 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44571 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44573 if test -n "$PKG_CONFIG" && \
44574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44575 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578 (exit $ac_status); }; then
44579 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44590 if test $pkg_failed = yes; then
44592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44593 _pkg_short_errors_supported=yes
44595 _pkg_short_errors_supported=no
44597 if test $_pkg_short_errors_supported = yes; then
44598 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44600 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44602 # Put the nasty error message in config.log where it belongs
44603 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44606 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44607 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44608 wxUSE_LIBGNOMEPRINT="no"
44611 elif test $pkg_failed = untried; then
44613 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44614 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44615 wxUSE_LIBGNOMEPRINT="no"
44619 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44620 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44621 { echo "$as_me:$LINENO: result: yes" >&5
44622 echo "${ECHO_T}yes" >&6; }
44624 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44625 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_LIBGNOMEPRINT 1
44635 if test "$wxUSE_MIMETYPE" = "yes" ; then
44636 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44640 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44641 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44643 if test -n "$PKG_CONFIG"; then
44644 if test -n "$GNOMEVFS_CFLAGS"; then
44645 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44647 if test -n "$PKG_CONFIG" && \
44648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44649 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); }; then
44653 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44661 if test -n "$PKG_CONFIG"; then
44662 if test -n "$GNOMEVFS_LIBS"; then
44663 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44665 if test -n "$PKG_CONFIG" && \
44666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44667 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; then
44671 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 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 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44692 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44694 # Put the nasty error message in config.log where it belongs
44695 echo "$GNOMEVFS_PKG_ERRORS" >&5
44698 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44699 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44700 wxUSE_LIBGNOMEVFS="no"
44703 elif test $pkg_failed = untried; then
44705 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44706 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44707 wxUSE_LIBGNOMEVFS="no"
44711 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44712 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44713 { echo "$as_me:$LINENO: result: yes" >&5
44714 echo "${ECHO_T}yes" >&6; }
44716 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44717 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_LIBGNOMEVFS 1
44727 if test "$wxUSE_LIBHILDON" = "yes" ; then
44730 { echo "$as_me:$LINENO: checking for HILDON" >&5
44731 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44733 if test -n "$PKG_CONFIG"; then
44734 if test -n "$HILDON_CFLAGS"; then
44735 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44737 if test -n "$PKG_CONFIG" && \
44738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44739 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); }; then
44743 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44751 if test -n "$PKG_CONFIG"; then
44752 if test -n "$HILDON_LIBS"; then
44753 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44755 if test -n "$PKG_CONFIG" && \
44756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44757 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44760 (exit $ac_status); }; then
44761 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44772 if test $pkg_failed = yes; then
44774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44775 _pkg_short_errors_supported=yes
44777 _pkg_short_errors_supported=no
44779 if test $_pkg_short_errors_supported = yes; then
44780 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44782 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44784 # Put the nasty error message in config.log where it belongs
44785 echo "$HILDON_PKG_ERRORS" >&5
44788 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44789 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44790 wxUSE_LIBHILDON="no"
44794 elif test $pkg_failed = untried; then
44796 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44797 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44798 wxUSE_LIBHILDON="no"
44803 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44804 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44805 { echo "$as_me:$LINENO: result: yes" >&5
44806 echo "${ECHO_T}yes" >&6; }
44808 EXTRALIBS_HILDON="$HILDON_LIBS"
44809 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44810 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_LIBHILDON 1
44819 if test "$ac_hildon_lgpl" = 0 ; then
44822 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44823 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44825 if test -n "$PKG_CONFIG"; then
44826 if test -n "$HILDON2_CFLAGS"; then
44827 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44829 if test -n "$PKG_CONFIG" && \
44830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44831 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); }; then
44835 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44843 if test -n "$PKG_CONFIG"; then
44844 if test -n "$HILDON2_LIBS"; then
44845 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44847 if test -n "$PKG_CONFIG" && \
44848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44849 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); }; then
44853 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 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 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44874 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44876 # Put the nasty error message in config.log where it belongs
44877 echo "$HILDON2_PKG_ERRORS" >&5
44880 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44881 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44882 wxUSE_LIBHILDON2="no"
44885 elif test $pkg_failed = untried; then
44887 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44888 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44889 wxUSE_LIBHILDON2="no"
44893 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44894 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44895 { echo "$as_me:$LINENO: result: yes" >&5
44896 echo "${ECHO_T}yes" >&6; }
44898 EXTRALIBS_HILDON="$HILDON2_LIBS"
44899 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44900 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_LIBHILDON2 1
44911 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_CMDLINE_PARSER 1
44918 if test "$wxUSE_STOPWATCH" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_STOPWATCH 1
44925 if test "$wxUSE_DATETIME" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_DATETIME 1
44932 if test "$wxUSE_FILE" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_FILE 1
44939 if test "$wxUSE_FFILE" = "yes"; then
44940 cat >>confdefs.h <<\_ACEOF
44941 #define wxUSE_FFILE 1
44946 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44947 if test "$wxUSE_STREAMS" != yes; then
44948 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44949 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44950 wxUSE_ARCHIVE_STREAMS=no
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_ARCHIVE_STREAMS 1
44959 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44960 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44961 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44962 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44963 elif test "$wxUSE_ZLIB" = "no"; then
44964 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44965 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_ZIPSTREAM 1
44974 if test "$wxUSE_TARSTREAM" = "yes"; then
44975 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44976 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44977 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_TARSTREAM 1
44986 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_FILE_HISTORY 1
44993 if test "$wxUSE_FILESYSTEM" = "yes"; then
44994 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44995 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44996 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44997 wxUSE_FILESYSTEM=no
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_FILESYSTEM 1
45006 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45007 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45008 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45009 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_FS_ARCHIVE 1
45018 if test "$wxUSE_FS_ZIP" = "yes"; then
45019 if test "$wxUSE_FS_ARCHIVE" != yes; then
45020 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45021 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_FS_ZIP 1
45030 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45031 if test "$USE_UNIX" != 1; then
45032 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45033 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45034 wxUSE_ON_FATAL_EXCEPTION=no
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_ON_FATAL_EXCEPTION 1
45043 if test "$wxUSE_STACKWALKER" = "yes"; then
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_STACKWALKER 1
45050 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45051 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45052 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45053 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45054 wxUSE_DEBUGREPORT=no
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_DEBUGREPORT 1
45060 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45066 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_SNGLINST_CHECKER 1
45073 if test "$wxUSE_BUSYINFO" = "yes"; then
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_BUSYINFO 1
45080 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_STD_CONTAINERS 1
45087 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_STD_IOSTREAM 1
45094 if test "$wxUSE_STD_STRING" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_STD_STRING 1
45101 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45108 if test "$wxUSE_STDPATHS" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_STDPATHS 1
45115 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_TEXTBUFFER 1
45122 if test "$wxUSE_TEXTFILE" = "yes"; then
45123 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45124 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45125 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_TEXTFILE 1
45134 if test "$wxUSE_CONFIG" = "yes" ; then
45135 if test "$wxUSE_TEXTFILE" != "yes"; then
45136 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45137 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_CONFIG 1
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_CONFIG_NATIVE 1
45147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45151 if test "$wxUSE_INTL" = "yes" ; then
45152 if test "$wxUSE_FILE" != "yes"; then
45153 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45154 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_INTL 1
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45161 GUIDIST="$GUIDIST INTL_DIST"
45165 if test "$wxUSE_XLOCALE" = "yes" ; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_XLOCALE 1
45170 { echo "$as_me:$LINENO: checking for locale_t" >&5
45171 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45172 if test "${ac_cv_type_locale_t+set}" = set; then
45173 echo $ECHO_N "(cached) $ECHO_C" >&6
45175 cat >conftest.$ac_ext <<_ACEOF
45178 cat confdefs.h >>conftest.$ac_ext
45179 cat >>conftest.$ac_ext <<_ACEOF
45180 /* end confdefs.h. */
45181 #include <xlocale.h>
45182 #include <locale.h>
45184 typedef locale_t ac__type_new_;
45188 if ((ac__type_new_ *) 0)
45190 if (sizeof (ac__type_new_))
45196 rm -f conftest.$ac_objext
45197 if { (ac_try="$ac_compile"
45198 case "(($ac_try" in
45199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45200 *) ac_try_echo=$ac_try;;
45202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45203 (eval "$ac_compile") 2>conftest.er1
45205 grep -v '^ *+' conftest.er1 >conftest.err
45207 cat conftest.err >&5
45208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209 (exit $ac_status); } && {
45210 test -z "$ac_c_werror_flag" ||
45211 test ! -s conftest.err
45212 } && test -s conftest.$ac_objext; then
45213 ac_cv_type_locale_t=yes
45215 echo "$as_me: failed program was:" >&5
45216 sed 's/^/| /' conftest.$ac_ext >&5
45218 ac_cv_type_locale_t=no
45221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45223 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45224 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45225 if test $ac_cv_type_locale_t = yes; then
45227 cat >>confdefs.h <<_ACEOF
45228 #define HAVE_LOCALE_T 1
45236 if test "$wxUSE_LOG" = "yes"; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_LOG 1
45242 if test "$wxUSE_LOGGUI" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_LOGGUI 1
45249 if test "$wxUSE_LOGWINDOW" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_LOGWINDOW 1
45256 if test "$wxUSE_LOGDIALOG" = "yes"; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_LOG_DIALOG 1
45263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45266 if test "$wxUSE_LONGLONG" = "yes"; then
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_LONGLONG 1
45273 if test "$wxUSE_GEOMETRY" = "yes"; then
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_GEOMETRY 1
45280 if test "$wxUSE_BASE64" = "yes"; then
45281 cat >>confdefs.h <<\_ACEOF
45282 #define wxUSE_BASE64 1
45287 if test "$wxUSE_STREAMS" = "yes" ; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_STREAMS 1
45294 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45295 cat >>confdefs.h <<\_ACEOF
45296 #define wxUSE_PRINTF_POS_PARAMS 1
45301 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_OBJC_UNIQUIFYING 1
45309 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_CONSOLE_EVENTLOOP 1
45315 if test "$wxUSE_UNIX" = "yes"; then
45316 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_SELECT_DISPATCHER 1
45323 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45325 for ac_header in sys/epoll.h
45327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45331 echo $ECHO_N "(cached) $ECHO_C" >&6
45333 cat >conftest.$ac_ext <<_ACEOF
45336 cat confdefs.h >>conftest.$ac_ext
45337 cat >>conftest.$ac_ext <<_ACEOF
45338 /* end confdefs.h. */
45339 $ac_includes_default
45341 #include <$ac_header>
45343 rm -f conftest.$ac_objext
45344 if { (ac_try="$ac_compile"
45345 case "(($ac_try" in
45346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45347 *) ac_try_echo=$ac_try;;
45349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45350 (eval "$ac_compile") 2>conftest.er1
45352 grep -v '^ *+' conftest.er1 >conftest.err
45354 cat conftest.err >&5
45355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45356 (exit $ac_status); } && {
45357 test -z "$ac_c_werror_flag" ||
45358 test ! -s conftest.err
45359 } && test -s conftest.$ac_objext; then
45360 eval "$as_ac_Header=yes"
45362 echo "$as_me: failed program was:" >&5
45363 sed 's/^/| /' conftest.$ac_ext >&5
45365 eval "$as_ac_Header=no"
45368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45370 ac_res=`eval echo '${'$as_ac_Header'}'`
45371 { echo "$as_me:$LINENO: result: $ac_res" >&5
45372 echo "${ECHO_T}$ac_res" >&6; }
45373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45374 cat >>confdefs.h <<_ACEOF
45375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45382 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_EPOLL_DISPATCHER 1
45388 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45389 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45398 for ac_func in gettimeofday ftime
45400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45404 echo $ECHO_N "(cached) $ECHO_C" >&6
45406 cat >conftest.$ac_ext <<_ACEOF
45409 cat confdefs.h >>conftest.$ac_ext
45410 cat >>conftest.$ac_ext <<_ACEOF
45411 /* end confdefs.h. */
45412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45414 #define $ac_func innocuous_$ac_func
45416 /* System header to define __stub macros and hopefully few prototypes,
45417 which can conflict with char $ac_func (); below.
45418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45419 <limits.h> exists even on freestanding compilers. */
45422 # include <limits.h>
45424 # include <assert.h>
45429 /* Override any GCC internal prototype to avoid an error.
45430 Use char because int might match the return type of a GCC
45431 builtin and then its argument prototype would still apply. */
45436 /* The GNU C library defines this for functions which it implements
45437 to always fail with ENOSYS. Some functions are actually named
45438 something starting with __ and the normal name is an alias. */
45439 #if defined __stub_$ac_func || defined __stub___$ac_func
45446 return $ac_func ();
45451 rm -f conftest.$ac_objext conftest$ac_exeext
45452 if { (ac_try="$ac_link"
45453 case "(($ac_try" in
45454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45455 *) ac_try_echo=$ac_try;;
45457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45458 (eval "$ac_link") 2>conftest.er1
45460 grep -v '^ *+' conftest.er1 >conftest.err
45462 cat conftest.err >&5
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); } && {
45465 test -z "$ac_c_werror_flag" ||
45466 test ! -s conftest.err
45467 } && test -s conftest$ac_exeext &&
45468 $as_test_x conftest$ac_exeext; then
45469 eval "$as_ac_var=yes"
45471 echo "$as_me: failed program was:" >&5
45472 sed 's/^/| /' conftest.$ac_ext >&5
45474 eval "$as_ac_var=no"
45477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45478 conftest$ac_exeext conftest.$ac_ext
45480 ac_res=`eval echo '${'$as_ac_var'}'`
45481 { echo "$as_me:$LINENO: result: $ac_res" >&5
45482 echo "${ECHO_T}$ac_res" >&6; }
45483 if test `eval echo '${'$as_ac_var'}'` = yes; then
45484 cat >>confdefs.h <<_ACEOF
45485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45492 if test "$ac_cv_func_gettimeofday" = "yes"; then
45493 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45494 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45495 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45496 echo $ECHO_N "(cached) $ECHO_C" >&6
45499 cat >conftest.$ac_ext <<_ACEOF
45502 cat confdefs.h >>conftest.$ac_ext
45503 cat >>conftest.$ac_ext <<_ACEOF
45504 /* end confdefs.h. */
45506 #include <sys/time.h>
45507 #include <unistd.h>
45514 gettimeofday(&tv, NULL);
45520 rm -f conftest.$ac_objext
45521 if { (ac_try="$ac_compile"
45522 case "(($ac_try" in
45523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45524 *) ac_try_echo=$ac_try;;
45526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45527 (eval "$ac_compile") 2>conftest.er1
45529 grep -v '^ *+' conftest.er1 >conftest.err
45531 cat conftest.err >&5
45532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533 (exit $ac_status); } && {
45534 test -z "$ac_c_werror_flag" ||
45535 test ! -s conftest.err
45536 } && test -s conftest.$ac_objext; then
45537 wx_cv_func_gettimeofday_has_2_args=yes
45539 echo "$as_me: failed program was:" >&5
45540 sed 's/^/| /' conftest.$ac_ext >&5
45542 cat >conftest.$ac_ext <<_ACEOF
45545 cat confdefs.h >>conftest.$ac_ext
45546 cat >>conftest.$ac_ext <<_ACEOF
45547 /* end confdefs.h. */
45549 #include <sys/time.h>
45550 #include <unistd.h>
45563 rm -f conftest.$ac_objext
45564 if { (ac_try="$ac_compile"
45565 case "(($ac_try" in
45566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45567 *) ac_try_echo=$ac_try;;
45569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45570 (eval "$ac_compile") 2>conftest.er1
45572 grep -v '^ *+' conftest.er1 >conftest.err
45574 cat conftest.err >&5
45575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45576 (exit $ac_status); } && {
45577 test -z "$ac_c_werror_flag" ||
45578 test ! -s conftest.err
45579 } && test -s conftest.$ac_objext; then
45580 wx_cv_func_gettimeofday_has_2_args=no
45582 echo "$as_me: failed program was:" >&5
45583 sed 's/^/| /' conftest.$ac_ext >&5
45586 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45587 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45588 wx_cv_func_gettimeofday_has_2_args=unknown
45593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45600 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45601 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45603 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define WX_GETTIMEOFDAY_NO_TZ 1
45611 if test "$wxUSE_DATETIME" = "yes"; then
45612 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45613 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45614 if test "${wx_cv_var_timezone+set}" = set; then
45615 echo $ECHO_N "(cached) $ECHO_C" >&6
45619 ac_cpp='$CXXCPP $CPPFLAGS'
45620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45624 cat >conftest.$ac_ext <<_ACEOF
45627 cat confdefs.h >>conftest.$ac_ext
45628 cat >>conftest.$ac_ext <<_ACEOF
45629 /* end confdefs.h. */
45644 rm -f conftest.$ac_objext
45645 if { (ac_try="$ac_compile"
45646 case "(($ac_try" in
45647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45648 *) ac_try_echo=$ac_try;;
45650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45651 (eval "$ac_compile") 2>conftest.er1
45653 grep -v '^ *+' conftest.er1 >conftest.err
45655 cat conftest.err >&5
45656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657 (exit $ac_status); } && {
45658 test -z "$ac_cxx_werror_flag" ||
45659 test ! -s conftest.err
45660 } && test -s conftest.$ac_objext; then
45662 wx_cv_var_timezone=timezone
45665 echo "$as_me: failed program was:" >&5
45666 sed 's/^/| /' conftest.$ac_ext >&5
45669 cat >conftest.$ac_ext <<_ACEOF
45672 cat confdefs.h >>conftest.$ac_ext
45673 cat >>conftest.$ac_ext <<_ACEOF
45674 /* end confdefs.h. */
45689 rm -f conftest.$ac_objext
45690 if { (ac_try="$ac_compile"
45691 case "(($ac_try" in
45692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45693 *) ac_try_echo=$ac_try;;
45695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45696 (eval "$ac_compile") 2>conftest.er1
45698 grep -v '^ *+' conftest.er1 >conftest.err
45700 cat conftest.err >&5
45701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45702 (exit $ac_status); } && {
45703 test -z "$ac_cxx_werror_flag" ||
45704 test ! -s conftest.err
45705 } && test -s conftest.$ac_objext; then
45707 wx_cv_var_timezone=_timezone
45710 echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45714 cat >conftest.$ac_ext <<_ACEOF
45717 cat confdefs.h >>conftest.$ac_ext
45718 cat >>conftest.$ac_ext <<_ACEOF
45719 /* end confdefs.h. */
45734 rm -f conftest.$ac_objext
45735 if { (ac_try="$ac_compile"
45736 case "(($ac_try" in
45737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45738 *) ac_try_echo=$ac_try;;
45740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45741 (eval "$ac_compile") 2>conftest.er1
45743 grep -v '^ *+' conftest.er1 >conftest.err
45745 cat conftest.err >&5
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); } && {
45748 test -z "$ac_cxx_werror_flag" ||
45749 test ! -s conftest.err
45750 } && test -s conftest.$ac_objext; then
45752 wx_cv_var_timezone=__timezone
45755 echo "$as_me: failed program was:" >&5
45756 sed 's/^/| /' conftest.$ac_ext >&5
45759 if test "$USE_DOS" = 0 ; then
45760 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45761 echo "$as_me: WARNING: no timezone variable" >&2;}
45767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45779 ac_cpp='$CPP $CPPFLAGS'
45780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45787 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45788 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45790 if test "x$wx_cv_var_timezone" != x ; then
45791 cat >>confdefs.h <<_ACEOF
45792 #define WX_TIMEZONE $wx_cv_var_timezone
45798 for ac_func in localtime
45800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45804 echo $ECHO_N "(cached) $ECHO_C" >&6
45806 cat >conftest.$ac_ext <<_ACEOF
45809 cat confdefs.h >>conftest.$ac_ext
45810 cat >>conftest.$ac_ext <<_ACEOF
45811 /* end confdefs.h. */
45812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45814 #define $ac_func innocuous_$ac_func
45816 /* System header to define __stub macros and hopefully few prototypes,
45817 which can conflict with char $ac_func (); below.
45818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45819 <limits.h> exists even on freestanding compilers. */
45822 # include <limits.h>
45824 # include <assert.h>
45829 /* Override any GCC internal prototype to avoid an error.
45830 Use char because int might match the return type of a GCC
45831 builtin and then its argument prototype would still apply. */
45836 /* The GNU C library defines this for functions which it implements
45837 to always fail with ENOSYS. Some functions are actually named
45838 something starting with __ and the normal name is an alias. */
45839 #if defined __stub_$ac_func || defined __stub___$ac_func
45846 return $ac_func ();
45851 rm -f conftest.$ac_objext conftest$ac_exeext
45852 if { (ac_try="$ac_link"
45853 case "(($ac_try" in
45854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45855 *) ac_try_echo=$ac_try;;
45857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45858 (eval "$ac_link") 2>conftest.er1
45860 grep -v '^ *+' conftest.er1 >conftest.err
45862 cat conftest.err >&5
45863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45864 (exit $ac_status); } && {
45865 test -z "$ac_c_werror_flag" ||
45866 test ! -s conftest.err
45867 } && test -s conftest$ac_exeext &&
45868 $as_test_x conftest$ac_exeext; then
45869 eval "$as_ac_var=yes"
45871 echo "$as_me: failed program was:" >&5
45872 sed 's/^/| /' conftest.$ac_ext >&5
45874 eval "$as_ac_var=no"
45877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45878 conftest$ac_exeext conftest.$ac_ext
45880 ac_res=`eval echo '${'$as_ac_var'}'`
45881 { echo "$as_me:$LINENO: result: $ac_res" >&5
45882 echo "${ECHO_T}$ac_res" >&6; }
45883 if test `eval echo '${'$as_ac_var'}'` = yes; then
45884 cat >>confdefs.h <<_ACEOF
45885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45892 if test "$ac_cv_func_localtime" = "yes"; then
45893 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45894 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45895 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45896 echo $ECHO_N "(cached) $ECHO_C" >&6
45899 cat >conftest.$ac_ext <<_ACEOF
45902 cat confdefs.h >>conftest.$ac_ext
45903 cat >>conftest.$ac_ext <<_ACEOF
45904 /* end confdefs.h. */
45919 rm -f conftest.$ac_objext
45920 if { (ac_try="$ac_compile"
45921 case "(($ac_try" in
45922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45923 *) ac_try_echo=$ac_try;;
45925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45926 (eval "$ac_compile") 2>conftest.er1
45928 grep -v '^ *+' conftest.er1 >conftest.err
45930 cat conftest.err >&5
45931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932 (exit $ac_status); } && {
45933 test -z "$ac_c_werror_flag" ||
45934 test ! -s conftest.err
45935 } && test -s conftest.$ac_objext; then
45937 wx_cv_struct_tm_has_gmtoff=yes
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45943 wx_cv_struct_tm_has_gmtoff=no
45947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45950 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45951 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45954 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define WX_GMTOFF_IN_TM 1
45961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45965 if test "$wxUSE_SOCKETS" = "yes"; then
45966 if test "$wxUSE_MGL" = 1; then
45967 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45968 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45973 if test "$wxUSE_SOCKETS" = "yes"; then
45974 if test "$TOOLKIT" != "MSW"; then
45975 { echo "$as_me:$LINENO: checking for socket" >&5
45976 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45977 if test "${ac_cv_func_socket+set}" = set; then
45978 echo $ECHO_N "(cached) $ECHO_C" >&6
45980 cat >conftest.$ac_ext <<_ACEOF
45983 cat confdefs.h >>conftest.$ac_ext
45984 cat >>conftest.$ac_ext <<_ACEOF
45985 /* end confdefs.h. */
45986 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45988 #define socket innocuous_socket
45990 /* System header to define __stub macros and hopefully few prototypes,
45991 which can conflict with char socket (); below.
45992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45993 <limits.h> exists even on freestanding compilers. */
45996 # include <limits.h>
45998 # include <assert.h>
46003 /* Override any GCC internal prototype to avoid an error.
46004 Use char because int might match the return type of a GCC
46005 builtin and then its argument prototype would still apply. */
46010 /* The GNU C library defines this for functions which it implements
46011 to always fail with ENOSYS. Some functions are actually named
46012 something starting with __ and the normal name is an alias. */
46013 #if defined __stub_socket || defined __stub___socket
46025 rm -f conftest.$ac_objext conftest$ac_exeext
46026 if { (ac_try="$ac_link"
46027 case "(($ac_try" in
46028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46029 *) ac_try_echo=$ac_try;;
46031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46032 (eval "$ac_link") 2>conftest.er1
46034 grep -v '^ *+' conftest.er1 >conftest.err
46036 cat conftest.err >&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); } && {
46039 test -z "$ac_c_werror_flag" ||
46040 test ! -s conftest.err
46041 } && test -s conftest$ac_exeext &&
46042 $as_test_x conftest$ac_exeext; then
46043 ac_cv_func_socket=yes
46045 echo "$as_me: failed program was:" >&5
46046 sed 's/^/| /' conftest.$ac_ext >&5
46048 ac_cv_func_socket=no
46051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46052 conftest$ac_exeext conftest.$ac_ext
46054 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46055 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46056 if test $ac_cv_func_socket = yes; then
46060 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46061 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46062 if test "${ac_cv_lib_socket_socket+set}" = set; then
46063 echo $ECHO_N "(cached) $ECHO_C" >&6
46065 ac_check_lib_save_LIBS=$LIBS
46066 LIBS="-lsocket $LIBS"
46067 cat >conftest.$ac_ext <<_ACEOF
46070 cat confdefs.h >>conftest.$ac_ext
46071 cat >>conftest.$ac_ext <<_ACEOF
46072 /* end confdefs.h. */
46074 /* Override any GCC internal prototype to avoid an error.
46075 Use char because int might match the return type of a GCC
46076 builtin and then its argument prototype would still apply. */
46089 rm -f conftest.$ac_objext conftest$ac_exeext
46090 if { (ac_try="$ac_link"
46091 case "(($ac_try" in
46092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46093 *) ac_try_echo=$ac_try;;
46095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46096 (eval "$ac_link") 2>conftest.er1
46098 grep -v '^ *+' conftest.er1 >conftest.err
46100 cat conftest.err >&5
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); } && {
46103 test -z "$ac_c_werror_flag" ||
46104 test ! -s conftest.err
46105 } && test -s conftest$ac_exeext &&
46106 $as_test_x conftest$ac_exeext; then
46107 ac_cv_lib_socket_socket=yes
46109 echo "$as_me: failed program was:" >&5
46110 sed 's/^/| /' conftest.$ac_ext >&5
46112 ac_cv_lib_socket_socket=no
46115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46116 conftest$ac_exeext conftest.$ac_ext
46117 LIBS=$ac_check_lib_save_LIBS
46119 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46120 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46121 if test $ac_cv_lib_socket_socket = yes; then
46122 if test "$INET_LINK" != " -lsocket"; then
46123 INET_LINK="$INET_LINK -lsocket"
46127 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46128 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46141 if test "$wxUSE_SOCKETS" = "yes" ; then
46142 if test "$TOOLKIT" != "MSW"; then
46143 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46144 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46145 if test "${wx_cv_type_getsockname3+set}" = set; then
46146 echo $ECHO_N "(cached) $ECHO_C" >&6
46150 ac_cpp='$CXXCPP $CPPFLAGS'
46151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46155 cat >conftest.$ac_ext <<_ACEOF
46158 cat confdefs.h >>conftest.$ac_ext
46159 cat >>conftest.$ac_ext <<_ACEOF
46160 /* end confdefs.h. */
46162 #include <sys/types.h>
46163 #include <sys/socket.h>
46170 getsockname(0, 0, &len);
46176 rm -f conftest.$ac_objext
46177 if { (ac_try="$ac_compile"
46178 case "(($ac_try" in
46179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46180 *) ac_try_echo=$ac_try;;
46182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46183 (eval "$ac_compile") 2>conftest.er1
46185 grep -v '^ *+' conftest.er1 >conftest.err
46187 cat conftest.err >&5
46188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46189 (exit $ac_status); } && {
46190 test -z "$ac_cxx_werror_flag" ||
46191 test ! -s conftest.err
46192 } && test -s conftest.$ac_objext; then
46193 wx_cv_type_getsockname3=socklen_t
46195 echo "$as_me: failed program was:" >&5
46196 sed 's/^/| /' conftest.$ac_ext >&5
46199 CFLAGS_OLD="$CFLAGS"
46200 if test "$GCC" = yes ; then
46201 CFLAGS="-Werror $CFLAGS"
46204 cat >conftest.$ac_ext <<_ACEOF
46207 cat confdefs.h >>conftest.$ac_ext
46208 cat >>conftest.$ac_ext <<_ACEOF
46209 /* end confdefs.h. */
46211 #include <sys/types.h>
46212 #include <sys/socket.h>
46219 getsockname(0, 0, &len);
46225 rm -f conftest.$ac_objext
46226 if { (ac_try="$ac_compile"
46227 case "(($ac_try" in
46228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46229 *) ac_try_echo=$ac_try;;
46231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46232 (eval "$ac_compile") 2>conftest.er1
46234 grep -v '^ *+' conftest.er1 >conftest.err
46236 cat conftest.err >&5
46237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46238 (exit $ac_status); } && {
46239 test -z "$ac_cxx_werror_flag" ||
46240 test ! -s conftest.err
46241 } && test -s conftest.$ac_objext; then
46242 wx_cv_type_getsockname3=size_t
46244 echo "$as_me: failed program was:" >&5
46245 sed 's/^/| /' conftest.$ac_ext >&5
46247 cat >conftest.$ac_ext <<_ACEOF
46250 cat confdefs.h >>conftest.$ac_ext
46251 cat >>conftest.$ac_ext <<_ACEOF
46252 /* end confdefs.h. */
46254 #include <sys/types.h>
46255 #include <sys/socket.h>
46262 getsockname(0, 0, &len);
46268 rm -f conftest.$ac_objext
46269 if { (ac_try="$ac_compile"
46270 case "(($ac_try" in
46271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46272 *) ac_try_echo=$ac_try;;
46274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46275 (eval "$ac_compile") 2>conftest.er1
46277 grep -v '^ *+' conftest.er1 >conftest.err
46279 cat conftest.err >&5
46280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46281 (exit $ac_status); } && {
46282 test -z "$ac_cxx_werror_flag" ||
46283 test ! -s conftest.err
46284 } && test -s conftest.$ac_objext; then
46285 wx_cv_type_getsockname3=int
46287 echo "$as_me: failed program was:" >&5
46288 sed 's/^/| /' conftest.$ac_ext >&5
46290 wx_cv_type_getsockname3=unknown
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46300 CFLAGS="$CFLAGS_OLD"
46305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46307 ac_cpp='$CPP $CPPFLAGS'
46308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46314 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46315 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46317 if test "$wx_cv_type_getsockname3" = "unknown"; then
46319 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46320 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46322 cat >>confdefs.h <<_ACEOF
46323 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46327 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46328 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46329 if test "${wx_cv_type_getsockopt5+set}" = set; then
46330 echo $ECHO_N "(cached) $ECHO_C" >&6
46334 ac_cpp='$CXXCPP $CPPFLAGS'
46335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46339 cat >conftest.$ac_ext <<_ACEOF
46342 cat confdefs.h >>conftest.$ac_ext
46343 cat >>conftest.$ac_ext <<_ACEOF
46344 /* end confdefs.h. */
46346 #include <sys/types.h>
46347 #include <sys/socket.h>
46354 getsockopt(0, 0, 0, 0, &len);
46360 rm -f conftest.$ac_objext
46361 if { (ac_try="$ac_compile"
46362 case "(($ac_try" in
46363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46364 *) ac_try_echo=$ac_try;;
46366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46367 (eval "$ac_compile") 2>conftest.er1
46369 grep -v '^ *+' conftest.er1 >conftest.err
46371 cat conftest.err >&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); } && {
46374 test -z "$ac_cxx_werror_flag" ||
46375 test ! -s conftest.err
46376 } && test -s conftest.$ac_objext; then
46377 wx_cv_type_getsockopt5=socklen_t
46379 echo "$as_me: failed program was:" >&5
46380 sed 's/^/| /' conftest.$ac_ext >&5
46383 cat >conftest.$ac_ext <<_ACEOF
46386 cat confdefs.h >>conftest.$ac_ext
46387 cat >>conftest.$ac_ext <<_ACEOF
46388 /* end confdefs.h. */
46390 #include <sys/types.h>
46391 #include <sys/socket.h>
46398 getsockopt(0, 0, 0, 0, &len);
46404 rm -f conftest.$ac_objext
46405 if { (ac_try="$ac_compile"
46406 case "(($ac_try" in
46407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46408 *) ac_try_echo=$ac_try;;
46410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46411 (eval "$ac_compile") 2>conftest.er1
46413 grep -v '^ *+' conftest.er1 >conftest.err
46415 cat conftest.err >&5
46416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46417 (exit $ac_status); } && {
46418 test -z "$ac_cxx_werror_flag" ||
46419 test ! -s conftest.err
46420 } && test -s conftest.$ac_objext; then
46421 wx_cv_type_getsockopt5=size_t
46423 echo "$as_me: failed program was:" >&5
46424 sed 's/^/| /' conftest.$ac_ext >&5
46426 cat >conftest.$ac_ext <<_ACEOF
46429 cat confdefs.h >>conftest.$ac_ext
46430 cat >>conftest.$ac_ext <<_ACEOF
46431 /* end confdefs.h. */
46433 #include <sys/types.h>
46434 #include <sys/socket.h>
46441 getsockopt(0, 0, 0, 0, &len);
46447 rm -f conftest.$ac_objext
46448 if { (ac_try="$ac_compile"
46449 case "(($ac_try" in
46450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46451 *) ac_try_echo=$ac_try;;
46453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46454 (eval "$ac_compile") 2>conftest.er1
46456 grep -v '^ *+' conftest.er1 >conftest.err
46458 cat conftest.err >&5
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); } && {
46461 test -z "$ac_cxx_werror_flag" ||
46462 test ! -s conftest.err
46463 } && test -s conftest.$ac_objext; then
46464 wx_cv_type_getsockopt5=int
46466 echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.$ac_ext >&5
46469 wx_cv_type_getsockopt5=unknown
46473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46484 ac_cpp='$CPP $CPPFLAGS'
46485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46491 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46492 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46494 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46496 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46497 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46499 cat >>confdefs.h <<_ACEOF
46500 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46507 if test "$wxUSE_SOCKETS" = "yes" ; then
46508 if test "$wxUSE_IPV6" = "yes"; then
46509 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46510 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46511 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46512 echo $ECHO_N "(cached) $ECHO_C" >&6
46515 cat >conftest.$ac_ext <<_ACEOF
46518 cat confdefs.h >>conftest.$ac_ext
46519 cat >>conftest.$ac_ext <<_ACEOF
46520 /* end confdefs.h. */
46522 #include <sys/types.h>
46523 #include <sys/socket.h>
46524 #include <netinet/in.h>
46530 struct sockaddr_in6 sa6;
46536 rm -f conftest.$ac_objext
46537 if { (ac_try="$ac_compile"
46538 case "(($ac_try" in
46539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46540 *) ac_try_echo=$ac_try;;
46542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46543 (eval "$ac_compile") 2>conftest.er1
46545 grep -v '^ *+' conftest.er1 >conftest.err
46547 cat conftest.err >&5
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); } && {
46550 test -z "$ac_c_werror_flag" ||
46551 test ! -s conftest.err
46552 } && test -s conftest.$ac_objext; then
46553 wx_cv_type_sockaddr_in6=yes
46555 echo "$as_me: failed program was:" >&5
46556 sed 's/^/| /' conftest.$ac_ext >&5
46558 wx_cv_type_sockaddr_in6=no
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46566 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46567 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46569 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_IPV6 1
46575 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46576 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_SOCKETS 1
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46587 if test "$wxUSE_PROTOCOL" = "yes"; then
46588 if test "$wxUSE_SOCKETS" != "yes"; then
46589 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46590 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46595 if test "$wxUSE_PROTOCOL" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_PROTOCOL 1
46601 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_PROTOCOL_HTTP 1
46607 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_PROTOCOL_FTP 1
46613 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_PROTOCOL_FILE 1
46620 if test "$wxUSE_FS_INET" = "yes"; then
46621 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46622 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46627 if test "$wxUSE_URL" = "yes"; then
46628 if test "$wxUSE_PROTOCOL" != "yes"; then
46629 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46630 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46633 if test "$wxUSE_URL" = "yes"; then
46634 cat >>confdefs.h <<\_ACEOF
46635 #define wxUSE_URL 1
46641 if test "$wxUSE_VARIANT" = "yes"; then
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_VARIANT 1
46648 if test "$wxUSE_FS_INET" = "yes"; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_FS_INET 1
46656 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46659 if test "$TOOLKIT" = "MSW"; then
46662 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46663 if test "$USE_DARWIN" = 1; then
46664 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46665 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46667 ac_cpp='$CXXCPP $CPPFLAGS'
46668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46672 cat >conftest.$ac_ext <<_ACEOF
46675 cat confdefs.h >>conftest.$ac_ext
46676 cat >>conftest.$ac_ext <<_ACEOF
46677 /* end confdefs.h. */
46678 #include <IOKit/hid/IOHIDLib.h>
46682 IOHIDQueueInterface *qi = NULL;
46683 IOHIDCallbackFunction cb = NULL;
46684 qi->setEventCallout(NULL, cb, NULL, NULL);
46689 rm -f conftest.$ac_objext
46690 if { (ac_try="$ac_compile"
46691 case "(($ac_try" in
46692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46693 *) ac_try_echo=$ac_try;;
46695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46696 (eval "$ac_compile") 2>conftest.er1
46698 grep -v '^ *+' conftest.er1 >conftest.err
46700 cat conftest.err >&5
46701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46702 (exit $ac_status); } && {
46703 test -z "$ac_cxx_werror_flag" ||
46704 test ! -s conftest.err
46705 } && test -s conftest.$ac_objext; then
46709 echo "$as_me: failed program was:" >&5
46710 sed 's/^/| /' conftest.$ac_ext >&5
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46722 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46723 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46727 if test "$wxUSE_MGL" != 1; then
46729 for ac_header in linux/joystick.h
46731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46735 echo $ECHO_N "(cached) $ECHO_C" >&6
46737 cat >conftest.$ac_ext <<_ACEOF
46740 cat confdefs.h >>conftest.$ac_ext
46741 cat >>conftest.$ac_ext <<_ACEOF
46742 /* end confdefs.h. */
46743 $ac_includes_default
46745 #include <$ac_header>
46747 rm -f conftest.$ac_objext
46748 if { (ac_try="$ac_compile"
46749 case "(($ac_try" in
46750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46751 *) ac_try_echo=$ac_try;;
46753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46754 (eval "$ac_compile") 2>conftest.er1
46756 grep -v '^ *+' conftest.er1 >conftest.err
46758 cat conftest.err >&5
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); } && {
46761 test -z "$ac_c_werror_flag" ||
46762 test ! -s conftest.err
46763 } && test -s conftest.$ac_objext; then
46764 eval "$as_ac_Header=yes"
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46769 eval "$as_ac_Header=no"
46772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46774 ac_res=`eval echo '${'$as_ac_Header'}'`
46775 { echo "$as_me:$LINENO: result: $ac_res" >&5
46776 echo "${ECHO_T}$ac_res" >&6; }
46777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46778 cat >>confdefs.h <<_ACEOF
46779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46789 if test "$wxUSE_JOYSTICK" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_JOYSTICK 1
46794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46796 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46797 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46803 if test "$wxUSE_FONTENUM" = "yes" ; then
46804 cat >>confdefs.h <<\_ACEOF
46805 #define wxUSE_FONTENUM 1
46810 if test "$wxUSE_FONTMAP" = "yes" ; then
46811 cat >>confdefs.h <<\_ACEOF
46812 #define wxUSE_FONTMAP 1
46817 if test "$wxUSE_UNICODE" = "yes" ; then
46818 cat >>confdefs.h <<\_ACEOF
46819 #define wxUSE_UNICODE 1
46823 if test "$USE_WIN32" != 1; then
46824 wxUSE_UNICODE_MSLU=no
46827 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46828 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46829 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46830 if test "${ac_cv_lib_unicows_main+set}" = set; then
46831 echo $ECHO_N "(cached) $ECHO_C" >&6
46833 ac_check_lib_save_LIBS=$LIBS
46834 LIBS="-lunicows $LIBS"
46835 cat >conftest.$ac_ext <<_ACEOF
46838 cat confdefs.h >>conftest.$ac_ext
46839 cat >>conftest.$ac_ext <<_ACEOF
46840 /* end confdefs.h. */
46851 rm -f conftest.$ac_objext conftest$ac_exeext
46852 if { (ac_try="$ac_link"
46853 case "(($ac_try" in
46854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46855 *) ac_try_echo=$ac_try;;
46857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46858 (eval "$ac_link") 2>conftest.er1
46860 grep -v '^ *+' conftest.er1 >conftest.err
46862 cat conftest.err >&5
46863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46864 (exit $ac_status); } && {
46865 test -z "$ac_c_werror_flag" ||
46866 test ! -s conftest.err
46867 } && test -s conftest$ac_exeext &&
46868 $as_test_x conftest$ac_exeext; then
46869 ac_cv_lib_unicows_main=yes
46871 echo "$as_me: failed program was:" >&5
46872 sed 's/^/| /' conftest.$ac_ext >&5
46874 ac_cv_lib_unicows_main=no
46877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46878 conftest$ac_exeext conftest.$ac_ext
46879 LIBS=$ac_check_lib_save_LIBS
46881 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46882 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46883 if test $ac_cv_lib_unicows_main = yes; then
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_UNICODE_MSLU 1
46892 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46893 Applications will only run on Windows NT/2000/XP!" >&5
46894 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46895 Applications will only run on Windows NT/2000/XP!" >&2;}
46896 wxUSE_UNICODE_MSLU=no
46903 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_UNICODE_UTF8 1
46909 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_UTF8_LOCALE_ONLY 1
46918 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46919 cat >>confdefs.h <<\_ACEOF
46920 #define wxUSE_CONSTRAINTS 1
46923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46926 if test "$wxUSE_MDI" = "yes"; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_MDI 1
46932 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_MDI_ARCHITECTURE 1
46937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46941 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46942 cat >>confdefs.h <<\_ACEOF
46943 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46949 if test "$wxUSE_HELP" = "yes"; then
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_HELP 1
46954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46956 if test "$wxUSE_MSW" = 1; then
46957 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46958 cat >>confdefs.h <<\_ACEOF
46959 #define wxUSE_MS_HTML_HELP 1
46965 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46966 if test "$wxUSE_HTML" = "yes"; then
46967 cat >>confdefs.h <<\_ACEOF
46968 #define wxUSE_WXHTML_HELP 1
46972 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46973 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46974 wxUSE_WXHTML_HELP=no
46979 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_PRINTING_ARCHITECTURE 1
46984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46987 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46988 cat >>confdefs.h <<\_ACEOF
46989 #define wxUSE_POSTSCRIPT 1
46994 cat >>confdefs.h <<\_ACEOF
46995 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46999 if test "$wxUSE_SVG" = "yes"; then
47000 cat >>confdefs.h <<\_ACEOF
47001 #define wxUSE_SVG 1
47007 if test "$wxUSE_METAFILE" = "yes"; then
47008 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47009 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47010 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47016 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47017 -o "$wxUSE_CLIPBOARD" = "yes" \
47018 -o "$wxUSE_OLE" = "yes" \
47019 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47020 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47021 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47022 if test "${ac_cv_header_ole2_h+set}" = set; then
47023 echo $ECHO_N "(cached) $ECHO_C" >&6
47025 cat >conftest.$ac_ext <<_ACEOF
47028 cat confdefs.h >>conftest.$ac_ext
47029 cat >>conftest.$ac_ext <<_ACEOF
47030 /* end confdefs.h. */
47035 rm -f conftest.$ac_objext
47036 if { (ac_try="$ac_compile"
47037 case "(($ac_try" in
47038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47039 *) ac_try_echo=$ac_try;;
47041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47042 (eval "$ac_compile") 2>conftest.er1
47044 grep -v '^ *+' conftest.er1 >conftest.err
47046 cat conftest.err >&5
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); } && {
47049 test -z "$ac_c_werror_flag" ||
47050 test ! -s conftest.err
47051 } && test -s conftest.$ac_objext; then
47052 ac_cv_header_ole2_h=yes
47054 echo "$as_me: failed program was:" >&5
47055 sed 's/^/| /' conftest.$ac_ext >&5
47057 ac_cv_header_ole2_h=no
47060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47062 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47063 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47067 if test "$ac_cv_header_ole2_h" = "yes" ; then
47068 if test "$GCC" = yes ; then
47069 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47070 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47071 cat >conftest.$ac_ext <<_ACEOF
47074 cat confdefs.h >>conftest.$ac_ext
47075 cat >>conftest.$ac_ext <<_ACEOF
47076 /* end confdefs.h. */
47077 #include <windows.h>
47087 rm -f conftest.$ac_objext
47088 if { (ac_try="$ac_compile"
47089 case "(($ac_try" in
47090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47091 *) ac_try_echo=$ac_try;;
47093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47094 (eval "$ac_compile") 2>conftest.er1
47096 grep -v '^ *+' conftest.er1 >conftest.err
47098 cat conftest.err >&5
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); } && {
47101 test -z "$ac_c_werror_flag" ||
47102 test ! -s conftest.err
47103 } && test -s conftest.$ac_objext; then
47104 { echo "$as_me:$LINENO: result: no" >&5
47105 echo "${ECHO_T}no" >&6; }
47107 echo "$as_me: failed program was:" >&5
47108 sed 's/^/| /' conftest.$ac_ext >&5
47110 { echo "$as_me:$LINENO: result: yes" >&5
47111 echo "${ECHO_T}yes" >&6; }
47112 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47116 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47117 if test "$wxUSE_OLE" = "yes" ; then
47118 cat >>confdefs.h <<\_ACEOF
47119 #define wxUSE_OLE 1
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_OLE_AUTOMATION 1
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_ACTIVEX 1
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47134 if test "$wxUSE_DATAOBJ" = "yes" ; then
47135 cat >>confdefs.h <<\_ACEOF
47136 #define wxUSE_DATAOBJ 1
47141 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47142 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47145 wxUSE_DRAG_AND_DROP=no
47150 if test "$wxUSE_METAFILE" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_METAFILE 1
47156 cat >>confdefs.h <<\_ACEOF
47157 #define wxUSE_ENH_METAFILE 1
47163 if test "$wxUSE_IPC" = "yes"; then
47164 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47165 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47166 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47170 if test "$wxUSE_IPC" = "yes"; then
47171 cat >>confdefs.h <<\_ACEOF
47172 #define wxUSE_IPC 1
47175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47179 if test "$wxUSE_DATAOBJ" = "yes"; then
47180 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47181 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47182 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_DATAOBJ 1
47191 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47192 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47194 wxUSE_DRAG_AND_DROP=no
47197 if test "$wxUSE_CLIPBOARD" = "yes"; then
47198 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47199 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47200 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47204 if test "$wxUSE_CLIPBOARD" = "yes"; then
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_CLIPBOARD 1
47212 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47213 if test "$wxUSE_GTK" = 1; then
47214 if test "$WXGTK12" != 1; then
47215 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47216 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47217 wxUSE_DRAG_AND_DROP=no
47221 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47222 "$wxUSE_DFB" = 1; then
47223 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47224 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47225 wxUSE_DRAG_AND_DROP=no
47228 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_DRAG_AND_DROP 1
47237 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47241 if test "$wxUSE_CLIPBOARD" = "yes"; then
47242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47245 if test "$wxUSE_SPLINES" = "yes" ; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_SPLINES 1
47252 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_MOUSEWHEEL 1
47259 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_UIACTIONSIMULATOR 1
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47267 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_DC_TRANSFORM_MATRIX 1
47276 if test "$wxUSE_CONTROLS" = "yes"; then
47280 if test "$wxUSE_MARKUP" = "yes"; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_MARKUP 1
47287 if test "$wxUSE_ACCEL" = "yes"; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_ACCEL 1
47295 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_ANIMATIONCTRL 1
47301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47304 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_BANNERWINDOW 1
47311 if test "$wxUSE_BUTTON" = "yes"; then
47312 cat >>confdefs.h <<\_ACEOF
47313 #define wxUSE_BUTTON 1
47319 if test "$wxUSE_BMPBUTTON" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_BMPBUTTON 1
47327 if test "$wxUSE_CALCTRL" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_CALENDARCTRL 1
47333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47336 if test "$wxUSE_CARET" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_CARET 1
47342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47345 if test "$wxUSE_COLLPANE" = "yes"; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_COLLPANE 1
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47354 if test "$wxUSE_COMBOBOX" = "yes"; then
47355 cat >>confdefs.h <<\_ACEOF
47356 #define wxUSE_COMBOBOX 1
47362 if test "$wxUSE_COMBOCTRL" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_COMBOCTRL 1
47370 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_COMMANDLINKBUTTON 1
47378 if test "$wxUSE_CHOICE" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_CHOICE 1
47386 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_CHOICEBOOK 1
47394 if test "$wxUSE_CHECKBOX" = "yes"; then
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_CHECKBOX 1
47402 if test "$wxUSE_CHECKLST" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_CHECKLISTBOX 1
47410 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_COLOURPICKERCTRL 1
47418 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_DATEPICKCTRL 1
47426 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_DIRPICKERCTRL 1
47434 if test "$wxUSE_FILECTRL" = "yes"; then
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_FILECTRL 1
47442 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47443 cat >>confdefs.h <<\_ACEOF
47444 #define wxUSE_FILEPICKERCTRL 1
47450 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_FONTPICKERCTRL 1
47458 if test "$wxUSE_DISPLAY" = "yes"; then
47459 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47460 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47461 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_DISPLAY 1
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47472 if test "$wxUSE_DETECT_SM" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_DETECT_SM 1
47479 if test "$wxUSE_GAUGE" = "yes"; then
47480 cat >>confdefs.h <<\_ACEOF
47481 #define wxUSE_GAUGE 1
47487 if test "$wxUSE_GRID" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_GRID 1
47493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47496 if test "$wxUSE_HEADERCTRL" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_HEADERCTRL 1
47504 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_HYPERLINKCTRL 1
47512 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_BITMAPCOMBOBOX 1
47520 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_DATAVIEWCTRL 1
47526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47529 if test "$wxUSE_IMAGLIST" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_IMAGLIST 1
47536 if test "$wxUSE_INFOBAR" = "yes"; then
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_INFOBAR 1
47543 if test "$wxUSE_LISTBOOK" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_LISTBOOK 1
47551 if test "$wxUSE_LISTBOX" = "yes"; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_LISTBOX 1
47559 if test "$wxUSE_LISTCTRL" = "yes"; then
47560 if test "$wxUSE_IMAGLIST" = "yes"; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_LISTCTRL 1
47566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47568 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47569 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47573 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_EDITABLELISTBOX 1
47581 if test "$wxUSE_NOTEBOOK" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_NOTEBOOK 1
47587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47590 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_NOTIFICATION_MESSAGE 1
47597 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_ODCOMBOBOX 1
47603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47606 if test "$wxUSE_RADIOBOX" = "yes"; then
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_RADIOBOX 1
47614 if test "$wxUSE_RADIOBTN" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_RADIOBTN 1
47622 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_REARRANGECTRL 1
47629 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_RICHMSGDLG 1
47636 if test "$wxUSE_SASH" = "yes"; then
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_SASH 1
47641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47644 if test "$wxUSE_SCROLLBAR" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_SCROLLBAR 1
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47653 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_SEARCHCTRL 1
47661 if test "$wxUSE_SLIDER" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_SLIDER 1
47669 if test "$wxUSE_SPINBTN" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_SPINBTN 1
47677 if test "$wxUSE_SPINCTRL" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_SPINCTRL 1
47685 if test "$wxUSE_SPLITTER" = "yes"; then
47686 cat >>confdefs.h <<\_ACEOF
47687 #define wxUSE_SPLITTER 1
47690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47693 if test "$wxUSE_STATBMP" = "yes"; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_STATBMP 1
47701 if test "$wxUSE_STATBOX" = "yes"; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_STATBOX 1
47709 if test "$wxUSE_STATTEXT" = "yes"; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_STATTEXT 1
47717 if test "$wxUSE_STATLINE" = "yes"; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_STATLINE 1
47725 if test "$wxUSE_STATUSBAR" = "yes"; then
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_NATIVE_STATUSBAR 1
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_STATUSBAR 1
47736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47739 if test "$wxUSE_TEXTCTRL" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_TEXTCTRL 1
47745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_RICHEDIT 1
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_RICHEDIT2 1
47757 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47758 if test "$wxUSE_OLD_COCOA" = 1 ; then
47759 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47760 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47764 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_TOGGLEBTN 1
47773 if test "$wxUSE_TOOLBAR" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_TOOLBAR 1
47780 if test "$wxUSE_UNIVERSAL" = "yes"; then
47781 wxUSE_TOOLBAR_NATIVE="no"
47783 wxUSE_TOOLBAR_NATIVE="yes"
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_TOOLBAR_NATIVE 1
47790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47793 if test "$wxUSE_TOOLTIPS" = "yes"; then
47794 if test "$wxUSE_MOTIF" = 1; then
47795 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47796 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47798 if test "$wxUSE_UNIVERSAL" = "yes"; then
47799 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47800 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47802 cat >>confdefs.h <<\_ACEOF
47803 #define wxUSE_TOOLTIPS 1
47810 if test "$wxUSE_TREEBOOK" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_TREEBOOK 1
47818 if test "$wxUSE_TOOLBOOK" = "yes"; then
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_TOOLBOOK 1
47826 if test "$wxUSE_TREECTRL" = "yes"; then
47827 if test "$wxUSE_IMAGLIST" = "yes"; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_TREECTRL 1
47833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47835 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47836 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47840 if test "$wxUSE_POPUPWIN" = "yes"; then
47841 if test "$wxUSE_OLD_COCOA" = 1 ; then
47842 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47843 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47845 if test "$wxUSE_PM" = 1; then
47846 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47847 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_POPUPWIN 1
47853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47860 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47861 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47862 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47863 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_DIALUP_MANAGER 1
47869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47873 if test "$wxUSE_TIPWINDOW" = "yes"; then
47874 if test "$wxUSE_PM" = 1; then
47875 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47876 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47878 cat >>confdefs.h <<\_ACEOF
47879 #define wxUSE_TIPWINDOW 1
47885 if test "$USES_CONTROLS" = 1; then
47886 cat >>confdefs.h <<\_ACEOF
47887 #define wxUSE_CONTROLS 1
47893 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_ACCESSIBILITY 1
47898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47901 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_ARTPROVIDER_STD 1
47908 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47909 if test "$wxUSE_GTK" != 1; then
47910 if test "$wxUSE_LIBPNG" != no -a \
47911 "$wxUSE_IMAGE" = yes -a \
47912 "$wxUSE_STREAMS" = yes; then
47913 wxUSE_ARTPROVIDER_TANGO="yes"
47918 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47919 cat >>confdefs.h <<\_ACEOF
47920 #define wxUSE_ARTPROVIDER_TANGO 1
47925 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47926 cat >>confdefs.h <<\_ACEOF
47927 #define wxUSE_DRAGIMAGE 1
47930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47933 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47934 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47935 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47936 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_EXCEPTIONS 1
47942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47947 if test "$wxUSE_HTML" = "yes"; then
47948 cat >>confdefs.h <<\_ACEOF
47949 #define wxUSE_HTML 1
47953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47955 if test "$wxUSE_WEBKIT" = "yes"; then
47956 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47957 old_CPPFLAGS="$CPPFLAGS"
47958 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47959 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47960 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47961 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47962 echo $ECHO_N "(cached) $ECHO_C" >&6
47964 cat >conftest.$ac_ext <<_ACEOF
47967 cat confdefs.h >>conftest.$ac_ext
47968 cat >>conftest.$ac_ext <<_ACEOF
47969 /* end confdefs.h. */
47971 #include <Carbon/Carbon.h>
47972 #include <WebKit/WebKit.h>
47975 #include <WebKit/HIWebView.h>
47977 rm -f conftest.$ac_objext
47978 if { (ac_try="$ac_compile"
47979 case "(($ac_try" in
47980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47981 *) ac_try_echo=$ac_try;;
47983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47984 (eval "$ac_compile") 2>conftest.er1
47986 grep -v '^ *+' conftest.er1 >conftest.err
47988 cat conftest.err >&5
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); } && {
47991 test -z "$ac_c_werror_flag" ||
47992 test ! -s conftest.err
47993 } && test -s conftest.$ac_objext; then
47994 ac_cv_header_WebKit_HIWebView_h=yes
47996 echo "$as_me: failed program was:" >&5
47997 sed 's/^/| /' conftest.$ac_ext >&5
47999 ac_cv_header_WebKit_HIWebView_h=no
48002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48004 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48005 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48006 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48008 cat >>confdefs.h <<\_ACEOF
48009 #define wxUSE_WEBKIT 1
48012 WEBKIT_LINK="-framework WebKit"
48016 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48017 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48023 CPPFLAGS="$old_CPPFLAGS"
48024 elif test "$wxUSE_OLD_COCOA" = 1; then
48025 cat >>confdefs.h <<\_ACEOF
48026 #define wxUSE_WEBKIT 1
48032 if test "$wxUSE_WEBKIT" = "yes"; then
48033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48038 if test "$wxUSE_XRC" = "yes"; then
48039 if test "$wxUSE_XML" != "yes"; then
48040 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48041 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_XRC 1
48049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48054 if test "$wxUSE_AUI" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_AUI 1
48060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48064 if test "$wxUSE_PROPGRID" = "yes"; then
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_PROPGRID 1
48070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48074 if test "$wxUSE_RIBBON" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_RIBBON 1
48080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48084 if test "$wxUSE_STC" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_STC 1
48090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48092 # Extract the first word of "python", so it can be a program name with args.
48093 set dummy python; ac_word=$2
48094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48096 if test "${ac_cv_path_PYTHON+set}" = set; then
48097 echo $ECHO_N "(cached) $ECHO_C" >&6
48101 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48105 for as_dir in $PATH
48108 test -z "$as_dir" && as_dir=.
48109 for ac_exec_ext in '' $ac_executable_extensions; do
48110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48111 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48122 PYTHON=$ac_cv_path_PYTHON
48123 if test -n "$PYTHON"; then
48124 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48125 echo "${ECHO_T}$PYTHON" >&6; }
48127 { echo "$as_me:$LINENO: result: no" >&5
48128 echo "${ECHO_T}no" >&6; }
48132 if test "x$PYTHON" = "x"; then
48138 if test "$wxUSE_MENUS" = "yes"; then
48139 cat >>confdefs.h <<\_ACEOF
48140 #define wxUSE_MENUS 1
48143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48146 if test "$wxUSE_METAFILE" = "yes"; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_METAFILE 1
48153 if test "$wxUSE_MIMETYPE" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_MIMETYPE 1
48160 if test "$wxUSE_MINIFRAME" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_MINIFRAME 1
48167 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_SYSTEM_OPTIONS 1
48174 if test "$wxUSE_TASKBARICON" = "yes"; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_TASKBARICON 1
48179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48183 if test "$wxUSE_VALIDATORS" = "yes"; then
48184 cat >>confdefs.h <<\_ACEOF
48185 #define wxUSE_VALIDATORS 1
48188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48191 if test "$wxUSE_PALETTE" = "yes" ; then
48192 if test "$wxUSE_DFB" = 1; then
48193 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48194 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_PALETTE 1
48204 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48205 LIBS=" -lunicows $LIBS"
48209 if test "$wxUSE_RICHTEXT" = "yes"; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_RICHTEXT 1
48215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48219 if test "$wxUSE_IMAGE" = "yes" ; then
48220 cat >>confdefs.h <<\_ACEOF
48221 #define wxUSE_IMAGE 1
48225 if test "$wxUSE_GIF" = "yes" ; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_GIF 1
48232 if test "$wxUSE_PCX" = "yes" ; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_PCX 1
48239 if test "$wxUSE_TGA" = "yes" ; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_TGA 1
48246 if test "$wxUSE_IFF" = "yes" ; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_IFF 1
48253 if test "$wxUSE_PNM" = "yes" ; then
48254 cat >>confdefs.h <<\_ACEOF
48255 #define wxUSE_PNM 1
48260 if test "$wxUSE_XPM" = "yes" ; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_XPM 1
48267 if test "$wxUSE_ICO_CUR" = "yes" ; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_ICO_CUR 1
48276 if test "$wxUSE_ABOUTDLG" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_ABOUTDLG 1
48283 if test "$wxUSE_CHOICEDLG" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_CHOICEDLG 1
48290 if test "$wxUSE_COLOURDLG" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_COLOURDLG 1
48297 if test "$wxUSE_FILEDLG" = "yes"; then
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_FILEDLG 1
48304 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48305 cat >>confdefs.h <<\_ACEOF
48306 #define wxUSE_FINDREPLDLG 1
48311 if test "$wxUSE_FONTDLG" = "yes"; then
48312 cat >>confdefs.h <<\_ACEOF
48313 #define wxUSE_FONTDLG 1
48318 if test "$wxUSE_DIRDLG" = "yes"; then
48319 if test "$wxUSE_TREECTRL" != "yes"; then
48320 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48321 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_DIRDLG 1
48330 if test "$wxUSE_MSGDLG" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_MSGDLG 1
48337 if test "$wxUSE_NUMBERDLG" = "yes"; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_NUMBERDLG 1
48344 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48345 cat >>confdefs.h <<\_ACEOF
48346 #define wxUSE_PROGRESSDLG 1
48351 if test "$wxUSE_SPLASH" = "yes"; then
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_SPLASH 1
48356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48359 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_STARTUP_TIPS 1
48366 if test "$wxUSE_TEXTDLG" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_TEXTDLG 1
48373 if test "$wxUSE_WIZARDDLG" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_WIZARDDLG 1
48378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48382 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48383 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48384 cat >>confdefs.h <<\_ACEOF
48385 #define wxUSE_OWNER_DRAWN 1
48392 if test "$wxUSE_MSW" = 1 ; then
48394 if test "$wxUSE_DC_CACHEING" = "yes"; then
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_DC_CACHEING 1
48401 if test "$wxUSE_DIB" = "yes"; then
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_WXDIB 1
48408 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48409 cat >>confdefs.h <<\_ACEOF
48410 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48415 if test "$wxUSE_UXTHEME" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_UXTHEME 1
48424 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_AUTOID_MANAGEMENT 1
48431 if test "$USE_WIN32" = 1 ; then
48432 if test "$wxUSE_INICONF" = "yes"; then
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_INICONF 1
48439 if test "$wxUSE_REGKEY" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_REGKEY 1
48448 if test "$wxUSE_MAC" = 1; then
48449 wxUSE_GRAPHICS_CONTEXT="yes"
48452 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48454 if test "$wxUSE_MSW" = 1; then
48455 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48456 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48457 if test "${wx_cv_lib_gdiplus+set}" = set; then
48458 echo $ECHO_N "(cached) $ECHO_C" >&6
48462 ac_cpp='$CXXCPP $CPPFLAGS'
48463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467 cat >conftest.$ac_ext <<_ACEOF
48470 cat confdefs.h >>conftest.$ac_ext
48471 cat >>conftest.$ac_ext <<_ACEOF
48472 /* end confdefs.h. */
48473 #include <windows.h>
48474 #include <gdiplus.h>
48479 using namespace Gdiplus;
48485 rm -f conftest.$ac_objext
48486 if { (ac_try="$ac_compile"
48487 case "(($ac_try" in
48488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48489 *) ac_try_echo=$ac_try;;
48491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48492 (eval "$ac_compile") 2>conftest.er1
48494 grep -v '^ *+' conftest.er1 >conftest.err
48496 cat conftest.err >&5
48497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48498 (exit $ac_status); } && {
48499 test -z "$ac_cxx_werror_flag" ||
48500 test ! -s conftest.err
48501 } && test -s conftest.$ac_objext; then
48502 wx_cv_lib_gdiplus=yes
48504 echo "$as_me: failed program was:" >&5
48505 sed 's/^/| /' conftest.$ac_ext >&5
48507 wx_cv_lib_gdiplus=no
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48513 ac_cpp='$CPP $CPPFLAGS'
48514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48521 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48522 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48523 if test "$wx_cv_lib_gdiplus" = "yes"; then
48526 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48529 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48530 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48532 if test -n "$PKG_CONFIG"; then
48533 if test -n "$CAIRO_CFLAGS"; then
48534 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48536 if test -n "$PKG_CONFIG" && \
48537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48538 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48541 (exit $ac_status); }; then
48542 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48550 if test -n "$PKG_CONFIG"; then
48551 if test -n "$CAIRO_LIBS"; then
48552 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48554 if test -n "$PKG_CONFIG" && \
48555 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48556 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); }; then
48560 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48571 if test $pkg_failed = yes; then
48573 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48574 _pkg_short_errors_supported=yes
48576 _pkg_short_errors_supported=no
48578 if test $_pkg_short_errors_supported = yes; then
48579 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48581 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48583 # Put the nasty error message in config.log where it belongs
48584 echo "$CAIRO_PKG_ERRORS" >&5
48586 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48587 echo "$as_me: WARNING: Cairo library not found" >&2;}
48589 elif test $pkg_failed = untried; then
48590 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48591 echo "$as_me: WARNING: Cairo library not found" >&2;}
48594 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48595 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48596 { echo "$as_me:$LINENO: result: yes" >&5
48597 echo "${ECHO_T}yes" >&6; }
48600 if test "$wx_has_graphics" = 1; then
48602 LIBS="$LIBS $CAIRO_LIBS"
48604 for ac_func in cairo_push_group
48606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48610 echo $ECHO_N "(cached) $ECHO_C" >&6
48612 cat >conftest.$ac_ext <<_ACEOF
48615 cat confdefs.h >>conftest.$ac_ext
48616 cat >>conftest.$ac_ext <<_ACEOF
48617 /* end confdefs.h. */
48618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48620 #define $ac_func innocuous_$ac_func
48622 /* System header to define __stub macros and hopefully few prototypes,
48623 which can conflict with char $ac_func (); below.
48624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48625 <limits.h> exists even on freestanding compilers. */
48628 # include <limits.h>
48630 # include <assert.h>
48635 /* Override any GCC internal prototype to avoid an error.
48636 Use char because int might match the return type of a GCC
48637 builtin and then its argument prototype would still apply. */
48642 /* The GNU C library defines this for functions which it implements
48643 to always fail with ENOSYS. Some functions are actually named
48644 something starting with __ and the normal name is an alias. */
48645 #if defined __stub_$ac_func || defined __stub___$ac_func
48652 return $ac_func ();
48657 rm -f conftest.$ac_objext conftest$ac_exeext
48658 if { (ac_try="$ac_link"
48659 case "(($ac_try" in
48660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48661 *) ac_try_echo=$ac_try;;
48663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48664 (eval "$ac_link") 2>conftest.er1
48666 grep -v '^ *+' conftest.er1 >conftest.err
48668 cat conftest.err >&5
48669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48670 (exit $ac_status); } && {
48671 test -z "$ac_c_werror_flag" ||
48672 test ! -s conftest.err
48673 } && test -s conftest$ac_exeext &&
48674 $as_test_x conftest$ac_exeext; then
48675 eval "$as_ac_var=yes"
48677 echo "$as_me: failed program was:" >&5
48678 sed 's/^/| /' conftest.$ac_ext >&5
48680 eval "$as_ac_var=no"
48683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48684 conftest$ac_exeext conftest.$ac_ext
48686 ac_res=`eval echo '${'$as_ac_var'}'`
48687 { echo "$as_me:$LINENO: result: $ac_res" >&5
48688 echo "${ECHO_T}$ac_res" >&6; }
48689 if test `eval echo '${'$as_ac_var'}'` = yes; then
48690 cat >>confdefs.h <<_ACEOF
48691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48698 if test "$ac_cv_func_cairo_push_group" = "no"; then
48700 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48701 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_CAIRO 1
48708 if test "$wxUSE_GTK" != 1; then
48709 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48710 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48718 if test "$wx_has_graphics" = 1; then
48719 cat >>confdefs.h <<\_ACEOF
48720 #define wxUSE_GRAPHICS_CONTEXT 1
48724 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48725 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48732 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48735 if test "$wxUSE_GTK" = 1; then
48736 wxUSE_GSTREAMER="no"
48738 GST_VERSION_MAJOR=0
48739 GST_VERSION_MINOR=10
48740 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48742 if test "$wxUSE_GSTREAMER8" = "no"; then
48745 { echo "$as_me:$LINENO: checking for GST" >&5
48746 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48748 if test -n "$PKG_CONFIG"; then
48749 if test -n "$GST_CFLAGS"; then
48750 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48752 if test -n "$PKG_CONFIG" && \
48753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48754 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48757 (exit $ac_status); }; then
48758 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48766 if test -n "$PKG_CONFIG"; then
48767 if test -n "$GST_LIBS"; then
48768 pkg_cv_GST_LIBS="$GST_LIBS"
48770 if test -n "$PKG_CONFIG" && \
48771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48772 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48775 (exit $ac_status); }; then
48776 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48787 if test $pkg_failed = yes; then
48789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48790 _pkg_short_errors_supported=yes
48792 _pkg_short_errors_supported=no
48794 if test $_pkg_short_errors_supported = yes; then
48795 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48797 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48799 # Put the nasty error message in config.log where it belongs
48800 echo "$GST_PKG_ERRORS" >&5
48803 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48804 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48805 GST_VERSION_MINOR=8
48808 elif test $pkg_failed = untried; then
48810 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48811 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48812 GST_VERSION_MINOR=8
48816 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48817 GST_LIBS=$pkg_cv_GST_LIBS
48818 { echo "$as_me:$LINENO: result: yes" >&5
48819 echo "${ECHO_T}yes" >&6; }
48821 wxUSE_GSTREAMER="yes"
48822 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48826 GST_VERSION_MINOR=8
48829 if test $GST_VERSION_MINOR = "8"; then
48830 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48833 { echo "$as_me:$LINENO: checking for GST" >&5
48834 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48836 if test -n "$PKG_CONFIG"; then
48837 if test -n "$GST_CFLAGS"; then
48838 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48840 if test -n "$PKG_CONFIG" && \
48841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48842 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48845 (exit $ac_status); }; then
48846 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48854 if test -n "$PKG_CONFIG"; then
48855 if test -n "$GST_LIBS"; then
48856 pkg_cv_GST_LIBS="$GST_LIBS"
48858 if test -n "$PKG_CONFIG" && \
48859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48860 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48863 (exit $ac_status); }; then
48864 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48875 if test $pkg_failed = yes; then
48877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48878 _pkg_short_errors_supported=yes
48880 _pkg_short_errors_supported=no
48882 if test $_pkg_short_errors_supported = yes; then
48883 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48885 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48887 # Put the nasty error message in config.log where it belongs
48888 echo "$GST_PKG_ERRORS" >&5
48891 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48892 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48894 elif test $pkg_failed = untried; then
48896 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48897 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48900 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48901 GST_LIBS=$pkg_cv_GST_LIBS
48902 { echo "$as_me:$LINENO: result: yes" >&5
48903 echo "${ECHO_T}yes" >&6; }
48904 wxUSE_GSTREAMER="yes"
48909 if test "$wxUSE_GSTREAMER" = "yes"; then
48910 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48911 EXTRALIBS_MEDIA="$GST_LIBS"
48913 cat >>confdefs.h <<\_ACEOF
48914 #define wxUSE_GSTREAMER 1
48922 if test $USE_MEDIA = 1; then
48923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48924 cat >>confdefs.h <<\_ACEOF
48925 #define wxUSE_MEDIACTRL 1
48929 if test "$wxUSE_MEDIACTRL" = "yes"; then
48930 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48931 echo "$as_me: error: GStreamer not available" >&2;}
48932 { (exit 1); exit 1; }; }
48934 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48935 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48941 if test "$cross_compiling" != "no"; then
48944 OSINFO=`uname -s -r -m`
48945 OSINFO="\"$OSINFO\""
48948 cat >>confdefs.h <<_ACEOF
48949 #define WXWIN_OS_DESCRIPTION $OSINFO
48954 if test "x$prefix" != "xNONE"; then
48957 wxPREFIX=$ac_default_prefix
48960 cat >>confdefs.h <<_ACEOF
48961 #define wxINSTALL_PREFIX "$wxPREFIX"
48967 STD_BASE_LIBS="base"
48969 BUILT_WX_LIBS="base"
48970 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48972 if test "$wxUSE_SOCKETS" = "yes" ; then
48973 STD_BASE_LIBS="net $STD_BASE_LIBS"
48974 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48976 if test "$wxUSE_XML" = "yes" ; then
48977 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48978 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48981 if test "$wxUSE_GUI" = "yes"; then
48982 STD_GUI_LIBS="adv core"
48983 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48985 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48986 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48987 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48989 if test "$wxUSE_HTML" = "yes" ; then
48990 STD_GUI_LIBS="html $STD_GUI_LIBS"
48991 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48993 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48994 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48996 if test "$wxUSE_OPENGL" = "yes" ; then
48997 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48999 if test "$wxUSE_AUI" = "yes" ; then
49000 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49002 if test "$wxUSE_PROPGRID" = "yes" ; then
49003 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49005 if test "$wxUSE_RIBBON" = "yes" ; then
49006 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49008 if test "$wxUSE_RICHTEXT" = "yes" ; then
49009 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49011 if test "$wxUSE_STC" = "yes" ; then
49012 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49014 if test "$wxUSE_XRC" = "yes" ; then
49015 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49016 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49027 if test "$wxUSE_MAC" = 1 ; then
49028 if test "$USE_DARWIN" = 1; then
49029 if test "$wxUSE_OSX_IPHONE" = 1; then
49030 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49032 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49036 if test "$wxUSE_OLD_COCOA" = 1 ; then
49037 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49038 if test "$wxUSE_MEDIACTRL" = "yes"; then
49039 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49042 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49043 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49046 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49047 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49049 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49051 if test "$wxUSE_GUI" = "yes"; then
49054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49055 erase event exec font image minimal render \
49056 shaped svg taborder vscroll widgets wrapsizer"
49058 if test "$wxUSE_MONOLITHIC" != "yes"; then
49059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49061 if test "$TOOLKIT" = "MSW"; then
49062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49063 if test "$wxUSE_UNIVERSAL" != "yes"; then
49064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49067 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49071 SAMPLES_SUBDIRS="console"
49072 if test "$wxUSE_SOCKETS" = "yes" ; then
49073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49075 if test "$wxUSE_IPC" = "yes" ; then
49076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49081 if test "x$INTELCC" = "xyes" ; then
49082 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49083 elif test "$GCC" = yes ; then
49084 CWARNINGS="-Wall -Wundef"
49087 if test "x$INTELCXX" = "xyes" ; then
49088 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49089 elif test "$GXX" = yes ; then
49090 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49091 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49092 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49093 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49094 echo $ECHO_N "(cached) $ECHO_C" >&6
49096 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49099 ac_cpp='$CXXCPP $CPPFLAGS'
49100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49104 ac_save_CXXFLAGS="$CXXFLAGS"
49105 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49106 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49107 cat >conftest.$ac_ext <<_ACEOF
49110 cat confdefs.h >>conftest.$ac_ext
49111 cat >>conftest.$ac_ext <<_ACEOF
49112 /* end confdefs.h. */
49122 rm -f conftest.$ac_objext
49123 if { (ac_try="$ac_compile"
49124 case "(($ac_try" in
49125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49126 *) ac_try_echo=$ac_try;;
49128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49129 (eval "$ac_compile") 2>conftest.er1
49131 grep -v '^ *+' conftest.er1 >conftest.err
49133 cat conftest.err >&5
49134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49135 (exit $ac_status); } && {
49136 test -z "$ac_cxx_werror_flag" ||
49137 test ! -s conftest.err
49138 } && test -s conftest.$ac_objext; then
49139 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49141 echo "$as_me: failed program was:" >&5
49142 sed 's/^/| /' conftest.$ac_ext >&5
49147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49149 CXXFLAGS="$ac_save_CXXFLAGS"
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49158 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49159 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49160 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49164 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49165 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49166 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49169 (exit $ac_status); }
49170 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49171 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49174 (exit $ac_status); }
49175 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49181 if test "$wxUSE_MAC" = 1 ; then
49182 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49187 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49188 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49191 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49192 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49193 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49196 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49197 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49198 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49199 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49200 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49202 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49205 if test "x$MWCC" = "xyes"; then
49207 CC="$CC -cwd source -I-"
49208 CXX="$CXX -cwd source -I-"
49213 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49214 EXTRALIBS_XML="$EXPAT_LINK"
49215 EXTRALIBS_HTML="$MSPACK_LINK"
49216 EXTRALIBS_MEDIA="$GST_LIBS"
49217 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49218 if test "$wxUSE_GUI" = "yes"; then
49219 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49221 if test "$wxUSE_OPENGL" = "yes"; then
49222 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49225 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49227 WXCONFIG_LIBS="$LIBS"
49229 if test "$wxUSE_REGEX" = "builtin" ; then
49230 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49232 if test "$wxUSE_EXPAT" = "builtin" ; then
49233 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49235 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49236 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49238 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49239 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49241 if test "$wxUSE_LIBPNG" = "builtin" ; then
49242 wxconfig_3rdparty="png $wxconfig_3rdparty"
49244 if test "$wxUSE_ZLIB" = "builtin" ; then
49245 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49248 for i in $wxconfig_3rdparty ; do
49249 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49253 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49256 case "$wxUNIV_THEMES" in
49258 cat >>confdefs.h <<\_ACEOF
49259 #define wxUSE_ALL_THEMES 1
49265 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49266 cat >>confdefs.h <<_ACEOF
49267 #define wxUSE_THEME_$t 1
49283 if test $wxUSE_MONOLITHIC = "yes" ; then
49289 if test $wxUSE_PLUGINS = "yes" ; then
49295 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49301 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49333 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49346 TOOLKIT_DESC="GTK+"
49347 if test "$WXGTK2" = 1; then
49348 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49349 if test "$wxUSE_GTKPRINT" = "yes" ; then
49350 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49352 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49353 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49355 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49356 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49358 if test "$wxUSE_LIBHILDON" = "yes"; then
49359 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49361 if test "$wxUSE_LIBHILDON2" = "yes"; then
49362 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49365 if test "$TOOLKIT_EXTRA" != ""; then
49366 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49372 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49376 TOOLKIT_DESC="base only"
49380 if test "$wxUSE_WINE" = "yes"; then
49381 BAKEFILE_FORCE_PLATFORM=win32
49384 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49386 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49387 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49388 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49389 echo $ECHO_N "(cached) $ECHO_C" >&6
49392 echo '#include <stdio.h>
49393 const wchar_t test_var[] = L"awidetest";' > conftest.h
49395 echo '#include "conftest.h"
49398 printf("%ls", test_var);
49402 wx_cv_gcc_pch_bug="pch not supported"
49404 if $CXX conftest.h >/dev/null 2>&1
49408 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49410 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49411 grep awidetest >/dev/null
49413 wx_cv_gcc_pch_bug=no
49415 wx_cv_gcc_pch_bug=yes
49420 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49423 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49424 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49426 if test "$wx_cv_gcc_pch_bug" = yes; then
49437 if test "x$BAKEFILE_HOST" = "x"; then
49438 if test "x${host}" = "x" ; then
49439 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49440 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49441 { (exit 1); exit 1; }; }
49444 BAKEFILE_HOST="${host}"
49447 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49449 if test -n "$ac_tool_prefix"; then
49450 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49451 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49454 if test "${ac_cv_prog_RANLIB+set}" = set; then
49455 echo $ECHO_N "(cached) $ECHO_C" >&6
49457 if test -n "$RANLIB"; then
49458 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49461 for as_dir in $PATH
49464 test -z "$as_dir" && as_dir=.
49465 for ac_exec_ext in '' $ac_executable_extensions; do
49466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49467 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49477 RANLIB=$ac_cv_prog_RANLIB
49478 if test -n "$RANLIB"; then
49479 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49480 echo "${ECHO_T}$RANLIB" >&6; }
49482 { echo "$as_me:$LINENO: result: no" >&5
49483 echo "${ECHO_T}no" >&6; }
49488 if test -z "$ac_cv_prog_RANLIB"; then
49489 ac_ct_RANLIB=$RANLIB
49490 # Extract the first word of "ranlib", so it can be a program name with args.
49491 set dummy ranlib; ac_word=$2
49492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49494 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49495 echo $ECHO_N "(cached) $ECHO_C" >&6
49497 if test -n "$ac_ct_RANLIB"; then
49498 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49501 for as_dir in $PATH
49504 test -z "$as_dir" && as_dir=.
49505 for ac_exec_ext in '' $ac_executable_extensions; do
49506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49507 ac_cv_prog_ac_ct_RANLIB="ranlib"
49508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49517 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49518 if test -n "$ac_ct_RANLIB"; then
49519 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49520 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49522 { echo "$as_me:$LINENO: result: no" >&5
49523 echo "${ECHO_T}no" >&6; }
49526 if test "x$ac_ct_RANLIB" = x; then
49529 case $cross_compiling:$ac_tool_warned in
49531 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49532 whose name does not start with the host triplet. If you think this
49533 configuration is useful to you, please write to autoconf@gnu.org." >&5
49534 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49535 whose name does not start with the host triplet. If you think this
49536 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49537 ac_tool_warned=yes ;;
49539 RANLIB=$ac_ct_RANLIB
49542 RANLIB="$ac_cv_prog_RANLIB"
49545 # Find a good install program. We prefer a C program (faster),
49546 # so one script is as good as another. But avoid the broken or
49547 # incompatible versions:
49548 # SysV /etc/install, /usr/sbin/install
49549 # SunOS /usr/etc/install
49550 # IRIX /sbin/install
49552 # AmigaOS /C/install, which installs bootblocks on floppy discs
49553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49556 # OS/2's system install, which has a completely different semantic
49557 # ./install, which can be erroneously created by make from ./install.sh.
49558 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49559 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49560 if test -z "$INSTALL"; then
49561 if test "${ac_cv_path_install+set}" = set; then
49562 echo $ECHO_N "(cached) $ECHO_C" >&6
49564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49565 for as_dir in $PATH
49568 test -z "$as_dir" && as_dir=.
49569 # Account for people who put trailing slashes in PATH elements.
49571 ./ | .// | /cC/* | \
49572 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49573 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49576 # OSF1 and SCO ODT 3.0 have their own names for install.
49577 # Don't use installbsd from OSF since it installs stuff as root
49579 for ac_prog in ginstall scoinst install; do
49580 for ac_exec_ext in '' $ac_executable_extensions; do
49581 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49582 if test $ac_prog = install &&
49583 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49584 # AIX install. It has an incompatible calling convention.
49586 elif test $ac_prog = install &&
49587 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49588 # program-specific install script used by HP pwplus--don't use.
49591 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49604 if test "${ac_cv_path_install+set}" = set; then
49605 INSTALL=$ac_cv_path_install
49607 # As a last resort, use the slow shell script. Don't cache a
49608 # value for INSTALL within a source directory, because that will
49609 # break other packages using the cache if that directory is
49610 # removed, or if the value is a relative name.
49611 INSTALL=$ac_install_sh
49614 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49615 echo "${ECHO_T}$INSTALL" >&6; }
49617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49618 # It thinks the first close brace ends the variable substitution.
49619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49623 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49625 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49626 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49628 if test "$LN_S" = "ln -s"; then
49629 { echo "$as_me:$LINENO: result: yes" >&5
49630 echo "${ECHO_T}yes" >&6; }
49632 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49633 echo "${ECHO_T}no, using $LN_S" >&6; }
49637 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49638 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49639 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49640 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49641 echo $ECHO_N "(cached) $ECHO_C" >&6
49643 cat >conftest.make <<\_ACEOF
49646 @echo '@@@%%%=$(MAKE)=@@@%%%'
49648 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49649 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49650 *@@@%%%=?*=@@@%%%*)
49651 eval ac_cv_prog_make_${ac_make}_set=yes;;
49653 eval ac_cv_prog_make_${ac_make}_set=no;;
49655 rm -f conftest.make
49657 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49658 { echo "$as_me:$LINENO: result: yes" >&5
49659 echo "${ECHO_T}yes" >&6; }
49662 { echo "$as_me:$LINENO: result: no" >&5
49663 echo "${ECHO_T}no" >&6; }
49664 SET_MAKE="MAKE=${MAKE-make}"
49669 if test "x$SUNCXX" = "xyes"; then
49671 AROPTIONS="-xar -o"
49673 elif test "x$SGICC" = "xyes"; then
49678 if test -n "$ac_tool_prefix"; then
49679 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49680 set dummy ${ac_tool_prefix}ar; ac_word=$2
49681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49683 if test "${ac_cv_prog_AR+set}" = set; then
49684 echo $ECHO_N "(cached) $ECHO_C" >&6
49686 if test -n "$AR"; then
49687 ac_cv_prog_AR="$AR" # Let the user override the test.
49689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49690 for as_dir in $PATH
49693 test -z "$as_dir" && as_dir=.
49694 for ac_exec_ext in '' $ac_executable_extensions; do
49695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49696 ac_cv_prog_AR="${ac_tool_prefix}ar"
49697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49707 if test -n "$AR"; then
49708 { echo "$as_me:$LINENO: result: $AR" >&5
49709 echo "${ECHO_T}$AR" >&6; }
49711 { echo "$as_me:$LINENO: result: no" >&5
49712 echo "${ECHO_T}no" >&6; }
49717 if test -z "$ac_cv_prog_AR"; then
49719 # Extract the first word of "ar", so it can be a program name with args.
49720 set dummy ar; ac_word=$2
49721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49723 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49724 echo $ECHO_N "(cached) $ECHO_C" >&6
49726 if test -n "$ac_ct_AR"; then
49727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49730 for as_dir in $PATH
49733 test -z "$as_dir" && as_dir=.
49734 for ac_exec_ext in '' $ac_executable_extensions; do
49735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49736 ac_cv_prog_ac_ct_AR="ar"
49737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49746 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49747 if test -n "$ac_ct_AR"; then
49748 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49749 echo "${ECHO_T}$ac_ct_AR" >&6; }
49751 { echo "$as_me:$LINENO: result: no" >&5
49752 echo "${ECHO_T}no" >&6; }
49755 if test "x$ac_ct_AR" = x; then
49758 case $cross_compiling:$ac_tool_warned in
49760 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49761 whose name does not start with the host triplet. If you think this
49762 configuration is useful to you, please write to autoconf@gnu.org." >&5
49763 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49764 whose name does not start with the host triplet. If you think this
49765 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49766 ac_tool_warned=yes ;;
49771 AR="$ac_cv_prog_AR"
49778 if test -n "$ac_tool_prefix"; then
49779 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49780 set dummy ${ac_tool_prefix}strip; ac_word=$2
49781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49783 if test "${ac_cv_prog_STRIP+set}" = set; then
49784 echo $ECHO_N "(cached) $ECHO_C" >&6
49786 if test -n "$STRIP"; then
49787 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49790 for as_dir in $PATH
49793 test -z "$as_dir" && as_dir=.
49794 for ac_exec_ext in '' $ac_executable_extensions; do
49795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49796 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49806 STRIP=$ac_cv_prog_STRIP
49807 if test -n "$STRIP"; then
49808 { echo "$as_me:$LINENO: result: $STRIP" >&5
49809 echo "${ECHO_T}$STRIP" >&6; }
49811 { echo "$as_me:$LINENO: result: no" >&5
49812 echo "${ECHO_T}no" >&6; }
49817 if test -z "$ac_cv_prog_STRIP"; then
49819 # Extract the first word of "strip", so it can be a program name with args.
49820 set dummy strip; ac_word=$2
49821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49823 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49824 echo $ECHO_N "(cached) $ECHO_C" >&6
49826 if test -n "$ac_ct_STRIP"; then
49827 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49830 for as_dir in $PATH
49833 test -z "$as_dir" && as_dir=.
49834 for ac_exec_ext in '' $ac_executable_extensions; do
49835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49836 ac_cv_prog_ac_ct_STRIP="strip"
49837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49846 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49847 if test -n "$ac_ct_STRIP"; then
49848 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49849 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49851 { echo "$as_me:$LINENO: result: no" >&5
49852 echo "${ECHO_T}no" >&6; }
49855 if test "x$ac_ct_STRIP" = x; then
49858 case $cross_compiling:$ac_tool_warned in
49860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49861 whose name does not start with the host triplet. If you think this
49862 configuration is useful to you, please write to autoconf@gnu.org." >&5
49863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49864 whose name does not start with the host triplet. If you think this
49865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49866 ac_tool_warned=yes ;;
49871 STRIP="$ac_cv_prog_STRIP"
49874 if test -n "$ac_tool_prefix"; then
49875 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49876 set dummy ${ac_tool_prefix}nm; ac_word=$2
49877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49879 if test "${ac_cv_prog_NM+set}" = set; then
49880 echo $ECHO_N "(cached) $ECHO_C" >&6
49882 if test -n "$NM"; then
49883 ac_cv_prog_NM="$NM" # Let the user override the test.
49885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49886 for as_dir in $PATH
49889 test -z "$as_dir" && as_dir=.
49890 for ac_exec_ext in '' $ac_executable_extensions; do
49891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49892 ac_cv_prog_NM="${ac_tool_prefix}nm"
49893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49903 if test -n "$NM"; then
49904 { echo "$as_me:$LINENO: result: $NM" >&5
49905 echo "${ECHO_T}$NM" >&6; }
49907 { echo "$as_me:$LINENO: result: no" >&5
49908 echo "${ECHO_T}no" >&6; }
49913 if test -z "$ac_cv_prog_NM"; then
49915 # Extract the first word of "nm", so it can be a program name with args.
49916 set dummy nm; ac_word=$2
49917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49919 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49920 echo $ECHO_N "(cached) $ECHO_C" >&6
49922 if test -n "$ac_ct_NM"; then
49923 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49926 for as_dir in $PATH
49929 test -z "$as_dir" && as_dir=.
49930 for ac_exec_ext in '' $ac_executable_extensions; do
49931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49932 ac_cv_prog_ac_ct_NM="nm"
49933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49942 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49943 if test -n "$ac_ct_NM"; then
49944 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49945 echo "${ECHO_T}$ac_ct_NM" >&6; }
49947 { echo "$as_me:$LINENO: result: no" >&5
49948 echo "${ECHO_T}no" >&6; }
49951 if test "x$ac_ct_NM" = x; then
49954 case $cross_compiling:$ac_tool_warned in
49956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49957 whose name does not start with the host triplet. If you think this
49958 configuration is useful to you, please write to autoconf@gnu.org." >&5
49959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49960 whose name does not start with the host triplet. If you think this
49961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49962 ac_tool_warned=yes ;;
49967 NM="$ac_cv_prog_NM"
49971 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49972 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49973 INSTALL_TEST_DIR=acbftest$$
49974 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49975 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49976 rmdir $INSTALL_TEST_DIR
49977 INSTALL_DIR='$(INSTALL) -d'
49978 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49979 echo "${ECHO_T}$INSTALL -d" >&6; }
49981 INSTALL_DIR="mkdir -p"
49982 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49983 echo "${ECHO_T}mkdir -p" >&6; }
49988 case ${BAKEFILE_HOST} in
49989 *-*-cygwin* | *-*-mingw32* )
49990 LDFLAGS_GUI="-mwindows"
49996 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49997 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49998 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49999 echo $ECHO_N "(cached) $ECHO_C" >&6
50002 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50003 egrep -s GNU > /dev/null); then
50004 bakefile_cv_prog_makeisgnu="yes"
50006 bakefile_cv_prog_makeisgnu="no"
50010 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50011 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50013 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50030 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50031 case "${BAKEFILE_HOST}" in
50038 *-pc-os2_emx | *-pc-os2-emx )
50048 powerpc-apple-macos* )
50057 case "$BAKEFILE_FORCE_PLATFORM" in
50078 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50079 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50080 { (exit 1); exit 1; }; }
50095 # Check whether --enable-omf was given.
50096 if test "${enable_omf+set}" = set; then
50097 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50101 case "${BAKEFILE_HOST}" in
50103 if test "x$GCC" = "xyes"; then
50104 CFLAGS="$CFLAGS -fno-common"
50105 CXXFLAGS="$CXXFLAGS -fno-common"
50107 if test "x$XLCC" = "xyes"; then
50108 CFLAGS="$CFLAGS -qnocommon"
50109 CXXFLAGS="$CXXFLAGS -qnocommon"
50113 *-pc-os2_emx | *-pc-os2-emx )
50114 if test "x$bk_os2_use_omf" = "xyes" ; then
50117 LDFLAGS="-Zomf $LDFLAGS"
50118 CFLAGS="-Zomf $CFLAGS"
50119 CXXFLAGS="-Zomf $CXXFLAGS"
50127 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50133 SO_SUFFIX_MODULE="so"
50138 DLLPREFIX_MODULE=""
50142 case "${BAKEFILE_HOST}" in
50147 SO_SUFFIX_MODULE="sl"
50151 SO_SUFFIX_MODULE="a"
50155 SO_SUFFIX_MODULE="dll"
50156 DLLIMP_SUFFIX="dll.a"
50163 SO_SUFFIX_MODULE="dll"
50164 DLLIMP_SUFFIX="dll.a"
50174 *-pc-os2_emx | *-pc-os2-emx )
50176 SO_SUFFIX_MODULE="dll"
50177 DLLIMP_SUFFIX=$OS2_LIBEXT
50181 LIBEXT=".$OS2_LIBEXT"
50186 SO_SUFFIX_MODULE="bundle"
50190 if test "x$DLLIMP_SUFFIX" = "x" ; then
50191 DLLIMP_SUFFIX="$SO_SUFFIX"
50206 if test "x$GCC" = "xyes"; then
50210 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50211 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50214 case "${BAKEFILE_HOST}" in
50216 if test "x$GCC" != "xyes"; then
50217 LDFLAGS="$LDFLAGS -L/usr/lib"
50219 SHARED_LD_CC="${CC} -b -o"
50220 SHARED_LD_CXX="${CXX} -b -o"
50226 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50228 elif test "x$SUNCXX" = "xyes"; then
50229 SHARED_LD_CC="${CC} -G -o"
50230 SHARED_LD_CXX="${CXX} -G -o"
50236 if test "x$SUNCXX" = xyes ; then
50237 SHARED_LD_CC="${CC} -G -o"
50238 SHARED_LD_CXX="${CXX} -G -o"
50246 cat <<EOF >shared-ld-sh
50248 #-----------------------------------------------------------------------------
50249 #-- Name: distrib/mac/shared-ld-sh
50250 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50251 #-- Author: Gilles Depeyrot
50252 #-- Copyright: (c) 2002 Gilles Depeyrot
50253 #-- Licence: any use permitted
50254 #-----------------------------------------------------------------------------
50259 linking_flag="-dynamiclib"
50260 ldargs="-r -keep_private_externs -nostdlib"
50262 if test "x${D}CXX" = "x"; then
50266 while test ${D}# -gt 0; do
50273 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50274 # collect these options and values
50275 args="${D}{args} ${D}1 ${D}2"
50280 # collect these options and values
50281 ldargs="${D}{ldargs} ${D}1 ${D}2"
50286 # collect these load args
50287 ldargs="${D}{ldargs} ${D}1"
50290 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50291 # collect these options
50292 args="${D}{args} ${D}1"
50295 -dynamiclib|-bundle)
50296 linking_flag="${D}1"
50300 echo "shared-ld: unhandled option '${D}1'"
50304 *.o | *.a | *.dylib)
50305 # collect object files
50306 objects="${D}{objects} ${D}1"
50310 echo "shared-ld: unhandled argument '${D}1'"
50321 # Link one module containing all the others
50323 if test ${D}{verbose} = 1; then
50324 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50326 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50330 # Link the shared library from the single module created, but only if the
50331 # previous command didn't fail:
50333 if test ${D}{status} = 0; then
50334 if test ${D}{verbose} = 1; then
50335 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50337 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50342 # Remove intermediate module
50344 rm -f master.${D}${D}.o
50349 chmod +x shared-ld-sh
50351 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50352 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50355 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50356 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50357 if test "${bakefile_cv_gcc31+set}" = set; then
50358 echo $ECHO_N "(cached) $ECHO_C" >&6
50361 cat >conftest.$ac_ext <<_ACEOF
50364 cat confdefs.h >>conftest.$ac_ext
50365 cat >>conftest.$ac_ext <<_ACEOF
50366 /* end confdefs.h. */
50372 #if (__GNUC__ < 3) || \
50373 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50381 rm -f conftest.$ac_objext
50382 if { (ac_try="$ac_compile"
50383 case "(($ac_try" in
50384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50385 *) ac_try_echo=$ac_try;;
50387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50388 (eval "$ac_compile") 2>conftest.er1
50390 grep -v '^ *+' conftest.er1 >conftest.err
50392 cat conftest.err >&5
50393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394 (exit $ac_status); } && {
50395 test -z "$ac_c_werror_flag" ||
50396 test ! -s conftest.err
50397 } && test -s conftest.$ac_objext; then
50399 bakefile_cv_gcc31=yes
50402 echo "$as_me: failed program was:" >&5
50403 sed 's/^/| /' conftest.$ac_ext >&5
50406 bakefile_cv_gcc31=no
50411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50414 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50415 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50416 if test "$bakefile_cv_gcc31" = "no"; then
50417 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50418 SHARED_LD_CXX="$SHARED_LD_CC"
50420 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50421 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50424 if test "x$GCC" == "xyes"; then
50425 PIC_FLAG="-dynamic -fPIC"
50427 if test "x$XLCC" = "xyes"; then
50428 PIC_FLAG="-dynamic -DPIC"
50433 if test "x$GCC" = "xyes"; then
50436 case "${BAKEFILE_HOST}" in
50438 LD_EXPFULL="-Wl,-bexpfull"
50442 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50443 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50445 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50446 set dummy makeC++SharedLib; ac_word=$2
50447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50449 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50450 echo $ECHO_N "(cached) $ECHO_C" >&6
50452 if test -n "$AIX_CXX_LD"; then
50453 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50456 for as_dir in $PATH
50459 test -z "$as_dir" && as_dir=.
50460 for ac_exec_ext in '' $ac_executable_extensions; do
50461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50462 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50470 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50473 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50474 if test -n "$AIX_CXX_LD"; then
50475 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50476 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50478 { echo "$as_me:$LINENO: result: no" >&5
50479 echo "${ECHO_T}no" >&6; }
50483 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50484 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50489 SHARED_LD_CC="${LD} -nostart -o"
50490 SHARED_LD_CXX="${LD} -nostart -o"
50494 if test "x$GCC" != "xyes"; then
50499 *-*-cygwin* | *-*-mingw32* )
50501 SHARED_LD_CC="\$(CC) -shared -o"
50502 SHARED_LD_CXX="\$(CXX) -shared -o"
50506 *-pc-os2_emx | *-pc-os2-emx )
50507 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50508 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50512 cat <<EOF >dllar.sh
50515 # dllar - a tool to build both a .dll and an .a file
50516 # from a set of object (.o) files for EMX/OS2.
50518 # Written by Andrew Zabolotny, bit@freya.etu.ru
50519 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50521 # This script will accept a set of files on the command line.
50522 # All the public symbols from the .o files will be exported into
50523 # a .DEF file, then linker will be run (through gcc) against them to
50524 # build a shared library consisting of all given .o files. All libraries
50525 # (.a) will be first decompressed into component .o files then act as
50526 # described above. You can optionally give a description (-d "description")
50527 # which will be put into .DLL. To see the list of accepted options (as well
50528 # as command-line format) simply run this program without options. The .DLL
50529 # is built to be imported by name (there is no guarantee that new versions
50530 # of the library you build will have same ordinals for same symbols).
50532 # dllar is free software; you can redistribute it and/or modify
50533 # it under the terms of the GNU General Public License as published by
50534 # the Free Software Foundation; either version 2, or (at your option)
50535 # any later version.
50537 # dllar is distributed in the hope that it will be useful,
50538 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50539 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50540 # GNU General Public License for more details.
50542 # You should have received a copy of the GNU General Public License
50543 # along with dllar; see the file COPYING. If not, write to the Free
50544 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50547 # To successfuly run this program you will need:
50548 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50549 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50551 # (used to build the .dll)
50553 # (used to create .def file from .o files)
50555 # (used to create .a file from .def file)
50556 # - GNU text utilites (cat, sort, uniq)
50557 # used to process emxexp output
50558 # - GNU file utilities (mv, rm)
50560 # - lxlite (optional, see flag below)
50561 # (used for general .dll cleanup)
50568 # basnam, variant of basename, which does _not_ remove the path, _iff_
50569 # second argument (suffix to remove) is given
50573 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50576 echo ${D}1 | sed 's/'${D}2'${D}//'
50579 echo "error in basnam ${D}*"
50585 # Cleanup temporary files and output
50588 for i in ${D}inputFiles ; do
50591 rm -rf \`basnam ${D}i !\`
50598 # Kill result in case of failure as there is just to many stupid make/nmake
50599 # things out there which doesn't do this.
50600 if [ ${D}# -eq 0 ]; then
50601 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50605 # Print usage and exit script with rc=1.
50607 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50608 echo ' [-name-mangler-script script.sh]'
50609 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50610 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50611 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50612 echo ' [*.o] [*.a]'
50613 echo '*> "output_file" should have no extension.'
50614 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50615 echo ' The import library name is derived from this and is set to "name".a,'
50616 echo ' unless overridden by -import'
50617 echo '*> "importlib_name" should have no extension.'
50618 echo ' If it has the .o, or .a extension, it is automatically removed.'
50619 echo ' This name is used as the import library name and may be longer and'
50620 echo ' more descriptive than the DLL name which has to follow the old '
50621 echo ' 8.3 convention of FAT.'
50622 echo '*> "script.sh may be given to override the output_file name by a'
50623 echo ' different name. It is mainly useful if the regular make process'
50624 echo ' of some package does not take into account OS/2 restriction of'
50625 echo ' DLL name lengths. It takes the importlib name as input and is'
50626 echo ' supposed to procude a shorter name as output. The script should'
50627 echo ' expect to get importlib_name without extension and should produce'
50628 echo ' a (max.) 8 letter name without extension.'
50629 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50630 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50631 echo ' These flags will be put at the start of GCC command line.'
50632 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50633 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50634 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50635 echo ' If the last character of a symbol is "*", all symbols beginning'
50636 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50637 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50638 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50639 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50640 echo ' C runtime DLLs.'
50641 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50642 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50643 echo ' unchanged to GCC at the end of command line.'
50644 echo '*> If you create a DLL from a library and you do not specify -o,'
50645 echo ' the basename for DLL and import library will be set to library name,'
50646 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50647 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50648 echo ' library will be renamed into gcc_s.a.'
50651 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50652 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50657 # Execute a command.
50658 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50659 # @Uses Whatever CleanUp() uses.
50665 if [ ${D}rcCmd -ne 0 ]; then
50666 echo "command failed, exit code="${D}rcCmd
50681 CFLAGS="-s -Zcrtdll"
50683 EXPORT_BY_ORDINALS=0
50688 case ${D}curDirS in
50692 curDirS=${D}{curDirS}"/"
50695 # Parse commandline
50698 while [ ${D}1 ]; do
50701 EXPORT_BY_ORDINALS=1;
50711 -name-mangler-script)
50732 exclude_symbols=${D}{exclude_symbols}${D}1" "
50736 library_flags=${D}{library_flags}${D}1" "
50755 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50758 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50759 if [ ${D}omfLinking -eq 1 ]; then
50760 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50762 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50767 if [ ${D}libsToLink -ne 0 ]; then
50768 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50770 for file in ${D}1 ; do
50771 if [ -f ${D}file ]; then
50772 inputFiles="${D}{inputFiles} ${D}file"
50776 if [ ${D}found -eq 0 ]; then
50777 echo "ERROR: No file(s) found: "${D}1
50784 done # iterate cmdline words
50787 if [ -z "${D}inputFiles" ]; then
50788 echo "dllar: no input files"
50792 # Now extract all .o files from .a files
50794 for file in ${D}inputFiles ; do
50805 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50810 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50812 if [ ${D}? -ne 0 ]; then
50813 echo "Failed to create subdirectory ./${D}dirname"
50817 # Append '!' to indicate archive
50818 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50819 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50822 for subfile in ${D}dirname/*.o* ; do
50823 if [ -f ${D}subfile ]; then
50825 if [ -s ${D}subfile ]; then
50826 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50827 newInputFiles="${D}newInputFiles ${D}subfile"
50831 if [ ${D}found -eq 0 ]; then
50832 echo "WARNING: there are no files in archive \\'${D}file\\'"
50836 newInputFiles="${D}{newInputFiles} ${D}file"
50840 inputFiles="${D}newInputFiles"
50842 # Output filename(s).
50844 if [ -z ${D}outFile ]; then
50846 set outFile ${D}inputFiles; outFile=${D}2
50849 # If it is an archive, remove the '!' and the '_%' suffixes
50850 case ${D}outFile in
50852 outFile=\`basnam ${D}outFile _%!\`
50857 case ${D}outFile in
50859 outFile=\`basnam ${D}outFile .dll\`
50862 outFile=\`basnam ${D}outFile .DLL\`
50865 outFile=\`basnam ${D}outFile .o\`
50868 outFile=\`basnam ${D}outFile .obj\`
50871 outFile=\`basnam ${D}outFile .a\`
50874 outFile=\`basnam ${D}outFile .lib\`
50879 case ${D}outimpFile in
50881 outimpFile=\`basnam ${D}outimpFile .a\`
50884 outimpFile=\`basnam ${D}outimpFile .lib\`
50889 if [ -z ${D}outimpFile ]; then
50890 outimpFile=${D}outFile
50892 defFile="${D}{outFile}.def"
50893 arcFile="${D}{outimpFile}.a"
50894 arcFile2="${D}{outimpFile}.lib"
50896 #create ${D}dllFile as something matching 8.3 restrictions,
50897 if [ -z ${D}renameScript ] ; then
50898 dllFile="${D}outFile"
50900 dllFile=\`${D}renameScript ${D}outimpFile\`
50903 if [ ${D}do_backup -ne 0 ] ; then
50904 if [ -f ${D}arcFile ] ; then
50905 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50907 if [ -f ${D}arcFile2 ] ; then
50908 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50912 # Extract public symbols from all the object files.
50913 tmpdefFile=${D}{defFile}_%
50914 rm -f ${D}tmpdefFile
50915 for file in ${D}inputFiles ; do
50920 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50925 # Create the def file.
50927 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50928 dllFile="${D}{dllFile}.dll"
50929 if [ ! -z ${D}description ]; then
50930 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50932 echo "EXPORTS" >> ${D}defFile
50934 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50935 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50937 # Checks if the export is ok or not.
50938 for word in ${D}exclude_symbols; do
50939 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50940 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50944 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50945 sed "=" < ${D}tmpdefFile | \\
50949 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50951 ' > ${D}{tmpdefFile}%
50952 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50954 rm -f ${D}{tmpdefFile}%
50956 cat ${D}tmpdefFile >> ${D}defFile
50957 rm -f ${D}tmpdefFile
50959 # Do linking, create implib, and apply lxlite.
50961 for file in ${D}inputFiles ; do
50966 gccCmdl="${D}gccCmdl ${D}file"
50970 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50971 touch "${D}{outFile}.dll"
50973 doCommand "emximp -o ${D}arcFile ${D}defFile"
50974 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50976 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50979 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50981 doCommand "emxomf -s -l ${D}arcFile"
50991 powerpc-apple-macos* | \
50992 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51002 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51003 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51004 { (exit 1); exit 1; }; }
51007 if test "x$PIC_FLAG" != "x" ; then
51008 PIC_FLAG="$PIC_FLAG -DPIC"
51011 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51012 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51014 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51015 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51030 USE_SOTWOSYMLINKS=0
51034 case "${BAKEFILE_HOST}" in
51035 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51036 *-*-k*bsd*-gnu | *-*-mirbsd* )
51037 if test "x$SUNCXX" = "xyes"; then
51040 SONAME_FLAG="-Wl,-soname,"
51044 USE_SOTWOSYMLINKS=1
51056 USE_SOTWOSYMLINKS=1
51074 # Check whether --enable-dependency-tracking was given.
51075 if test "${enable_dependency_tracking+set}" = set; then
51076 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51080 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51081 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51084 if test "x$bk_use_trackdeps" = "xno" ; then
51086 { echo "$as_me:$LINENO: result: disabled" >&5
51087 echo "${ECHO_T}disabled" >&6; }
51091 if test "x$GCC" = "xyes"; then
51093 case "${BAKEFILE_HOST}" in
51095 DEPSFLAG="-no-cpp-precomp -MMD"
51101 { echo "$as_me:$LINENO: result: gcc" >&5
51102 echo "${ECHO_T}gcc" >&6; }
51103 elif test "x$MWCC" = "xyes"; then
51106 { echo "$as_me:$LINENO: result: mwcc" >&5
51107 echo "${ECHO_T}mwcc" >&6; }
51108 elif test "x$SUNCC" = "xyes"; then
51111 { echo "$as_me:$LINENO: result: Sun cc" >&5
51112 echo "${ECHO_T}Sun cc" >&6; }
51113 elif test "x$SGICC" = "xyes"; then
51116 { echo "$as_me:$LINENO: result: SGI cc" >&5
51117 echo "${ECHO_T}SGI cc" >&6; }
51118 elif test "x$HPCC" = "xyes"; then
51121 { echo "$as_me:$LINENO: result: HP cc" >&5
51122 echo "${ECHO_T}HP cc" >&6; }
51123 elif test "x$COMPAQCC" = "xyes"; then
51126 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51127 echo "${ECHO_T}Compaq cc" >&6; }
51130 { echo "$as_me:$LINENO: result: none" >&5
51131 echo "${ECHO_T}none" >&6; }
51134 if test $DEPS_TRACKING = 1 ; then
51140 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51141 # script. It is used to track C/C++ files dependencies in portable way.
51143 # Permission is given to use this file in any way.
51145 DEPSMODE=${DEPSMODE}
51146 DEPSFLAG="${DEPSFLAG}"
51149 if test ${D}DEPSMODE = gcc ; then
51150 ${D}* ${D}{DEPSFLAG}
51153 # determine location of created files:
51154 while test ${D}# -gt 0; do
51168 objfilebase=\`basename ${D}objfile\`
51169 builddir=\`dirname ${D}objfile\`
51170 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51171 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51172 depsdir=${D}builddir/${D}DEPSDIRBASE
51173 mkdir -p ${D}depsdir
51175 # if the compiler failed, we're done:
51176 if test ${D}{status} != 0 ; then
51181 # move created file to the location we want it in:
51182 if test -f ${D}depfile ; then
51183 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51186 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51187 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51188 if test ! -f ${D}depfile ; then
51189 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51190 depfile="${D}objfile.d"
51192 if test -f ${D}depfile ; then
51193 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51199 elif test ${D}DEPSMODE = mwcc ; then
51200 ${D}* || exit ${D}?
51201 # Run mwcc again with -MM and redirect into the dep file we want
51202 # NOTE: We can't use shift here because we need ${D}* to be valid
51204 for arg in ${D}* ; do
51205 if test "${D}prevarg" = "-o"; then
51219 objfilebase=\`basename ${D}objfile\`
51220 builddir=\`dirname ${D}objfile\`
51221 depsdir=${D}builddir/${D}DEPSDIRBASE
51222 mkdir -p ${D}depsdir
51224 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51227 elif test ${D}DEPSMODE = unixcc; then
51228 ${D}* || exit ${D}?
51229 # Run compiler again with deps flag and redirect into the dep file.
51230 # It doesn't work if the '-o FILE' option is used, but without it the
51231 # dependency file will contain the wrong name for the object. So it is
51232 # removed from the command line, and the dep file is fixed with sed.
51234 while test ${D}# -gt 0; do
51241 eval arg${D}#=\\${D}1
51242 cmd="${D}cmd \\${D}arg${D}#"
51248 objfilebase=\`basename ${D}objfile\`
51249 builddir=\`dirname ${D}objfile\`
51250 depsdir=${D}builddir/${D}DEPSDIRBASE
51251 mkdir -p ${D}depsdir
51253 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51263 BK_DEPS="`pwd`/bk-deps"
51271 case ${BAKEFILE_HOST} in
51272 *-*-cygwin* | *-*-mingw32* )
51273 if test -n "$ac_tool_prefix"; then
51274 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51275 set dummy ${ac_tool_prefix}windres; ac_word=$2
51276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51278 if test "${ac_cv_prog_WINDRES+set}" = set; then
51279 echo $ECHO_N "(cached) $ECHO_C" >&6
51281 if test -n "$WINDRES"; then
51282 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51285 for as_dir in $PATH
51288 test -z "$as_dir" && as_dir=.
51289 for ac_exec_ext in '' $ac_executable_extensions; do
51290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51291 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51301 WINDRES=$ac_cv_prog_WINDRES
51302 if test -n "$WINDRES"; then
51303 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51304 echo "${ECHO_T}$WINDRES" >&6; }
51306 { echo "$as_me:$LINENO: result: no" >&5
51307 echo "${ECHO_T}no" >&6; }
51312 if test -z "$ac_cv_prog_WINDRES"; then
51313 ac_ct_WINDRES=$WINDRES
51314 # Extract the first word of "windres", so it can be a program name with args.
51315 set dummy windres; ac_word=$2
51316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51318 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51319 echo $ECHO_N "(cached) $ECHO_C" >&6
51321 if test -n "$ac_ct_WINDRES"; then
51322 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51325 for as_dir in $PATH
51328 test -z "$as_dir" && as_dir=.
51329 for ac_exec_ext in '' $ac_executable_extensions; do
51330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51331 ac_cv_prog_ac_ct_WINDRES="windres"
51332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51341 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51342 if test -n "$ac_ct_WINDRES"; then
51343 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51344 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51346 { echo "$as_me:$LINENO: result: no" >&5
51347 echo "${ECHO_T}no" >&6; }
51350 if test "x$ac_ct_WINDRES" = x; then
51353 case $cross_compiling:$ac_tool_warned in
51355 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51356 whose name does not start with the host triplet. If you think this
51357 configuration is useful to you, please write to autoconf@gnu.org." >&5
51358 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51359 whose name does not start with the host triplet. If you think this
51360 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51361 ac_tool_warned=yes ;;
51363 WINDRES=$ac_ct_WINDRES
51366 WINDRES="$ac_cv_prog_WINDRES"
51371 *-*-darwin* | powerpc-apple-macos* )
51372 # Extract the first word of "Rez", so it can be a program name with args.
51373 set dummy Rez; ac_word=$2
51374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51376 if test "${ac_cv_prog_REZ+set}" = set; then
51377 echo $ECHO_N "(cached) $ECHO_C" >&6
51379 if test -n "$REZ"; then
51380 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51383 for as_dir in $PATH
51386 test -z "$as_dir" && as_dir=.
51387 for ac_exec_ext in '' $ac_executable_extensions; do
51388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51389 ac_cv_prog_REZ="Rez"
51390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51397 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51400 REZ=$ac_cv_prog_REZ
51401 if test -n "$REZ"; then
51402 { echo "$as_me:$LINENO: result: $REZ" >&5
51403 echo "${ECHO_T}$REZ" >&6; }
51405 { echo "$as_me:$LINENO: result: no" >&5
51406 echo "${ECHO_T}no" >&6; }
51410 # Extract the first word of "SetFile", so it can be a program name with args.
51411 set dummy SetFile; ac_word=$2
51412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51414 if test "${ac_cv_prog_SETFILE+set}" = set; then
51415 echo $ECHO_N "(cached) $ECHO_C" >&6
51417 if test -n "$SETFILE"; then
51418 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51421 for as_dir in $PATH
51424 test -z "$as_dir" && as_dir=.
51425 for ac_exec_ext in '' $ac_executable_extensions; do
51426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51427 ac_cv_prog_SETFILE="SetFile"
51428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51435 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51438 SETFILE=$ac_cv_prog_SETFILE
51439 if test -n "$SETFILE"; then
51440 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51441 echo "${ECHO_T}$SETFILE" >&6; }
51443 { echo "$as_me:$LINENO: result: no" >&5
51444 echo "${ECHO_T}no" >&6; }
51459 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51462 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51466 # Check whether --enable-precomp-headers was given.
51467 if test "${enable_precomp_headers+set}" = set; then
51468 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51477 case ${BAKEFILE_HOST} in
51483 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51484 if test "x$GCC" = "xyes"; then
51485 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51486 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51487 cat >conftest.$ac_ext <<_ACEOF
51490 cat confdefs.h >>conftest.$ac_ext
51491 cat >>conftest.$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51498 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51499 There is no PCH support
51502 There is no PCH support
51504 #if (__GNUC__ == 3) && \
51505 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51506 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51507 ( defined(__INTEL_COMPILER) )
51508 There is no PCH support
51515 rm -f conftest.$ac_objext
51516 if { (ac_try="$ac_compile"
51517 case "(($ac_try" in
51518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51519 *) ac_try_echo=$ac_try;;
51521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51522 (eval "$ac_compile") 2>conftest.er1
51524 grep -v '^ *+' conftest.er1 >conftest.err
51526 cat conftest.err >&5
51527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51528 (exit $ac_status); } && {
51529 test -z "$ac_c_werror_flag" ||
51530 test ! -s conftest.err
51531 } && test -s conftest.$ac_objext; then
51533 { echo "$as_me:$LINENO: result: yes" >&5
51534 echo "${ECHO_T}yes" >&6; }
51538 echo "$as_me: failed program was:" >&5
51539 sed 's/^/| /' conftest.$ac_ext >&5
51542 if test "$INTELCXX8" = "yes"; then
51543 { echo "$as_me:$LINENO: result: yes" >&5
51544 echo "${ECHO_T}yes" >&6; }
51546 if test "$INTELCXX10" = "yes"; then
51547 ICC_PCH_CREATE_SWITCH="-pch-create"
51548 ICC_PCH_USE_SWITCH="-pch-use"
51550 ICC_PCH_CREATE_SWITCH="-create-pch"
51551 ICC_PCH_USE_SWITCH="-use-pch"
51554 { echo "$as_me:$LINENO: result: no" >&5
51555 echo "${ECHO_T}no" >&6; }
51560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51561 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51565 cat <<EOF >bk-make-pch
51568 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51569 # script. It is used to generated precompiled headers.
51571 # Permission is given to use this file in any way.
51578 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51583 while test ${D}{#} -gt 0; do
51587 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51588 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51589 headerfile="${D}{incdir}/${D}{header}"
51592 -use-pch|-use_pch|-pch-use )
51597 if test ${D}add_to_cmdline = 1 ; then
51598 compiler="${D}{compiler} ${D}{1}"
51603 if test "x${D}{headerfile}" = "x" ; then
51604 echo "error: can't find header ${D}{header} in include paths" >&2
51606 if test -f ${D}{outfile} ; then
51607 rm -f ${D}{outfile}
51609 mkdir -p \`dirname ${D}{outfile}\`
51611 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51612 mkdir -p ${D}{builddir}/.deps
51613 if test "x${GCC_PCH}" = "x1" ; then
51614 # can do this because gcc is >= 3.4:
51615 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51616 elif test "x${ICC_PCH}" = "x1" ; then
51617 filename=pch_gen-${D}${D}
51618 file=${D}{filename}.c
51619 dfile=${D}{filename}.d
51620 cat > ${D}file <<EOT
51621 #include "${D}header"
51623 # using -MF icc complains about differing command lines in creation/use
51624 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51625 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51626 rm -f ${D}file ${D}dfile ${D}{filename}.o
51632 chmod +x bk-make-pch
51633 BK_MAKE_PCH="`pwd`/bk-make-pch"
51644 COND_BUILD_DEBUG="#"
51645 if test "x$BUILD" = "xdebug" ; then
51646 COND_BUILD_DEBUG=""
51649 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51650 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51651 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51654 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51655 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51656 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51659 COND_BUILD_DEBUG_UNICODE_0="#"
51660 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51661 COND_BUILD_DEBUG_UNICODE_0=""
51664 COND_BUILD_DEBUG_UNICODE_1="#"
51665 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51666 COND_BUILD_DEBUG_UNICODE_1=""
51669 COND_BUILD_RELEASE="#"
51670 if test "x$BUILD" = "xrelease" ; then
51671 COND_BUILD_RELEASE=""
51674 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51675 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51676 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51679 COND_BUILD_RELEASE_UNICODE_0="#"
51680 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51681 COND_BUILD_RELEASE_UNICODE_0=""
51684 COND_BUILD_RELEASE_UNICODE_1="#"
51685 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51686 COND_BUILD_RELEASE_UNICODE_1=""
51689 COND_BUILD_debug="#"
51690 if test "x$BUILD" = "xdebug" ; then
51691 COND_BUILD_debug=""
51694 COND_BUILD_debug_DEBUG_FLAG_default="#"
51695 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51696 COND_BUILD_debug_DEBUG_FLAG_default=""
51699 COND_BUILD_debug_DEBUG_INFO_default="#"
51700 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51701 COND_BUILD_debug_DEBUG_INFO_default=""
51704 COND_BUILD_debug_UNICODE_0="#"
51705 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51706 COND_BUILD_debug_UNICODE_0=""
51709 COND_BUILD_debug_UNICODE_1="#"
51710 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51711 COND_BUILD_debug_UNICODE_1=""
51714 COND_BUILD_release="#"
51715 if test "x$BUILD" = "xrelease" ; then
51716 COND_BUILD_release=""
51719 COND_BUILD_release_DEBUG_INFO_default="#"
51720 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51721 COND_BUILD_release_DEBUG_INFO_default=""
51724 COND_BUILD_release_UNICODE_0="#"
51725 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51726 COND_BUILD_release_UNICODE_0=""
51729 COND_BUILD_release_UNICODE_1="#"
51730 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51731 COND_BUILD_release_UNICODE_1=""
51734 COND_DEBUG_FLAG_0="#"
51735 if test "x$DEBUG_FLAG" = "x0" ; then
51736 COND_DEBUG_FLAG_0=""
51739 COND_DEBUG_FLAG_1="#"
51740 if test "x$DEBUG_FLAG" = "x1" ; then
51741 COND_DEBUG_FLAG_1=""
51744 COND_DEBUG_INFO_0="#"
51745 if test "x$DEBUG_INFO" = "x0" ; then
51746 COND_DEBUG_INFO_0=""
51749 COND_DEBUG_INFO_1="#"
51750 if test "x$DEBUG_INFO" = "x1" ; then
51751 COND_DEBUG_INFO_1=""
51754 COND_DEPS_TRACKING_0="#"
51755 if test "x$DEPS_TRACKING" = "x0" ; then
51756 COND_DEPS_TRACKING_0=""
51759 COND_DEPS_TRACKING_1="#"
51760 if test "x$DEPS_TRACKING" = "x1" ; then
51761 COND_DEPS_TRACKING_1=""
51765 if test "x$GCC_PCH" = "x1" ; then
51770 if test "x$ICC_PCH" = "x1" ; then
51774 COND_MONOLITHIC_0="#"
51775 if test "x$MONOLITHIC" = "x0" ; then
51776 COND_MONOLITHIC_0=""
51779 COND_MONOLITHIC_0_SHARED_0="#"
51780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51781 COND_MONOLITHIC_0_SHARED_0=""
51784 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51786 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51791 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51796 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51804 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51809 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51811 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51814 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51816 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51819 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51821 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51824 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51826 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51829 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51831 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51834 COND_MONOLITHIC_0_SHARED_1="#"
51835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51836 COND_MONOLITHIC_0_SHARED_1=""
51839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51864 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51866 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51869 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51871 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51874 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51876 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51879 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51881 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51884 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51886 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51889 COND_MONOLITHIC_0_USE_AUI_1="#"
51890 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51891 COND_MONOLITHIC_0_USE_AUI_1=""
51894 COND_MONOLITHIC_0_USE_GUI_1="#"
51895 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51896 COND_MONOLITHIC_0_USE_GUI_1=""
51899 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51900 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51901 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51904 COND_MONOLITHIC_0_USE_HTML_1="#"
51905 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51906 COND_MONOLITHIC_0_USE_HTML_1=""
51909 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51910 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51911 COND_MONOLITHIC_0_USE_MEDIA_1=""
51914 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51915 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51916 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51919 COND_MONOLITHIC_0_USE_QA_1="#"
51920 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51921 COND_MONOLITHIC_0_USE_QA_1=""
51924 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51925 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51926 COND_MONOLITHIC_0_USE_RIBBON_1=""
51929 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51930 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51931 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51934 COND_MONOLITHIC_0_USE_STC_1="#"
51935 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51936 COND_MONOLITHIC_0_USE_STC_1=""
51939 COND_MONOLITHIC_0_USE_XRC_1="#"
51940 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51941 COND_MONOLITHIC_0_USE_XRC_1=""
51944 COND_MONOLITHIC_1="#"
51945 if test "x$MONOLITHIC" = "x1" ; then
51946 COND_MONOLITHIC_1=""
51949 COND_MONOLITHIC_1_SHARED_0="#"
51950 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51951 COND_MONOLITHIC_1_SHARED_0=""
51954 COND_MONOLITHIC_1_SHARED_1="#"
51955 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51956 COND_MONOLITHIC_1_SHARED_1=""
51959 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51960 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51961 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51965 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51966 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51969 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51970 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51971 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51974 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51975 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51976 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51979 COND_PLATFORM_MACOSX_1="#"
51980 if test "x$PLATFORM_MACOSX" = "x1" ; then
51981 COND_PLATFORM_MACOSX_1=""
51984 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51986 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51989 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51991 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51994 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51996 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51999 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52001 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52004 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52006 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52009 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52011 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52014 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52016 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52019 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52021 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52024 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52026 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52029 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52031 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52034 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52036 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52039 COND_PLATFORM_MACOS_1="#"
52040 if test "x$PLATFORM_MACOS" = "x1" ; then
52041 COND_PLATFORM_MACOS_1=""
52044 COND_PLATFORM_MAC_0="#"
52045 if test "x$PLATFORM_MAC" = "x0" ; then
52046 COND_PLATFORM_MAC_0=""
52049 COND_PLATFORM_MAC_1="#"
52050 if test "x$PLATFORM_MAC" = "x1" ; then
52051 COND_PLATFORM_MAC_1=""
52054 COND_PLATFORM_MSDOS_0="#"
52055 if test "x$PLATFORM_MSDOS" = "x0" ; then
52056 COND_PLATFORM_MSDOS_0=""
52059 COND_PLATFORM_MSDOS_1="#"
52060 if test "x$PLATFORM_MSDOS" = "x1" ; then
52061 COND_PLATFORM_MSDOS_1=""
52064 COND_PLATFORM_OS2_1="#"
52065 if test "x$PLATFORM_OS2" = "x1" ; then
52066 COND_PLATFORM_OS2_1=""
52069 COND_PLATFORM_UNIX_0="#"
52070 if test "x$PLATFORM_UNIX" = "x0" ; then
52071 COND_PLATFORM_UNIX_0=""
52074 COND_PLATFORM_UNIX_1="#"
52075 if test "x$PLATFORM_UNIX" = "x1" ; then
52076 COND_PLATFORM_UNIX_1=""
52079 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52080 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52081 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52084 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52085 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52086 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52089 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52090 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52091 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52094 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52095 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52096 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52099 COND_PLATFORM_WIN32_0="#"
52100 if test "x$PLATFORM_WIN32" = "x0" ; then
52101 COND_PLATFORM_WIN32_0=""
52104 COND_PLATFORM_WIN32_1="#"
52105 if test "x$PLATFORM_WIN32" = "x1" ; then
52106 COND_PLATFORM_WIN32_1=""
52109 COND_PLATFORM_WIN32_1_SHARED_0="#"
52110 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52111 COND_PLATFORM_WIN32_1_SHARED_0=""
52115 if test "x$SHARED" = "x0" ; then
52119 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52120 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52121 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52124 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52125 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52126 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52129 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52130 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52131 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52134 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52135 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52136 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52139 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52140 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52141 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52144 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52146 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52149 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52150 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52151 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52154 COND_SHARED_0_USE_STC_1="#"
52155 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52156 COND_SHARED_0_USE_STC_1=""
52159 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52160 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52161 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52164 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52165 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52166 COND_SHARED_0_wxUSE_REGEX_builtin=""
52169 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52170 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52171 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52175 if test "x$SHARED" = "x1" ; then
52179 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52180 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52181 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52185 if test "x$TOOLKIT" = "x" ; then
52189 COND_TOOLKIT_COCOA="#"
52190 if test "x$TOOLKIT" = "xCOCOA" ; then
52191 COND_TOOLKIT_COCOA=""
52194 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52195 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52196 COND_TOOLKIT_COCOA_USE_GUI_1=""
52199 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52200 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52201 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52204 COND_TOOLKIT_DFB="#"
52205 if test "x$TOOLKIT" = "xDFB" ; then
52206 COND_TOOLKIT_DFB=""
52209 COND_TOOLKIT_DFB_USE_GUI_1="#"
52210 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52211 COND_TOOLKIT_DFB_USE_GUI_1=""
52214 COND_TOOLKIT_GTK="#"
52215 if test "x$TOOLKIT" = "xGTK" ; then
52216 COND_TOOLKIT_GTK=""
52219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52225 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52230 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52234 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52235 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52236 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52239 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52240 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52241 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52244 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52245 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52246 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52249 COND_TOOLKIT_GTK_USE_GUI_1="#"
52250 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52251 COND_TOOLKIT_GTK_USE_GUI_1=""
52254 COND_TOOLKIT_MAC="#"
52255 if test "x$TOOLKIT" = "xMAC" ; then
52256 COND_TOOLKIT_MAC=""
52259 COND_TOOLKIT_MGL="#"
52260 if test "x$TOOLKIT" = "xMGL" ; then
52261 COND_TOOLKIT_MGL=""
52264 COND_TOOLKIT_MGL_USE_GUI_1="#"
52265 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52266 COND_TOOLKIT_MGL_USE_GUI_1=""
52269 COND_TOOLKIT_MOTIF="#"
52270 if test "x$TOOLKIT" = "xMOTIF" ; then
52271 COND_TOOLKIT_MOTIF=""
52274 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52275 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52276 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52279 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52280 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52281 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52284 COND_TOOLKIT_MSW="#"
52285 if test "x$TOOLKIT" = "xMSW" ; then
52286 COND_TOOLKIT_MSW=""
52289 COND_TOOLKIT_MSW_USE_GUI_1="#"
52290 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52291 COND_TOOLKIT_MSW_USE_GUI_1=""
52294 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52295 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52296 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52299 COND_TOOLKIT_MSW_WXUNIV_0="#"
52300 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52301 COND_TOOLKIT_MSW_WXUNIV_0=""
52304 COND_TOOLKIT_OSX_CARBON="#"
52305 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52306 COND_TOOLKIT_OSX_CARBON=""
52309 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52310 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52311 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52314 COND_TOOLKIT_OSX_COCOA="#"
52315 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52316 COND_TOOLKIT_OSX_COCOA=""
52319 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52320 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52321 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52324 COND_TOOLKIT_OSX_IPHONE="#"
52325 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52326 COND_TOOLKIT_OSX_IPHONE=""
52329 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52330 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52331 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52334 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52335 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52336 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52339 COND_TOOLKIT_PM="#"
52340 if test "x$TOOLKIT" = "xPM" ; then
52344 COND_TOOLKIT_PM_USE_GUI_1="#"
52345 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52346 COND_TOOLKIT_PM_USE_GUI_1=""
52349 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52350 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52351 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52354 COND_TOOLKIT_WINCE="#"
52355 if test "x$TOOLKIT" = "xWINCE" ; then
52356 COND_TOOLKIT_WINCE=""
52359 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52360 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52361 COND_TOOLKIT_WINCE_USE_GUI_1=""
52364 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52365 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52366 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52369 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52370 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52371 COND_TOOLKIT_WINCE_WXUNIV_0=""
52374 COND_TOOLKIT_X11="#"
52375 if test "x$TOOLKIT" = "xX11" ; then
52376 COND_TOOLKIT_X11=""
52379 COND_TOOLKIT_X11_USE_GUI_1="#"
52380 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52381 COND_TOOLKIT_X11_USE_GUI_1=""
52385 if test "x$UNICODE" = "x1" ; then
52389 COND_USE_CAIRO_1="#"
52390 if test "x$USE_CAIRO" = "x1" ; then
52391 COND_USE_CAIRO_1=""
52394 COND_USE_EXCEPTIONS_0="#"
52395 if test "x$USE_EXCEPTIONS" = "x0" ; then
52396 COND_USE_EXCEPTIONS_0=""
52399 COND_USE_EXCEPTIONS_1="#"
52400 if test "x$USE_EXCEPTIONS" = "x1" ; then
52401 COND_USE_EXCEPTIONS_1=""
52405 if test "x$USE_GUI" = "x0" ; then
52410 if test "x$USE_GUI" = "x1" ; then
52414 COND_USE_GUI_1_USE_OPENGL_1="#"
52415 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52416 COND_USE_GUI_1_USE_OPENGL_1=""
52419 COND_USE_GUI_1_WXUNIV_0="#"
52420 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52421 COND_USE_GUI_1_WXUNIV_0=""
52424 COND_USE_GUI_1_WXUNIV_1="#"
52425 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52426 COND_USE_GUI_1_WXUNIV_1=""
52429 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52430 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52431 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52434 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52435 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52436 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52439 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52440 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52441 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52444 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52445 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52446 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52449 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52450 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52451 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52454 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52455 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52456 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52459 COND_USE_OPENGL_1="#"
52460 if test "x$USE_OPENGL" = "x1" ; then
52461 COND_USE_OPENGL_1=""
52465 if test "x$USE_PCH" = "x1" ; then
52469 COND_USE_PLUGINS_0="#"
52470 if test "x$USE_PLUGINS" = "x0" ; then
52471 COND_USE_PLUGINS_0=""
52474 COND_USE_RTTI_0="#"
52475 if test "x$USE_RTTI" = "x0" ; then
52479 COND_USE_RTTI_1="#"
52480 if test "x$USE_RTTI" = "x1" ; then
52484 COND_USE_SOTWOSYMLINKS_1="#"
52485 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52486 COND_USE_SOTWOSYMLINKS_1=""
52489 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52490 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52491 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52494 COND_USE_SOVERLINUX_1="#"
52495 if test "x$USE_SOVERLINUX" = "x1" ; then
52496 COND_USE_SOVERLINUX_1=""
52499 COND_USE_SOVERSION_0="#"
52500 if test "x$USE_SOVERSION" = "x0" ; then
52501 COND_USE_SOVERSION_0=""
52504 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52505 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52506 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52509 COND_USE_SOVERSOLARIS_1="#"
52510 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52511 COND_USE_SOVERSOLARIS_1=""
52515 if test "x$USE_STC" = "x1" ; then
52519 COND_USE_THREADS_0="#"
52520 if test "x$USE_THREADS" = "x0" ; then
52521 COND_USE_THREADS_0=""
52524 COND_USE_THREADS_1="#"
52525 if test "x$USE_THREADS" = "x1" ; then
52526 COND_USE_THREADS_1=""
52530 if test "x$USE_XRC" = "x1" ; then
52534 COND_WINDOWS_IMPLIB_1="#"
52535 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52536 COND_WINDOWS_IMPLIB_1=""
52539 COND_WITH_PLUGIN_SDL_1="#"
52540 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52541 COND_WITH_PLUGIN_SDL_1=""
52545 if test "x$WXUNIV" = "x0" ; then
52550 if test "x$WXUNIV" = "x1" ; then
52554 COND_WXUSE_EXPAT_BUILTIN="#"
52555 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52556 COND_WXUSE_EXPAT_BUILTIN=""
52559 COND_WXUSE_LIBJPEG_BUILTIN="#"
52560 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52561 COND_WXUSE_LIBJPEG_BUILTIN=""
52564 COND_WXUSE_LIBPNG_BUILTIN="#"
52565 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52566 COND_WXUSE_LIBPNG_BUILTIN=""
52569 COND_WXUSE_LIBTIFF_BUILTIN="#"
52570 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52571 COND_WXUSE_LIBTIFF_BUILTIN=""
52574 COND_WXUSE_REGEX_BUILTIN="#"
52575 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52576 COND_WXUSE_REGEX_BUILTIN=""
52579 COND_WXUSE_ZLIB_BUILTIN="#"
52580 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52581 COND_WXUSE_ZLIB_BUILTIN=""
52584 COND_wxUSE_EXPAT_builtin="#"
52585 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52586 COND_wxUSE_EXPAT_builtin=""
52589 COND_wxUSE_LIBJPEG_builtin="#"
52590 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52591 COND_wxUSE_LIBJPEG_builtin=""
52594 COND_wxUSE_LIBPNG_builtin="#"
52595 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52596 COND_wxUSE_LIBPNG_builtin=""
52599 COND_wxUSE_LIBTIFF_builtin="#"
52600 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52601 COND_wxUSE_LIBTIFF_builtin=""
52604 COND_wxUSE_REGEX_builtin="#"
52605 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52606 COND_wxUSE_REGEX_builtin=""
52609 COND_wxUSE_ZLIB_builtin="#"
52610 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52611 COND_wxUSE_ZLIB_builtin=""
52616 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52617 { { 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
52618 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;}
52619 { (exit 1); exit 1; }; }
52622 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52623 { { 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
52624 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;}
52625 { (exit 1); exit 1; }; }
52632 ?:* ) # Drive letter, considered as absolute.
52635 INSTALL=`pwd`/${INSTALL} ;;
52638 if test "$wxUSE_GUI" = "yes"; then
52640 if test "$wxUSE_MSW" = 1 ; then
52641 if test "x$WINDRES" = "x"; then
52642 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52643 echo "$as_me: error: Required windres program not found" >&2;}
52644 { (exit 1); exit 1; }; }
52650 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52651 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52652 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52654 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52656 # Extract the first word of "DeRez", so it can be a program name with args.
52657 set dummy DeRez; ac_word=$2
52658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52660 if test "${ac_cv_prog_DEREZ+set}" = set; then
52661 echo $ECHO_N "(cached) $ECHO_C" >&6
52663 if test -n "$DEREZ"; then
52664 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52667 for as_dir in $PATH
52670 test -z "$as_dir" && as_dir=.
52671 for ac_exec_ext in '' $ac_executable_extensions; do
52672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52673 ac_cv_prog_DEREZ="DeRez"
52674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52681 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52684 DEREZ=$ac_cv_prog_DEREZ
52685 if test -n "$DEREZ"; then
52686 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52687 echo "${ECHO_T}$DEREZ" >&6; }
52689 { echo "$as_me:$LINENO: result: no" >&5
52690 echo "${ECHO_T}no" >&6; }
52695 MACSETFILE="\$(SETFILE)"
52697 if test "$wxUSE_OSX_CARBON" = 1; then
52698 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52700 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52702 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52703 RESCOMP="cat /dev/null \| $REZ"
52704 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52710 if test "$wxUSE_PM" = 1; then
52712 WXCONFIG_RESFLAGS="-ep"
52714 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52716 POSTLINK_COMMAND="@true"
52723 if test $GCC_PCH = 1
52725 if test "$wx_cv_gcc_pch_bug" = yes; then
52726 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52727 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52728 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52729 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52730 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52731 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52734 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52735 # the headers that benefit from precompilation are mostly C++ headers.
52736 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52737 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52738 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52742 if test "$wxUSE_MAC" = 1 ; then
52743 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52744 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52750 if test "$wxUSE_SHARED" = "yes"; then
52752 *-pc-os2_emx | *-pc-os2-emx )
52753 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52754 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52755 cp -p ${srcdir}/src/os2/dllnames.sh .
52756 cp -p ${srcdir}/src/os2/dllar.sh .
52760 if test "$wxUSE_OMF" = "yes"; then
52762 *-pc-os2_emx | *-pc-os2-emx )
52763 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52764 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52765 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52770 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52775 if test "$GCC" = yes; then
52776 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52777 LIBS=`echo $LIBS | sed 's/-mt//'`
52778 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52783 if test "x$SUNCXX" = xyes; then
52784 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52785 LIBS=`echo $LIBS | sed 's/-pthread//'`
52786 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52791 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52792 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52793 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52794 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52796 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52857 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52858 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52859 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52860 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52861 echo $ECHO_N "(cached) $ECHO_C" >&6
52863 cat >conftest.make <<\_ACEOF
52866 @echo '@@@%%%=$(MAKE)=@@@%%%'
52868 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52870 *@@@%%%=?*=@@@%%%*)
52871 eval ac_cv_prog_make_${ac_make}_set=yes;;
52873 eval ac_cv_prog_make_${ac_make}_set=no;;
52875 rm -f conftest.make
52877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52878 { echo "$as_me:$LINENO: result: yes" >&5
52879 echo "${ECHO_T}yes" >&6; }
52882 { echo "$as_me:$LINENO: result: no" >&5
52883 echo "${ECHO_T}no" >&6; }
52884 SET_MAKE="MAKE=${MAKE-make}"
52889 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52892 if test "$USE_WIN32" = 1; then
52893 ac_config_commands="$ac_config_commands rcdefs.h"
52897 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52900 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52903 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52906 if test "$wx_cv_version_script" = "yes"; then
52907 ac_config_files="$ac_config_files version-script"
52910 ac_config_files="$ac_config_files Makefile"
52913 ac_config_commands="$ac_config_commands wx-config"
52917 if test "$wxWITH_SUBDIRS" != "no"; then
52918 if test "$wxUSE_GUI" = "yes"; then
52919 SUBDIRS="samples demos utils"
52921 SUBDIRS="samples utils"
52926 # Check whether --with-cppunit-prefix was given.
52927 if test "${with_cppunit_prefix+set}" = set; then
52928 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52930 cppunit_config_prefix=""
52934 # Check whether --with-cppunit-exec-prefix was given.
52935 if test "${with_cppunit_exec_prefix+set}" = set; then
52936 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52938 cppunit_config_exec_prefix=""
52942 if test x$cppunit_config_exec_prefix != x ; then
52943 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52944 if test x${CPPUNIT_CONFIG+set} != xset ; then
52945 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52948 if test x$cppunit_config_prefix != x ; then
52949 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52950 if test x${CPPUNIT_CONFIG+set} != xset ; then
52951 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52955 # Extract the first word of "cppunit-config", so it can be a program name with args.
52956 set dummy cppunit-config; ac_word=$2
52957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52959 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52960 echo $ECHO_N "(cached) $ECHO_C" >&6
52962 case $CPPUNIT_CONFIG in
52964 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52968 for as_dir in $PATH
52971 test -z "$as_dir" && as_dir=.
52972 for ac_exec_ext in '' $ac_executable_extensions; do
52973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52974 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52982 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52986 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52987 if test -n "$CPPUNIT_CONFIG"; then
52988 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52989 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52991 { echo "$as_me:$LINENO: result: no" >&5
52992 echo "${ECHO_T}no" >&6; }
52996 cppunit_version_min=1.8.0
52998 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52999 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53001 if test "$CPPUNIT_CONFIG" = "no" ; then
53002 { echo "$as_me:$LINENO: result: no" >&5
53003 echo "${ECHO_T}no" >&6; }
53006 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53007 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53008 cppunit_version=`$CPPUNIT_CONFIG --version`
53010 cppunit_major_version=`echo $cppunit_version | \
53011 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53012 cppunit_minor_version=`echo $cppunit_version | \
53013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53014 cppunit_micro_version=`echo $cppunit_version | \
53015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53017 cppunit_major_min=`echo $cppunit_version_min | \
53018 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53019 cppunit_minor_min=`echo $cppunit_version_min | \
53020 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53021 cppunit_micro_min=`echo $cppunit_version_min | \
53022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53024 cppunit_version_proper=`expr \
53025 $cppunit_major_version \> $cppunit_major_min \| \
53026 $cppunit_major_version \= $cppunit_major_min \& \
53027 $cppunit_minor_version \> $cppunit_minor_min \| \
53028 $cppunit_major_version \= $cppunit_major_min \& \
53029 $cppunit_minor_version \= $cppunit_minor_min \& \
53030 $cppunit_micro_version \>= $cppunit_micro_min `
53032 if test "$cppunit_version_proper" = "1" ; then
53033 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53034 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53036 { echo "$as_me:$LINENO: result: no" >&5
53037 echo "${ECHO_T}no" >&6; }
53042 if test "x$no_cppunit" = x ; then
53043 SUBDIRS="$SUBDIRS tests"
53054 for subdir in $SUBDIRS; do
53055 if test -d ${srcdir}/${subdir} ; then
53056 if test "$wxUSE_GUI" = "yes"; then
53057 if test ${subdir} = "samples"; then
53058 makefiles="samples/Makefile.in $makefiles"
53059 for sample in $SAMPLES_SUBDIRS; do
53060 if test -d $srcdir/samples/$sample; then
53061 makefiles="samples/$sample/Makefile.in $makefiles"
53065 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53066 eval "disabled=\$$disabled_var"
53067 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53068 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53071 if test ${subdir} = "samples"; then
53072 makefiles="samples/Makefile.in $makefiles"
53073 for sample in `echo $SAMPLES_SUBDIRS`; do
53074 if test -d $srcdir/samples/$sample; then
53075 makefiles="samples/$sample/Makefile.in $makefiles"
53078 elif test ${subdir} = "utils"; then
53080 for util in ifacecheck ; do
53081 if test -d $srcdir/utils/$util ; then
53082 makefiles="utils/$util/src/Makefile.in \
53087 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53091 for mkin in $makefiles ; do
53092 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53093 ac_config_files="$ac_config_files $mk"
53099 cat >confcache <<\_ACEOF
53100 # This file is a shell script that caches the results of configure
53101 # tests run on this system so they can be shared between configure
53102 # scripts and configure runs, see configure's option --config-cache.
53103 # It is not useful on other systems. If it contains results you don't
53104 # want to keep, you may remove or edit it.
53106 # config.status only pays attention to the cache file if you give it
53107 # the --recheck option to rerun configure.
53109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53111 # following values.
53115 # The following way of writing the cache mishandles newlines in values,
53116 # but we know of no workaround that is simple, portable, and efficient.
53117 # So, we kill variables containing newlines.
53118 # Ultrix sh set writes to stderr and can't be redirected directly,
53119 # and sets the high bit in the cache file unless we assign to the vars.
53121 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53122 eval ac_val=\$$ac_var
53126 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53127 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53130 _ | IFS | as_nl) ;; #(
53131 *) $as_unset $ac_var ;;
53137 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53138 *${as_nl}ac_space=\ *)
53139 # `set' does not quote correctly, so add quotes (double-quote
53140 # substitution turns \\\\ into \\, and sed turns \\ into \).
53143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53146 # `set' quotes correctly as required by POSIX, so do not add quotes.
53147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53158 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53160 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53161 if test -w "$cache_file"; then
53162 test "x$cache_file" != "x/dev/null" &&
53163 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53164 echo "$as_me: updating cache $cache_file" >&6;}
53165 cat confcache >$cache_file
53167 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53168 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53173 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53174 # Let make expand exec_prefix.
53175 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53177 DEFS=-DHAVE_CONFIG_H
53181 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53182 # 1. Remove the extension, and $U if already installed.
53183 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53184 ac_i=`echo "$ac_i" | sed "$ac_script"`
53185 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53186 # will be set to the directory where LIBOBJS objects are built.
53187 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53188 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53190 LIBOBJS=$ac_libobjs
53192 LTLIBOBJS=$ac_ltlibobjs
53196 : ${CONFIG_STATUS=./config.status}
53197 ac_clean_files_save=$ac_clean_files
53198 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53199 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53200 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53201 cat >$CONFIG_STATUS <<_ACEOF
53203 # Generated by $as_me.
53204 # Run this file to recreate the current configuration.
53205 # Compiler output produced by configure, useful for debugging
53206 # configure, is in config.log if it exists.
53209 ac_cs_recheck=false
53211 SHELL=\${CONFIG_SHELL-$SHELL}
53214 cat >>$CONFIG_STATUS <<\_ACEOF
53215 ## --------------------- ##
53216 ## M4sh Initialization. ##
53217 ## --------------------- ##
53219 # Be more Bourne compatible
53220 DUALCASE=1; export DUALCASE # for MKS sh
53221 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53224 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53225 # is contrary to our usage. Disable this feature.
53226 alias -g '${1+"$@"}'='"$@"'
53227 setopt NO_GLOB_SUBST
53229 case `(set -o) 2>/dev/null` in
53230 *posix*) set -o posix ;;
53239 # Avoid depending upon Character Ranges.
53240 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53241 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53242 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53243 as_cr_digits='0123456789'
53244 as_cr_alnum=$as_cr_Letters$as_cr_digits
53246 # The user is always right.
53247 if test "${PATH_SEPARATOR+set}" != set; then
53248 echo "#! /bin/sh" >conf$$.sh
53249 echo "exit 0" >>conf$$.sh
53251 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53259 # Support unset when possible.
53260 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53268 # We need space, tab and new line, in precisely that order. Quoting is
53269 # there to prevent editors from complaining about space-tab.
53270 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53271 # splitting by setting IFS to empty value.)
53276 # Find who we are. Look in the path if we contain no directory separator.
53278 *[\\/]* ) as_myself=$0 ;;
53279 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53280 for as_dir in $PATH
53283 test -z "$as_dir" && as_dir=.
53284 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53290 # We did not find ourselves, most probably we were run as `sh COMMAND'
53291 # in which case we are not to be found in the path.
53292 if test "x$as_myself" = x; then
53295 if test ! -f "$as_myself"; then
53296 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53297 { (exit 1); exit 1; }
53300 # Work around bugs in pre-3.0 UWIN ksh.
53301 for as_var in ENV MAIL MAILPATH
53302 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53310 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53311 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53312 LC_TELEPHONE LC_TIME
53314 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53315 eval $as_var=C; export $as_var
53317 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53321 # Required to use basename.
53322 if expr a : '\(a\)' >/dev/null 2>&1 &&
53323 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53329 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53330 as_basename=basename
53336 # Name of the executable.
53337 as_me=`$as_basename -- "$0" ||
53338 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53339 X"$0" : 'X\(//\)$' \| \
53340 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53342 sed '/^.*\/\([^/][^/]*\)\/*$/{
53361 as_lineno_1=$LINENO
53362 as_lineno_2=$LINENO
53363 test "x$as_lineno_1" != "x$as_lineno_2" &&
53364 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53366 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53367 # uniformly replaced by the line number. The first 'sed' inserts a
53368 # line-number line after each line using $LINENO; the second 'sed'
53369 # does the real work. The second script uses 'N' to pair each
53370 # line-number line with the line containing $LINENO, and appends
53371 # trailing '-' during substitution so that $LINENO is not a special
53372 # case at line end.
53373 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53374 # scripts with optimization help from Paolo Bonzini. Blame Lee
53375 # E. McMahon (1931-1989) for sed's syntax. :-)
53387 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53390 ' >$as_me.lineno &&
53391 chmod +x "$as_me.lineno" ||
53392 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53393 { (exit 1); exit 1; }; }
53395 # Don't try to exec as it changes $[0], causing all sort of problems
53396 # (the dirname of $[0] is not the place where we might find the
53397 # original and so on. Autoconf is especially sensitive to this).
53398 . "./$as_me.lineno"
53399 # Exit status is that of the last command.
53404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53410 ECHO_C= ECHO_N= ECHO_T=
53411 case `echo -n x` in
53413 case `echo 'x\c'` in
53414 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53421 if expr a : '\(a\)' >/dev/null 2>&1 &&
53422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53428 rm -f conf$$ conf$$.exe conf$$.file
53429 if test -d conf$$.dir; then
53430 rm -f conf$$.dir/conf$$.file
53436 if ln -s conf$$.file conf$$ 2>/dev/null; then
53438 # ... but there are two gotchas:
53439 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53440 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53441 # In both cases, we have to default to `cp -p'.
53442 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53444 elif ln conf$$.file conf$$ 2>/dev/null; then
53449 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53450 rmdir conf$$.dir 2>/dev/null
53452 if mkdir -p . 2>/dev/null; then
53455 test -d ./-p && rmdir ./-p
53459 if test -x / >/dev/null 2>&1; then
53460 as_test_x='test -x'
53462 if ls -dL / >/dev/null 2>&1; then
53469 if test -d "$1"; then
53475 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53476 ???[sx]*):;;*)false;;esac;fi
53480 as_executable_p=$as_test_x
53482 # Sed expression to map a string onto a valid CPP name.
53483 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53485 # Sed expression to map a string onto a valid variable name.
53486 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53491 # Save the log message, to keep $[0] and so on meaningful, and to
53492 # report actual input values of CONFIG_FILES etc. instead of their
53493 # values after options handling.
53495 This file was extended by wxWidgets $as_me 2.9.3, which was
53496 generated by GNU Autoconf 2.61. Invocation command line was
53498 CONFIG_FILES = $CONFIG_FILES
53499 CONFIG_HEADERS = $CONFIG_HEADERS
53500 CONFIG_LINKS = $CONFIG_LINKS
53501 CONFIG_COMMANDS = $CONFIG_COMMANDS
53504 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53509 cat >>$CONFIG_STATUS <<_ACEOF
53510 # Files that config.status was made for.
53511 config_files="$ac_config_files"
53512 config_headers="$ac_config_headers"
53513 config_commands="$ac_config_commands"
53517 cat >>$CONFIG_STATUS <<\_ACEOF
53519 \`$as_me' instantiates files from templates according to the
53520 current configuration.
53522 Usage: $0 [OPTIONS] [FILE]...
53524 -h, --help print this help, then exit
53525 -V, --version print version number and configuration settings, then exit
53526 -q, --quiet do not print progress messages
53527 -d, --debug don't remove temporary files
53528 --recheck update $as_me by reconfiguring in the same conditions
53529 --file=FILE[:TEMPLATE]
53530 instantiate the configuration file FILE
53531 --header=FILE[:TEMPLATE]
53532 instantiate the configuration header FILE
53534 Configuration files:
53537 Configuration headers:
53540 Configuration commands:
53543 Report bugs to <bug-autoconf@gnu.org>."
53546 cat >>$CONFIG_STATUS <<_ACEOF
53548 wxWidgets config.status 2.9.3
53549 configured by $0, generated by GNU Autoconf 2.61,
53550 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53552 Copyright (C) 2006 Free Software Foundation, Inc.
53553 This config.status script is free software; the Free Software Foundation
53554 gives unlimited permission to copy, distribute and modify it."
53561 cat >>$CONFIG_STATUS <<\_ACEOF
53562 # If no file are specified by the user, then we need to provide default
53563 # value. By we need to know if files were specified by the user.
53569 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53570 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53581 # Handling of the options.
53582 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53584 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53585 echo "$ac_cs_version"; exit ;;
53586 --debug | --debu | --deb | --de | --d | -d )
53588 --file | --fil | --fi | --f )
53590 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53591 ac_need_defaults=false;;
53592 --header | --heade | --head | --hea )
53594 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53595 ac_need_defaults=false;;
53597 # Conflict between --help and --header
53598 { echo "$as_me: error: ambiguous option: $1
53599 Try \`$0 --help' for more information." >&2
53600 { (exit 1); exit 1; }; };;
53601 --help | --hel | -h )
53602 echo "$ac_cs_usage"; exit ;;
53603 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53604 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53607 # This is an error.
53608 -*) { echo "$as_me: error: unrecognized option: $1
53609 Try \`$0 --help' for more information." >&2
53610 { (exit 1); exit 1; }; } ;;
53612 *) ac_config_targets="$ac_config_targets $1"
53613 ac_need_defaults=false ;;
53619 ac_configure_extra_args=
53621 if $ac_cs_silent; then
53623 ac_configure_extra_args="$ac_configure_extra_args --silent"
53627 cat >>$CONFIG_STATUS <<_ACEOF
53628 if \$ac_cs_recheck; then
53629 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53630 CONFIG_SHELL=$SHELL
53631 export CONFIG_SHELL
53632 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53636 cat >>$CONFIG_STATUS <<\_ACEOF
53640 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53641 ## Running $as_me. ##
53647 cat >>$CONFIG_STATUS <<_ACEOF
53653 infile="$srcdir/include/wx/msw/genrcdefs.h"
53654 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53657 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53658 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53659 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53665 cat >>$CONFIG_STATUS <<\_ACEOF
53667 # Handling of arguments.
53668 for ac_config_target in $ac_config_targets
53670 case $ac_config_target in
53671 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53672 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53673 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53674 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53675 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53676 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53677 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53678 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53679 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53681 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53682 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53683 { (exit 1); exit 1; }; };;
53688 # If the user did not use the arguments to specify the items to instantiate,
53689 # then the envvar interface is used. Set only those that are not.
53690 # We use the long form for the default assignment because of an extremely
53691 # bizarre bug on SunOS 4.1.3.
53692 if $ac_need_defaults; then
53693 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53694 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53695 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53698 # Have a temporary directory for convenience. Make it in the build tree
53699 # simply because there is no reason against having it here, and in addition,
53700 # creating and moving files from /tmp can sometimes cause problems.
53701 # Hook for its removal unless debugging.
53702 # Note that there is a small window in which the directory will not be cleaned:
53703 # after its creation but before its name has been assigned to `$tmp'.
53707 trap 'exit_status=$?
53708 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53710 trap '{ (exit 1); exit 1; }' 1 2 13 15
53712 # Create a (secure) tmp directory for tmp files.
53715 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53716 test -n "$tmp" && test -d "$tmp"
53719 tmp=./conf$$-$RANDOM
53720 (umask 077 && mkdir "$tmp")
53723 echo "$me: cannot create a temporary directory in ." >&2
53724 { (exit 1); exit 1; }
53728 # Set up the sed scripts for CONFIG_FILES section.
53731 # No need to generate the scripts if there are no CONFIG_FILES.
53732 # This happens for instance when ./config.status config.h
53733 if test -n "$CONFIG_FILES"; then
53740 for ac_last_try in false false false false false :; do
53741 cat >conf$$subs.sed <<_ACEOF
53742 SHELL!$SHELL$ac_delim
53743 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53744 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53745 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53746 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53747 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53748 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53749 exec_prefix!$exec_prefix$ac_delim
53750 prefix!$prefix$ac_delim
53751 program_transform_name!$program_transform_name$ac_delim
53752 bindir!$bindir$ac_delim
53753 sbindir!$sbindir$ac_delim
53754 libexecdir!$libexecdir$ac_delim
53755 datarootdir!$datarootdir$ac_delim
53756 datadir!$datadir$ac_delim
53757 sysconfdir!$sysconfdir$ac_delim
53758 sharedstatedir!$sharedstatedir$ac_delim
53759 localstatedir!$localstatedir$ac_delim
53760 includedir!$includedir$ac_delim
53761 oldincludedir!$oldincludedir$ac_delim
53762 docdir!$docdir$ac_delim
53763 infodir!$infodir$ac_delim
53764 htmldir!$htmldir$ac_delim
53765 dvidir!$dvidir$ac_delim
53766 pdfdir!$pdfdir$ac_delim
53767 psdir!$psdir$ac_delim
53768 libdir!$libdir$ac_delim
53769 localedir!$localedir$ac_delim
53770 mandir!$mandir$ac_delim
53771 DEFS!$DEFS$ac_delim
53772 ECHO_C!$ECHO_C$ac_delim
53773 ECHO_N!$ECHO_N$ac_delim
53774 ECHO_T!$ECHO_T$ac_delim
53775 LIBS!$LIBS$ac_delim
53776 build_alias!$build_alias$ac_delim
53777 host_alias!$host_alias$ac_delim
53778 target_alias!$target_alias$ac_delim
53779 build!$build$ac_delim
53780 build_cpu!$build_cpu$ac_delim
53781 build_vendor!$build_vendor$ac_delim
53782 build_os!$build_os$ac_delim
53783 host!$host$ac_delim
53784 host_cpu!$host_cpu$ac_delim
53785 host_vendor!$host_vendor$ac_delim
53786 host_os!$host_os$ac_delim
53787 wx_top_builddir!$wx_top_builddir$ac_delim
53789 CFLAGS!$CFLAGS$ac_delim
53790 LDFLAGS!$LDFLAGS$ac_delim
53791 CPPFLAGS!$CPPFLAGS$ac_delim
53792 ac_ct_CC!$ac_ct_CC$ac_delim
53793 EXEEXT!$EXEEXT$ac_delim
53794 OBJEXT!$OBJEXT$ac_delim
53796 GREP!$GREP$ac_delim
53797 EGREP!$EGREP$ac_delim
53799 CXXFLAGS!$CXXFLAGS$ac_delim
53800 ac_ct_CXX!$ac_ct_CXX$ac_delim
53802 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53803 CXXCPP!$CXXCPP$ac_delim
53804 subdirs!$subdirs$ac_delim
53805 PKG_CONFIG!$PKG_CONFIG$ac_delim
53806 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53807 GTK_LIBS!$GTK_LIBS$ac_delim
53808 GTK_CONFIG!$GTK_CONFIG$ac_delim
53809 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53810 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53811 XMKMF!$XMKMF$ac_delim
53812 X_CFLAGS!$X_CFLAGS$ac_delim
53813 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53814 X_LIBS!$X_LIBS$ac_delim
53815 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53816 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53817 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53818 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53819 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53820 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53821 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53822 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53823 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53824 LIBICONV!$LIBICONV$ac_delim
53825 GXX_VERSION!$GXX_VERSION$ac_delim
53826 SDL_CONFIG!$SDL_CONFIG$ac_delim
53827 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53828 SDL_LIBS!$SDL_LIBS$ac_delim
53829 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53830 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53831 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53832 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53833 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53834 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53835 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53836 HILDON_LIBS!$HILDON_LIBS$ac_delim
53837 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53838 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53841 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53843 elif $ac_last_try; then
53844 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53845 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53846 { (exit 1); exit 1; }; }
53848 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53852 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53853 if test -n "$ac_eof"; then
53854 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53855 ac_eof=`expr $ac_eof + 1`
53858 cat >>$CONFIG_STATUS <<_ACEOF
53859 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53863 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53864 s/^/s,@/; s/!/@,|#_!!_#|/
53867 s/'"$ac_delim"'$/,g/; t
53869 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53870 ' >>$CONFIG_STATUS <conf$$subs.sed
53871 rm -f conf$$subs.sed
53872 cat >>$CONFIG_STATUS <<_ACEOF
53878 for ac_last_try in false false false false false :; do
53879 cat >conf$$subs.sed <<_ACEOF
53880 PYTHON!$PYTHON$ac_delim
53881 COND_PYTHON!$COND_PYTHON$ac_delim
53882 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53883 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53884 GST_CFLAGS!$GST_CFLAGS$ac_delim
53885 GST_LIBS!$GST_LIBS$ac_delim
53886 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53887 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53888 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53889 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53890 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53891 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53892 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53893 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53894 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53895 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53896 VENDOR!$VENDOR$ac_delim
53897 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53898 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53899 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53900 WXUNIV!$WXUNIV$ac_delim
53901 MONOLITHIC!$MONOLITHIC$ac_delim
53902 USE_PLUGINS!$USE_PLUGINS$ac_delim
53903 CXXWARNINGS!$CXXWARNINGS$ac_delim
53904 EXTRALIBS!$EXTRALIBS$ac_delim
53905 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53906 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53907 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53908 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53909 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53910 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53911 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53912 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53913 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53914 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53915 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53916 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53917 UNICODE!$UNICODE$ac_delim
53918 DEBUG_INFO!$DEBUG_INFO$ac_delim
53919 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53920 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53921 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53922 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53923 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53924 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53925 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53926 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53927 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53928 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53929 RANLIB!$RANLIB$ac_delim
53930 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53931 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53932 INSTALL_DATA!$INSTALL_DATA$ac_delim
53933 LN_S!$LN_S$ac_delim
53934 SET_MAKE!$SET_MAKE$ac_delim
53935 MAKE_SET!$MAKE_SET$ac_delim
53936 AROPTIONS!$AROPTIONS$ac_delim
53937 STRIP!$STRIP$ac_delim
53939 INSTALL_DIR!$INSTALL_DIR$ac_delim
53940 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53941 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53942 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53943 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53944 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53945 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53946 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53947 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53948 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53949 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53950 SO_SUFFIX!$SO_SUFFIX$ac_delim
53951 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53952 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53953 LIBPREFIX!$LIBPREFIX$ac_delim
53954 LIBEXT!$LIBEXT$ac_delim
53955 DLLPREFIX!$DLLPREFIX$ac_delim
53956 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53957 dlldir!$dlldir$ac_delim
53958 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53959 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53960 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53961 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53962 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53963 PIC_FLAG!$PIC_FLAG$ac_delim
53964 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53965 USE_SOVERSION!$USE_SOVERSION$ac_delim
53966 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53967 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53968 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53969 USE_MACVERSION!$USE_MACVERSION$ac_delim
53970 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53971 SONAME_FLAG!$SONAME_FLAG$ac_delim
53972 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53973 BK_DEPS!$BK_DEPS$ac_delim
53974 WINDRES!$WINDRES$ac_delim
53976 SETFILE!$SETFILE$ac_delim
53979 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53981 elif $ac_last_try; then
53982 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53983 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53984 { (exit 1); exit 1; }; }
53986 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53990 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53991 if test -n "$ac_eof"; then
53992 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53993 ac_eof=`expr $ac_eof + 1`
53996 cat >>$CONFIG_STATUS <<_ACEOF
53997 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54001 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54002 s/^/s,@/; s/!/@,|#_!!_#|/
54005 s/'"$ac_delim"'$/,g/; t
54007 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54008 ' >>$CONFIG_STATUS <conf$$subs.sed
54009 rm -f conf$$subs.sed
54010 cat >>$CONFIG_STATUS <<_ACEOF
54016 for ac_last_try in false false false false false :; do
54017 cat >conf$$subs.sed <<_ACEOF
54018 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54019 GCC_PCH!$GCC_PCH$ac_delim
54020 ICC_PCH!$ICC_PCH$ac_delim
54021 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54022 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54023 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54024 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54025 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54026 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54027 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54028 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54029 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54030 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54031 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54032 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54033 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54034 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54035 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54036 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54037 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54038 COND_BUILD_release!$COND_BUILD_release$ac_delim
54039 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54040 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54041 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54042 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54043 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54044 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54045 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54046 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54047 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54048 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54049 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54050 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54051 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54052 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54054 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54055 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54057 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54058 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54059 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54060 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54061 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54062 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54063 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54064 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54066 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54068 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54069 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54070 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54071 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54072 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54073 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54074 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54075 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54076 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54077 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54078 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54079 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54080 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54081 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54082 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54083 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54084 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54085 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54086 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54087 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54088 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54089 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54090 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54091 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54092 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54093 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54094 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54095 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
54096 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54097 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
54098 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54099 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
54100 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54101 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54102 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54103 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54104 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54105 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54106 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54107 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54108 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54109 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54110 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54111 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54112 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54113 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54114 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54117 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54119 elif $ac_last_try; then
54120 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54121 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54122 { (exit 1); exit 1; }; }
54124 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54128 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54129 if test -n "$ac_eof"; then
54130 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54131 ac_eof=`expr $ac_eof + 1`
54134 cat >>$CONFIG_STATUS <<_ACEOF
54135 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54136 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54139 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54140 s/^/s,@/; s/!/@,|#_!!_#|/
54143 s/'"$ac_delim"'$/,g/; t
54145 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54146 ' >>$CONFIG_STATUS <conf$$subs.sed
54147 rm -f conf$$subs.sed
54148 cat >>$CONFIG_STATUS <<_ACEOF
54154 for ac_last_try in false false false false false :; do
54155 cat >conf$$subs.sed <<_ACEOF
54156 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54157 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54158 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54159 COND_SHARED_0!$COND_SHARED_0$ac_delim
54160 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54161 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54162 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54163 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54164 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54165 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54166 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54167 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54168 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54169 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54170 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54171 COND_SHARED_1!$COND_SHARED_1$ac_delim
54172 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54173 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54174 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54175 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54176 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54177 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54178 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54179 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54180 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54184 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54185 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54186 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54187 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54188 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54189 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54190 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54191 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54192 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54193 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54194 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54195 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54196 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54197 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54198 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54199 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54200 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54201 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54202 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54203 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54204 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54205 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54206 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54207 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54208 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54210 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54211 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54212 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54213 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54214 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54215 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54216 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54217 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54218 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54219 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54220 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54221 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54222 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54223 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54224 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54225 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54226 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54227 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54228 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54229 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54230 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54231 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54232 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54233 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54234 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54235 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54236 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54237 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54238 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54239 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54240 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54241 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54242 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54243 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54244 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54245 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54246 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54247 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54248 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54249 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54250 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54251 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54252 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54255 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54257 elif $ac_last_try; then
54258 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54259 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54260 { (exit 1); exit 1; }; }
54262 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54266 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54267 if test -n "$ac_eof"; then
54268 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54269 ac_eof=`expr $ac_eof + 1`
54272 cat >>$CONFIG_STATUS <<_ACEOF
54273 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54277 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54278 s/^/s,@/; s/!/@,|#_!!_#|/
54281 s/'"$ac_delim"'$/,g/; t
54283 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54284 ' >>$CONFIG_STATUS <conf$$subs.sed
54285 rm -f conf$$subs.sed
54286 cat >>$CONFIG_STATUS <<_ACEOF
54292 for ac_last_try in false false false false false :; do
54293 cat >conf$$subs.sed <<_ACEOF
54294 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54295 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54296 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54297 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54298 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54299 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54300 DEREZ!$DEREZ$ac_delim
54301 SHARED!$SHARED$ac_delim
54302 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54303 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54304 USE_GUI!$USE_GUI$ac_delim
54305 AFMINSTALL!$AFMINSTALL$ac_delim
54306 WIN32INSTALL!$WIN32INSTALL$ac_delim
54307 TOOLKIT!$TOOLKIT$ac_delim
54308 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54309 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54310 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54311 cross_compiling!$cross_compiling$ac_delim
54312 WIDGET_SET!$WIDGET_SET$ac_delim
54313 WX_RELEASE!$WX_RELEASE$ac_delim
54314 WX_VERSION!$WX_VERSION$ac_delim
54315 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54316 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54317 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54318 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54319 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54320 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54321 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54322 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54323 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54324 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54325 GUIDIST!$GUIDIST$ac_delim
54326 DISTDIR!$DISTDIR$ac_delim
54327 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54328 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54329 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54330 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54331 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54332 RESCOMP!$RESCOMP$ac_delim
54333 RESFLAGS!$RESFLAGS$ac_delim
54334 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54335 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54336 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54337 LIBWXMACRES!$LIBWXMACRES$ac_delim
54338 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54339 MACSETFILE!$MACSETFILE$ac_delim
54341 DLLTOOL!$DLLTOOL$ac_delim
54342 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54343 LIBOBJS!$LIBOBJS$ac_delim
54344 LTLIBOBJS!$LTLIBOBJS$ac_delim
54347 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54349 elif $ac_last_try; then
54350 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54351 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54352 { (exit 1); exit 1; }; }
54354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54358 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54359 if test -n "$ac_eof"; then
54360 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54361 ac_eof=`expr $ac_eof + 1`
54364 cat >>$CONFIG_STATUS <<_ACEOF
54365 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54369 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54370 s/^/s,@/; s/!/@,|#_!!_#|/
54373 s/'"$ac_delim"'$/,g/; t
54375 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54376 ' >>$CONFIG_STATUS <conf$$subs.sed
54377 rm -f conf$$subs.sed
54378 cat >>$CONFIG_STATUS <<_ACEOF
54385 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54386 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54387 # trailing colons and then remove the whole line if VPATH becomes empty
54388 # (actually we leave an empty line to preserve line numbers).
54389 if test "x$srcdir" = x.; then
54390 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54391 s/:*\$(srcdir):*/:/
54392 s/:*\${srcdir}:*/:/
54394 s/^\([^=]*=[ ]*\):*/\1/
54400 cat >>$CONFIG_STATUS <<\_ACEOF
54401 fi # test -n "$CONFIG_FILES"
54404 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54407 :[FHLC]) ac_mode=$ac_tag; continue;;
54409 case $ac_mode$ac_tag in
54411 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54412 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54413 { (exit 1); exit 1; }; };;
54414 :[FH]-) ac_tag=-:-;;
54415 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54432 -) ac_f="$tmp/stdin";;
54433 *) # Look for the file first in the build tree, then in the source tree
54434 # (if the path is not absolute). The absolute path cannot be DOS-style,
54435 # because $ac_f cannot contain `:'.
54439 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54441 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54442 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54443 { (exit 1); exit 1; }; };;
54445 ac_file_inputs="$ac_file_inputs $ac_f"
54448 # Let's still pretend it is `configure' which instantiates (i.e., don't
54449 # use $as_me), people would be surprised to read:
54450 # /* config.h. Generated by config.status. */
54451 configure_input="Generated from "`IFS=:
54452 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54453 if test x"$ac_file" != x-; then
54454 configure_input="$ac_file. $configure_input"
54455 { echo "$as_me:$LINENO: creating $ac_file" >&5
54456 echo "$as_me: creating $ac_file" >&6;}
54460 *:-:* | *:-) cat >"$tmp/stdin";;
54465 ac_dir=`$as_dirname -- "$ac_file" ||
54466 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54467 X"$ac_file" : 'X\(//\)[^/]' \| \
54468 X"$ac_file" : 'X\(//\)$' \| \
54469 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54475 /^X\(\/\/\)[^/].*/{
54490 -*) as_dir=./$as_dir;;
54492 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54496 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54497 *) as_qdir=$as_dir;;
54499 as_dirs="'$as_qdir' $as_dirs"
54500 as_dir=`$as_dirname -- "$as_dir" ||
54501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54502 X"$as_dir" : 'X\(//\)[^/]' \| \
54503 X"$as_dir" : 'X\(//\)$' \| \
54504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54510 /^X\(\/\/\)[^/].*/{
54523 test -d "$as_dir" && break
54525 test -z "$as_dirs" || eval "mkdir $as_dirs"
54526 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54527 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54528 { (exit 1); exit 1; }; }; }
54532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54534 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54535 # A ".." for each directory in $ac_dir_suffix.
54536 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54537 case $ac_top_builddir_sub in
54538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54542 ac_abs_top_builddir=$ac_pwd
54543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54544 # for backward compatibility:
54545 ac_top_builddir=$ac_top_build_prefix
54548 .) # We are building in place.
54550 ac_top_srcdir=$ac_top_builddir_sub
54551 ac_abs_top_srcdir=$ac_pwd ;;
54552 [\\/]* | ?:[\\/]* ) # Absolute name.
54553 ac_srcdir=$srcdir$ac_dir_suffix;
54554 ac_top_srcdir=$srcdir
54555 ac_abs_top_srcdir=$srcdir ;;
54556 *) # Relative name.
54557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54558 ac_top_srcdir=$ac_top_build_prefix$srcdir
54559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54571 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54572 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54576 cat >>$CONFIG_STATUS <<\_ACEOF
54577 # If the template does not know about datarootdir, expand it.
54578 # FIXME: This hack should be removed a few years after 2.60.
54579 ac_datarootdir_hack=; ac_datarootdir_seen=
54581 case `sed -n '/datarootdir/ {
54590 ' $ac_file_inputs` in
54591 *datarootdir*) ac_datarootdir_seen=yes;;
54592 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54593 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54594 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54596 cat >>$CONFIG_STATUS <<_ACEOF
54597 ac_datarootdir_hack='
54598 s&@datadir@&$datadir&g
54599 s&@docdir@&$docdir&g
54600 s&@infodir@&$infodir&g
54601 s&@localedir@&$localedir&g
54602 s&@mandir@&$mandir&g
54603 s&\\\${datarootdir}&$datarootdir&g' ;;
54607 # Neutralize VPATH when `$srcdir' = `.'.
54608 # Shell code in configure.ac might set extrasub.
54609 # FIXME: do we really want to maintain this feature?
54610 cat >>$CONFIG_STATUS <<_ACEOF
54614 cat >>$CONFIG_STATUS <<\_ACEOF
54616 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54617 s&@configure_input@&$configure_input&;t t
54618 s&@top_builddir@&$ac_top_builddir_sub&;t t
54619 s&@srcdir@&$ac_srcdir&;t t
54620 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54621 s&@top_srcdir@&$ac_top_srcdir&;t t
54622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54623 s&@builddir@&$ac_builddir&;t t
54624 s&@abs_builddir@&$ac_abs_builddir&;t t
54625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54626 s&@INSTALL@&$ac_INSTALL&;t t
54627 $ac_datarootdir_hack
54628 " $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
54630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54631 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54633 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54634 which seems to be undefined. Please make sure it is defined." >&5
54635 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54636 which seems to be undefined. Please make sure it is defined." >&2;}
54640 -) cat "$tmp/out"; rm -f "$tmp/out";;
54641 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54650 # Transform confdefs.h into a sed script `conftest.defines', that
54651 # substitutes the proper values into config.h.in to produce config.h.
54652 rm -f conftest.defines conftest.tail
54653 # First, append a space to every undef/define line, to ease matching.
54654 echo 's/$/ /' >conftest.defines
54655 # Then, protect against being on the right side of a sed subst, or in
54656 # an unquoted here document, in config.status. If some macros were
54657 # called several times there might be several #defines for the same
54658 # symbol, which is useless. But do not sort them, since the last
54659 # AC_DEFINE must be honored.
54660 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54661 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54662 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54663 # PARAMS is the parameter list in the macro definition--in most cases, it's
54664 # just an empty string.
54665 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54666 ac_dB='\\)[ (].*,\\1define\\2'
54674 s/^[ ]*#[ ]*define[ ][ ]*//
54679 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54680 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54681 ' >>conftest.defines
54683 # Remove the space that was appended to ease matching.
54684 # Then replace #undef with comments. This is necessary, for
54685 # example, in the case of _POSIX_SOURCE, which is predefined and required
54686 # on some systems where configure will not decide to define it.
54687 # (The regexp can be short, since the line contains either #define or #undef.)
54689 s,^[ #]*u.*,/* & */,' >>conftest.defines
54691 # Break up conftest.defines:
54692 ac_max_sed_lines=50
54694 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54695 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54696 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54698 ac_in='$ac_file_inputs'
54699 ac_out='"$tmp/out1"'
54700 ac_nxt='"$tmp/out2"'
54704 # Write a here document:
54705 cat >>$CONFIG_STATUS <<_ACEOF
54706 # First, check the format of the line:
54707 cat >"\$tmp/defines.sed" <<\\CEOF
54708 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54709 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54713 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54715 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54716 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54717 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54718 grep . conftest.tail >/dev/null || break
54719 rm -f conftest.defines
54720 mv conftest.tail conftest.defines
54722 rm -f conftest.defines conftest.tail
54724 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54725 cat >>$CONFIG_STATUS <<\_ACEOF
54726 if test x"$ac_file" != x-; then
54727 echo "/* $configure_input */" >"$tmp/config.h"
54728 cat "$ac_result" >>"$tmp/config.h"
54729 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54730 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54731 echo "$as_me: $ac_file is unchanged" >&6;}
54734 mv "$tmp/config.h" $ac_file
54737 echo "/* $configure_input */"
54743 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54744 echo "$as_me: executing $ac_file commands" >&6;}
54749 case $ac_file$ac_mode in
54751 mkdir -p $outdir &&
54752 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54754 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54755 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54756 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54757 "wx-config":C) rm -f wx-config
54758 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54765 { (exit 0); exit 0; }
54767 chmod +x $CONFIG_STATUS
54768 ac_clean_files=$ac_clean_files_save
54771 # configure is writing to config.log, and then calls config.status.
54772 # config.status does its own redirection, appending to config.log.
54773 # Unfortunately, on DOS this fails, as config.log is still kept open
54774 # by configure, so config.status won't be able to write to it; its
54775 # output is simply discarded. So we exec the FD to /dev/null,
54776 # effectively closing config.log, so it can be properly (re)opened and
54777 # appended to by config.status. When coming back to configure, we
54778 # need to make the FD available again.
54779 if test "$no_create" != yes; then
54781 ac_config_status_args=
54782 test "$silent" = yes &&
54783 ac_config_status_args="$ac_config_status_args --quiet"
54785 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54787 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54788 # would make configure fail if this is the last instruction.
54789 $ac_cs_success || { (exit 1); exit 1; }
54793 # CONFIG_SUBDIRS section.
54795 if test "$no_recursion" != yes; then
54797 # Remove --cache-file and --srcdir arguments so they do not pile up.
54798 ac_sub_configure_args=
54800 eval "set x $ac_configure_args"
54804 if test -n "$ac_prev"; then
54809 -cache-file | --cache-file | --cache-fil | --cache-fi \
54810 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54811 ac_prev=cache_file ;;
54812 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54813 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54816 --config-cache | -C)
54818 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54820 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54822 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54824 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54828 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54830 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54834 # Always prepend --prefix to ensure using the same prefix
54835 # in subdir configurations.
54836 ac_arg="--prefix=$prefix"
54838 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54840 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54843 if test "$silent" = yes; then
54844 ac_sub_configure_args="--silent $ac_sub_configure_args"
54848 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54850 # Do not complain, so a configure script can configure whichever
54851 # parts of a large source tree are present.
54852 test -d "$srcdir/$ac_dir" || continue
54854 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54855 echo "$as_me:$LINENO: $ac_msg" >&5
54859 -*) as_dir=./$as_dir;;
54861 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54865 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54866 *) as_qdir=$as_dir;;
54868 as_dirs="'$as_qdir' $as_dirs"
54869 as_dir=`$as_dirname -- "$as_dir" ||
54870 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54871 X"$as_dir" : 'X\(//\)[^/]' \| \
54872 X"$as_dir" : 'X\(//\)$' \| \
54873 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54879 /^X\(\/\/\)[^/].*/{
54892 test -d "$as_dir" && break
54894 test -z "$as_dirs" || eval "mkdir $as_dirs"
54895 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54896 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54897 { (exit 1); exit 1; }; }; }
54901 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54904 # A ".." for each directory in $ac_dir_suffix.
54905 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54906 case $ac_top_builddir_sub in
54907 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54908 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54911 ac_abs_top_builddir=$ac_pwd
54912 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54913 # for backward compatibility:
54914 ac_top_builddir=$ac_top_build_prefix
54917 .) # We are building in place.
54919 ac_top_srcdir=$ac_top_builddir_sub
54920 ac_abs_top_srcdir=$ac_pwd ;;
54921 [\\/]* | ?:[\\/]* ) # Absolute name.
54922 ac_srcdir=$srcdir$ac_dir_suffix;
54923 ac_top_srcdir=$srcdir
54924 ac_abs_top_srcdir=$srcdir ;;
54925 *) # Relative name.
54926 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54927 ac_top_srcdir=$ac_top_build_prefix$srcdir
54928 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54930 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54935 # Check for guested configure; otherwise get Cygnus style configure.
54936 if test -f "$ac_srcdir/configure.gnu"; then
54937 ac_sub_configure=$ac_srcdir/configure.gnu
54938 elif test -f "$ac_srcdir/configure"; then
54939 ac_sub_configure=$ac_srcdir/configure
54940 elif test -f "$ac_srcdir/configure.in"; then
54941 # This should be Cygnus configure.
54942 ac_sub_configure=$ac_aux_dir/configure
54944 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54945 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54949 # The recursion is here.
54950 if test -n "$ac_sub_configure"; then
54951 # Make the cache file name correct relative to the subdirectory.
54952 case $cache_file in
54953 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54954 *) # Relative name.
54955 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54958 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54959 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54960 # The eval makes quoting arguments work.
54961 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54962 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54963 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54964 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54965 { (exit 1); exit 1; }; }
54974 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54976 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54977 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54978 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54979 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54980 if test "$wxUSE_UNICODE" = "yes"; then
54981 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54982 echo " (using UTF-8)"
54984 echo " (using wchar_t)"
54990 echo " What level of wxWidgets compatibility should be enabled?"
54991 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54992 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54994 echo " Which libraries should wxWidgets use?"
54995 echo " STL ${wxUSE_STL}"
54996 echo " jpeg ${wxUSE_LIBJPEG-none}"
54997 echo " png ${wxUSE_LIBPNG-none}"
54998 echo " regex ${wxUSE_REGEX}"
54999 echo " tiff ${wxUSE_LIBTIFF-none}"
55000 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55001 echo " xpm ${wxUSE_LIBXPM-none}"
55003 echo " zlib ${wxUSE_ZLIB}"
55004 echo " expat ${wxUSE_EXPAT}"
55005 echo " libmspack ${wxUSE_LIBMSPACK}"
55006 echo " sdl ${wxUSE_LIBSDL}"